gdb gbr3 3249
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 3249
[New LWP 3258]
[New LWP 3259]
[New LWP 3282]
[New LWP 3283]
[New LWP 3285]
[New LWP 3286]
[New LWP 3287]
[New LWP 3288]
[New LWP 3313]
[New LWP 3314]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f2aed1227ed in __GI___select (nfds=nfds@entry=38, readfds=readfds@entry=0x7ffe67d12b70, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@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 = 0x55931bba9940 <COMMON_buffer> "[gb.jit].CCompilation.Wait.143"
(gdb) bt
#0  0x00007f2aed1227ed in __GI___select
    (nfds=nfds@entry=38, readfds=readfds@entry=0x7ffe67d12b70, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x0)
    at ../sysdeps/unix/sysv/linux/select.c:69
#1  0x000055931bb52955 in WATCH_process
    (fd_end=fd_end@entry=37, fd_output=-1, fd_error=-1, timeout=timeout@entry=0) at gbx_watch.c:715
#2  0x000055931bb62bf1 in CPROCESS_wait_for (timeout=0, process=0x55931d6ef238)
    at gbx_c_process.c:998
#3  CPROCESS_wait_for (process=0x55931d6ef238, timeout=0)
    at gbx_c_process.c:972
#4  0x000055931bb756cb in EXEC_native () at gbx_exec.c:1345
#5  0x000055931bb708ec in EXEC_loop () at gbx_exec_loop.c:1572
#6  0x000055931bb7459d in EXEC_function_loop () at gbx_exec.c:920
#7  0x000055931bb74d48 in EXEC_function_real () at gbx_exec.c:907
#8  0x000055931bb761f9 in EXEC_public_desc
    (class=<optimized out>, object=<optimized out>, desc=<optimized out>, nparam=<optimized out>) at gbx_exec.c:1600
#9  0x000055931bb489cb in GB_Call
    (func=func@entry=0x55931bba7680 <_jit_wait_func>, nparam=nparam@entry=1, release=release@entry=0) at gbx_api.c:1211
#10 0x000055931bb2b6b5 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=0x55931d6e9c38) at gbx_jit.c:216
#12 JIT_exec (ret_on_stack=ret_on_stack@entry=1 '\001') at gbx_jit.c:290
#13 0x000055931bb6fff4 in EXEC_loop () at gbx_exec_loop.c:1291
#14 0x000055931bb7459d in EXEC_function_loop () at gbx_exec.c:920
#15 0x000055931bb74d48 in EXEC_function_real () at gbx_exec.c:907
#16 0x000055931bb78aeb in EXEC_pop_unknown () at gbx_exec_pop.c:267
#17 0x000055931bb70172 in EXEC_loop () at gbx_exec_loop.c:984
#18 0x000055931bb7459d in EXEC_function_loop () at gbx_exec.c:920
#19 0x000055931bb74d48 in EXEC_function_real () at gbx_exec.c:907
#20 0x000055931bb7635b in EXEC_special
    (special=special@entry=0, class=<optimized out>, object=<optimized out>, 
    object@entry=0x55931e327018, nparam=<optimized out>, drop=drop@entry=1 '\001') at gbx_exec.c:1676
#21 0x000055931bb76875 in EXEC_special_inheritance
    (special=special@entry=0, class=<optimized out>, 
    class@entry=0x55931d6bf8a8, object=object@entry=0x55931e327018, nparam=0, 
    nparam@entry=1, drop=drop@entry=1 '\001') at gbx_exec.c:1821
#22 0x000055931bb76ea0 in EXEC_new (code=<optimized out>) at gbx_exec.c:1930
#23 0x000055931bb6fda6 in EXEC_loop () at gbx_exec_loop.c:1058
#24 0x000055931bb7459d in EXEC_function_loop () at gbx_exec.c:920
#25 0x000055931bb74d48 in EXEC_function_real () at gbx_exec.c:907
#26 0x000055931bb76a03 in EXEC_special_inheritance
    (special=special@entry=0, class=class@entry=0x55931d953768, object=object@en--Type <RET> for more, q to quit, c to continue without paging--
try=0x55931fa3e788, nparam=nparam@entry=1, drop=drop@entry=1 '\001')
    at gbx_exec.c:1774
#27 0x000055931bb76ea0 in EXEC_new (code=<optimized out>) at gbx_exec.c:1930
#28 0x000055931bb6fda6 in EXEC_loop () at gbx_exec_loop.c:1058
#29 0x000055931bb7459d in EXEC_function_loop () at gbx_exec.c:920
#30 0x000055931bb74d48 in EXEC_function_real () at gbx_exec.c:907
#31 0x000055931bb761f9 in EXEC_public_desc
    (class=<optimized out>, object=object@entry=0x0, desc=desc@entry=0x55931dbc8328, nparam=nparam@entry=0) at gbx_exec.c:1600
#32 0x000055931bb28fa8 in main (argc=<optimized out>, argv=<optimized out>)
    at gbx.c:488
(gdb) q
A debugging session is active.

	Inferior 1 [process 3249] will be detached.

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

