[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3077: [old 3020] IDE freeze/crash while debugging connection object


http://gambaswiki.org/bugtracker/edit?object=BUG.3077&from=L21haW4-

Comment #3 by Michael ALTROGGE:

As you wish, sir.
The reason I used Valgrind is that the gdb doesn't crash and, after I manually terminated the program, it doesn't display so much information.

(gdb) bt
#0  __memcpy_avx_unaligned_erms ()
    at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:318
(gdb) p DEBUG_get_current_position()
Konnte den erweiterten Status nicht erhalten: Kein passender Prozess gefunden.
(gdb) 

that's it :-(

next try is to see what gdb says if the prog is crashed but NOT terminated ...

(gdb) bt 
#0  __memcpy_avx_unaligned_erms ()
    at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:318
#1  0x000055555558b861 in memcpy
    (__len=1, __src=<optimized out>, __dest=0x555559055110)
    at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29
#2  SUBR_cat (code=<optimized out>) at gbx_subr_string.c:135
#3  0x00005555555bd2b3 in EXEC_loop () at gbx_exec_loop.c:877
#4  0x00005555555c2d45 in EXEC_function_loop () at gbx_exec.c:924
#5  0x00005555555c3540 in EXEC_function_real () at gbx_exec.c:885
#6  0x00005555555c4cd1 in EXEC_public_desc
    (class=class@entry=0x555555cacf38, object=object@entry=0x0, desc=desc@entry=0x5555568ef688, nparam=nparam@entry=1) at gbx_exec.c:1595
#7  0x0000555555595cbf in raise_event (observer=0x0, 
    observer@entry=0x555555cacf38, object=object@entry=0x55555a2c5018, func_id=23, 
    func_id@entry=24, nparam=nparam@entry=1, can_propagate=can_propagate@entry=0 '\000') at gbx_api.c:865
#8  0x0000555555597d98 in GB_RaiseEvent
    (object=0x55555a2c5018, event_id=0, nparam=1) at gbx_api.c:1031
#9  0x00007ffff3d667f0 in callback_read
    (fd=67, type=<optimized out>, param=<optimized out>) at CDebug.c:121
#10 0x00007ffff7bb3c5e in watch_adaptor
    (source=<optimized out>, condition=<optimized out>, param=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--c
    at watcher.cpp:43
#11 0x00007ffff4e0049e in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff4e5f737 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff4dffa63 in g_main_context_iteration ()
    at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff53fec99 in gtk_main_iteration ()
    at /lib/x86_64-linux-gnu/libgtk-3.so.0
#15 0x00007ffff7bc9eb5 in MAIN_do_iteration
    (do_not_block=do_not_block@entry=false) at main.cpp:700
#16 0x00007ffff7bc9efe in hook_loop () at main.cpp:576
#17 0x00005555555755ff in main (argc=<optimized out>, argv=<optimized out>)
    at gbx.c:529
(gdb) 

(gdb) p DEBUG_get_current_position()
$1 = 0x5555555f8da0 <COMMON_buffer> "Design.Debug_Read.321"
(gdb) 

hope that helps !!!

Michael ALTROGGE changed the state of the bug to: Accepted.


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----