Bug 254834

Summary: Kdevelop crashes when opening a remote session
Product: [Applications] kdevelop Reporter: Jimmy Berry <jimmy>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.1.60   
Target Milestone: 4.1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jimmy Berry 2010-10-21 06:21:56 UTC
Application: kdevelop (4.1.60)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.36-rc8-32-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

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

Upon opening the application it crashes when the last opened session had a project located on a remote box using the fish protocol. If I remove the session information from ~/.kde4/share/apps/kdevelop/sessions then the problem goes away and I can open kdevelop.

- Custom settings of the application:

Stored session with remote projects.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f7c0f768760 (LWP 7156))]

Thread 3 (Thread 0x7f7bf9683710 (LWP 7157)):
#0  0x00007f7c0c9c1709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7c0df55f12 in wait (this=<value optimized out>, mutex=0xa7b8d0, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xa7b8d0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7c0a38edcb in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa7b8b0) at /usr/src/debug/kdevplatform/language/duchain/duchain.cpp:283
#4  0x00007f7c0df558be in QThreadPrivate::start (arg=0xa7b8b0) at thread/qthread_unix.cpp:266
#5  0x00007f7c0c9bca4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f7c0cca382d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7beeb3c710 (LWP 7162)):
#0  0x00007f7c0c9c139c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7c0df55fab in wait (this=<value optimized out>, mutex=0x1350c70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1350c70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7c050c5254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x13815a0, th=0x13520e0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7c050c8295 in waitForAvailableJob (this=0x13543f0, th=0x13520e0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x13543f0, th=0x13520e0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f7c050c564f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7beeb3be30, parent=0x13815a0, th=0x13520e0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f7c050c56d8 in ThreadWeaver::Thread::run (this=0x13520e0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f7c0df558be in QThreadPrivate::start (arg=0x13520e0) at thread/qthread_unix.cpp:266
#9  0x00007f7c0c9bca4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7c0cca382d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7c0f768760 (LWP 7156)):
[KCrash Handler]
#6  ref (this=0x154bfa0) at ../../src/corelib/arch/qatomic_x86_64.h:121
#7  QString (this=0x154bfa0) at ../../src/corelib/tools/qstring.h:728
#8  QUrl::fragment (this=0x154bfa0) at io/qurl.cpp:5443
#9  0x00007f7c0f1ae925 in KUrl::hasSubUrl() const () from /usr/lib64/libkdecore.so.5
#10 0x00007f7c0b42892e in SimpleJobPrivate (url=<value optimized out>, flags=<value optimized out>, includeHidden=true) at /usr/src/debug/kdelibs-4.5.2/kio/kio/job_p.h:91
#11 ListJobPrivate (url=<value optimized out>, flags=<value optimized out>, includeHidden=true) at /usr/src/debug/kdelibs-4.5.2/kio/kio/job.cpp:2362
#12 newJob (url=<value optimized out>, flags=<value optimized out>, includeHidden=true) at /usr/src/debug/kdelibs-4.5.2/kio/kio/job.cpp:2387
#13 KIO::listDir (url=<value optimized out>, flags=<value optimized out>, includeHidden=true) at /usr/src/debug/kdelibs-4.5.2/kio/kio/job.cpp:2568
#14 0x00007f7bf8174c1d in GenericManagerListJob::startNextJob (this=0x13968e0) at /usr/src/debug/kdevplatform/plugins/genericprojectmanager/genericmanagerlistjob.cpp:61
#15 0x00007f7bf8174cd8 in GenericManagerListJob::qt_metacall (this=0x13968e0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x15ad420)
    at /usr/src/debug/kdevplatform/build/plugins/genericprojectmanager/genericmanagerlistjob.moc:93
#16 0x00007f7c0e0547da in QObject::event (this=0x13968e0, e=<value optimized out>) at kernel/qobject.cpp:1211
#17 0x00007f7c0d403f34 in QApplicationPrivate::notify_helper (this=0x63e720, receiver=0x13968e0, e=0x2096730) at kernel/qapplication.cpp:4396
#18 0x00007f7c0d40c35a in QApplication::notify (this=<value optimized out>, receiver=0x13968e0, e=0x2096730) at kernel/qapplication.cpp:4277
#19 0x00007f7c0e4f3846 in KApplication::notify (this=0x7fff3bc4fe20, receiver=0x13968e0, event=0x2096730) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#20 0x0000000000404999 in _start ()

Reported using DrKonqi
Comment 1 Milian Wolff 2010-10-21 20:30:36 UTC

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