Bug 267541 - Crash on startup, ubuntu
Summary: Crash on startup, ubuntu
Status: RESOLVED DUPLICATE of bug 251758
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 10:47 UTC by Jan Němec
Modified: 2011-03-03 11:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Němec 2011-03-03 10:47:35 UTC
Application: kdevelop (4.0.0 (using KDevPlatform 1.0.2))
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-27-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
I have started the program but it has crashed. Probably on syntax highlighting of the C++ code of the project beeing opened but I am not sure.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb78bc710 (LWP 5161))]

Thread 6 (Thread 0xb6b7fb70 (LWP 5163)):
#0  0x007b2416 in __kernel_vsyscall ()
#1  0x08537df6 in __poll (fds=0x85ceff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x06807a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x067fa43c in ?? () from /lib/libglib-2.0.so.0
#4  0x067faba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x06ecd9c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x0682148f in ?? () from /lib/libglib-2.0.so.0
#7  0x0014acc9 in start_thread (arg=0xb6b7fb70) at pthread_create.c:304
#8  0x0854669e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb39bab70 (LWP 5164)):
#0  0x007b2416 in __kernel_vsyscall ()
#1  0x0850f1a6 in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#2  0x0853fe9c in usleep (useconds=500) at ../sysdeps/unix/sysv/linux/usleep.c:33
#3  0x01aa0992 in KDevelop::DUChainLock::lockForWrite (this=0x8fe434c, timeout=0) at ../../language/duchain/duchainlock.cpp:201
#4  0x01aa0a4e in KDevelop::DUChainWriteLocker::lock (this=0xb39ba2bc) at ../../language/duchain/duchainlock.cpp:299
#5  0x01aa0aae in KDevelop::DUChainWriteLocker::DUChainWriteLocker (this=0xb39ba2bc, duChainLock=0x8fe434c, timeout=0) at ../../language/duchain/duchainlock.cpp:284
#6  0x01a55ea8 in KDevelop::DUChainPrivate::doMoreCleanup (this=0x8fe4340, retries=1, needLockRepository=true) at ../../language/duchain/duchain.cpp:705
#7  0x01a575e3 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x8fe70c8) at ../../language/duchain/duchain.cpp:294
#8  0x00814df9 in QThreadPrivate::start (arg=0x8fe70c8) at thread/qthread_unix.cpp:266
#9  0x0014acc9 in start_thread (arg=0xb39bab70) at pthread_create.c:304
#10 0x0854669e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb1f8fb70 (LWP 5232)):
#0  0x03b74e36 in clock_gettime (clock_id=62361588, tp=0xb1f8efc0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0087050b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x009476e5 in QTimerInfoList::updateCurrentTime (this=0xb620f874) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0094772a in QTimerInfoList::timerWait (this=0xb620f874, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x009457a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb1f8f0ec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0094583d in timerSourcePrepare (source=0x0, timeout=0x3b78ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x067f9e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x067fa279 in ?? () from /lib/libglib-2.0.so.0
#9  0x067fa848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0094559f in QEventDispatcherGlib::processEvents (this=0x91f0ed0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x00915609 in QEventLoop::processEvents (this=0xb1f8f2c0, flags=) at kernel/qeventloop.cpp:149
#12 0x00915a8a in QEventLoop::exec (this=0xb1f8f2c0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00811b7e in QThread::exec (this=0x9200158) at thread/qthread.cpp:490
#14 0x01b548d8 in KDevelop::CompletionWorkerThread::run (this=0x9200158) at ../../language/codecompletion/codecompletionmodel.cpp:81
#15 0x00814df9 in QThreadPrivate::start (arg=0x9200158) at thread/qthread_unix.cpp:266
#16 0x0014acc9 in start_thread (arg=0xb1f8fb70) at pthread_create.c:304
#17 0x0854669e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb178eb70 (LWP 5233)):
#0  0x0014d3eb in __pthread_mutex_lock (mutex=0x91f0fbc) at pthread_mutex_lock.c:61
#1  0x08553f66 in pthread_mutex_lock (mutex=0x91f0fbc) at forward.c:182
#2  0x067fa4a4 in ?? () from /lib/libglib-2.0.so.0
#3  0x067fa848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x0094559f in QEventDispatcherGlib::processEvents (this=0x9084908, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00915609 in QEventLoop::processEvents (this=0xb178e2c0, flags=) at kernel/qeventloop.cpp:149
#6  0x00915a8a in QEventLoop::exec (this=0xb178e2c0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00811b7e in QThread::exec (this=0x9200e00) at thread/qthread.cpp:490
#8  0x01b548d8 in KDevelop::CompletionWorkerThread::run (this=0x9200e00) at ../../language/codecompletion/codecompletionmodel.cpp:81
#9  0x00814df9 in QThreadPrivate::start (arg=0x9200e00) at thread/qthread_unix.cpp:266
#10 0x0014acc9 in start_thread (arg=0xb178eb70) at pthread_create.c:304
#11 0x0854669e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaf4ffb70 (LWP 5234)):
#0  0x007b2416 in __kernel_vsyscall ()
#1  0x0014f884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x08553df4 in __pthread_cond_timedwait (cond=0xaf4ff224, mutex=0xaf4ff254, abstime=0xaf4ff2a0) at forward.c:152
#3  0x0081433e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:416
#4  0x00814493 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:442
#5  0x03b9e31b in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#6  0x00814df9 in QThreadPrivate::start (arg=0x9234970) at thread/qthread_unix.cpp:266
#7  0x0014acc9 in start_thread (arg=0xaf4ffb70) at pthread_create.c:304
#8  0x0854669e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb78bc710 (LWP 5161)):
[KCrash Handler]
#7  value (this=0x0, number=4) at /usr/include/qt4/QtCore/qhash.h:606
#8  operator[] (this=0x0, number=4) at /usr/include/qt4/QtCore/qhash.h:731
#9  KDevelop::ConfigurableHighlightingColors::getAttribute (this=0x0, number=4) at ../../language/highlighting/configurablecolors.cpp:41
#10 0x01b8de08 in KDevelop::CodeHighlighting::attributeForType (this=0x91efb48, type=KDevelop::HighlightingEnumContainer::ClassType, context=KDevelop::HighlightingEnumContainer::DeclarationContext, color=...) at ../../language/highlighting/codehighlighting.cpp:101
#11 0x01b8ed9f in KDevelop::CodeHighlightingInstance::highlightDeclaration (this=0x92afc28, declaration=0x92ddb60, color=...) at ../../language/highlighting/codehighlighting.cpp:445
#12 0x01b8d2fd in KDevelop::CodeHighlightingInstance::highlightDUChainSimple (this=0x92afc28, context=0x92adf38) at ../../language/highlighting/codehighlighting.cpp:228
#13 0x01b8d4d5 in KDevelop::CodeHighlightingInstance::highlightDUChain (this=0x92afc28, context=0x92adf38) at ../../language/highlighting/codehighlighting.cpp:202
#14 0x01b8d771 in KDevelop::CodeHighlighting::highlightDUChain (this=0x91efb48, context=0x92adf38) at ../../language/highlighting/codehighlighting.cpp:171
#15 0x01a3b67e in KDevelop::DUChain::documentLoadedPrepare (this=0x8fdb0c0, doc=0x91f69c0) at ../../language/duchain/duchain.cpp:1562
#16 0x01a3e517 in KDevelop::DUChain::qt_metacall (this=0x8fdb0c0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfcd5dc8) at ./duchain.moc:168
#17 0x0091c8ca in QMetaObject::metacall (object=0x8fdb0c0, cl=QMetaObject::QueryPropertyDesignable, idx=10, argv=0xbfcd5dc8) at kernel/qmetaobject.cpp:237
#18 0x0092f6ad in QMetaObject::activate (sender=0x8f73d40, m=0x518614, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3280
#19 0x0050e213 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x8f73d40, _t1=0x91f69c0) at ./idocumentcontroller.moc:279
#20 0x0050b9b2 in KDevelop::IDocument::notifyLoaded (this=0x91f69c0) at ../../interfaces/idocument.cpp:119
#21 0x00596d91 in slotDocumentLoaded (this=0x91f69b0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfcd5f88) at ../../shell/textdocument.cpp:174
#22 KDevelop::TextDocument::qt_metacall (this=0x91f69b0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfcd5f88) at ./textdocument.moc:94
#23 0x0091c8ca in QMetaObject::metacall (object=0x91f69b0, cl=QMetaObject::QueryPropertyDesignable, idx=15, argv=0xbfcd5f88) at kernel/qmetaobject.cpp:237
#24 0x0092f6ad in QMetaObject::activate (sender=0x9298880, m=0x142d44, local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3280
#25 0x00129ec3 in KTextEditor::Document::textChanged (this=0x9298880, _t1=0x9298880) at ./document.moc:177
#26 0xaeb81cbc in KateDocument::openFile (this=0x9298880) at ../../kate/document/katedocument.cpp:2037
#27 0x00761549 in KParts::ReadOnlyPart::openUrl (this=0x9298880, url=...) at ../../kparts/part.cpp:557
#28 0x00595d13 in KDevelop::TextDocument::createViewWidget (this=0x91f69b0, parent=0x90f0f28) at ../../shell/textdocument.cpp:261
#29 0x005952be in KDevelop::TextView::createWidget (this=0x8f0b5f8, parent=0x90f0f28) at ../../shell/textdocument.cpp:532
#30 0x06b95997 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1
#31 0x06b8eb2a in ?? () from /usr/lib/libsublime.so.1
#32 0x06b94c39 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1
#33 0x06b929cb in ?? () from /usr/lib/libsublime.so.1
#34 0x06b881a4 in Sublime::MainWindow::setArea(Sublime::Area*) () from /usr/lib/libsublime.so.1
#35 0x0056125c in KDevelop::WorkingSet::loadToArea (this=0x90c66c8, area=0x8ee9b00, areaIndex=0x8ee9af0, clear=false) at ../../shell/workingsetcontroller.cpp:346
#36 0x00561784 in KDevelop::WorkingSet::changedWorkingSet (this=0x90c66c8, area=0x8ee9b00, from=..., to=...) at ../../shell/workingsetcontroller.cpp:648
#37 0x0056211c in KDevelop::WorkingSet::qt_metacall (this=0x90c66c8, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x911ca98) at ./workingsetcontroller.moc:90
#38 0x0091c8ca in QMetaObject::metacall (object=0x90c66c8, cl=QMetaObject::QueryPropertyDesignable, idx=9, argv=0x911ca98) at kernel/qmetaobject.cpp:237
#39 0x00927df6 in QMetaCallEvent::placeMetaCall (this=0x90a6990, object=0x90c66c8) at kernel/qobject.cpp:534
#40 0x009296a2 in QObject::event (this=0x90c66c8, e=0xbfcd58ec) at kernel/qobject.cpp:1219
#41 0x01019fdc in QApplicationPrivate::notify_helper (this=0x8d08f28, receiver=0x90c66c8, e=0x90a6990) at kernel/qapplication.cpp:4396
#42 0x0102004e in QApplication::notify (this=0xbfcd71a8, receiver=0x90c66c8, e=0x90a6990) at kernel/qapplication.cpp:3798
#43 0x00d0f68a in KApplication::notify (this=0xbfcd71a8, receiver=0x90c66c8, event=0x90a6990) at ../../kdeui/kernel/kapplication.cpp:310
#44 0x00916b3b in QCoreApplication::notifyInternal (this=0xbfcd71a8, receiver=0x90c66c8, event=0x90a6990) at kernel/qcoreapplication.cpp:732
#45 0x00919d8b in sendEvent (receiver=0x0, event_type=0, data=0x8cbdee8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8cbdee8) at kernel/qcoreapplication.cpp:1373
#47 0x00919f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#48 0x00945a74 in sendPostedEvents (s=0x8d0b318) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#49 postEventSourceDispatch (s=0x8d0b318) at kernel/qeventdispatcher_glib.cpp:277
#50 0x067f6855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#51 0x067fa668 in ?? () from /lib/libglib-2.0.so.0
#52 0x067fa848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#53 0x00945565 in QEventDispatcherGlib::processEvents (this=0x8cbda00, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#54 0x010dbbe5 in QGuiEventDispatcherGlib::processEvents (this=0x8cbda00, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00915609 in QEventLoop::processEvents (this=0xbfcd7064, flags=) at kernel/qeventloop.cpp:149
#56 0x00915a8a in QEventLoop::exec (this=0xbfcd7064, flags=...) at kernel/qeventloop.cpp:201
#57 0x0091a00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#58 0x01018e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#59 0x08050023 in _start ()

Possible duplicates by query: bug 266350, bug 261453, bug 257586, bug 255487, bug 254761.

Reported using DrKonqi
Comment 1 Milian Wolff 2011-03-03 11:03:35 UTC
update to kdevelop 4.1.2, this is fixed

*** This bug has been marked as a duplicate of bug 251758 ***