Bug 371053 - KDevelop crashes when fetching a project from Github
Summary: KDevelop crashes when fetching a project from Github
Status: RESOLVED DUPLICATE of bug 331883
Alias: None
Product: kdevelop
Classification: Applications
Component: Project provider: Github (show other bugs)
Version: 5.0.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-17 23:51 UTC by Jure Repinc
Modified: 2017-04-07 12:31 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 Jure Repinc 2016-10-17 23:51:48 UTC
Application: kdevelop (5.0.1)

Qt Version: 5.7.0
Frameworks Version: 5.26.0
Operating System: Linux 4.7.6-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I selected to fetch project source code and chose Github as the source. I entered my Github login info and KDevelop presented me with two of my projects. I selected one and on clicking the Fetch button KDevelop crashed.

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 0x7f5ffe4a0900 (LWP 14071))]

Thread 5 (Thread 0x7f5fbeccd700 (LWP 14104)):
#0  0x00007f5ff2a42ea4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f5ff29fd079 in g_main_context_query () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5ff29fd7e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5ff29fd98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f5ffbb2b79b in QEventDispatcherGlib::processEvents (this=0x7f5fb8002e00, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f5ffbad51ea in QEventLoop::exec (this=this@entry=0x7f5fbecccca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#6  0x00007f5ffb9038b3 in QThread::exec (this=this@entry=0x16a7dd0) at thread/qthread.cpp:507
#7  0x00007f5ff0acb875 in QQmlThreadPrivate::run (this=0x16a7dd0) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/qml/qml/ftw/qqmlthread.cpp:147
#8  0x00007f5ffb908558 in QThreadPrivate::start (arg=0x16a7dd0) at thread/qthread_unix.cpp:344
#9  0x00007f5ff4c23454 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f5ffb2153ff in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5fca0d3700 (LWP 14075)):
#0  0x00007f5ff4c294b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5ffb909346 in QWaitConditionPrivate::wait_relative (time=1000, this=0xf4e690) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=1000, this=0xf4e690) at thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0xf4da98, mutex=mutex@entry=0xf4daa0, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f5ff9316198 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xf4da80) at /usr/src/debug/kdevplatform-5.0.1/language/duchain/duchain.cpp:282
#5  0x00007f5ffb908558 in QThreadPrivate::start (arg=0xf4da80) at thread/qthread_unix.cpp:344
#6  0x00007f5ff4c23454 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f5ffb2153ff in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5fd9e3c700 (LWP 14074)):
#0  0x00007f5ffb20c6ed in poll () from /lib64/libc.so.6
#1  0x00007f5ff29fd876 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5ff29fd98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5ffbb2b79b in QEventDispatcherGlib::processEvents (this=0x7f5fcc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f5ffbad51ea in QEventLoop::exec (this=this@entry=0x7f5fd9e3bc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007f5ffb9038b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f5ffd62cc15 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f5ffb908558 in QThreadPrivate::start (arg=0x7f5ffd8a0d20) at thread/qthread_unix.cpp:344
#8  0x00007f5ff4c23454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5ffb2153ff in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5fdb7d2700 (LWP 14073)):
#0  0x00007f5ffb20c6ed in poll () from /lib64/libc.so.6
#1  0x00007f5fedf613f0 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f5fedf63189 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f5fddd3d5f9 in QXcbEventReader::run (this=0x9d7060) at qxcbconnection.cpp:1337
#4  0x00007f5ffb908558 in QThreadPrivate::start (arg=0x9d7060) at thread/qthread_unix.cpp:344
#5  0x00007f5ff4c23454 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f5ffb2153ff in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5ffe4a0900 (LWP 14071)):
[KCrash Handler]
#6  KDevelop::IPlugin::extensions (this=this@entry=0x0) at /usr/src/debug/kdevplatform-5.0.1/interfaces/iplugin.cpp:136
#7  0x00007f5fb23b64c6 in KDevelop::IPlugin::extension<KDevelop::IBasicVersionControl> (this=0x0) at /usr/include/kdevplatform/interfaces/iplugin.h:172
#8  gh::ProviderWidget::createWorkingCopy (this=<optimized out>, dest=...) at /usr/src/debug/kdevelop-5.0.1/providers/ghprovider/ghproviderwidget.cpp:102
#9  0x00007f5ffe064355 in KDevelop::ProjectSourcePage::jobPerCurrent (this=this@entry=0x248b050) at /usr/src/debug/kdevplatform-5.0.1/shell/projectsourcepage.cpp:144
#10 0x00007f5ffe06445d in KDevelop::ProjectSourcePage::checkoutVcsProject (this=0x248b050) at /usr/src/debug/kdevplatform-5.0.1/shell/projectsourcepage.cpp:161
#11 0x00007f5ffbb0321e in QtPrivate::QSlotObjectBase::call (a=0x7ffd6c026590, r=0x248b050, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:130
#12 QMetaObject::activate (sender=sender@entry=0x242e040, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd6c026590) at kernel/qobject.cpp:3723
#13 0x00007f5ffbb037c7 in QMetaObject::activate (sender=sender@entry=0x242e040, m=m@entry=0x7f5ffcea75a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd6c026590) at kernel/qobject.cpp:3602
#14 0x00007f5ffc8b3c22 in QAbstractButton::clicked (this=this@entry=0x242e040, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:307
#15 0x00007f5ffc8b3e74 in QAbstractButtonPrivate::emitClicked (this=0x242e080) at widgets/qabstractbutton.cpp:411
#16 0x00007f5ffc8b5267 in QAbstractButtonPrivate::click (this=0x242e080) at widgets/qabstractbutton.cpp:404
#17 0x00007f5ffc8b5444 in QAbstractButton::mouseReleaseEvent (this=0x242e040, e=0x7ffd6c026a70) at widgets/qabstractbutton.cpp:1009
#18 0x00007f5ffc813a58 in QWidget::event (this=0x242e040, event=0x7ffd6c026a70) at kernel/qwidget.cpp:9144
#19 0x00007f5ffc7cc92c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x242e040, e=0x7ffd6c026a70) at kernel/qapplication.cpp:3799
#20 0x00007f5ffc7d4f9d in QApplication::notify (this=<optimized out>, receiver=0x242e040, e=0x7ffd6c026a70) at kernel/qapplication.cpp:3273
#21 0x00007f5ffbad7200 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x242e040, event=event@entry=0x7ffd6c026a70) at kernel/qcoreapplication.cpp:988
#22 0x00007f5ffc7d364d in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#23 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x242e040, event=event@entry=0x7ffd6c026a70, alienWidget=alienWidget@entry=0x242e040, nativeWidget=0x7ffd6c027360, buttonDown=buttonDown@entry=0x7f5ffced17f0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2771
#24 0x00007f5ffc82da80 in QWidgetWindow::handleMouseEvent (this=this@entry=0x2489070, event=event@entry=0x7ffd6c026e90) at kernel/qwidgetwindow.cpp:613
#25 0x00007f5ffc830223 in QWidgetWindow::event (this=0x2489070, event=0x7ffd6c026e90) at kernel/qwidgetwindow.cpp:239
#26 0x00007f5ffc7cc92c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x2489070, e=0x7ffd6c026e90) at kernel/qapplication.cpp:3799
#27 0x00007f5ffc7d40e1 in QApplication::notify (this=0x7ffd6c02fd50, receiver=0x2489070, e=0x7ffd6c026e90) at kernel/qapplication.cpp:3556
#28 0x00007f5ffbad7200 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x2489070, event=event@entry=0x7ffd6c026e90) at kernel/qcoreapplication.cpp:988
#29 0x00007f5ffc02c8b3 in QCoreApplication::sendSpontaneousEvent (event=0x7ffd6c026e90, receiver=0x2489070) at ../../src/corelib/kernel/qcoreapplication.h:234
#30 QGuiApplicationPrivate::processMouseEvent (e=0x26bbc50) at kernel/qguiapplication.cpp:1909
#31 0x00007f5ffc02e435 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x26bbc50) at kernel/qguiapplication.cpp:1693
#32 0x00007f5ffc00c25b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:654
#33 0x00007f5fddd73970 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:76
#34 0x00007f5ff29fd677 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f5ff29fd8e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f5ff29fd98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f5ffbb2b77f in QEventDispatcherGlib::processEvents (this=0xa10af0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007f5ffbad51ea in QEventLoop::exec (this=this@entry=0x7ffd6c027230, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#39 0x00007f5ffc9b8fe7 in QDialog::exec (this=this@entry=0x7ffd6c027360) at dialogs/qdialog.cpp:552
#40 0x00007f5ffe04bbf1 in KDevelop::OpenProjectDialog::exec (this=this@entry=0x7ffd6c027360) at /usr/src/debug/kdevplatform-5.0.1/shell/openprojectdialog.cpp:171
#41 0x00007f5ffdff6249 in KDevelop::ProjectDialogProvider::askProjectConfigLocation (this=0xf4ef00, fetch=fetch@entry=true, startUrl=...) at /usr/src/debug/kdevplatform-5.0.1/shell/projectcontroller.cpp:399
#42 0x00007f5ffdff32d3 in KDevelop::ProjectController::fetchProject (this=0xcb13f0) at /usr/src/debug/kdevplatform-5.0.1/shell/projectcontroller.cpp:814
#43 0x00007f5ffbb0321e in QtPrivate::QSlotObjectBase::call (a=0x7ffd6c0275b0, r=0xcb13f0, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:130
#44 QMetaObject::activate (sender=sender@entry=0xcc2590, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd6c0275b0) at kernel/qobject.cpp:3723
#45 0x00007f5ffbb037c7 in QMetaObject::activate (sender=sender@entry=0xcc2590, m=m@entry=0x7f5ffcea2f80 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd6c0275b0) at kernel/qobject.cpp:3602
#46 0x00007f5ffc7c5f62 in QAction::triggered (this=this@entry=0xcc2590, _t1=<optimized out>) at .moc/moc_qaction.cpp:369
#47 0x00007f5ffc7c8950 in QAction::activate (this=0xcc2590, event=<optimized out>) at kernel/qaction.cpp:1170
#48 0x00007f5ffc7c8eff in QAction::trigger (this=0xcc2590) at kernel/qaction.h:183
#49 QAction::qt_static_metacall (_o=_o@entry=0xcc2590, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=5, _a=_a@entry=0x7ffd6c0277b0) at .moc/moc_qaction.cpp:206
#50 0x00007f5ffc7c93c4 in QAction::qt_metacall (this=0xcc2590, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7ffd6c0277b0) at .moc/moc_qaction.cpp:327
#51 0x00007f5ff0a841f9 in QQmlObjectOrGadget::metacall (this=this@entry=0x7ffd6c027b00, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=10, argv=argv@entry=0x7ffd6c0277b0) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/qml/qml/qqmlpropertycache.cpp:1541
#52 0x00007f5ff0a120be in CallMethod (object=..., index=10, returnType=returnType@entry=43, argCount=argCount@entry=0, argTypes=argTypes@entry=0x0, engine=engine@entry=0x16a45c0, callArgs=0x7f5fbdab5550) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/qml/jsruntime/qv4qobjectwrapper.cpp:1145
#53 0x00007f5ff0a13389 in CallPrecise (object=..., data=..., engine=engine@entry=0x16a45c0, callArgs=callArgs@entry=0x7f5fbdab5550) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/qml/jsruntime/qv4qobjectwrapper.cpp:1382
#54 0x00007f5ff0a13ffd in QV4::QObjectMethod::callInternal (this=<optimized out>, callData=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/qml/jsruntime/qv4qobjectwrapper.cpp:1861
#55 0x00007f5ff0a29420 in QV4::Object::call (d=0x7f5fbdab5550, this=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/qml/jsruntime/qv4object_p.h:330
#56 QV4::Runtime::callProperty (engine=0x16a45c0, nameIndex=<optimized out>, callData=0x7f5fbdab5550) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/qml/jsruntime/qv4runtime.cpp:1030
#57 0x00007f5fc803bdc2 in ?? ()
#58 0x0000000000000000 in ?? ()

Reported using DrKonqi
Comment 1 Kevin Funk 2016-10-18 06:57:51 UTC
Is the Git plugin loaded? Check Settings -> Configure KDevelop -> Plugins.
Comment 2 Kevin Funk 2016-10-18 07:42:48 UTC
That's likely the problem, marking as duplicate.

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