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

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Jan 5 15:40:44 CET 2023


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

Comment #11 by Gianluigi GRADASCHI:

Hi Benoit,

Unfortunately, the malfunction occurs even with the latest versions of Gambas
Here is what happens on Gambas=3.18.0 c533cbe (master)

-------------------------
gian at gian:~$ pidof gbr3
5317 5220
gian at gian:~$ sudo gdb gbr3 5317
[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 5317
[New LWP 5326]
[New LWP 5327]
[New LWP 5350]
[New LWP 5351]
[New LWP 5353]
[New LWP 5354]
[New LWP 5355]
[New LWP 5356]
[New LWP 5381]
[New LWP 5382]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f451560c7ed in __GI___select (nfds=nfds at entry=38, readfds=readfds at entry=0x7ffcdd7b7c00, 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 = 0x55d5d672e940 <COMMON_buffer> "[gb.jit].CCompilation.Wait.143"
(gdb) bt
#0  0x00007f451560c7ed in __GI___select
    (nfds=nfds at entry=38, readfds=readfds at entry=0x7ffcdd7b7c00, writefds=writefds at entry=0x0, exceptfds=exceptfds at entry=0x0, timeout=timeout at entry=0x0)
    at ../sysdeps/unix/sysv/linux/select.c:69
#1  0x000055d5d66d7955 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  0x000055d5d66e7bf1 in CPROCESS_wait_for (timeout=0, process=0x55d5d7c4b238)
    at gbx_c_process.c:998
#3  CPROCESS_wait_for (process=0x55d5d7c4b238, timeout=0)
    at gbx_c_process.c:972
#4  0x000055d5d66fa6cb in EXEC_native () at gbx_exec.c:1345
#5  0x000055d5d66f58ec in EXEC_loop () at gbx_exec_loop.c:1572
#6  0x000055d5d66f959d in EXEC_function_loop () at gbx_exec.c:920
#7  0x000055d5d66f9d48 in EXEC_function_real () at gbx_exec.c:907
#8  0x000055d5d66fb1f9 in EXEC_public_desc
    (class=<optimized out>, object=<optimized out>, desc=<optimized out>, nparam=<optimized out>) at gbx_exec.c:1600
#9  0x000055d5d66cd9cb in GB_Call
    (func=func at entry=0x55d5d672c680 <_jit_wait_func>, nparam=nparam at entry=1, release=release at entry=0) at gbx_api.c:1211
#10 0x000055d5d66b06b5 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=0x55d5d7c45c38) at gbx_jit.c:216
#12 JIT_exec (ret_on_stack=ret_on_stack at entry=1 '\001') at gbx_jit.c:290
#13 0x000055d5d66f4ff4 in EXEC_loop () at gbx_exec_loop.c:1291
#14 0x000055d5d66f959d in EXEC_function_loop () at gbx_exec.c:920
#15 0x000055d5d66f9d48 in EXEC_function_real () at gbx_exec.c:907
#16 0x000055d5d66fdaeb in EXEC_pop_unknown () at gbx_exec_pop.c:267
#17 0x000055d5d66f5172 in EXEC_loop () at gbx_exec_loop.c:984
#18 0x000055d5d66f959d in EXEC_function_loop () at gbx_exec.c:920
#19 0x000055d5d66f9d48 in EXEC_function_real () at gbx_exec.c:907
#20 0x000055d5d66fb35b in EXEC_special
    (special=special at entry=0, class=<optimized out>, object=<optimized out>, 
    object at entry=0x55d5d8a6cc18, nparam=<optimized out>, drop=drop at entry=1 '\001') at gbx_exec.c:1676
#21 0x000055d5d66fb875 in EXEC_special_inheritance
    (special=special at entry=0, class=<optimized out>, 
    class at entry=0x55d5d7c1b8a8, object=object at entry=0x55d5d8a6cc18, nparam=0, 
    nparam at entry=1, drop=drop at entry=1 '\001') at gbx_exec.c:1821
#22 0x000055d5d66fbea0 in EXEC_new (code=<optimized out>) at gbx_exec.c:1930
#23 0x000055d5d66f4da6 in EXEC_loop () at gbx_exec_loop.c:1058
#24 0x000055d5d66f959d in EXEC_function_loop () at gbx_exec.c:920
#25 0x000055d5d66f9d48 in EXEC_function_real () at gbx_exec.c:907
#26 0x000055d5d66fba03 in EXEC_special_inheritance
    (special=special at entry=0, class=class at entry=0x55d5d7e63848, object=object at en--Type <RET> for more, q to quit, c to continue without paging--
try=0x55d5d9889238, nparam=nparam at entry=1, drop=drop at entry=1 '\001')
    at gbx_exec.c:1774
#27 0x000055d5d66fbea0 in EXEC_new (code=<optimized out>) at gbx_exec.c:1930
#28 0x000055d5d66f4da6 in EXEC_loop () at gbx_exec_loop.c:1058
#29 0x000055d5d66f959d in EXEC_function_loop () at gbx_exec.c:920
#30 0x000055d5d66f9d48 in EXEC_function_real () at gbx_exec.c:907
#31 0x000055d5d66fb1f9 in EXEC_public_desc
    (class=<optimized out>, object=object at entry=0x0, desc=desc at entry=0x55d5d8125328, nparam=nparam at entry=0) at gbx_exec.c:1600
#32 0x000055d5d66adfa8 in main (argc=<optimized out>, argv=<optimized out>)
    at gbx.c:488
(gdb) q
A debugging session is active.

	Inferior 1 [process 5317] will be detached.

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

Regards

Gianluigi

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




More information about the Bugtracker mailing list