Bug 246517 - KDevelop crashed after I added files to a project directory
Summary: KDevelop crashed after I added files to a project directory
Status: RESOLVED DUPLICATE of bug 254261
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: 4.0.1
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-02 15:59 UTC by LXj
Modified: 2010-11-21 16:51 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (15.67 KB, text/plain)
2010-08-09 14:35 UTC, LXj
Details
New crash information added by DrKonqi (7.54 KB, text/plain)
2010-09-15 14:24 UTC, Markus
Details
New crash information added by DrKonqi (18.32 KB, text/plain)
2010-11-21 14:07 UTC, LXj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LXj 2010-08-02 15:59:16 UTC
Application: kdevelop (4.0.60)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.33_p1-ck x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
Just compiled KDevelop from Git using Gentoo ebuilds from KDE overlay, created a new project in a directory populated by Drupall installation. Then I extracted several modules into project directory and KDevelop crashed instantly

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f228b733760 (LWP 15900))]

Thread 3 (Thread 0x7f2280f1f710 (LWP 15975)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000374127ac27 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f228c0c823e in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa12140) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchain.cpp:286
#4  0x0000003741279d25 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:248
#5  0x000000373b6074e7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x000000373aad428d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f227da90710 (LWP 16019)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000374127ac49 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003752a0b61c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=<value optimized out>, th=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003752a0dd4b in ThreadWeaver::WorkingHardState::applyForWork (this=<value optimized out>, th=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003752a0c2b7 in ThreadWeaver::ThreadRunHelper::run (this=<value optimized out>, parent=<value optimized out>, th=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003752a0c6f9 in ThreadWeaver::Thread::run (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003741279d25 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:248
#8  0x000000373b6074e7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x000000373aad428d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f228b733760 (LWP 15900)):
[KCrash Handler]
#5  QUrl (this=0x7fff4606a420, other=...) at io/qurl.cpp:4147
#6  0x00000037444f2909 in KUrl (this=<value optimized out>, _u=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/io/kurl.cpp:472
#7  0x00007f228c69ad61 in KDevelop::ProjectBaseItem::url (this=<value optimized out>) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/project/projectmodel.cpp:348
#8  0x00007f227fa2435a in GenericManagerListJob::startNextJob (this=0x257e680)
    at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/plugins/genericprojectmanager/genericmanagerlistjob.cpp:56
#9  0x00007f227fa24478 in GenericManagerListJob::qt_metacall (this=0x257e680, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x25aa8f0)
    at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999_build/plugins/genericprojectmanager/genericmanagerlistjob.moc:93
#10 0x00000037413772f8 in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1240
#11 0x00000038d1dbb79d in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4302
#12 0x00000038d1dc2a24 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3706
#13 0x00000038d3829c2b in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#14 0x00000037413673f3 in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:726
#15 0x0000003741369af8 in QCoreApplication::sendEvent (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at kernel/qcoreapplication.h:215
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at kernel/qcoreapplication.cpp:1367
#17 0x00000037413909f3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#18 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#19 0x000000373e23d98c in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#20 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#21 0x000000373e241560 in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#22 0x000000373e2417eb in IA__g_main_context_iteration (context=<value optimized out>, may_block=<value optimized out>) at gmain.c:2654
#23 0x000000374139054c in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#24 0x00000038d1e6bbef in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x0000003741365d62 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#26 0x0000003741366134 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201
#27 0x0000003741369d86 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#28 0x0000000000409036 in main (argc=3, argv=0x7fff4606ca78) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/app/main.cpp:379

Possible duplicates by query: bug 244083.

Reported using DrKonqi
Comment 1 LXj 2010-08-09 14:35:03 UTC
Created attachment 49942 [details]
New crash information added by DrKonqi

Caught the same error with stable KDevelop 4.0.1
Comment 2 Markus 2010-09-15 14:24:22 UTC
Created attachment 51679 [details]
New crash information added by DrKonqi

I think the error i got is pretty much the same, but I got it while switching from one session to another (both sessions are working and used some time every day).
It's not reproducable for me, but maybe it helps somehow.
Comment 3 Milian Wolff 2010-09-27 12:15:47 UTC
should be fixed in 4.1
Comment 4 LXj 2010-11-21 14:05:16 UTC
I still get occasional crashes when I copy new files into project directory when KDevelop is open
Comment 5 LXj 2010-11-21 14:07:40 UTC
Created attachment 53606 [details]
New crash information added by DrKonqi

kdevelop (4.1.0) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.1

- What I was doing when the application crashed:

Unpacked some files into project directory

This is KDevelop 4.1.0

-- Backtrace (Reduced):
#6  getIncludeRules (project=0x9) at /var/tmp/portage/dev-util/kdevplatform-1.1.0/work/kdevplatform-1.1.0/plugins/genericprojectmanager/genericmanager.cpp:64
#7  0x00007f706a74fe03 in GenericProjectManager::addJobItems (this=0x2a9dfe0, baseItem=0x1f8d600, entries=..., forceRecursion=<value optimized out>)
    at /var/tmp/portage/dev-util/kdevplatform-1.1.0/work/kdevplatform-1.1.0/plugins/genericprojectmanager/genericmanager.cpp:198
#8  0x00007f706a7537c5 in GenericProjectManager::qt_metacall (this=0x2a9dfe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6d214bd0)
    at /var/tmp/portage/dev-util/kdevplatform-1.1.0/work/kdevplatform-1.1.0_build/plugins/genericprojectmanager/genericmanager.moc:103
[...]
#10 0x00007f706a74ce42 in GenericManagerListJob::entries (this=0x7fff6d2149e0, _t1=0x1f8d600, _t2=<value optimized out>, _t3=false)
    at /var/tmp/portage/dev-util/kdevplatform-1.1.0/work/kdevplatform-1.1.0_build/plugins/genericprojectmanager/genericmanagerlistjob.moc:105
#11 0x00007f706a74d30f in GenericManagerListJob::slotResult (this=0x7fff6d2149e0, job=0x324cde0)
    at /var/tmp/portage/dev-util/kdevplatform-1.1.0/work/kdevplatform-1.1.0/plugins/genericprojectmanager/genericmanagerlistjob.cpp:70
Comment 6 Milian Wolff 2010-11-21 16:51:48 UTC
fixed for 4.1.1 hopefully, stay tuned for the release next week.

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