[Gambas-bugtracker] Bug #2678: Project already open, issue

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed Jan 4 00:31:05 CET 2023


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

Comment #4 by Gianluigi GRADASCHI:

Hi Benoit,

I enclose what you requested, I hope it is helpful

Regards
Gianluigi


sudo gdb gbr3 4845
[sudo] password di gian:                      
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gbr3...
Attaching to program: /usr/bin/gbr3, process 4845
[New LWP 4856]
[New LWP 4857]
[New LWP 4880]
[New LWP 4881]
[New LWP 4883]
[New LWP 4884]
[New LWP 4885]
[New LWP 4886]
[New LWP 4913]
[New LWP 4914]
[New LWP 4930]
[New LWP 4931]
[New LWP 4933]
[New LWP 4934]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f33ec366d7f in __GI___poll (fds=0x5589a11bd070, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29	../sysdeps/unix/sysv/linux/poll.c: File o directory non esistente.
(gdb) p DEBUG_get_current_position()
$1 = 0x55899ee8b004 "?"
(gdb) bt
#0  0x00007f33ec366d7f in __GI___poll (fds=0x5589a11bd070, nfds=4, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f33e9373666 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f33e931c3e3 in g_main_context_iteration ()
    at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f33e9983de5 in gtk_main_iteration_do ()
    at /lib/x86_64-linux-gnu/libgtk-3.so.0
#4  0x00007f33eaaa319a in MAIN_do_iteration(bool)
     (do_not_block=do_not_block at entry=false) at main.cpp:699
#5  0x00007f33eaaa31ee in hook_loop() () at main.cpp:577
#6  0x000055899ee3533a in main (argc=<optimized out>, argv=<optimized out>)
    at gbx.c:504
(gdb)

===========================================2

gian at gian:~$ sudo gdb gbr3 4940
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gbr3...
Attaching to program: /usr/bin/gbr3, process 4940
[New LWP 4949]
[New LWP 4950]
[New LWP 4973]
[New LWP 4974]
[New LWP 4976]
[New LWP 4977]
[New LWP 4978]
[New LWP 4979]
[New LWP 5004]
[New LWP 5005]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f7c1f55a7ed in __GI___select (nfds=nfds at entry=38, readfds=readfds at entry=0x7ffda29bec40, writefds=writefds at entry=0x0, exceptfds=exceptfds at entry=0x0, timeout=timeout at entry=0x0) at ../sysdeps/unix/sysv/linux/select.c:69
69	../sysdeps/unix/sysv/linux/select.c: File o directory non esistente.
(gdb) p DEBUG_get_current_position()
$1 = 0x55aed7af6900 <COMMON_buffer> "[gb.jit].CCompilation.Wait.143"
(gdb) bt
#0  0x00007f7c1f55a7ed in __GI___select
    (nfds=nfds at entry=38, readfds=readfds at entry=0x7ffda29bec40, writefds=writefds at entry=0x0, exceptfds=exceptfds at entry=0x0, timeout=timeout at entry=0x0)
    at ../sysdeps/unix/sysv/linux/select.c:69
#1  0x000055aed7a9f8c5 in WATCH_process
    (fd_end=fd_end at entry=37, fd_output=-1, fd_error=-1, timeout=timeout at entry=0) at gbx_watch.c:715
#2  0x000055aed7aafac1 in CPROCESS_wait_for (timeout=0, process=0x55aed8192dd8)
    at gbx_c_process.c:998
#3  CPROCESS_wait_for (process=0x55aed8192dd8, timeout=0)
    at gbx_c_process.c:972
#4  0x000055aed7ac24cb in EXEC_native () at gbx_exec.c:1336
#5  0x000055aed7abc4fb in EXEC_loop () at gbx_exec_loop.c:1572
#6  0x000055aed7ac137d in EXEC_function_loop () at gbx_exec.c:911
#7  0x000055aed7ac1b48 in EXEC_function_real () at gbx_exec.c:898
#8  0x000055aed7ac2ff9 in EXEC_public_desc
    (class=<optimized out>, object=<optimized out>, desc=<optimized out>, nparam=<optimized out>) at gbx_exec.c:1591
#9  0x000055aed7a9593b in GB_Call
    (func=func at entry=0x55aed7af4640 <_jit_wait_func>, nparam=nparam at entry=1, release=release at entry=0) at gbx_api.c:1212
#10 0x000055aed7a786a5 in wait_for_compilation (arch=<optimized out>)
    at gbx_jit.c:165
--Type <RET> for more, q to quit, c to continue without paging--
#11 create_function (index=7, class=0x55aed818d828) at gbx_jit.c:216
#12 JIT_exec (ret_on_stack=ret_on_stack at entry=1 '\001') at gbx_jit.c:290
#13 0x000055aed7abc992 in EXEC_loop () at gbx_exec_loop.c:1291
#14 0x000055aed7ac137d in EXEC_function_loop () at gbx_exec.c:911
#15 0x000055aed7ac1b48 in EXEC_function_real () at gbx_exec.c:898
#16 0x000055aed7ac58cb in EXEC_pop_unknown () at gbx_exec_pop.c:267
#17 0x000055aed7abbf19 in EXEC_loop () at gbx_exec_loop.c:984
#18 0x000055aed7ac137d in EXEC_function_loop () at gbx_exec.c:911
#19 0x000055aed7ac1b48 in EXEC_function_real () at gbx_exec.c:898
#20 0x000055aed7ac315b in EXEC_special
    (special=special at entry=0, class=<optimized out>, object=<optimized out>, 
    object at entry=0x55aed8f33408, nparam=<optimized out>, drop=drop at entry=1 '\001') at gbx_exec.c:1667
#21 0x000055aed7ac3675 in EXEC_special_inheritance
    (special=special at entry=0, class=<optimized out>, 
    class at entry=0x55aed81633a8, object=object at entry=0x55aed8f33408, nparam=0, 
    nparam at entry=1, drop=drop at entry=1 '\001') at gbx_exec.c:1812
#22 0x000055aed7ac3ca0 in EXEC_new (code=<optimized out>) at gbx_exec.c:1921
#23 0x000055aed7abbeb8 in EXEC_loop () at gbx_exec_loop.c:1058
#24 0x000055aed7ac137d in EXEC_function_loop () at gbx_exec.c:911
#25 0x000055aed7ac1b48 in EXEC_function_real () at gbx_exec.c:898
#26 0x000055aed7ac3803 in EXEC_special_inheritance
    (special=special at entry=0, class=class at entry=0x55aed8235168, object=object at en--Type <RET> for more, q to quit, c to continue without paging--
try=0x55aeda456df8, nparam=nparam at entry=1, drop=drop at entry=1 '\001')
    at gbx_exec.c:1765
#27 0x000055aed7ac3ca0 in EXEC_new (code=<optimized out>) at gbx_exec.c:1921
#28 0x000055aed7abbeb8 in EXEC_loop () at gbx_exec_loop.c:1058
#29 0x000055aed7ac137d in EXEC_function_loop () at gbx_exec.c:911
#30 0x000055aed7ac1b48 in EXEC_function_real () at gbx_exec.c:898
#31 0x000055aed7ac2ff9 in EXEC_public_desc
    (class=<optimized out>, object=object at entry=0x0, desc=desc at entry=0x55aed866df28, nparam=nparam at entry=0) at gbx_exec.c:1591
#32 0x000055aed7a75fa8 in main (argc=<optimized out>, argv=<optimized out>)
    at gbx.c:488
(gdb) q
A debugging session is active.

	Inferior 1 [process 4940] will be detached.

Quit anyway? (y or n) y
Detaching from program: /usr/bin/gbr3, process 4940
[Inferior 1 (process 4940) detached]

Gianluigi GRADASCHI changed the state of the bug to: Accepted.




More information about the Bugtracker mailing list