Skip to content

Instantly share code, notes, and snippets.

@cpuguy83
Last active December 17, 2015 20:48
Show Gist options
  • Save cpuguy83/5670041 to your computer and use it in GitHub Desktop.
Save cpuguy83/5670041 to your computer and use it in GitHub Desktop.
Rbx crash with Sidekiq and no jit running, commit# 2dc4bdaa
$1 = {<rubinius::Object> = {<rubinius::ObjectHeader> = {header = {f = {obj_type = rubinius::DataType, zone = rubinius::YoungObjectZone, age = 2, meaning = rubinius::eAuxWordHandle, Forwarded = 1,
Remember = 0, Marked = 2, InImmix = 0, Pinned = 0, Frozen = 0, Tainted = 0, Untrusted = 0, LockContended = 0, unused = 0, aux_word = 30523}, flags64 = 131095288007196},
klass_ = 0x92184b0, ivars_ = 0xb7c52ed0, __body__ = 0xb7abef58}, static type = <optimized out>}, static type = rubinius::DataType, internal_ = 0x9eca418, freed_ = false}
(gdb)
$1 = {<rubinius::Object> = {<rubinius::ObjectHeader> = {header = {f = {obj_type = rubinius::DataType, zone = rubinius::YoungObjectZone, age = 2, meaning = rubinius::eAuxWordHandle, Forwarded = 1,
Remember = 0, Marked = 2, InImmix = 0, Pinned = 0, Frozen = 0, Tainted = 0, Untrusted = 0, LockContended = 0, unused = 0, aux_word = 30523}, flags64 = 131095288007196},
klass_ = 0x92184b0, ivars_ = 0xb7c52ed0, __body__ = 0xb7abef58}, static type = <optimized out>}, static type = rubinius::DataType, internal_ = 0x9eca418, freed_ = false}
(gdb) p *data->ivars_
$2 = {<rubinius::ObjectHeader> = {header = {f = {obj_type = rubinius::DataType, zone = rubinius::YoungObjectZone, age = 2, meaning = rubinius::eAuxWordHandle, Forwarded = 0, Remember = 0,
Marked = 2, InImmix = 0, Pinned = 0, Frozen = 0, Tainted = 0, Untrusted = 0, LockContended = 0, unused = 0, aux_word = 30523}, flags64 = 131095287876124}, klass_ = 0x92184b0,
ivars_ = 0x1a, __body__ = 0xb7c52ed0}, static type = <optimized out>}
$3 = {<rubinius::Object> = {<rubinius::ObjectHeader> = {header = {f = {obj_type = rubinius::DataType, zone = rubinius::YoungObjectZone, age = 2, meaning = rubinius::eAuxWordHandle, Forwarded = 0,
Remember = 0, Marked = 2, InImmix = 0, Pinned = 0, Frozen = 0, Tainted = 0, Untrusted = 0, LockContended = 0, unused = 0, aux_word = 30523}, flags64 = 131095287876124},
klass_ = 0x92184b0, ivars_ = 0x1a, __body__ = 0xb7c52ed0}, static type = <optimized out>}, static type = rubinius::DataType, internal_ = 0x9eca418, freed_ = false}
(gdb)
#0 rubinius::Data::finalize (state=0xb689134c, data=0xb7abef58) at vm/builtin/data.cpp:100
handle = <value optimized out>
#1 0x08394b58 in rubinius::FinalizerHandler::finalize (this=0x904af98, state=0xb689134c) at vm/gc/finalize.cpp:282
env = 0x90d2d20
nmf = {previous_ = 0x0, handles_ = {static cFastHashSize = 16, slow_ = 0x0, table_ = {0x9232960, 0x923297c, 0x0 <repeats 14 times>}}, capi_lock_index_ = 0, check_handles_ = false,
block_ = 66, receiver_ = 66, module_ = 66, method_ = 66}
#2 0x083963e4 in rubinius::FinalizerHandler::perform (this=0x904af98, state=0xb689134c) at vm/gc/finalize.cpp:232
gct = {<No data fields>}
#3 0x08396707 in rubinius::finalizer_handler_tramp (state=0xb689134c) at vm/gc/finalize.cpp:73
No locals.
#4 0x08361928 in rubinius::Thread::in_new_thread (ptr=0x904b9c0) at vm/builtin/thread.cpp:241
state_obj = {vm_ = 0x904b9c0, vm_jit_ = 0x904baa4, shared_ = @0x8ff6140}
calculate_stack = 0
ret = <value optimized out>
gct = {<No data fields>}
#5 0xb7e8d96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#6 0xb7db63ce in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6891b70 (LWP 29954)]
rubinius::Data::finalize (state=0xb689134c, data=0xb7abef58) at vm/builtin/data.cpp:100
100 data->set_freed();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment