[Gambas-devel] Error on Test-project xArray (2)
Benoit Minisini
gambas at ...1...
Sat Nov 18 14:19:00 CET 2006
On Saturday 18 November 2006 13:14, Charlie Reinl wrote:
> Salut Benoît,
>
>
> sorry, sented the wrong Error.log, hadn't set the args on that.
>
> here the right one :
>
> ~/gb-projects/Test/xArray $ gdb gbx2
> GNU gdb 6.4
> Copyright 2005 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 "i686-pc-linux-gnu"...Using host libthread_db
> library "/lib/libthread_db.so.1".
>
> (gdb) set args -p
> (gdb) run
> Starting program: /usr/local/bin/gbx2 -p
> [Thread debugging using libthread_db enabled]
> [New Thread -1209919824 (LWP 12793)]
> Error while reading shared library symbols:
> Cannot find new threads: generic error
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1209919824 (LWP 12793)]
> 0xb78d5aea in QMetaObjectCleanUp::~QMetaObjectCleanUp ()
> from /usr/qt/3/lib/libqt-mt.so.3
> (gdb) bt
> #0 0xb78d5aea in QMetaObjectCleanUp::~QMetaObjectCleanUp ()
> from /usr/qt/3/lib/libqt-mt.so.3
> #1 0xb7157613 in __tcf_0 () at moc_CEditor.cpp:28
> #2 0xb7e4d2b6 in __cxa_finalize () from /lib/libc.so.6
> #3 0xb714ac13 in __do_global_dtors_aux ()
> from /usr/local/lib/gambas2/gb.qt.editor.so
> #4 0xb7158c96 in _fini () from /usr/local/lib/gambas2/gb.qt.editor.so
> #5 0xb7f9efa6 in _dl_close () from /lib/ld-linux.so.2
> #6 0xb7f3eed4 in dlopen () from /lib/libdl.so.2
> #7 0xb7f9a396 in _dl_catch_error () from /lib/ld-linux.so.2
> #8 0xb7f3f2dc in dlvsym () from /lib/libdl.so.2
> #9 0xb7f3ef0a in dlclose () from /lib/libdl.so.2
> #10 0x08055ccf in LIBRARY_unload (lib=0x8077cb8) at gbx_library.c:500
> #11 0x080666a6 in COMPONENT_exit () at gbx_component.c:84
> #12 0x0805ee68 in main_exit () at gbx.c:105
> #13 0x0805f36b in main (argc=1, argv=0xbfe9f564) at gbx.c:349
> (gdb)
>
> I get this Error when I close the project via X,ok or cancel.
>
> Hope you can help.
>
> Amicalment
> Charlie
>
I have no problem there, no crash.
Your log shows that the interpreter crashes inside the dlcose() function of
the system dynamic loader, which should never happen on a normal system. Try
to use valgrind to detect if the problem is not a memory corruption happening
before the end of the program.
Regards,
--
Benoit Minisini
More information about the Devel
mailing list