Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgo panic in main·*Prog·loadDebugInfo #43

Closed
gopherbot opened this issue Nov 11, 2009 · 2 comments
Closed

cgo panic in main·*Prog·loadDebugInfo #43

gopherbot opened this issue Nov 11, 2009 · 2 comments

Comments

@gopherbot
Copy link
Contributor

by changsijay:

What steps will reproduce the problem?
./all.bash


What is the expected output? What do you see instead?
expected: 
0 known bugs; 0 unexpected bugs
I saw:
panic PC=0x4007fc38
throw+0x46 /home/csj/go/src/pkg/runtime/runtime.c:74
    throw(0x80c5403, 0x4007fc70)
runtime·mapaccess1+0x6c /home/csj/go/src/pkg/runtime/hashmap.c:769
    runtime·mapaccess1(0x40047780, 0x400405e0)
main·*Prog·loadDebugInfo+0xd83 /home/csj/go/src/cmd/cgo/gcc.go:164
    main·*Prog·loadDebugInfo(0x400475a0, 0x56)
main·main+0x36a /home/csj/go/src/cmd/cgo/main.go:66
    main·main()
mainstart+0xf /home/csj/go/src/pkg/runtime/386/asm.s:81
    mainstart()
goexit /home/csj/go/src/pkg/runtime/proc.c:135
    goexit()
make: *** [file.cgo1.go] Error 2


What is your $GOOS?  $GOARCH?
GOOS=linux
GOARCH=386

Which revision are you sync'ed to?  (hg log -l 1)
changeset:   3977:a522a4541e0e

Please provide any additional information below.
gcc --version
gcc (GCC) 4.4.2

but ~/bin already has the compiler in it, and I compile hello world passed.
@rsc
Copy link
Contributor

rsc commented Nov 11, 2009

Comment 1:

Status changed to Accepted.

@rsc
Copy link
Contributor

rsc commented Nov 11, 2009

Comment 2:

Status changed to Duplicate.

Merged into issue #21.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants