GNU gdb (GDB) Fedora (7.5.1-32.fc18) Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: . (gdb) attach 5918 Attaching to process 5918 Reading symbols from /home/phiggins/src/RecommendationEngine/go/src/test/fork-lock/fork-lock...done. Loading Go Runtime support. Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. [New LWP 5925] [New LWP 5924] [New LWP 5921] [New LWP 5920] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 runtime.futex () at /home/phiggins/go-tip/src/pkg/runtime/sys_linux_amd64.s:267 267 RET Missing separate debuginfos, use: debuginfo-install glibc-2.16-28.fc18.x86_64 (gdb) info gor 1 waiting runtime.gosched * 2 syscall runtime.entersyscall * 3 syscall runtime.entersyscall * 4 syscall runtime.entersyscall * 5 syscall runtime.entersyscall (gdb) gor 1 bt #0 0x000000000041456c in runtime.gosched () at /home/phiggins/go-tip/src/pkg/runtime/proc.c:967 #1 0x00000000004145d6 in runtime.park (unlockf=void, lock=void, reason=void) at /home/phiggins/go-tip/src/pkg/runtime/proc.c:979 #2 0x000000000041bb36 in semacquireimpl (addr=void, profile=void) at /home/phiggins/go-tip/src/pkg/runtime/sema.goc:1479 #3 0x000000000041bd3e in sync.runtime_Semacquire (addr=void) at /home/phiggins/go-tip/src/pkg/runtime/sema.goc:1533 #4 0x0000000000480181 in sync.(*RWMutex).Lock (rw=0x796fe0) at /home/phiggins/go-tip/src/pkg/sync/rwmutex.go:80 #5 0x0000000000402cf9 in main.slave (config=void) at /home/phiggins/src/RecommendationEngine/go/src/test/fork-lock/slave.go:53 #6 0x000000000040139d in main.main () at /home/phiggins/src/RecommendationEngine/go/src/test/fork-lock/main.go:18 (gdb) gor 2 bt #0 runtime.entersyscall () at /home/phiggins/go-tip/src/pkg/runtime/proc.c:1041 #1 0x00000000004109d1 in runtime.MHeap_Scavenger () at /home/phiggins/go-tip/src/pkg/runtime/mheap.c:388 #2 0x0000000000413280 in schedunlock () at /home/phiggins/go-tip/src/pkg/runtime/proc.c:273 #3 0x0000000000000000 in ?? () (gdb) gor 3 bt #0 runtime.entersyscall () at /home/phiggins/go-tip/src/pkg/runtime/proc.c:1004 #1 0x000000000041bfd6 in runtime.signal_recv (m=void) at /home/phiggins/go-tip/src/pkg/runtime/sigqueue.goc:1654 #2 0x000000000047f89c in os/signal.loop () at /home/phiggins/go-tip/src/pkg/os/signal/signal_unix.go:20 #3 0x0000000000413280 in schedunlock () at /home/phiggins/go-tip/src/pkg/runtime/proc.c:273 #4 0x0000000000000000 in ?? () (gdb) gor 4 bt #0 runtime.entersyscall () at /home/phiggins/go-tip/src/pkg/runtime/proc.c:1041 #1 0x0000000000489c65 in syscall.Syscall6 () at /home/phiggins/go-tip/src/pkg/syscall/asm_linux_amd64.s:40 #2 0x0000000000486c58 in syscall.EpollWait (epfd=7, events= []syscall.EpollEvent = {...}, msec=-1, n=137445250600, err=0) at /home/phiggins/go-tip/src/pkg/syscall/zsyscall_linux_amd64.go:342 #3 0x0000000000454ff3 in net.(*pollster).WaitFD (p=0xc2000b39a0, s= 0xc20010bc90, nsec=0, fd=1, mode=833224100400, err=0) at /home/phiggins/go-tip/src/pkg/net/fd_linux.go:146 #4 0x000000000045607a in net.(*pollServer).Run (s=0x0) at /home/phiggins/go-tip/src/pkg/net/fd_unix.go:205 #5 0x0000000000413280 in schedunlock () at /home/phiggins/go-tip/src/pkg/runtime/proc.c:273 #6 0x000000c20010bc90 in ?? () #7 0x0000000000000000 in ?? () (gdb) gor 5 bt #0 runtime.entersyscall () at /home/phiggins/go-tip/src/pkg/runtime/proc.c:1004 #1 0x0000000000489bf5 in syscall.Syscall () at /home/phiggins/go-tip/src/pkg/syscall/asm_linux_amd64.s:15 #2 0x0000000000488127 in syscall.accept (s=4, rsa=0xc2000eae70, addrlen= 0xc2000873e8, fd=4718674, err=0) at /home/phiggins/go-tip/src/pkg/syscall/zsyscall_linux_amd64.go:1704 #3 0x0000000000484b7a in syscall.Accept (fd=4, nfd=0, sa=0, err=0) at /home/phiggins/go-tip/src/pkg/syscall/syscall_linux.go:406 #4 0x0000000000458974 in net.(*netFD).accept (fd=0xc2000b8ea0, toAddr= {void (syscall.Sockaddr, net.Addr *)} 0x7f62421a7d20, netfd=0x0, err=0) at /home/phiggins/go-tip/src/pkg/net/fd_unix.go:616 #5 0x000000000046abe2 in net.(*TCPListener).AcceptTCP (l=0xc200087538, c= 0xffffffff, err=0) at /home/phiggins/go-tip/src/pkg/net/tcpsock_posix.go:237 #6 0x000000000046acf9 in net.(*TCPListener).Accept (l=0xc200087538, c=0, err= 0) at /home/phiggins/go-tip/src/pkg/net/tcpsock_posix.go:247 #7 0x0000000000437241 in crypto/tls.(*listener).Accept (l=0xc2000f5240, c=0, err=0) at /home/phiggins/go-tip/src/pkg/crypto/tls/tls.go:46 #8 0x0000000000498754 in net/http.(*Server).Serve (srv=0xc2000f2980, l= "(*tls.listener)0xc2000f5240", noname=void) at /home/phiggins/go-tip/src/pkg/net/http/server.go:1191 #9 0x0000000000403111 in main.serveRestTLS (l=..., config=0xc20006c620, noname=void) at /home/phiggins/src/RecommendationEngine/go/src/test/fork-lock/slave.go:81 #10 0x00000000004031d8 in main.funcĀ·001 (&wg=void, &listeners=void, &config= void) at /home/phiggins/src/RecommendationEngine/go/src/test/fork-lock/slave.go:34 #11 0x0000000000413280 in schedunlock () at /home/phiggins/go-tip/src/pkg/runtime/proc.c:273 #12 0x000000c200087540 in ?? () #13 0x000000c2000874e8 in ?? () #14 0x000000c200087218 in ?? () #15 0x0000000000000000 in ?? () (gdb) p 'syscall.ForkLock' $1 = {w = {state = 1, sema = 0}, writerSem = 0, readerSem = 0, readerCount = -1073741823, readerWait = 1} (gdb) quit A debugging session is active. Inferior 1 [process 5918] will be detached. Quit anyway? (y or n) y Detaching from program: /home/phiggins/src/RecommendationEngine/go/src/test/fork-lock/fork-lock, process 5918