Process crashes (0xC0000005) before reaching main() - How can I debug this issue properly?

-1

I experience a strange behaviour on multiple machines with the same code. Here is the code:

package main

import (
    _ "github.com/AllenDang/giu"
)

func main() {
    //do nothing
}

As soon as I start this, I get the following message:

Process finished with exit code -1073741819 (0xC0000005)

Of course, the source code is nonsense. The issue happens as soon as I try to import that library.

What I know/did so far:

  • This happens on different machines, all on Windows 10, but very different hardware
  • The process does not reach main()
  • Used go mod vendor
  • Used dlv to debug - same result

My guess is, that it is some sort of a driver issue. How can I debug this properly, so I know where the issue is?

Thanks.

System infos:

  • Windows 10 20H2
  • Nvidia GPU
  • go1.15.2
go
asked on Stack Overflow Feb 9, 2021 by wenga

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0