Skip site navigation (1)Skip section navigation (2)
Date:      11 Jun 2003 11:27:31 +0000
From:      Mark Hannon <spam@doorway.homeip.net>
To:        ports@freebsd.org
Subject:   mysqlcc segfaults under 5.1-CURRENT and not under 4.8-RELEASE
Message-ID:  <1055330850.650.6.camel@tbird.home.lan>

next in thread | raw e-mail | index | archive | help

--=-B0sDM/6XA/K2RIoF/YQY
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

I have been trying to get mysqlcc compiled and running.  I have hacked
up a little port (not complete yet) but unfortunately when I run the 
application under 5.1-CURRENT I get segfaults (see attached trace).

Some details of the system:

tbird:~> uname -a
FreeBSD tbird.home.lan 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Wed Jun 11
08:03:16 EST 2003     mark@tbird.home.lan:/usr/obj/usr/src/sys/ATHLON 
i386
tbird:~> pkg_info | grep qt
qt-3.1.2            A C++ X GUI toolkit
tbird:~> ldd /usr/local/bin/mysqlcc
/usr/local/bin/mysqlcc:
        libqt-mt.so.3 => /usr/X11R6/lib/libqt-mt.so.3 (0x281e3000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28825000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28833000)
        libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x288f9000)
        libm.so.2 => /usr/lib/libm.so.2 (0x289ae000)
        libc_r.so.5 => /usr/lib/libc_r.so.5 (0x289cc000)
        libc.so.5 => /usr/lib/libc.so.5 (0x289ef000)
        libz.so.2 => /usr/lib/libz.so.2 (0x28ac7000)
        libmng.so.1 => /usr/local/lib/libmng.so.1 (0x28ad5000)
        libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28b16000)
        libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28b33000)
        libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x28b58000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x28bc3000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x28bd9000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x28be0000)
        libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28bf2000)
        libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1
(0x28c47000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28c6f000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28c78000)
        liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x28c8f000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28caa000)
        libexpat.so.4 => /usr/local/lib/libexpat.so.4 (0x28cf9000)

I built and ran the application under 4.8-RELEASE and it works fine.

Any ideas of what I could trace?

Regards/mark






--=-B0sDM/6XA/K2RIoF/YQY
Content-Disposition: attachment; filename=mysqlcc_trace.txt
Content-Type: text/plain; name=mysqlcc_trace.txt; charset=
Content-Transfer-Encoding: 7bit

tbird:/usr/obj/export/home/mark/projects/ports/mysqlcc/work/mysqlcc-0.9.2-src> gdb mysqlcc
GNU gdb 5.2.1 (FreeBSD)
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 "i386-undermydesk-freebsd"...
(gdb) run
Starting program: /usr/obj/export/home/mark/projects/ports/mysqlcc/work/mysqlcc-0.9.2-src/mysqlcc
 
Program received signal SIGBUS, Bus error.
0x2868622b in QGListIterator::QGListIterator(QGList const&) () from /usr/X11R6/lib/libqt-mt.so.3
(gdb) bt
#0  0x2868622b in QGListIterator::QGListIterator(QGList const&) ()
   from /usr/X11R6/lib/libqt-mt.so.3
#1  0x28509c84 in QMenuData::findItem(int, QMenuData**) const () from /usr/X11R6/lib/libqt-mt.so.3
#2  0x28509c1e in QMenuData::findItem(int) const () from /usr/X11R6/lib/libqt-mt.so.3
#3  0x2854609a in QActionPrivate::~QActionPrivate() () from /usr/X11R6/lib/libqt-mt.so.3
#4  0x28547117 in QAction::~QAction() () from /usr/X11R6/lib/libqt-mt.so.3
#5  0x284580d2 in QWidget::~QWidget() () from /usr/X11R6/lib/libqt-mt.so.3
#6  0x2850b615 in QPopupMenu::~QPopupMenu() () from /usr/X11R6/lib/libqt-mt.so.3
#7  0x0816a53b in ~CHotKeyEditorMenu (this=0x82d0a00) at CHotKeyEditorDialog.h:75
#8  0x284580d2 in QWidget::~QWidget() () from /usr/X11R6/lib/libqt-mt.so.3
#9  0x284fd1e5 in QMainWindow::~QMainWindow() () from /usr/X11R6/lib/libqt-mt.so.3
#10 0x080b5a4e in ~CMyWindow (this=0xbfbff6a0) at src/CMyWindow.cpp:269
#11 0x0813f4ea in mysqlcc_main(int, char**) (argc=1, argv=0x8282330) at src/mysqlcc_main.cpp:343
#12 0x0813c262 in main (argc=0, argv=0x8226034) at src/main.cpp:202
#13 0x08069c05 in _start ()

--=-B0sDM/6XA/K2RIoF/YQY--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1055330850.650.6.camel>