[Gambas-devel] Segmentation fault

Bodard Fabien gambasfr at ...4...
Tue Aug 3 22:47:45 CEST 2004


Hi benoit 

i can't edit or read  the data of my database on mysql !

Fabien Bodard



[gambas at ...102... gambas-database-manager]$ gdb gbx
GNU gdb 6.0-2mdk (Mandrake Linux)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

(gdb) set args -p
(gdb) run
Starting program: /usr/bin/gbx -p
[Thread debugging using libthread_db enabled]
[New Thread 1075449984 (LWP 6041)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075449984 (LWP 6041)]
0x08061ea7 in STRING_unref (ptr=0xbfffe434) at gbx_string.c:325
325       if ((--str->ref) <= 0)
(gdb) bt
#0  0x08061ea7 in STRING_unref (ptr=0xbfffe434) at gbx_string.c:325
#1  0x0805e42d in GB_FreeString (str=0xbfffe434) at gbx_api.c:1221
#2  0x40e70ca3 in field_index (Result=0x81bb048, name=0x81bd188 "id",
    handle=0x81444d0, version=40018) at main.c:725
#3  0x401dac3f in CRESULTFIELD_find (result=Variable "result" is not 
available.
) at CResultField.c:55
#4  0x401dad2e in CRESULTFIELD_get (result=Variable "result" is not available.
) at CResultField.c:95
#5  0x08066562 in get_from_key (_object=0x81bf198, key=0x81bd188 "id", len=2)
    at gbx_c_subcollection.c:122
#6  0x401daf5f in CRESULTFIELD_next (_object=0x81bf198, _param=0x8074b68)
    at CResultField.c:230
#7  0x0804ed70 in EXEC_call_native (exec=0x401daf02 <CRESULTFIELD_next>,
    object=0x81bf198, type=134716632, param=0x8074b68) at gbx_exec.c:650
#8  0x0804ef26 in EXEC_native () at gbx_exec.c:741
#9  0x0804f2a6 in EXEC_spec (special=5, class=0x8079dc0, object=0x81bf198,
    nparam=0, drop=0 '\0') at gbx_exec.c:956
#10 0x08050cac in EXEC_enum_next (code=9984) at gbx_exec_enum.c:67
#11 0x08050147 in EXEC_loop () at gbx_exec_loop.c:1204
#12 0x0804eba7 in EXEC_function_real (keep_ret_value=0 '\0') at gbx_exec.c:550
#13 0x0804f2be in EXEC_spec (special=0, class=0x81455c0, object=0x8140120,
    nparam=3, drop=1 '\001') at gbx_exec.c:963
#14 0x0804f38a in EXEC_special_inheritance (special=0, class=0x81455c0,
    object=0x8140120, nparam=3, drop=1 '\001') at gbx_exec.c:1060
#15 0x0804f53f in EXEC_new () at gbx_exec.c:1133
---Type <return> to continue, or q <return> to quit---
#16 0x0804fca3 in EXEC_loop () at gbx_exec_loop.c:899
#17 0x0804eba7 in EXEC_function_real (keep_ret_value=1 '\001')
    at gbx_exec.c:550
#18 0x0805d532 in call_method (object=0x8148d40, desc=0x818dfcc, nparam=0)
    at gbx_api.c:345
#19 0x0805d626 in GB_Raise (event_id=15, nparam=0) at gbx_api.c:434
#20 0x4022ebd8 in CTabStrip::currentChanged(QWidget*) (this=Variable "this" is 
not available.
)
    at CTabStrip.cpp:526
#21 0x4022dfbe in CTabStrip::qt_invoke(int, QUObject*) (this=0x4024c820, 
_id=Variable "_id" is not available.
)
    at qucom_p.h:312
#22 0x405f5432 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40a3d998 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x08148360 in ?? ()
#25 0x00000003 in ?? ()
(gdb) Quit
(gdb)




More information about the Devel mailing list