VM/GC crash

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VM/GC crash

Holger Freyther
Dear Paolo,

I was using the debugger. and I got the below crash. I am not sure if I
can trust gdb to resolve the function correctly.

What sticks out is:

 (gdb) frame 7
 #7  0xb76e50ee in _gst_copy_an_oop (oop=0x40813fc8) at oop.c:2064
 2064 queue_put (_gst_mem.active_half, pData, TO_INT (obj->objSize));
 (gdb) p obj
 $4 = (gst_object) 0xa80f6918
 (gdb) p obj->objSize
 $5 = (OOP) 0xa80f6f18

So it looks like we pick up an object that is no.. object? Any ideas how
to proceed with this?



#0  0xb76c7c50 in mprotect@plt () from /home/ich/install/smalltalk-master/bin/../lib/libgst.so.7
No symbol table info available.
#1  0xb76fe90b in _gst_mem_protect (addr=addr@entry=0xb76c8000 <strcpy@plt>, len=len@entry=4096, prot=prot@entry=3)
    at sysdep/posix/mem.c:73
No locals.
#2  0xb76e3e84 in oldspace_sigsegv_handler (fault_address=0xb76c8000 <strcpy@plt>, serious=0) at oop.c:954
        reentering = 1
        reentered = 0
        page = 0xb76c8000 <strcpy@plt>
#3  0xb7496c40 in ?? () from /usr/lib/i386-linux-gnu/libsigsegv.so.2
No symbol table info available.
#4  <signal handler called>
No symbol table info available.
#5  __memcpy_ssse3_rep () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:1296
No locals.
#6  0xb76e485e in queue_put (q=0xb777c3f8 <_gst_mem+24>, src=src@entry=0xa80f6918, n=-737691764) at oop.c:1581
        result = 0xb76a2dc0
        newAlloc = 0x7890bf0
#7  0xb76e50ee in _gst_copy_an_oop (oop=0x40813fc8) at oop.c:2064
        obj = 0xa80f6918
        pData = 0xa80f6918
        i = <optimized out>
        n = <optimized out>
#8  0xb76e5213 in cheney_scan () at oop.c:2001
        oop = <optimized out>
        i = 9
        numFields = 14
#9  0xb76e6165 in scan_grey_pages () at oop.c:1877
        node = 0xa558580
        last = 0xa558580
        pOOP = <optimized out>
        i = <optimized out>
        next = 0xa558580
        oop = <optimized out>
        n = <optimized out>
#10 copy_oops () at oop.c:1759
No locals.
#11 _gst_scavenge () at oop.c:1227
        oldBytes = 257764
        reclaimedBytes = <optimized out>
        tenuredBytes = <optimized out>
        reclaimedPercent = <optimized out>
        prev_heap_limit = 26318627
#12 0xb76c90ab in alloc_new_chunk () at interp.c:773
No locals.
#13 0xb771b4c4 in alloc_stack_context (size=17) at interp.c:807
        newContext = <optimized out>
#14 activate_new_context (sendArgs=1, size=2) at interp.c:830
        oop = <optimized out>
        thisContext = <optimized out>
#15 _gst_send_message_internal (sendSelector=sendSelector@entry=0x40431ad8, sendArgs=1, receiver=0x405e0df8, method_class=0x40608760)
    at interp-bc.inl:306
        hashIndex = 564
        methodOOP = 0x40608a30
        methodData = 0xb7774b70 <method_cache+11280>
        newContext = 0xa811bbb8
        header = {intMark = <optimized out>, numArgs = <optimized out>, stack_depth = 2, numTemps = 0,
          primitiveIndex = <optimized out>, isOldSyntax = <optimized out>, headerFlag = <optimized out>}
#16 0xb771bb49 in VMpr_Object_perform (id=0, numArgs=1) at prims.def:2729
        _receiver = <optimized out>
        oop1 = 0x40431ad8
        oopVec = 0xbf837810
        i = <optimized out>
#17 0xb771b44b in execute_primitive_operation (numArgs=2, primitive=122) at interp.c:2738
        pte = 0xb777cd00 <_gst_primitive_table+1952>
        result = <optimized out>
#18 _gst_send_message_internal (sendSelector=0x404331e8, sendArgs=2, receiver=0x405e0df8, method_class=0x40608760)
    at interp-bc.inl:276
        hashIndex = 260
        methodOOP = 0x40435910
        methodData = 0xb77733b0 <method_cache+5200>
        newContext = 0xa811bbb8
        header = {intMark = <optimized out>, numArgs = <optimized out>, stack_depth = 3, numTemps = 0, primitiveIndex = 122,
          isOldSyntax = <optimized out>, headerFlag = <optimized out>}
#19 0xb7721931 in _gst_interpret (processOOP=processOOP@entry=0x407de038) at vm.def:645
        _receiver = 0xa811bbb8
        sel = -1217626144
        n = 1344047888
        jb = {jmpBuf = {{__jmpbuf = {-1217009684, -1488485908, 147972760, 0, -425042673, 66985758}, __mask_was_saved = 0,


#0  0xb76c7c50 in mprotect@plt () from /home/ich/install/smalltalk-master/bin/../lib/libgst.so.7
#1  0xb76fe90b in _gst_mem_protect (addr=addr@entry=0xb76c8000 <strcpy@plt>, len=len@entry=4096, prot=prot@entry=3)
    at sysdep/posix/mem.c:73
#2  0xb76e3e84 in oldspace_sigsegv_handler (fault_address=0xb76c8000 <strcpy@plt>, serious=0) at oop.c:954
#3  0xb7496c40 in ?? () from /usr/lib/i386-linux-gnu/libsigsegv.so.2
#4  <signal handler called>
#5  __memcpy_ssse3_rep () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:1296
#6  0xb76e485e in queue_put (q=0xb777c3f8 <_gst_mem+24>, src=src@entry=0xa80f6918, n=-737691764) at oop.c:1581
#7  0xb76e50ee in _gst_copy_an_oop (oop=0x40813fc8) at oop.c:2064
#8  0xb76e5213 in cheney_scan () at oop.c:2001
#9  0xb76e6165 in scan_grey_pages () at oop.c:1877
#10 copy_oops () at oop.c:1759
#11 _gst_scavenge () at oop.c:1227
#12 0xb76c90ab in alloc_new_chunk () at interp.c:773
#13 0xb771b4c4 in alloc_stack_context (size=17) at interp.c:807
#14 activate_new_context (sendArgs=1, size=2) at interp.c:830
#15 _gst_send_message_internal (sendSelector=sendSelector@entry=0x40431ad8, sendArgs=1, receiver=0x405e0df8, method_class=0x40608760)
    at interp-bc.inl:306
#16 0xb771bb49 in VMpr_Object_perform (id=0, numArgs=1) at prims.def:2729
#17 0xb771b44b in execute_primitive_operation (numArgs=2, primitive=122) at interp.c:2738
#18 _gst_send_message_internal (sendSelector=0x404331e8, sendArgs=2, receiver=0x405e0df8, method_class=0x40608760)
    at interp-bc.inl:276
#19 0xb7721931 in _gst_interpret (processOOP=processOOP@entry=0x407de038) at vm.def:645
#20 0xb7728670 in _gst_nvmsg_send (receiver=0x40810eb0, sendSelector=0x405dd908, args=0xbf837c70, sendArgs=0) at interp.c:2318
#21 0xb76c9315 in gst_nvmsg_send (receiver=0x40810eb0, selector=0x405dd908, args=args@entry=0xbf837c70, nargs=nargs@entry=0)
    at gstpub.c:199
#22 0xa6ce0070 in invoke_smalltalk_closure (closure=0xa622af8, return_value=0x0, n_param_values=0, param_values=0xbf837de0,
    invocation_hint=0xbf837d8c, marshal_data=0x0) at gst-gobject.c:440
#23 0xa67d069e in g_closure_invoke (closure=0xa622af8, return_value=return_value@entry=0x0, n_param_values=1,
    param_values=param_values@entry=0xbf837de0, invocation_hint=invocation_hint@entry=0xbf837d8c)
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gclosure.c:777
#24 0xa67e2149 in signal_emit_unlocked_R (node=node@entry=0x8ef6b40, detail=0, instance=0x918a4f8,
    emission_return=emission_return@entry=0x0, instance_and_params=0xbf837de0)
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gsignal.c:3584
#25 0xa67e9b85 in g_signal_emit_valist (instance=instance@entry=0x918a4f8, signal_id=signal_id@entry=94, detail=detail@entry=0,
    var_args=var_args@entry=0xbf837f2c "i\333:\267") at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gsignal.c:3328
#26 0xa67e9dd3 in g_signal_emit (instance=0x918a4f8, signal_id=94, detail=0)
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gsignal.c:3384
#27 0xa5aeabe7 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#28 0xa67d069e in g_closure_invoke (closure=0xa5c0f80, return_value=return_value@entry=0xbf838000, n_param_values=4,
    param_values=param_values@entry=0xbf838070, invocation_hint=invocation_hint@entry=0xbf83801c)
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gclosure.c:777
#29 0xa67e2149 in signal_emit_unlocked_R (node=node@entry=0x8f00b78, detail=1163, instance=0xa61cb80,
    emission_return=emission_return@entry=0xbf838140, instance_and_params=0xbf838070)
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gsignal.c:3584
#30 0xa67e9884 in g_signal_emit_valist (instance=instance@entry=0xa61cb80, signal_id=signal_id@entry=144, detail=detail@entry=1163,
    var_args=0xbf8381f8 "\f\202\203\277j\226\216\245(\327a\n\017\004", var_args@entry=0xbf8381ec "(\327a\ns")
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gsignal.c:3338
#31 0xa67e9dd3 in g_signal_emit (instance=0xa61cb80, signal_id=144, detail=1163)
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gsignal.c:3384
#32 0xa58e9ae6 in gtk_accel_group_activate () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#33 0xa58eae29 in gtk_accel_groups_activate () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#34 0xa5b05146 in gtk_window_activate_key () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#35 0xa5b051c5 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#36 0xa59bfb8e in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#37 0xa67cf1c4 in g_type_class_meta_marshal (closure=0x8eeee88, return_value=0xbf8383f0, n_param_values=2, param_values=0xbf838460,
    invocation_hint=0xbf83840c, marshal_data=0xcc) at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gclosure.c:970
#38 0xa67d069e in g_closure_invoke (closure=closure@entry=0x8eeee88, return_value=return_value@entry=0xbf8383f0, n_param_values=2,
    param_values=param_values@entry=0xbf838460, invocation_hint=invocation_hint@entry=0xbf83840c)
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gclosure.c:777
#39 0xa67e1da0 in signal_emit_unlocked_R (node=node@entry=0x8eeeeb0, detail=0, instance=0xa61d728,
    emission_return=emission_return@entry=0xbf838510, instance_and_params=0xbf838460)
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gsignal.c:3622
#40 0xa67e9884 in g_signal_emit_valist (instance=instance@entry=0xa61d728, signal_id=signal_id@entry=42, detail=detail@entry=0,
    var_args=0xbf8385c0 "܅\203\277\340\310\356\b\260\314\356\b\b",
    var_args@entry=0xbf8385bc "\330\066L\n܅\203\277\340\310\356\b\260\314\356\b\b")
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gsignal.c:3338
#41 0xa67e9dd3 in g_signal_emit (instance=0xa61d728, signal_id=42, detail=0)
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gsignal.c:3384
#42 0xa5aec7a3 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#43 0xa59be03c in gtk_propagate_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#44 0xa59be360 in gtk_main_do_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#45 0xa5838f28 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#46 0xa670642e in g_main_dispatch (context=0x8ecbab0, context@entry=0x908c708)
    at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./glib/gmain.c:3054
#47 g_main_context_dispatch (context=context@entry=0x8ecbab0) at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./glib/gmain.c:3630
#48 0xa6ce34f4 in main_loop_dispatch () at gst-glib.c:151
#49 0xb772afac in _gst_dispatch_events () at events.c:285


_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk