Bug 311884 - kdevelop-4.4.1: segfault when opening project that is already open
Summary: kdevelop-4.4.1: segfault when opening project that is already open
Status: CLOSED WAITINGFORINFO
Alias: None
Product: Oxygen
Classification: Plasma
Component: style (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-18 13:37 UTC by Stijn Tintel
Modified: 2013-04-03 15:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (18.75 KB, text/plain)
2013-01-25 09:31 UTC, gabriel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stijn Tintel 2012-12-18 13:37:22 UTC
Application: kdevelop (4.4.1)
KDE Platform Version: 4.9.3 (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.6.8-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
Open kdevelop
Open the already opened project again to reload
--> Kdevelope crashes with segfault

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0fe30d1780 (LWP 25330))]

Thread 6 (Thread 0x7f0fcbf84700 (LWP 25338)):
#0  0x00007f0fdf4fb96e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0fe0af91b2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f0fdce185da in KDevelop::DUChainPrivate::CleanupThread::run() () from /usr/lib64/libkdevplatformlanguage.so.6
#3  0x00007f0fe0af833b in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f0fdf4f6da6 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f0fdf7f799d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f0fb9a26700 (LWP 25348)):
#0  0x00007f0fdf4f94d2 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f0fd9bcc621 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0fd9b8e42e in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0fd9b8e8cc in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f0fd9b8ea44 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f0fe0c28956 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f0fe0bf84c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f0fe0bf8775 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f0fe0af5cc8 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f0fe0bd7208 in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f0fe0af833b in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007f0fdf4f6da6 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f0fdf7f799d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f0fb9225700 (LWP 25354)):
#0  0x00007f0fdf4fb5ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0fdc197eb4 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007f0fdc197ee9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007f0fdf4f6da6 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f0fdf7f799d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f0fad6b6700 (LWP 25376)):
#0  0x00007f0fdf4fb5ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0fd64bbcb4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f0fdf4f6da6 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f0fdf7f799d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0faceb5700 (LWP 25383)):
#0  0x00007f0fdf7eea93 in poll () from /lib64/libc.so.6
#1  0x00007f0fd9b8e926 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0fd9b8ea44 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0fe0c28956 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f0fe0bf84c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f0fe0bf8775 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f0fe0af5cc8 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f0fe0af833b in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f0fdf4f6da6 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f0fdf7f799d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0fe30d1780 (LWP 25330)):
[KCrash Handler]
#6  0x00007f0fd0ee9e90 in vtable for Oxygen::TransitionWidget () from /usr/lib64/kde4/plugins/styles/oxygen.so
#7  0x00007f0fe0c12c48 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f0fe255d864 in KDevelop::DocumentController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libkdevplatformshell.so.6
#9  0x00007f0fe0c0ef9b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f0fe27f9c12 in KDevelop::IProjectController::projectOpened(KDevelop::IProject*) () from /usr/lib64/libkdevplatforminterfaces.so.6
#11 0x00007f0fe2549e08 in KDevelop::ProjectController::projectImportingFinished(KDevelop::IProject*) () from /usr/lib64/libkdevplatformshell.so.6
#12 0x00007f0fe2550b4c in KDevelop::Project::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libkdevplatformshell.so.6
#13 0x00007f0fe0c0ef9b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f0fe2b503b2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#15 0x00007f0fe2b503f0 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#16 0x00007f0fdd42db38 in KDevelop::FileManagerListJob::slotResult(KJob*) () from /usr/lib64/libkdevplatformproject.so.6
#17 0x00007f0fe0c0ef9b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007f0fe2b503b2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#19 0x00007f0fe2b503f0 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#20 0x00007f0fdde47bcd in KIO::SimpleJob::slotFinished() () from /usr/lib64/libkio.so.5
#21 0x00007f0fdde4a8e5 in KIO::ListJob::slotFinished() () from /usr/lib64/libkio.so.5
#22 0x00007f0fe0c0ef9b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f0fddef6ff1 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib64/libkio.so.5
#24 0x00007f0fddef3f5d in KIO::SlaveInterface::dispatch() () from /usr/lib64/libkio.so.5
#25 0x00007f0fddee6f56 in KIO::Slave::gotInput() () from /usr/lib64/libkio.so.5
#26 0x00007f0fe0c0ef9b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f0fdde17c87 in KIO::ConnectionPrivate::dequeue() () from /usr/lib64/libkio.so.5
#28 0x00007f0fe0c0e3d6 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f0fdff94194 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f0fdff98c6f in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f0fe1431066 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#32 0x00007f0fe0bf975b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007f0fe0bfcd27 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f0fe0c28763 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007f0fd9b8e643 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f0fd9b8e988 in ?? () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f0fd9b8ea44 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f0fe0c288ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007f0fe003962e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#40 0x00007f0fe0bf84c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007f0fe0bf8775 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007f0fe0bfd1cb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#43 0x00000000004123a9 in main ()

Reported using DrKonqi
Comment 1 Kevin Funk 2012-12-20 22:00:30 UTC
Oxygen bug. Reassigning.
Comment 2 Hugo Pereira Da Costa 2012-12-25 13:38:50 UTC
so far can't reproduce.
can you install (and/or) compile with debug symbols on so that i get a more precise idea of what goes wrong ? (things like: #6 0x00007f0fd0ee9e90 in vtable for Oxygen::TransitionWidget () from /usr/lib64/kde4/plugins/styles/oxygen.so, are not enough)

Thanks,

Hugo
Comment 3 Stijn Tintel 2013-01-10 22:05:31 UTC
Unfortunately I no longer have access to the machine where I encountered this problem (no longer working there). I will try to reproduce this on my own workstation, but it might take some time. My apologies for the inconvenience.
Comment 4 gabriel 2013-01-25 09:31:34 UTC
Created attachment 76700 [details]
New crash information added by DrKonqi

kdevelop (4.4.1) on KDE Platform 4.9.5 using Qt 4.8.4

- What I was doing when the application crashed:
1. Start kdevelop
2. Reopen the project
3. kdevelop crash every time

-- Backtrace (Reduced):
#7  0x0000003576590d0a in QObject::connect (sender=0x3c90b70, signal=0x357e4df040 "2fileRenamed(KUrl,KDevelop::ProjectFileItem*)", receiver=0xf79bf0, method=0x357e4df008 "1slotFileRenamed(KUrl,KDevelop::ProjectFileItem*)", type=Qt::AutoConnection) at kernel/qobject.cpp:2550
#8  0x000000357e491ccc in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdevplatform-1.4.1/x86_64-redhat-linux-gnu/shell/documentcontroller.moc:135
#9  KDevelop::DocumentController::qt_static_metacall (_o=0xf79bf0, _c=<optimized out>, _id=<optimized out>, _a=0x7fffde88f9d0) at /usr/src/debug/kdevplatform-1.4.1/x86_64-redhat-linux-gnu/shell/documentcontroller.moc:98
[...]
#11 0x000000357e01cc62 in KDevelop::IProjectController::projectOpened (this=<optimized out>, _t1=0x288eae0) at /usr/src/debug/kdevplatform-1.4.1/x86_64-redhat-linux-gnu/interfaces/iprojectcontroller.moc:188
#12 0x000000357e47dfac in KDevelop::ProjectController::projectImportingFinished (this=0xf85540, project=0x357e4df040) at /usr/src/debug/kdevplatform-1.4.1/shell/projectcontroller.cpp:773
Comment 5 Hugo Pereira Da Costa 2013-01-25 09:34:17 UTC
@gabriel

New backtrace (comment #4) has nothing in common with backtrace from #1, and does not seem to involve oxygen. (Gabriel: are you actually using oxygen as a widget style) ? 

I'd recommend to open a separate bug, to kdevelop, with the informations enclosed.

Hugo
Comment 6 gabriel 2013-01-25 09:41:31 UTC
I use WindowMaker not KDE as desktop manager if someone is interested.I usually only use quanta, kdesvn and kdevelop applications. 
I do not use oxygen as a widget style but clearlooks ( /usr/bin/systemsettings -> application appearance -> style -> widget style ).
Comment 7 Hugo Pereira Da Costa 2013-01-25 09:42:35 UTC
@gabriel
yep. So, it reinforces the fact that you should open (manually, sorry) a different bug report, to kdevelop.
Comment 8 gabriel 2013-01-25 09:44:00 UTC
OK. Thank you.
Comment 9 Stijn Tintel 2013-04-03 15:13:54 UTC
Seems I cannot reproduce it either, I have tested it some time ago but forgot to post it here. I'll just close the bug, I'll reopen in case I run into it again.