bemi
unread,Oct 19, 2010, 1:30:08 PM10/19/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
I am getting negative line numbers in print stack when calling panic()
from cgo module. Am I doing something wrong?, that seemed to work ok
in previous releases.
Thanks for any help with this.
panic PC=0xb7091ac4
runtime.panic+0xa9 /root/go/src/pkg/runtime/proc.c:1026
runtime.panic(0x80cc7c4, 0xb70698b0)
amk/bfile._func_001+0xc7 /root/amk/src/amk/bfile/bfile.cgo1.go:-605
amk/bfile._func_001(0xb70698e0, 0x804da78, 0xb7070500,
0xb70714e0)
runtime.panic+0xe9 /root/go/src/pkg/runtime/proc.c:1008
runtime.panic(0x80cc7c4, 0xb70698b0)
/root/amk/src/amk/util/_obj/amk/util.Panic+0x44 /root/amk/src/amk/util/
util.cgo1
.go:-26
/root/amk/src/amk/util/_obj/amk/util.Panic()
amk/bfile.NewBFileControl+0x539 /root/amk/src/amk/bfile/
bfile.cgo1.go:-579
amk/bfile.NewBFileControl(0x0, 0x9)
amk/bfile.testAll+0xa5 /root/amk/src/amk/bfile/bfile.cgo1.go:-129
amk/bfile.testAll(0xb708d3b0, 0x805f2cd)
amk/bfile.TestBFile+0x29 /root/amk/src/amk/bfile/bfile.cgo1.go:1
amk/bfile.TestBFile(0xb708d3b0, 0x0)
testing.tRunner+0x39 /root/go/src/pkg/testing/testing.go:132
testing.tRunner(0xb708d3b0, 0xb708d2a0, 0x0)
goexit /root/go/src/pkg/runtime/proc.c:146
goexit()