[Qt-creator] seg fault on startup

Frank Neuhaus dtag00 at gmail.com
Fri Jan 22 23:10:26 CET 2010


On Fri, Jan 22, 2010 at 8:39 AM, Brian McGillion
<brian.mcgillion at symbio.com> wrote:
> Hi,

Hi,

> The segmentation fault is encountered when starting QtCreator but looks
> like it originates from the Qt lib so I mailed both lists. I have built
> the latest Creator from git against the Qt 4.6.1 lib that was released
> the other day.  My system is x86 Ubuntu 9.10.  Any help on this would be
> great.

I'd just like to add that I am experiencing the same problem. I am
using some qtsdk package which was released not long ago (qmake -v
reports Qt Version 4.6.0).
Not sure if it helps but my gdb output of the segfault is below.

Program received signal SIGSEGV, Segmentation fault.
0x00640f81 in QHashData::detach_helper2 (this=0x4a7b0a0, node_duplicate=
    0x4a6deb0 <QHash<QString,
Core::MimeMapEntry>::duplicateNode(QHashData::Node*, void*)>,
node_delete=
    0x4a6eca0 <QHash<QString,
Core::MimeMapEntry>::deleteNode2(QHashData::Node*)>, nodeSize=20,
nodeAlign=4)
    at /var/tmp/qt-x11-src-4.6.0/src/corelib/tools/qhash.cpp:233
233     /var/tmp/qt-x11-src-4.6.0/src/corelib/tools/qhash.cpp: No such
file or directory.
        in /var/tmp/qt-x11-src-4.6.0/src/corelib/tools/qhash.cpp
Missing separate debuginfos, use: debuginfo-install
GConf2-2.28.0-3.fc12.i686 ORBit2-2.14.17-3.fc12.i686
PackageKit-gtk-module-0.5.6-1.fc12.i686 atk-1.28.0-1.fc12.i686
avahi-0.6.25-5.fc12.i686 avahi-glib-0.6.25-5.fc12.i686
cairo-1.8.8-3.fc12.i686 dbus-glib-0.82-2.fc12.i686
dbus-libs-1.2.16-9.fc12.i686 expat-2.0.1-8.fc12.i686
fontconfig-2.8.0-1.fc12.i686 freetype-2.3.11-3.fc12.i686
glib2-2.22.3-2.fc12.i686 glibc-2.11.1-1.i686
gnome-keyring-2.28.2-2.fc12.i686 gnome-vfs2-2.24.2-2.fc12.i686
gtk2-2.18.6-1.fc12.i686 gtk2-engines-2.18.4-4.fc12.i686
keyutils-libs-1.2-6.fc12.i686 krb5-libs-1.7-18.fc12.i686
libICE-1.0.6-1.fc12.i686 libSM-1.1.0-7.fc12.i686
libX11-1.3-1.fc12.i686 libXau-1.0.5-1.fc12.i686
libXcomposite-0.4.1-2.fc12.i686 libXcursor-1.1.10-1.fc12.i686
libXdamage-1.1.2-1.fc12.i686 libXext-1.1-2.fc12.i686
libXfixes-devel-4.0.4-1.fc12.i686 libXi-devel-1.3-1.fc12.i686
libXinerama-1.1-1.fc12.i686 libXrandr-1.3.0-3.fc12.i686
libXrender-0.9.5-1.fc12.i686 libart_lgpl-2.3.20-5.fc12.i686
libbonobo-2.24.2-2.fc12.i686 libbonoboui-2.24.2-2.fc12.i686
libcanberra-0.22-1.fc12.i686 libcanberra-gtk2-0.22-1.fc12.i686
libcap-ng-0.6.2-3.fc12.i686 libcom_err-1.41.9-5.fc12.i686
libgcc-4.4.2-20.fc12.i686 libgnome-2.28.0-1.fc12.i686
libgnomecanvas-2.26.0-2.fc12.i686 libgnomeui-2.24.1-3.fc12.i686
libogg-1.1.4-2.fc12.i686 libpng-1.2.39-1.fc12.i686
libselinux-2.0.87-1.fc12.i686 libstdc++-4.4.2-20.fc12.i686
libtool-ltdl-2.2.6-17.fc12.i686 libuuid-2.16.2-5.fc12.i686
libvorbis-1.2.3-3.fc12.i686 libxcb-1.5-1.fc12.i686
libxml2-2.7.6-1.fc12.i686 linuxwacom-0.8.2.2-17.fc12.i686
mesa-libGLU-7.7-2.fc12.i686 openssl-1.0.0-0.13.beta4.fc12.i686
pango-1.26.2-1.fc12.i686 pixman-0.16.4-2.fc12.i686
popt-1.13-6.fc12.i686 zlib-1.2.3-23.fc12.i686
(gdb) thread apply all bt

Thread 5 (Thread 0xb4127b70 (LWP 26033)):
#0  0x008a8416 in __kernel_vsyscall ()
#1  0x00242c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6324715 in WTF::TCMalloc_PageHeap::scavengerThread() () from
/home/dtag/qtsdk-2009.05/qt/lib/libQtWebKit.so.4
#3  0xb6324761 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /home/dtag/qtsdk-2009.05/qt/lib/libQtWebKit.so.4
#4  0x0023eab5 in start_thread () from /lib/libpthread.so.0
#5  0x004e4dce in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb4c50b70 (LWP 26032)):
#0  0x008a8416 in __kernel_vsyscall ()
#1  0x00242c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x06a75c95 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x6b5d500)
    at /var/tmp/qt-x11-src-4.6.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#3  0x06a75ce1 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=0x6b5d500)
    at /var/tmp/qt-x11-src-4.6.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#4  0x0023eab5 in start_thread () from /lib/libpthread.so.0
#5  0x004e4dce in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb7cc6b70 (LWP 26030)):
#0  0x008a8416 in __kernel_vsyscall ()
#1  0x004dd3b1 in select () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#2  0x0070f929 in QProcessManager::run (this=0x8565c8) at
/var/tmp/qt-x11-src-4.6.0/src/corelib/io/qprocess_unix.cpp:245
#3  0x0062151e in QThreadPrivate::start (arg=0x8565c8) at
/var/tmp/qt-x11-src-4.6.0/src/corelib/thread/qthread_unix.cpp:244
#4  0x0023eab5 in start_thread () from /lib/libpthread.so.0
#5  0x004e4dce in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7fd9920 (LWP 26026)):
#0  0x00640f81 in QHashData::detach_helper2 (this=0x4a7b0a0, node_duplicate=
    0x4a6deb0 <QHash<QString,
Core::MimeMapEntry>::duplicateNode(QHashData::Node*, void*)>,
node_delete=
    0x4a6eca0 <QHash<QString,
Core::MimeMapEntry>::deleteNode2(QHashData::Node*)>, nodeSize=20,
nodeAlign=4)
    at /var/tmp/qt-x11-src-4.6.0/src/corelib/tools/qhash.cpp:233
#1  0x04a6b0a0 in
Core::MimeDatabasePrivate::addMimeType(Core::MimeType) ()
   from /home/dtag/download/qq/qt-creator/lib/qtcreator/plugins/Nokia/libCore.so
#2  0x04a6ed3b in
Core::Internal::MimeTypeParser::process(Core::MimeType const&,
QString*) ()
   from /home/dtag/download/qq/qt-creator/lib/qtcreator/plugins/Nokia/libCore.so
#3  0x04a6b839 in
Core::Internal::BaseMimeTypeParser::parse(QIODevice*, QString const&,
QString*) ()
   from /home/dtag/download/qq/qt-creator/lib/qtcreator/plugins/Nokia/libCore.so
#4  0x04a6d1da in Core::MimeDatabasePrivate::addMimeTypes(QIODevice*,
QString const&, QString*) ()
   from /home/dtag/download/qq/qt-creator/lib/qtcreator/plugins/Nokia/libCore.so
#5  0x04a6d3d2 in Core::MimeDatabasePrivate::addMimeTypes(QString
const&, QString*) ()
   from /home/dtag/download/qq/qt-creator/lib/qtcreator/plugins/Nokia/libCore.so
#6  0x05e9d4f7 in
QmlEditor::Internal::QmlEditorPlugin::initialize(QStringList const&,
QString*) ()
   from /home/dtag/download/qq/qt-creator/lib/qtcreator/plugins/Nokia/libQmlEditor.so
---Type <return> to continue, or q <return> to quit---
#7  0x005a2cb3 in
ExtensionSystem::Internal::PluginSpecPrivate::initializePlugin() ()
   from /home/dtag/download/qq/qt-creator/bin/../lib/qtcreator/libExtensionSystem.so.1
#8  0x0059e7f6 in
ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*,
ExtensionSystem::PluginSpec::State) () from
/home/dtag/download/qq/qt-creator/bin/../lib/qtcreator/libExtensionSystem.so.1
#9  0x0059f563 in
ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins() ()
   from /home/dtag/download/qq/qt-creator/bin/../lib/qtcreator/libExtensionSystem.so.1
#10 0x0059f680 in ExtensionSystem::PluginManager::loadPlugins() ()
   from /home/dtag/download/qq/qt-creator/bin/../lib/qtcreator/libExtensionSystem.so.1
#11 0x0804fd7c in main ()
(gdb)




More information about the Qt-creator-old mailing list