Subject: Re: errors while building KDE
To: Perry E. Metzger <perry@piermont.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-pkg
Date: 03/14/2003 16:40:49
"Perry E. Metzger" <perry@piermont.com> writes:

> System: an x86 running current about a week old, + XFree 4.3
> 
> Event: while building kde3, this happened:

From the trace that Hubert posted, that looks a lot like the bug in
__cxa_finalize() that was present from about 3/1 to 3/4. Is your
"about a week old" in that range? You should have rev 1.15 of
src/lib/libc/stdlib/atexit.c; rev 1.14 is the problem version.

I've tried to reproduce this, in case it's something else, but my kde3
build blows out much earlier. It also dies in uic, although when
trying to build qt3-tools:


gmake[3]: Entering directory `/u1/nbsd/pkgsrc/x11/qt3-tools/work.i386/qt-x11-free-3.1.1/tools/designer/designer'
/u1/nbsd/pkgsrc/x11/qt3-tools/work.i386/qt-x11-free-3.1.1/bin/uic -L /u1/nbsd/pkgsrc/x11/qt3-tools/work.i386/qt-x11-free-3.1.1/plugins listboxeditor.ui -o listboxeditor.h
gmake[3]: *** [listboxeditor.h] Segmentation fault (core dumped)


(gdb) where
#0  0x4850b5e9 in QString::operator= () from /usr/pkg/qt3/lib/libqt-mt.so.3
#1  0x484f2110 in QDir::QDir () from /usr/pkg/qt3/lib/libqt-mt.so.3
#2  0x484fcdf8 in QGPluginManager::addLibraryPath ()
   from /usr/pkg/qt3/lib/libqt-mt.so.3
#3  0x484fcc24 in QGPluginManager::QGPluginManager ()
   from /usr/pkg/qt3/lib/libqt-mt.so.3
#4  0x485354c5 in create_manager () from /usr/pkg/qt3/lib/libqt-mt.so.3
#5  0x48535567 in QTextCodecFactory::createForName ()
   from /usr/pkg/qt3/lib/libqt-mt.so.3
#6  0x4852fad8 in QTextCodec::codecForName ()
   from /usr/pkg/qt3/lib/libqt-mt.so.3
#7  0x48532863 in setupLocaleMapper () from /usr/pkg/qt3/lib/libqt-mt.so.3
#8  0x48532ee4 in realSetup () from /usr/pkg/qt3/lib/libqt-mt.so.3
#9  0x4852f985 in QTextCodec::codecForLocale ()
   from /usr/pkg/qt3/lib/libqt-mt.so.3
#10 0x48511651 in QString::fromLocal8Bit () from /usr/pkg/qt3/lib/libqt-mt.so.3
#11 0x484f52f2 in locale_decoder () from /usr/pkg/qt3/lib/libqt-mt.so.3
#12 0x484f5326 in QFile::decodeName () from /usr/pkg/qt3/lib/libqt-mt.so.3
#13 0x484df53c in QDir::homeDirPath () from /usr/pkg/qt3/lib/libqt-mt.so.3
#14 0x48513a34 in QSettingsPrivate::QSettingsPrivate ()
   from /usr/pkg/qt3/lib/libqt-mt.so.3
#15 0x48515c6b in QSettings::QSettings () from /usr/pkg/qt3/lib/libqt-mt.so.3
#16 0x4821ce43 in qt_init_internal () from /usr/pkg/qt3/lib/libqt-mt.so.3
#17 0x4821f477 in qt_init () from /usr/pkg/qt3/lib/libqt-mt.so.3
#18 0x4826f168 in QApplication::construct ()
   from /usr/pkg/qt3/lib/libqt-mt.so.3
#19 0x4826f01f in QApplication::QApplication ()
   from /usr/pkg/qt3/lib/libqt-mt.so.3
#20 0x804e0f6 in main ()
#21 0x804dce4 in ___start ()

        - Nathan