[Gambas-user] Gambas 0.44 and QT issues

Brian Snipes bsnipes at ...21...
Mon Feb 24 05:34:44 CET 2003


I was hoping that 0.45 might work on my system but know such luck.  Here
is the gdb output and the end of an strace -f for when work is done on
this issue:
--- gdb snip ---
bsnipes at ...77... gambas $ gdb gbx
GNU gdb 5.3
Copyright 2002 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"...
(gdb) run
Starting program: /usr/bin/gbx
Preloading gb.qt
Preloading gb.qt.editor
Preloading gb.qt.ext
[New Thread 16384 (LWP 2599)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 2599)]
0x40a588a7 in _XRead () from /usr/X11R6/lib/libX11.so.6
(gdb) bt
#0  0x40a588a7 in _XRead () from /usr/X11R6/lib/libX11.so.6
#1  0x40a4a80d in XOpenDisplay () from /usr/X11R6/lib/libX11.so.6
#2  0x4038c033 in qt_init_internal(int*, char**, _XDisplay*, unsigned
long, unsigned long) () from /usr/qt/3/lib/libqt-mt.so.3
#3  0x4038cf9e in qt_init(int*, char**, QApplication::Type) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#4  0x403e7e10 in QApplication::construct(int&, char**,
QApplication::Type) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#5  0x403e7adc in QApplication::QApplication(int&, char**) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#6  0x401b47a8 in my_main (argc=0xbffff610, argv=0xbffff664) at
main.cpp:199
#7  0x08068013 in main (argc=1, argv=0xbffff664) at gbx.c:215
#8  0x40069e34 in __libc_start_main () from /lib/libc.so.6
(gdb) Quit
(gdb) q
The program is running.  Exit anyway? (y or n) y
--- end gdb snip ---

--- strace -f gambas snip ---
uname({sys="Linux", node="galileo.snipes.org", ...}) = 0
connect(4, {sin_family=AF_UNIX, path="/tmp/.X11-unix/X0"}, 19) = 0
uname({sys="Linux", node="galileo.snipes.org", ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
access("/home/bsnipes/.Xauthority", R_OK) = 0
open("/home/bsnipes/.Xauthority", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=325, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40023000
read(5, "\0\0\0\4\254\20|\1\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 4096) =
325
close(5)                                = 0
munmap(0x40023000, 4096)                = 0
writev(4, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"MIT-MAGIC-COOKIE-1",
18}, {"\0\0", 2},
{"\266\335[\16\330\365U,\255\201\f\271\203\304\240\201", 16}], 4) = 48
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

--- end strace snip ---


On Fri, 2003-02-14 at 12:37, Brian Snipes wrote:
> I am having a similiar problem to the Mandrake 9.0 errors from a few
> weeks ago.  Has anyone been able to determine the cause of the
> segfault?  I am using a fresh install of Gentoo 1.4rc2 with KDE 3.1 and
> QT 3.1.0 .  Here is my gdb output:
> 
> (gdb) run
> Starting program: /usr/bin/gbx
> [New Thread 16384 (LWP 29215)]
>  
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 29215)]
> 0x40a108a7 in _XRead () from /usr/X11R6/lib/libX11.so.6
> (gdb) bt
> #0  0x40a108a7 in _XRead () from /usr/X11R6/lib/libX11.so.6
> #1  0x40a0280d in XOpenDisplay () from /usr/X11R6/lib/libX11.so.6
> #2  0x40396460 in qt_init_internal(int*, char**, _XDisplay*, unsigned
> long, unsigned long) () from /usr/qt/3/lib/libqt-mt.so.3
> #3  0x4039724e in qt_init(int*, char**, QApplication::Type) ()
>    from /usr/qt/3/lib/libqt-mt.so.3
> #4  0x403f1990 in QApplication::construct(int&, char**,
> QApplication::Type) ()
>    from /usr/qt/3/lib/libqt-mt.so.3
> #5  0x403f165c in QApplication::QApplication(int&, char**) ()
>    from /usr/qt/3/lib/libqt-mt.so.3
> #6  0x401b30f6 in my_main (argc=0xbffff6f0, argv=0xbffff744) at
> main.cpp:193
> #7  0x08067863 in main (argc=1, argv=0xbffff744) at gbx.c:215
> #8  0x40067e34 in __libc_start_main () from /lib/libc.so.6
> (gdb) quit
> 
> 
> Brian Snipes
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
> are you planning your Web Server Security? Click here to get a FREE
> Thawte SSL guide and find the answers to all your  SSL security issues.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
-- 
C. Brian Snipes
RHCE, MCNE, LCP, CCNA, MSP
Dynamic Network Integration, Inc.
Phone : 205.640.6913
Cell : 205.602.1279





More information about the User mailing list