[Gambas-user] Gambas, mandrake 9, and QT 3.0.6, seg fault

Benoît Minisini gambas at ...1...
Fri Jan 3 12:27:57 CET 2003


Le Vendredi 3 Janvier 2003 04:27, Gregg a écrit :
> Same thing:
>
> [root at ...51... root]# gambas -- -display :0
> Segmentation fault (core dumped)
> [root at ...51... root]#
>
>
> Gregg
>
> > Le Jeudi 2 Janvier 2003 20:02, Gregg a écrit :
> >> I was refering to the fact that qt-mt is the standard with mandrake 9,
> >> not that the version i was running was.  I upgraded my 3.0.5 to
> >> 3.0.6-1 from the cooker rpm about a week ago.
> >>
> >> This is 0.41.
> >>
> >> And here are the results of the gdb work:
> >>
> >> This GDB was configured as "i586-mandrake-linux-gnu"...
> >> (gdb) run
> >> Starting program: /opt/gambas/bin/gbx
> >>
> >> Program received signal SIGSEGV, Segmentation fault.
> >> 0x40a38ff7 in _XRead () from /usr/X11R6/lib/libX11.so.6
> >> (gdb) bt
> >> #0  0x40a38ff7 in _XRead () from /usr/X11R6/lib/libX11.so.6
> >> #1  0x40a2ac0b in XOpenDisplay () from /usr/X11R6/lib/libX11.so.6 #2
> >> 0x403a18d6 in qt_init_internal(int*, char**, _XDisplay*, unsigned
> >> long, unsigned long) ()
> >>    from /usr/lib/qt3/lib/libqt-mt.so.3
> >> #3  0x403a273e in qt_init(int*, char**, QApplication::Type) () from
> >> /usr/lib/qt3/lib/libqt-mt.so.3
> >> #4  0x4040bd3b in QApplication::QApplication(int&, char**) () from
> >> /usr/lib/qt3/lib/libqt-mt.so.3
> >> #5  0x401ca82c in my_main (argc=0xbffff8f0, argv=0xbffff944) at
> >> main.cpp:191 #6  0x08066c1c in main (argc=1, argv=0xbffff944) at
> >> gbx.c:235 #7  0x40065082 in __libc_start_main () from
> >> /lib/i686/libc.so.6
> >> (gdb)
> >>

@#*#$ ! How can my program crash into the Xlib ? I looked into the X11 source 
code, and _XRead is just the Xlib function that reads on the X11 socket...

When you got the qt-3.0.6 rpm from Cooker, did you take the development 
packages, or did ou keep the qt-3.0.5 one ?

Have you something special on your X11 configuration ?

-- 
Benoît Minisini
mailto:gambas at ...1...




More information about the User mailing list