Bug 341422 - KDevelop4 crashes at its default Python/Qt project execution
Summary: KDevelop4 crashes at its default Python/Qt project execution
Status: RESOLVED DUPLICATE of bug 331227
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.7.0
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-11-30 00:39 UTC by Christian González
Modified: 2014-11-30 14:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian González 2014-11-30 00:39:33 UTC
Application: kdevelop (4.7.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.17-4.towo-siduction-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:

First of all - this *could* be a duplicate of issue #334950 - please check.

I just createda new python/Qt/Designer project. Took a new directory (was automatically created). When the wizard was finished, I clicked on  the "execute" button.
Kdevelop crashes then every time reproducible.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7febce31e800 (LWP 9967))]

Thread 9 (Thread 0x7febabd38700 (LWP 9968)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007febc6ebcafa in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007febc6ebcb29 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007febc9d430a4 in start_thread (arg=0x7febabd38700) at pthread_create.c:309
#4  0x00007febca9dcccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7feb2a605700 (LWP 9973)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007febcb027924 in wait (time=1000, this=0x30095b0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x300c7b8, mutex=mutex@entry=0x300c7c0, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007febc7938996 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x300c7a0) at /tmp/buildd/kdevplatform-1.7.0/language/duchain/duchain.cpp:283
#4  0x00007febcb0273ef in QThreadPrivate::start (arg=0x300c7a0) at thread/qthread_unix.cpp:349
#5  0x00007febc9d430a4 in start_thread (arg=0x7feb2a605700) at pthread_create.c:309
#6  0x00007febca9dcccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7feb0570c700 (LWP 9988)):
#0  0x00007febca9d418d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007febc4846ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007febc4846ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007febcb160507 in QEventDispatcherGlib::processEvents (this=0x7feaf80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007febcb12fae1 in QEventLoop::processEvents (this=this@entry=0x7feb0570bd80, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007febcb12fe45 in QEventLoop::exec (this=this@entry=0x7feb0570bd80, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007febcb024b89 in QThread::exec (this=this@entry=0x4103650) at thread/qthread.cpp:538
#7  0x00007febcb110483 in QInotifyFileSystemWatcherEngine::run (this=0x4103650) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007febcb0273ef in QThreadPrivate::start (arg=0x4103650) at thread/qthread_unix.cpp:349
#9  0x00007febc9d430a4 in start_thread (arg=0x7feb0570c700) at pthread_create.c:309
#10 0x00007febca9dcccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7feb05f0d700 (LWP 10020)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007febcb027946 in wait (time=18446744073709551615, this=0x178efa0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x178a068, mutex=0x17e6c00, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007febc276d86c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x178a040, th=0x4180790) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007febc2770743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1507430, th=0x4180790, previous=0x1972aa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007febc276f22f in ThreadWeaver::Thread::run (this=0x4180790) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007febcb0273ef in QThreadPrivate::start (arg=0x4180790) at thread/qthread_unix.cpp:349
#7  0x00007febc9d430a4 in start_thread (arg=0x7feb05f0d700) at pthread_create.c:309
#8  0x00007febca9dcccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7feb0fb40700 (LWP 10042)):
#0  0x00007febca9d025d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007febc4889f40 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007febc484696c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007febc4846e83 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007febc4846ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007febcb160507 in QEventDispatcherGlib::processEvents (this=0x7feafc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007febcb12fae1 in QEventLoop::processEvents (this=this@entry=0x7feb0fb3fdd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007febcb12fe45 in QEventLoop::exec (this=this@entry=0x7feb0fb3fdd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007febcb024b89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#9  0x00007febcb0273ef in QThreadPrivate::start (arg=0x18afa30) at thread/qthread_unix.cpp:349
#10 0x00007febc9d430a4 in start_thread (arg=0x7feb0fb40700) at pthread_create.c:309
#11 0x00007febca9dcccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7feb0f33f700 (LWP 10043)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007febcb027946 in wait (time=18446744073709551615, this=0x1b3b650) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1b3b528, mutex=0x1b3b7d0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007febc276d86c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1b3b500, th=0x17e0d40) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007febc2770743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b3b860, th=0x17e0d40, previous=0x179d5e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007febc276f22f in ThreadWeaver::Thread::run (this=0x17e0d40) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007febcb0273ef in QThreadPrivate::start (arg=0x17e0d40) at thread/qthread_unix.cpp:349
#7  0x00007febc9d430a4 in start_thread (arg=0x7feb0f33f700) at pthread_create.c:309
#8  0x00007febca9dcccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7feb0eb3e700 (LWP 10045)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007febcb027946 in wait (time=18446744073709551615, this=0x1b3b650) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1b3b528, mutex=0x1b3b7d0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007febc276d86c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1b3b500, th=0x3dc5030) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007febc2770743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b3b860, th=0x3dc5030, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007febc277075c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b3b860, th=0x3dc5030, previous=0x19375b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007febc276f22f in ThreadWeaver::Thread::run (this=0x3dc5030) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007febcb0273ef in QThreadPrivate::start (arg=0x3dc5030) at thread/qthread_unix.cpp:349
#8  0x00007febc9d430a4 in start_thread (arg=0x7feb0eb3e700) at pthread_create.c:309
#9  0x00007febca9dcccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7feb04a7c700 (LWP 10221)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007febcb027946 in wait (time=18446744073709551615, this=0x178efa0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x178a068, mutex=0x17e6c00, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007febc276d86c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x178a040, th=0x41a6ff0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007febc2770743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1507430, th=0x41a6ff0, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007febc276f22f in ThreadWeaver::Thread::run (this=0x41a6ff0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007febcb0273ef in QThreadPrivate::start (arg=0x41a6ff0) at thread/qthread_unix.cpp:349
#7  0x00007febc9d430a4 in start_thread (arg=0x7feb04a7c700) at pthread_create.c:309
#8  0x00007febca9dcccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7febce31e800 (LWP 9967)):
[KCrash Handler]
#6  ref (this=0x51) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QList (l=..., this=this@entry=0x7fffb3dbedc0) at /usr/include/qt4/QtCore/qlist.h:122
#8  QStringList (l=..., this=this@entry=0x7fffb3dbedc0) at /usr/include/qt4/QtCore/qstringlist.h:71
#9  KDevelop::IPlugin::extensions (this=this@entry=0x19dcf40) at /tmp/buildd/kdevplatform-1.7.0/interfaces/iplugin.cpp:154
#10 0x00007febcd78ea7b in extension<KDevelop::IProjectFileManager> (this=0x19dcf40) at /tmp/buildd/kdevplatform-1.7.0/interfaces/iplugin.h:177
#11 KDevelop::Project::projectFileManager (this=<optimized out>) at /tmp/buildd/kdevplatform-1.7.0/shell/project.cpp:653
#12 0x00007feb280e1cbe in NativeAppConfigType::launcherSuggestions (this=0x382e690) at /tmp/buildd/kdevplatform-1.7.0/plugins/execute/nativeappconfig.cpp:446
#13 0x00007febcd7e5edd in KDevelop::LaunchConfigurationDialog::LaunchConfigurationDialog (this=0x7fffb3dbf0e0, parent=<optimized out>) at /tmp/buildd/kdevplatform-1.7.0/shell/launchconfigurationdialog.cpp:153
#14 0x00007febcd7ae73a in KDevelop::RunController::slotExecute (this=0x1af85e0) at /tmp/buildd/kdevplatform-1.7.0/shell/runcontroller.cpp:538
#15 0x00007febcd7b5e25 in KDevelop::RunController::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /tmp/buildd/kdevplatform-1.7.0/obj-x86_64-linux-gnu/shell/runcontroller.moc:76
#16 0x00007febcb145f4c in QMetaObject::activate (sender=sender@entry=0x17c3520, m=m@entry=0x7febcc14a940 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffb3dbf3e0) at kernel/qobject.cpp:3567
#17 0x00007febcb65aaf2 in QAction::triggered (this=this@entry=0x17c3520, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#18 0x00007febcb65c677 in QAction::activate (this=0x17c3520, event=<optimized out>) at kernel/qaction.cpp:1257
#19 0x00007febcba323e3 in QAbstractButtonPrivate::click (this=this@entry=0x2fd7220) at widgets/qabstractbutton.cpp:530
#20 0x00007febcba32534 in QAbstractButton::mouseReleaseEvent (this=0x2fee030, e=0x7fffb3dbf950) at widgets/qabstractbutton.cpp:1123
#21 0x00007febcbaf44da in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:723
#22 0x00007febcb6b44d8 in QWidget::event (this=0x2fee030, event=0x7fffb3dbf950) at kernel/qwidget.cpp:8775
#23 0x00007febcb66129c in QApplicationPrivate::notify_helper (this=this@entry=0x11e9dc0, receiver=receiver@entry=0x2fee030, e=e@entry=0x7fffb3dbf950) at kernel/qapplication.cpp:4570
#24 0x00007febcb667f0f in QApplication::notify (this=this@entry=0x7fffb3dc0250, receiver=receiver@entry=0x2fee030, e=e@entry=0x7fffb3dbf950) at kernel/qapplication.cpp:4113
#25 0x00007febcc65309a in KApplication::notify (this=0x7fffb3dc0250, receiver=0x2fee030, event=0x7fffb3dbf950) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007febcb130f8d in QCoreApplication::notifyInternal (this=0x7fffb3dc0250, receiver=receiver@entry=0x2fee030, event=event@entry=0x7fffb3dbf950) at kernel/qcoreapplication.cpp:955
#27 0x00007febcb66756f in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2fee030, event=event@entry=0x7fffb3dbf950, alienWidget=alienWidget@entry=0x2fee030, nativeWidget=nativeWidget@entry=0x2fcc5e0, buttonDown=buttonDown@entry=0x7febcc183538 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#29 0x00007febcb6de0a2 in QETWidget::translateMouseEvent (this=this@entry=0x2fcc5e0, event=event@entry=0x7fffb3dbfcb0) at kernel/qapplication_x11.cpp:4540
#30 0x00007febcb6dca9c in QApplication::x11ProcessEvent (this=0x7fffb3dc0250, event=event@entry=0x7fffb3dbfcb0) at kernel/qapplication_x11.cpp:3663
#31 0x00007febcb705ad2 in x11EventSourceDispatch (s=0x11fd8c0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007febc4846c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007febc4846f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007febc4846ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007febcb1604ed in QEventDispatcherGlib::processEvents (this=0x11309b0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#36 0x00007febcb705b96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007febcb12fae1 in QEventLoop::processEvents (this=this@entry=0x7fffb3dc0090, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007febcb12fe45 in QEventLoop::exec (this=this@entry=0x7fffb3dc0090, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007febcb1358b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#40 0x00007febcb65f73c in QApplication::exec () at kernel/qapplication.cpp:3828
#41 0x000000000041035c in main (argc=<optimized out>, argv=<optimized out>) at /tmp/buildd/kdevelop-4.7.0/app/main.cpp:564

Possible duplicates by query: bug 334950, bug 331227.

Reported using DrKonqi
Comment 1 Milian Wolff 2014-11-30 14:35:41 UTC
If you can reproduce it every time, please give us the following information:

launch the "kdebugdialog" application, and enable the following areas:
  - 9501 (kdevplatform shell)
  -  9503 (kdevplatform project)
then launch KDevelop from the console, and pipe all its output into a log file. reproduce the crash and attach the logfile to bug report 331227 please.

additionally, if you could also reproduce this crash inside valgrind, it would be also very interesting:

valgrind --smc-check=all-non-file --track-origin=yes kdevelop -s <your session> ...

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