Bug 263704 - Kdevelop crash when choosing "find in files" - crash in KFileDialog::KFileDialog ctor
Summary: Kdevelop crash when choosing "find in files" - crash in KFileDialog::KFileDia...
Status: RESOLVED DUPLICATE of bug 254748
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 0.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 02:38 UTC by Christopher Heiny
Modified: 2011-01-23 15:51 UTC (History)
1 user (show)

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 Christopher Heiny 2011-01-20 02:38:56 UTC
Application: kdevelop (4.1.0)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.10-74.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
I had several files open, but no open project.  Clicked on "find in files", and KDevelop crashed.

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

Thread 12 (Thread 0x7f17e06c5700 (LWP 20372)):
#0  0x00000036c460bc2e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000036d0a72d42 in wait (this=<value optimized out>, mutex=0x2a67fb0, time=200000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2a67fb0, time=200000) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003451eb69de in KDevelop::DUChainPrivate::CleanupThread::run() () from /usr/lib64/libkdevplatformlanguage.so.2
#4  0x00000036d0a726ee in QThreadPrivate::start (arg=0x2a67f90) at thread/qthread_unix.cpp:285
#5  0x00000036c4606d5b in start_thread () from /lib64/libpthread.so.0
#6  0x00000036c3ae4a7d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f17d39eb700 (LWP 20777)):
#0  0x00007fff241ff830 in clock_gettime ()
#1  0x00000036c52041bb in clock_gettime () from /lib64/librt.so.1
#2  0x00000036d0ac3cd2 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00000036d0b872fd in QTimerInfoList::updateCurrentTime (this=0x7f17c4002060) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00000036d0b87685 in QTimerInfoList::timerWait (this=0x7f17c4002060, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00000036d0b8610c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f17d39eabbc) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00000036d0b861b5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00000036c364131f in g_main_context_prepare (context=0x7f17c40009b0, priority=0x7f17d39eac2c) at gmain.c:2469
#9  0x00000036c3642209 in g_main_context_iterate (context=0x7f17c40009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2760
#10 0x00000036c36428ad in g_main_context_iteration (context=0x7f17c40009b0, may_block=1) at gmain.c:2843
#11 0x00000036d0b86916 in QEventDispatcherGlib::processEvents (this=0x7f17c40008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00000036d0b5ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00000036d0b5ad8c in QEventLoop::exec (this=0x7f17d39ead40, flags=...) at kernel/qeventloop.cpp:201
#14 0x00000036d0a6fed4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00000036d0a726ee in QThreadPrivate::start (arg=0x401b340) at thread/qthread_unix.cpp:285
#16 0x00000036c4606d5b in start_thread () from /lib64/libpthread.so.0
#17 0x00000036c3ae4a7d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f17ca2bb700 (LWP 20778)):
#0  0xffffffffff60010f in ?? ()
#1  0x00007f17ca2baa40 in ?? ()
#2  0x00007fff241ff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x7f17c9aba700 (LWP 20779)):
#0  0x00000036c460bc2e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000036d0a724a5 in thread_sleep (ti=0x7f17c9ab9d00) at thread/qthread_unix.cpp:435
#2  0x00000036d0a72610 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:461
#3  0x00007f17caa972e1 in UIBlockTester::UIBlockTesterThread::run (this=0x400cd20) at /usr/src/debug/kdevelop-4.1.0/languages/cpp/cpplanguagesupport.cpp:678
#4  0x00000036d0a726ee in QThreadPrivate::start (arg=0x400cd20) at thread/qthread_unix.cpp:285
#5  0x00000036c4606d5b in start_thread () from /lib64/libpthread.so.0
#6  0x00000036c3ae4a7d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f17c9280700 (LWP 20782)):
#0  0x00000036c460b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000036d0a72ddb in wait (this=<value optimized out>, mutex=0x28379b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x28379b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000036e3a0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x29a29f0, th=0x48a84e0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000036e3a0c743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x284b4f0, th=0x48a84e0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000036e3a0c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x284b4f0, th=0x48a84e0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00000036e3a0b52f in ThreadWeaver::ThreadRunHelper::run (this=0x7f17c927fd50, parent=0x29a29f0, th=0x48a84e0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#7  0x00000036e3a0b5b8 in ThreadWeaver::Thread::run (this=0x48a84e0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#8  0x00000036d0a726ee in QThreadPrivate::start (arg=0x48a84e0) at thread/qthread_unix.cpp:285
#9  0x00000036c4606d5b in start_thread () from /lib64/libpthread.so.0
#10 0x00000036c3ae4a7d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f17c8a7f700 (LWP 20783)):
#0  0x00000036c460b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000036d0a72ddb in wait (this=<value optimized out>, mutex=0x28379b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x28379b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000036e3a0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x29a29f0, th=0x7f17b40026b0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000036e3a0c743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x284b4f0, th=0x7f17b40026b0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000036e3a0b52f in ThreadWeaver::ThreadRunHelper::run (this=0x7f17c8a7ed50, parent=0x29a29f0, th=0x7f17b40026b0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#6  0x00000036e3a0b5b8 in ThreadWeaver::Thread::run (this=0x7f17b40026b0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#7  0x00000036d0a726ee in QThreadPrivate::start (arg=0x7f17b40026b0) at thread/qthread_unix.cpp:285
#8  0x00000036c4606d5b in start_thread () from /lib64/libpthread.so.0
#9  0x00000036c3ae4a7d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f17b3fff700 (LWP 20820)):
#0  0x00000036c460b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000036df993d84 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x36dfcab4e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000036df993db9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x36dfcb95b4) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00000036c4606d5b in start_thread () from /lib64/libpthread.so.0
#4  0x00000036c3ae4a7d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f17b327f700 (LWP 22474)):
#0  0x00000036c460b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000036d0a72ddb in wait (this=<value optimized out>, mutex=0x60b2df0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x60b2df0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000036e3a0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x60b7460, th=0x60b6ee0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000036e3a0c743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x60b7830, th=0x60b6ee0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000036e3a0c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x60b7830, th=0x60b6ee0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00000036e3a0c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x60b7830, th=0x60b6ee0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00000036e3a0c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x60b7830, th=0x60b6ee0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00000036e3a0b52f in ThreadWeaver::ThreadRunHelper::run (this=0x7f17b327ed50, parent=0x60b7460, th=0x60b6ee0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#9  0x00000036e3a0b5b8 in ThreadWeaver::Thread::run (this=0x60b6ee0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#10 0x00000036d0a726ee in QThreadPrivate::start (arg=0x60b6ee0) at thread/qthread_unix.cpp:285
#11 0x00000036c4606d5b in start_thread () from /lib64/libpthread.so.0
#12 0x00000036c3ae4a7d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f17b2a7e700 (LWP 22475)):
#0  0x00000036c460b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000036d0a72ddb in wait (this=<value optimized out>, mutex=0x60b2df0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x60b2df0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000036e3a0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x60b7460, th=0x60b3fe0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000036e3a0c743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x60b7830, th=0x60b3fe0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000036e3a0c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x60b7830, th=0x60b3fe0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00000036e3a0b52f in ThreadWeaver::ThreadRunHelper::run (this=0x7f17b2a7dd50, parent=0x60b7460, th=0x60b3fe0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#7  0x00000036e3a0b5b8 in ThreadWeaver::Thread::run (this=0x60b3fe0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#8  0x00000036d0a726ee in QThreadPrivate::start (arg=0x60b3fe0) at thread/qthread_unix.cpp:285
#9  0x00000036c4606d5b in start_thread () from /lib64/libpthread.so.0
#10 0x00000036c3ae4a7d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f17b227d700 (LWP 22555)):
#0  0x00000036c460b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000036d0a72ddb in wait (this=<value optimized out>, mutex=0x60b2df0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x60b2df0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000036e3a0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x60b7460, th=0x655ebc0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000036e3a0c743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x60b7830, th=0x655ebc0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000036e3a0b52f in ThreadWeaver::ThreadRunHelper::run (this=0x7f17b227cd50, parent=0x60b7460, th=0x655ebc0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#6  0x00000036e3a0b5b8 in ThreadWeaver::Thread::run (this=0x655ebc0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#7  0x00000036d0a726ee in QThreadPrivate::start (arg=0x655ebc0) at thread/qthread_unix.cpp:285
#8  0x00000036c4606d5b in start_thread () from /lib64/libpthread.so.0
#9  0x00000036c3ae4a7d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f17b1a7c700 (LWP 22556)):
#0  0x00000036c460b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000036d0a72ddb in wait (this=<value optimized out>, mutex=0x60b2df0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x60b2df0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000036e3a0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x60b7460, th=0x6554450) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000036e3a0c743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x60b7830, th=0x6554450) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000036e3a0c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x60b7830, th=0x6554450) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00000036e3a0c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x60b7830, th=0x6554450) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00000036e3a0b52f in ThreadWeaver::ThreadRunHelper::run (this=0x7f17b1a7bd50, parent=0x60b7460, th=0x6554450) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#8  0x00000036e3a0b5b8 in ThreadWeaver::Thread::run (this=0x6554450) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#9  0x00000036d0a726ee in QThreadPrivate::start (arg=0x6554450) at thread/qthread_unix.cpp:285
#10 0x00000036c4606d5b in start_thread () from /lib64/libpthread.so.0
#11 0x00000036c3ae4a7d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f17ecfca840 (LWP 20371)):
[KCrash Handler]
#6  0x000000344ddd47e3 in KFileDialog::KFileDialog (this=0x8f09ce0, startDir=..., filter=..., parent=<value optimized out>, customWidget=0x0) at /usr/src/debug/kdelibs-4.5.5/kio/kfile/kfiledialog.cpp:269
#7  0x000000344de0b695 in KUrlRequester::fileDialog (this=0x8ffee60) at /usr/src/debug/kdelibs-4.5.5/kio/kfile/kurlrequester.cpp:420
#8  0x00007f17d7975d99 in GrepDialog::GrepDialog (this=0x8f27f60, plugin=<value optimized out>, parent=<value optimized out>) at /usr/src/debug/kdevplatform-1.1.0/plugins/grepview/grepdialog.cpp:116
#9  0x00007f17d7973816 in GrepViewPlugin::showDialog (this=0x2a83de0) at /usr/src/debug/kdevplatform-1.1.0/plugins/grepview/grepviewplugin.cpp:110
#10 0x00007f17d7973e90 in GrepViewPlugin::qt_metacall (this=0x2a83de0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /usr/src/debug/kdevplatform-1.1.0/x86_64-redhat-linux-gnu/plugins/grepview/grepviewplugin.moc:74
#11 0x00000036d0b7004f in QMetaObject::activate (sender=0x32b3390, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff240668e0) at kernel/qobject.cpp:3272
#12 0x00000036d63b1252 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#13 0x00000036d63b144a in QAction::activate (this=0x32b3390, event=<value optimized out>) at kernel/qaction.cpp:1257
#14 0x00000036d67ee133 in QMenuPrivate::activateCausedStack (this=0x29f1bf0, causedStack=..., action=0x32b3390, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#15 0x00000036d67f40ca in QMenuPrivate::activateAction (this=0x29f1bf0, action=0x32b3390, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#16 0x000000344d0f129d in ?? () at /usr/src/debug/kdelibs-4.5.5/x86_64-redhat-linux-gnu/kdeui/kmenu.moc:72 from /usr/lib64/libkdeui.so.5
#17 0x0000000000000000 in ?? ()

Reported using DrKonqi
Comment 1 Milian Wolff 2011-01-20 11:31:45 UTC
looks like a bug in kdelibs to me. can you reproduce this?
Comment 2 Christopher Heiny 2011-01-21 03:21:21 UTC
I've tried this several times today, and have not been able to reproduce it.
Comment 3 Dario Andres 2011-01-23 15:51:15 UTC
[Comment from a bug triager]
Merging with bug 254748. Thanks

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