[Qt-creator] seg fault on startup
Brian McGillion
brian.mcgillion at symbio.com
Fri Jan 22 08:39:17 CET 2010
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.
Brian
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /bin/qtcreator.bin
[Thread debugging using libthread_db enabled]
[New Thread 0xb779ab50 (LWP 10039)]
** (<unknown>:10039): CRITICAL **: atk_object_set_name: assertion
`name != NULL' failed
[New Thread 0xb7588b70 (LWP 10042)]
[Thread 0xb7588b70 (LWP 10042) exited]
[New Thread 0xb7588b70 (LWP 10044)]
[New Thread 0xb5506b70 (LWP 10045)]
[New Thread 0xb4bd5b70 (LWP 10046)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb779ab50 (LWP 10039)]
0x0804d0c2 in QBasicAtomicInt::deref (this=0x1a59e5c)
at /usr/local/Trolltech/Qt-4.6.1/include/QtCore/qatomic_i386.h:132
132 : "memory");
(gdb) bt
#0 0x0804d0c2 in QBasicAtomicInt::deref (this=0x1a59e5c)
at /usr/local/Trolltech/Qt-4.6.1/include/QtCore/qatomic_i386.h:132
#1 0x01a4d1e9 in QHash<QString, Core::MimeMapEntry>::detach_helper (
this=0x1ad5948)
at /usr/local/Trolltech/Qt-4.6.1/include/QtCore/qhash.h:582
#2 0x01a4c54f in QHash<QString, Core::MimeMapEntry>::detach
(this=0x1ad5948)
at /usr/local/Trolltech/Qt-4.6.1/include/QtCore/qhash.h:299
#3 0x01a4b397 in QHash<QString, Core::MimeMapEntry>::insert
(this=0x1ad5948,
akey=@0xbfebca4c, avalue=@0xbfebca10)
at /usr/local/Trolltech/Qt-4.6.1/include/QtCore/qhash.h:749
#4 0x01a48694 in Core::MimeDatabasePrivate::addMimeType
(this=0x1ad5948, mt=
{m_d = {d = 0x9d89610}})
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:919
#5 0x01a4a249 in Core::Internal::MimeTypeParser::process
(this=0xbfebcc54,
t=@0xbfebcba4)
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:877
#6 0x01a47da6 in Core::Internal::BaseMimeTypeParser::parse
(this=0xbfebcc54,
dev=0xbfebcc98, fileName=@0xbfebcdc0, errorMessage=0xbfebce20)
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:760
#7 0x01a482ac in Core::MimeDatabasePrivate::addMimeTypes
(this=0x1ad5948,
device=0xbfebcc98, fileName=@0xbfebcdc0, errorMessage=0xbfebce20)
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:886
#8 0x01a48436 in Core::MimeDatabasePrivate::addMimeTypes
(this=0x1ad5948,
fileName=@0xbfebcdc0, errorMessage=0xbfebce20)
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:896
#9 0x01a49663 in Core::MimeDatabase::addMimeTypes (this=0x98d2e78,
fileName=@0xbfebcdc0, errorMessage=0xbfebce20)
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:1136
#10 0x01e77c18 in QmlEditor::Internal::QmlEditorPlugin::initialize (
this=0x99bd270, error_message=0xbfebce20)
at ../../../../src/plugins/qmleditor/qmleditorplugin.cpp:90
#11 0x0075d151 in
ExtensionSystem::Internal::PluginSpecPrivate::initializePlugin
(this=0x983eca0)
at ../../../../src/libs/extensionsystem/pluginspec.cpp:829
#12 0x007556dc in
ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin (
this=0x982ce60, spec=0x9834270,
destState=ExtensionSystem::PluginSpec::Initialized)
at ../../../../src/libs/extensionsystem/pluginmanager.cpp:762
#13 0x007546b0 in
ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins
(this=0x982ce60)
at ../../../../src/libs/extensionsystem/pluginmanager.cpp:667
#14 0x00752120 in ExtensionSystem::PluginManager::loadPlugins
(this=0xbfebcfec)
at ../../../../src/libs/extensionsystem/pluginmanager.cpp:246
#15 0x08051259 in main (argc=1, argv=0xbfebd2d4)
at ../../../src/app/main.cpp:280
(gdb) info frame 0
Stack frame at 0xbfebc960:
eip = 0x804d0c2 in QBasicAtomicInt::deref()
(/usr/local/Trolltech/Qt-4.6.1/include/QtCore/qatomic_i386.h:132);
saved eip 0x1a4d1e9
called by frame at 0xbfebc9a0
source language c++.
Arglist at 0xbfebc958, args: this=0x1a59e5c
Locals at 0xbfebc958, Previous frame's sp is 0xbfebc960
Saved registers:
ebp at 0xbfebc958, eip at 0xbfebc95c
(gdb) thread apply all bt
Thread 5 (Thread 0xb4bd5b70 (LWP 10046)):
#0 0x00d9e832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00119e15 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb5800d87 in ?? ()
from /usr/local/Trolltech/Qt-4.6.1/lib/libQtWebKit.so.4
#3 0xb5800dd1 in ?? ()
from /usr/local/Trolltech/Qt-4.6.1/lib/libQtWebKit.so.4
#4 0x0011580e in start_thread (arg=0xb4bd5b70) at pthread_create.c:300
#5 0x00a6a8de in clone ()
at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 4 (Thread 0xb5506b70 (LWP 10045)):
#0 0x00d9e832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00119e15 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x02142457 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x221a3a0)
at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#3 0x021424a1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (
context=0x221a3a0)
at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#4 0x0011580e in start_thread (arg=0xb5506b70) at pthread_create.c:300
#5 0x00a6a8de in clone ()
at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Current language: auto; currently c
Thread 3 (Thread 0xb7588b70 (LWP 10044)):
#0 0x00d9e832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00a34a76 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2 0x00a643cc in usleep (useconds=1000)
at ../sysdeps/unix/sysv/linux/usleep.c:33
#3 0x027f52c8 in ne7ssh::selectThread (initData=0x2d9d68c)
at /home/brian/code/ccpp/qt-creator/src/libs/3rdparty/net7ssh/src/ne7ssh.cpp:268
#4 0x0011580e in start_thread (arg=0xb7588b70) at pthread_create.c:300
#5 0x00a6a8de in clone ()
at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 1 (Thread 0xb779ab50 (LWP 10039)):
#0 0x0804d0c2 in QBasicAtomicInt::deref (this=0x1a59e5c)
at /usr/local/Trolltech/Qt-4.6.1/include/QtCore/qatomic_i386.h:132
#1 0x01a4d1e9 in QHash<QString, Core::MimeMapEntry>::detach_helper (
this=0x1ad5948)
at /usr/local/Trolltech/Qt-4.6.1/include/QtCore/qhash.h:582
#2 0x01a4c54f in QHash<QString, Core::MimeMapEntry>::detach
(this=0x1ad5948)
at /usr/local/Trolltech/Qt-4.6.1/include/QtCore/qhash.h:299
#3 0x01a4b397 in QHash<QString, Core::MimeMapEntry>::insert
(this=0x1ad5948,
akey=@0xbfebca4c, avalue=@0xbfebca10)
at /usr/local/Trolltech/Qt-4.6.1/include/QtCore/qhash.h:749
#4 0x01a48694 in Core::MimeDatabasePrivate::addMimeType
(this=0x1ad5948, mt=
{m_d = {d = 0x9d89610}})
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:919
#5 0x01a4a249 in Core::Internal::MimeTypeParser::process
(this=0xbfebcc54,
t=@0xbfebcba4)
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:877
#6 0x01a47da6 in Core::Internal::BaseMimeTypeParser::parse
(this=0xbfebcc54,
dev=0xbfebcc98, fileName=@0xbfebcdc0, errorMessage=0xbfebce20)
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:760
#7 0x01a482ac in Core::MimeDatabasePrivate::addMimeTypes
(this=0x1ad5948,
device=0xbfebcc98, fileName=@0xbfebcdc0, errorMessage=0xbfebce20)
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:886
---Type <return> to continue, or q <return> to quit---
#8 0x01a48436 in Core::MimeDatabasePrivate::addMimeTypes
(this=0x1ad5948,
fileName=@0xbfebcdc0, errorMessage=0xbfebce20)
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:896
#9 0x01a49663 in Core::MimeDatabase::addMimeTypes (this=0x98d2e78,
fileName=@0xbfebcdc0, errorMessage=0xbfebce20)
at ../../../../src/plugins/coreplugin/mimedatabase.cpp:1136
#10 0x01e77c18 in QmlEditor::Internal::QmlEditorPlugin::initialize (
this=0x99bd270, error_message=0xbfebce20)
at ../../../../src/plugins/qmleditor/qmleditorplugin.cpp:90
#11 0x0075d151 in
ExtensionSystem::Internal::PluginSpecPrivate::initializePlugin
(this=0x983eca0)
at ../../../../src/libs/extensionsystem/pluginspec.cpp:829
#12 0x007556dc in
ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin (
this=0x982ce60, spec=0x9834270,
destState=ExtensionSystem::PluginSpec::Initialized)
at ../../../../src/libs/extensionsystem/pluginmanager.cpp:762
#13 0x007546b0 in
ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins
(this=0x982ce60)
at ../../../../src/libs/extensionsystem/pluginmanager.cpp:667
#14 0x00752120 in ExtensionSystem::PluginManager::loadPlugins
(this=0xbfebcfec)
at ../../../../src/libs/extensionsystem/pluginmanager.cpp:246
#15 0x08051259 in main (argc=1, argv=0xbfebd2d4)
at ../../../src/app/main.cpp:280
Current language: auto; currently c++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100122/8e0392eb/attachment.bin
More information about the Qt-creator-old
mailing list