Skip to content

Instantly share code, notes, and snippets.

@igrigorik igrigorik/god-1.9.rb Secret
Created Dec 18, 2010

Embed
What would you like to do?
(gdb) bt
#0 0x00896f5d in pthread_cond_destroy@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x0817087f in native_thread_destroy (key=152643360, val=0, current_th=152549360) at thread_pthread.c:183
#2 thread_cleanup_func (key=152643360, val=0, current_th=152549360) at thread.c:398
#3 terminate_atfork_i (key=152643360, val=0, current_th=152549360) at thread.c:2773
#4 0x080fedd6 in st_foreach (table=0x8c32080, func=0x8170800 <terminate_atfork_i>, arg=152549360) at st.c:778
#5 0x08173688 in rb_thread_atfork_internal (atfork=0x8170800 <terminate_atfork_i>) at thread.c:2754
#6 0x08173740 in rb_thread_atfork () at thread.c:2781
#7 0x080bf768 in rb_f_fork (obj=154401340) at process.c:2623
#8 0x08157fed in vm_call_cfunc (th=0x917b7f0, cfp=0xb72eedcc, num=0, blockptr=0xb72eede1, flag=8, id=8096, me=0x8c24178, recv=154401340) at vm_insnhelper.c:401
#9 vm_call_method (th=0x917b7f0, cfp=0xb72eedcc, num=0, blockptr=0xb72eede1, flag=8, id=8096, me=0x8c24178, recv=154401340) at vm_insnhelper.c:523
#10 0x0815be7d in vm_exec_core (th=0x917b7f0, initial=<value optimized out>) at insns.def:1006
#11 0x08162cec in vm_exec (th=0x917b7f0) at vm.c:1145
#12 0x0816822b in invoke_block_from_c (th=0x917b7f0, block=0xb72eef98, self=154401620, argc=0, argv=0x0, blockptr=0x0, cref=0x0) at vm.c:557
#13 0x08168888 in vm_yield () at vm.c:587
#14 rb_yield_0 () at vm_eval.c:731
#15 loop_i () at vm_eval.c:789
#16 0x0805b5b2 in rb_rescue2 (b_proc=0x8168840 <loop_i>, data1=0, r_proc=0, data2=0) at eval.c:646
#17 0x08154814 in rb_f_loop (self=154401620) at vm_eval.c:817
#18 0x08157fed in vm_call_cfunc (th=0x917b7f0, cfp=0xb72eef84, num=0, blockptr=0xb72eef99, flag=8, id=2856, me=0x8beec68, recv=154401620) at vm_insnhelper.c:401
#19 vm_call_method (th=0x917b7f0, cfp=0xb72eef84, num=0, blockptr=0xb72eef99, flag=8, id=2856, me=0x8beec68, recv=154401620) at vm_insnhelper.c:523
#20 0x0815be7d in vm_exec_core (th=0x917b7f0, initial=<value optimized out>) at insns.def:1006
#21 0x08162cec in vm_exec (th=0x917b7f0) at vm.c:1145
#22 0x0816822b in invoke_block_from_c (th=0x917b7f0, block=0x9280c08, self=154401620, argc=0, argv=0x933fa80, blockptr=0x0, cref=0x0) at vm.c:557
#23 0x081685c6 in rb_vm_invoke_proc (th=0x917b7f0, proc=0x9280c08, self=154401620, argc=0, argv=0x933fa80, blockptr=0x0) at vm.c:603
#24 0x081767ce in thread_start_func_2 (th=0x917b7f0, stack_start=<value optimized out>) at thread.c:441
#25 0x08176917 in thread_start_func_1 (th_ptr=0x917b7f0) at thread_pthread.c:369
#26 0x008932ea in start_thread () from /lib/libpthread.so.0
#27 0xb726e480 in ?? ()
#28 0xb726e480 in ?? ()
#29 0xb726e480 in ?? ()
#30 0xb726e480 in ?? ()
#31 0x00000000 in ?? ()
>> strace -p 8812
Process 8812 attached - interrupt to quit
futex(0x9260c78, FUTEX_WAIT, 2, NULL
>> lsof -p 8812
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
god 8812 root cwd DIR 8,1 4096 606209 /root
god 8812 root rtd DIR 8,1 4096 2 /
god 8812 root txt REG 8,1 5706639 1279014 /usr/local/bin/ruby
god 8812 root mem REG 8,1 1611136 770277 /lib/libc-2.5.so
god 8812 root mem REG 8,1 284559 16415 /usr/local/lib/ruby/1.9.1/i686-linux/syck.so
god 8812 root mem REG 8,1 284812 770324 /lib/libssl.so.0.9.8e
god 8812 root mem REG 8,1 1295296 770282 /lib/libcrypto.so.0.9.8e
god 8812 root mem REG 8,1 6300 770280 /lib/libcom_err.so.2.1
god 8812 root mem REG 8,1 32024 1132639 /usr/lib/libkrb5support.so.0.1
god 8812 root mem REG 8,1 6404 770302 /lib/libkeyutils-1.2.so
god 8812 root mem REG 8,1 31100 16423 /usr/local/lib/ruby/1.9.1/i686-linux/digest.so
god 8812 root mem REG 8,1 44698 16433 /usr/local/lib/ruby/1.9.1/i686-linux/iconv.so
god 8812 root mem REG 8,1 11671 16465 /usr/local/lib/ruby/1.9.1/i686-linux/enc/utf_16be.so
god 8812 root mem REG 8,1 11619 16473 /usr/local/lib/ruby/1.9.1/i686-linux/enc/utf_16le.so
god 8812 root mem REG 8,1 10779 16498 /usr/local/lib/ruby/1.9.1/i686-linux/enc/utf_32be.so
god 8812 root mem REG 8,1 10779 16501 /usr/local/lib/ruby/1.9.1/i686-linux/enc/utf_32le.so
god 8812 root mem REG 8,1 9620 16430 /usr/local/lib/ruby/1.9.1/i686-linux/digest/md5.so
god 8812 root mem REG 8,1 184812 1132612 /usr/lib/libgssapi_krb5.so.2.2
god 8812 root mem REG 8,1 155608 1132627 /usr/lib/libk5crypto.so.3.1
god 8812 root mem REG 8,1 243928 770322 /lib/libsepol.so.1
god 8812 root mem REG 8,1 14644 770291 /lib/libdl-2.5.so
god 8812 root mem REG 8,1 59966 16410 /usr/local/lib/ruby/1.9.1/i686-linux/stringio.so
god 8812 root mem REG 8,1 125608 16422 /usr/local/lib/ruby/1.9.1/i686-linux/zlib.so
god 8812 root mem REG 8,1 37596 770320 /lib/librt-2.5.so
god 8812 root mem REG 8,1 609068 1132637 /usr/lib/libkrb5.so.3.3
god 8812 root mem REG 8,1 45795 16419 /usr/local/lib/ruby/1.9.1/i686-linux/json/ext/parser.so
god 8812 root mem REG 8,1 10389 16449 /usr/local/lib/ruby/1.9.1/i686-linux/enc/encdb.so
god 8812 root mem REG 8,1 79997 16418 /usr/local/lib/ruby/1.9.1/i686-linux/json/ext/generator.so
god 8812 root mem REG 8,1 12713 16478 /usr/local/lib/ruby/1.9.1/i686-linux/enc/trans/transdb.so
god 8812 root mem REG 8,1 351667 16408 /usr/local/lib/ruby/1.9.1/i686-linux/socket.so
god 8812 root mem REG 8,1 7848 16411 /usr/local/lib/ruby/1.9.1/i686-linux/fcntl.so
god 8812 root mem REG 8,1 74660 770319 /lib/libresolv-2.5.so
god 8812 root mem REG 8,1 119312 770318 /lib/libpthread-2.5.so
god 8812 root mem REG 8,1 22127 16439 /usr/local/lib/ruby/1.9.1/i686-linux/etc.so
god 8812 root mem REG 8,1 22306 16438 /usr/local/lib/ruby/1.9.1/i686-linux/syslog.so
god 8812 root mem REG 8,1 120368 770267 /lib/ld-2.5.so
god 8812 root mem REG 8,1 91892 770321 /lib/libselinux.so.1
god 8812 root mem REG 8,1 73580 1132767 /usr/lib/libz.so.1.2.3
god 8812 root mem REG 8,1 785185 16437 /usr/local/lib/ruby/1.9.1/i686-linux/openssl.so
god 8812 root mem REG 8,1 206336 770303 /lib/libm-2.5.so
god 8812 root mem REG 8,1 46680 770308 /lib/libnss_files-2.5.so
god 8812 root mem REG 8,1 15662 22115 /usr/local/lib/ruby/gems/1.9.1/gems/god-0.11.0/ext/god/netlink_handler_ext.so
god 8812 root mem REG 8,1 43544 770281 /lib/libcrypt-2.5.so
god 8812 root 0r CHR 1,3 845 /dev/null
god 8812 root 1w CHR 1,3 845 /dev/null
god 8812 root 2w CHR 1,3 845 /dev/null
god 8812 root 3u unix 0xe37fc040 704614697 socket
god 8812 root 4u sock 0,5 704614779 can't identify protocol
god 8812 root 5u unix 0xe37fcc80 704615852 ///tmp/god.17165.sock
god 8812 root 6u unix 0xecd00900 720932792 ///tmp/god.17165.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.