[Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720

Olivier Cruilles linuxos at ...1896...
Sun May 13 20:53:20 CEST 2012



[linus at ...2073... gbEditor3]$ gdb gbr3
GNU gdb (GDB) Fedora (7.2-52.fc14)
Copyright (C) 2010 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 "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gbr3...Reading symbols from /usr/lib/debug/usr/bin/gbx3.debug...done.
done.
(gdb) run /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3
Starting program: /usr/bin/gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3
[Thread debugging using libthread_db enabled]
[New Thread 0x15fab70 (LWP 2962)]
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x8232c80)" of type `GString'
Detaching after fork from child process 2963.
Detaching after fork from child process 2965.
[New Thread 0x6156b70 (LWP 2966)]
[New Thread 0x70dfb70 (LWP 2967)]
Detaching after fork from child process 2968.
warning: unable to load 24/earth

Program received signal SIGSEGV, Segmentation fault.
0x0806cc27 in GB_Raise (object=0x11, event_id=2, nparam=0) at gbx_api.c:603
603		if (!OBJECT_is_valid(object) || !OBJECT_has_events(object))
Missing separate debuginfos, use: debuginfo-install GConf2-2.31.91-1.fc14.i686 ORBit2-2.14.19-1.fc14.i686 PackageKit-gtk-module-0.6.12-4.fc14.i686 atk-1.32.0-1.fc14.i686 avahi-glib-0.6.27-8.fc14.i686 avahi-libs-0.6.27-8.fc14.i686 cairo-1.10.2-1.fc14.i686 cups-libs-1.4.8-5.fc14.i686 dbus-glib-0.86-4.fc14.i686 dbus-libs-1.4.0-3.fc14.i686 expat-2.0.1-10.fc13.i686 flac-1.2.1-6.fc12.i686 fontconfig-2.8.0-2.fc14.i686 freetype-2.4.2-7.fc14.i686 gdk-pixbuf2-2.22.0-2.fc14.i686 glib2-2.26.0-2.fc14.i686 glibc-2.13-2.i686 gnome-vfs2-2.24.4-1.fc14.i686 gnutls-2.8.6-2.fc14.i686 gtk-aurora-engine-1.5.1-4.fc14.i686 gtk2-2.22.0-2.fc14.i686 keyutils-libs-1.2-6.fc12.i686 krb5-libs-1.8.4-3.fc14.i686 lcms-libs-1.19-2.fc14.i686 libICE-1.0.6-2.fc13.i686 libSM-1.1.0-7.fc12.i686 libX11-1.3.4-4.fc14.i686 libXau-1.0.6-1.fc14.i686 libXcomposite-0.4.2-1.fc14.i686 libXcursor-1.1.10-5.fc14.i686 libXdamage-1.1.3-1.fc14.i686 libXext-1.1.2-2.fc14.i686 libXfixes-4.0.5-1.fc14.i686 libXi-1.3.2-1.fc14.i686 libXinerama-1.1-2.fc13.i686 libXrandr-1.3.0-5.fc13.i686 libXrender-0.9.6-1.fc14.i686 libXtst-1.0.99.2-3.fc12.i686 libart_lgpl-2.3.21-1.fc14.i686 libasyncns-0.8-1.fc13.i686 libbonobo-2.32.0-1.fc14.i686 libbonoboui-2.24.4-1.fc14.i686 libcanberra-0.25-4.fc14.i686 libcanberra-gtk2-0.25-4.fc14.i686 libcom_err-1.41.12-6.fc14.i686 libgcc-4.5.1-4.fc14.i686 libgcrypt-1.4.5-4.fc13.i686 libgnome-2.32.0-1.fc14.i686 libgnome-keyring-2.32.0-2.fc14.i686 libgnomecanvas-2.30.2-1.fc14.i686 libgnomeui-2.24.4-1.fc14.i686 libgpg-error-1.9-1.fc14.i686 libjpeg-turbo-1.1.1-1.fc14.i686 libmng-1.0.10-4.fc12.i686 libogg-1.2.0-1.fc14.i686 libpng-1.2.46-1.fc14.i686 libqzeitgeist-0.7.0-1.fc14.i686 libselinux-2.0.96-6.fc14.1.i686 libsndfile-1.0.25-1.fc14.i686 libstdc++-4.5.1-4.fc14.i686 libtasn1-2.7-1.fc14.i686 libtdb-1.2.1-3.fc14.i686 libtiff-3.9.5-1.fc14.i686 libtool-ltdl-2.2.10-3.fc14.i686 libuuid-2.18-4.8.fc14.i686 libvorbis-1.3.1-2.fc14.i686 libxcb-1.7-1.fc14.i686 libxml2-2.7.7-3.fc14.i686 nss-softokn-freebl-3.12.10-1.fc14.i686 openssl-1.0.0e-1.fc14.i686 pango-1.28.1-5.fc14.i686 phonon-4.5.1-1.fc14.i686 pixman-0.18.4-1.fc14.i686 popt-1.13-7.fc14.i686 pulseaudio-libs-0.9.21-7.fc14.i686 pulseaudio-libs-glib2-0.9.21-7.fc14.i686 qt-4.7.4-7.fc14.i686 qt-webkit-4.7.4-7.fc14.i686 qt-x11-4.7.4-7.fc14.i686 scim-bridge-qt-0.4.16-5.fc14.i686 sqlite-3.6.23.1-1.fc14.i686 tcp_wrappers-libs-7.6-59.fc14.i686 zlib-1.2.5-2.fc14.i686
(gdb) bt
#0  0x0806cc27 in GB_Raise (object=0x11, event_id=2, nparam=0) at gbx_api.c:603
#1  0x00223196 in post_event (_object=0x11, event=2) at CEditor.cpp:1416
#2  0x08083999 in SIGNAL_raise_callbacks (fd=41, type=1, data=0x0) at gbx_signal.c:143
#3  0x001821eb in CWatch::read (this=0x8301100, fd=41) at CWatch.cpp:135
#4  0x00181ece in CWatch::qt_metacall (this=0x8301100, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfffeaf8)
    at CWatch_moc.cpp:73
#5  0x0780e66b in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#6  0x0781dc67 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#7  0x0786c1f4 in QSocketNotifier::activated(int) () from /usr/lib/libQtCore.so.4
#8  0x0782446f in QSocketNotifier::event(QEvent*) () from /usr/lib/libQtCore.so.4
#9  0x04febecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x04ff0bd2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x07807e33 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#12 0x0783554f in ?? () from /usr/lib/libQtCore.so.4
#13 0x008b4192 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#14 0x008b4978 in ?? () from /lib/libglib-2.0.so.0
#15 0x008b4c35 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#16 0x07835bcd in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#17 0x050a0186 in ?? () from /usr/lib/libQtGui.so.4
#18 0x0780bf5a in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, int) () from /usr/lib/libQtCore.so.4
#19 0x0014c07d in hook_loop () at main.cpp:760
#20 0x08073df8 in main (argc=2, argv=0xbffff344) at gbx.c:408
(gdb) quit
A debugging session is active.

	Inferior 1 [process 2959] will be killed.

Quit anyway? (y or n) y

---------------------------------------------------------


After execute the 'run' command, I got a window but all grey color and nothing appear.




Olivier Cruilles
Mail: linuxos at ...1896...

Le 13 mai 2012 à 20:31, Benoît Minisini a écrit :

> Le 13/05/2012 20:09, Olivier Cruilles a écrit :
>> I try it on two different ways:
>> 
>>>> 
>>>> Can you remember me the command to debug gambas3 execution please ?
>>>> 
>>>> Olivier Cruilles
>>>> Mail: linuxos at ...1896...
>>>> 
>>> 
>>> $ gdb gbr3
>>> ...
>>> (gdb) gbr3 /path/to/gambas3.gambas --<arguments>
>>> 
> 
> Sorry I meant:
> 
> (gdb) run /path/to/gambas3.gambas --<arguments>
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list