Bug 280512

Summary: KDevelop bug with file management and crash
Product: [Applications] kdevelop Reporter: Alex Godko <k0l0b0k.void>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.2.3   
Target Milestone: 4.2.3   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alex Godko 2011-08-21 10:54:25 UTC
Application: kdevelop (4.2.3)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-8-generic x86_64
Distribution: Ubuntu oneiric (development branch)

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

I've manage small C++ project, added 2 classes, with different paths for .cpp and .hpp, and changed header extension to *.hpp. Wizard fiishes well for each class, but after I've seen that hpp files created in both - src and include directories, and opens the same content on doubleclick. After remove command for header files in src directory, this files does not disappeared. I closed kdevelop, and crash occured (attached). On filesystem header files in both directories (src and include) is missing

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0x7f7c13798780 (LWP 29826))]

Thread 11 (Thread 0x7f7bfa50c700 (LWP 29828)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f7c11c8d0be in wait (time=1000, this=0x2b9e330) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b9dfe0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7c0e064c7b in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#4  0x00007f7c11c8cca5 in QThreadPrivate::start (arg=0x2b9dfc0) at thread/qthread_unix.cpp:320
#5  0x00007f7c0fcebedc in start_thread (arg=0x7f7bfa50c700) at pthread_create.c:304
#6  0x00007f7c1096a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f7bf068b700 (LWP 29830)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7c11c8d14b in wait (time=18446744073709551615, this=0x3532d10) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3514e20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7c0943b864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3532e40, th=0x3510a70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7c0943de0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x3510a70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7c0943cccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f7bf068ae20, parent=0x3532e40, th=0x3510a70) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f7c0943cd5b in ThreadWeaver::Thread::run (this=0x3510a70) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f7c11c8cca5 in QThreadPrivate::start (arg=0x3510a70) at thread/qthread_unix.cpp:320
#8  0x00007f7c0fcebedc in start_thread (arg=0x7f7bf068b700) at pthread_create.c:304
#9  0x00007f7c1096a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f7bef689700 (LWP 29832)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f7c109079df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f7c10905d71 in __GI___libc_free (mem=0x7f7c10c231c0) at malloc.c:3736
#3  0x00007f7c0b8fa9a1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7c11d9ec47 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x7f7bf4027760, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00007f7c11d9ee59 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x7f7bf4027760, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007f7c11c8bdd4 in QThreadPrivate::finish (arg=0x7f7c120a75a0) at thread/qthread_unix.cpp:356
#7  0x00007f7c11c8ccad in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#8  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:801
#9  QThreadPrivate::start (arg=0x7f7c120a75a0) at thread/qthread_unix.cpp:279
#10 0x00007f7c0fcebedc in start_thread (arg=0x7f7bef689700) at pthread_create.c:304
#11 0x00007f7c1096a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f7be5cab700 (LWP 29862)):
#0  0x00007f7c11d9fa64 in begin (this=0x7f7be80133d0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:97
#1  constBegin (this=0x7f7be80133d0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:256
#2  QTimerInfoList::timerWait (this=0x7f7be80133d0, tm=...) at kernel/qeventdispatcher_unix.cpp:447
#3  0x00007f7c11d9e45c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f7be5caac3c) at kernel/qeventdispatcher_glib.cpp:136
#4  0x00007f7c11d9e505 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#5  0x00007f7c0b8fe492 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f7c0b8ff29d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f7c0b8ff8c9 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f7c11d9ef4e in QEventDispatcherGlib::processEvents (this=0x7f7be8000f80, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#9  0x00007f7c11d72d52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007f7c11d72f57 in QEventLoop::exec (this=0x7f7be5caadd0, flags=...) at kernel/qeventloop.cpp:201
#11 0x00007f7c11c8a21f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:492
#12 0x00007f7c11d55d1f in QInotifyFileSystemWatcherEngine::run (this=0x37d9040) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x00007f7c11c8cca5 in QThreadPrivate::start (arg=0x37d9040) at thread/qthread_unix.cpp:320
#14 0x00007f7c0fcebedc in start_thread (arg=0x7f7be5cab700) at pthread_create.c:304
#15 0x00007f7c1096a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f7be1943700 (LWP 29867)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7bfaa44ee2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f7bfad3e1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f7bfaa44f19 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f7c0fcebedc in start_thread (arg=0x7f7be1943700) at pthread_create.c:304
#4  0x00007f7c1096a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f7bdf96a700 (LWP 29910)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f7c109079df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f7c10905d71 in __GI___libc_free (mem=0x7f7c10c231c0) at malloc.c:3736
#3  0x00007f7c11d9e675 in socketNotifierSourceCheck (source=0x1bb88a0) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f7c0b8febd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7c0b8ff422 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f7c0b8ff8c9 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f7c11d9eee6 in QEventDispatcherGlib::processEvents (this=0x4ae9840, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007f7c11d72d52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f7c11d72f57 in QEventLoop::exec (this=0x7f7bdf969dd0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007f7c11c8a21f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:492
#11 0x00007f7c11d55d1f in QInotifyFileSystemWatcherEngine::run (this=0x4ad18e0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f7c11c8cca5 in QThreadPrivate::start (arg=0x4ad18e0) at thread/qthread_unix.cpp:320
#13 0x00007f7c0fcebedc in start_thread (arg=0x7f7bdf96a700) at pthread_create.c:304
#14 0x00007f7c1096a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f7bdd97e700 (LWP 29988)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7c08a5a15c in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f7c0940e200) at wtf/FastMalloc.cpp:2495
#2  0x00007f7c08a5a289 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f7c0fcebedc in start_thread (arg=0x7f7bdd97e700) at pthread_create.c:304
#4  0x00007f7c1096a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f7b9c5bb700 (LWP 30021)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7c11c8d14b in wait (time=18446744073709551615, this=0x3532d10) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3514e20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7c0943b864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3532e40, th=0x57f7a00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7c0943de0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x57f7a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7c0943de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x57f7a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7c0943de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x57f7a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f7c0943cccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f7b9c5bae20, parent=0x3532e40, th=0x57f7a00) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f7c0943cd5b in ThreadWeaver::Thread::run (this=0x57f7a00) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f7c11c8cca5 in QThreadPrivate::start (arg=0x57f7a00) at thread/qthread_unix.cpp:320
#10 0x00007f7c0fcebedc in start_thread (arg=0x7f7b9c5bb700) at pthread_create.c:304
#11 0x00007f7c1096a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7b9bda7700 (LWP 30022)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7c11c8d14b in wait (time=18446744073709551615, this=0x3532d10) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3514e20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7c0943b864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3532e40, th=0x57f5b00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7c0943de0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x57f5b00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7c0943de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x57f5b00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7c0943cccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f7b9bda6e20, parent=0x3532e40, th=0x57f5b00) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f7c0943cd5b in ThreadWeaver::Thread::run (this=0x57f5b00) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f7c11c8cca5 in QThreadPrivate::start (arg=0x57f5b00) at thread/qthread_unix.cpp:320
#9  0x00007f7c0fcebedc in start_thread (arg=0x7f7b9bda7700) at pthread_create.c:304
#10 0x00007f7c1096a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7befe8a700 (LWP 30681)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7c11c8d14b in wait (time=18446744073709551615, this=0x3532d10) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3514e20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7c0943b864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3532e40, th=0x54c56c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7c0943de0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x54c56c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7c0943de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x54c56c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7c0943de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x54c56c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f7c0943de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x54c56c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f7c0943de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x54c56c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f7c0943de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x54c56c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007f7c0943de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x54c56c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007f7c0943de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x54c56c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x00007f7c0943de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3517c30, th=0x54c56c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00007f7c0943cccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f7befe89e20, parent=0x3532e40, th=0x54c56c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#14 0x00007f7c0943cd5b in ThreadWeaver::Thread::run (this=0x54c56c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#15 0x00007f7c11c8cca5 in QThreadPrivate::start (arg=0x54c56c0) at thread/qthread_unix.cpp:320
#16 0x00007f7c0fcebedc in start_thread (arg=0x7f7befe8a700) at pthread_create.c:304
#17 0x00007f7c1096a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7c13798780 (LWP 29826)):
[KCrash Handler]
#6  0x00007f7c108bf3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f7c108c2b0b in __GI_abort () at abort.c:92
#8  0x00007f7c108f7113 in __libc_message (do_abort=2, fmt=0x7f7c109e80f8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f7c10901a96 in malloc_printerr (action=3, str=0x7f7c109e8230 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f7c10905d7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007f7c108c4821 in __run_exit_handlers (status=0, listp=0x7f7c10c215a8, run_list_atexit=true) at exit.c:78
#12 0x00007f7c108c48a5 in __GI_exit (status=<optimized out>) at exit.c:100
#13 0x00007f7c108aa314 in __libc_start_main (main=0x404af0, argc=1, ubp_av=0x7fff8f885788, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8f885778) at libc-start.c:258
#14 0x000000000040a781 in _start ()

Possible duplicates by query: bug 276906, bug 275298, bug 272949, bug 264901, bug 262108.

Reported using DrKonqi
Comment 1 Milian Wolff 2011-08-27 16:09:42 UTC
see bug 261111 for steps to follow to give us more information that could lead to a solution to this problem

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