-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Description
by robert.swiecki:
What steps will reproduce the problem? 1. Run '6l SIGSEGV.PC.0x406ed0.CODE.1.ADDR.0x12.INSTR.movzx_eax,_byte_[rax+0x12].6' What is the expected output? Error emssage or 6.out file What do you see instead? Crash (SIGSEGV) What is your $GOOS? $GOARCH? linux/amd64 Which revision are you using? (hg identify) 6916b48fbc0d+ tip Please provide any additional information below. $ gdb /usr/local/google/src/go/6l (gdb) r SIGSEGV.PC.0x406ed0.CODE.1.ADDR.0x12.INSTR.movzx_eax,_byte_[rax+0x12].6 Program received signal SIGSEGV, Segmentation fault. 0x0000000000406ed0 in sweeplist (first=0x632470, last=0x633620) at ../ld/go.c:571 571 reachable = p->from.sym->reachable; (gdb) x/i $pc => 0x406ed0 <sweeplist+74>: movzx eax,BYTE PTR [rax+0x12] (gdb) x/i $rax+0x12 0x12: Cannot access memory at address 0x12 (gdb) bt #0 0x0000000000406ed0 in sweeplist (first=0x632470, last=0x633620) at ../ld/go.c:571 #1 0x000000000040700d in deadcode () at ../ld/go.c:623 #2 0x000000000040d1c3 in p9main (argc=1, argv=0x7fffffffe130) at /usr/local/google/src/go/src/cmd/6l/obj.c:329 #3 0x00000000004186b0 in main (argc=2, argv=0x7fffffffe128) at /usr/local/google/src/go/src/lib9/main.c:35
Attachments: