[Gambas-user] Debugging Gambas (again)
Benoît Minisini
g4mba5 at gmail.com
Sat Apr 27 14:21:04 CEST 2019
Le 27/04/2019 à 14:08, KKing a écrit :
> again, thankyou all. just for ref here is the backtrace from current dev
> system if it has any value, remember it is from 3.8.4
>
> <<
> (gdb) bt
> #0 0x0806d8d3 in STRING_new (src=0x0, len=2) at gbx_string.c:311
> #1 0x0806dc06 in STRING_new_temp_value (value=0xb7447a80, src=0x0,
> len=2) at gbx_string.c:459
> #2 0x0806d058 in NUMBER_int_to_string (nbr=0, prec=0, base=10,
> value=0xb7447a80) at gbx_number.c:491
> #3 0x0804dc92 in VALUE_convert (value=0xb7447a80, type=9) at
> gbx_value.c:576
> #4 0x08061272 in SUBR_conv (code=26377) at gbx_subr_conv.c:108
> #5 0x0807f282 in EXEC_loop () at gbx_exec_loop.c:510
> #6 0x080510e2 in EXEC_function_loop () at gbx_exec.c:931
> #7 0x08051765 in EXEC_function_real () at gbx_exec.c:895
> #8 0x08052420 in EXEC_public_desc (class=0x80ac99c, object=0x0,
> desc=0x80c8834, nparam=0) at gbx_exec.c:1616
> #9 0x0804b4fc in main (argc=1, argv=0xbffff3c4) at gbx.c:416
> >>
>
OK. Can you enter "p DEBUG_get_current_position()"? It will tell you
where the crash occurs in your Gambas code.
Can you send the source code of the function where it crashes?
> Could you elaborate on what you define as
> <<
> external functions
> >>
> assuming you don't mean functions defined in other gambas modules or
> classes from the source folder, then the only thing that possibly stands
> out is the gb.ncurses component?
If you don't know, then you didn't use them an everything is fine. :-)
--
Benoît Minisini
More information about the User
mailing list