Bug 281132 - kdevel crashed when exiting after saving unsaved file [__dynamic_cast, KDevelop::DocumentController::openDocuments()]
Summary: kdevel crashed when exiting after saving unsaved file [__dynamic_cast, KDevel...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.2.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords: triaged
: 311867 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-31 19:55 UTC by Bernie Clarke
Modified: 2018-10-27 02:35 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (19.57 KB, text/plain)
2013-07-27 10:59 UTC, Mathieu Jobin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernie Clarke 2011-08-31 19:55:55 UTC
Application: kdevelop (4.2.3)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.35.13-92.fc14.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed: clicked exit icon after closing all projects. There was an un-saved file which was saved as well

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

Thread 13 (Thread 0xb7649b70 (LWP 2439)):
#0  0x0092b590 in g_main_context_iterate (context=0x88420b8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2762
#1  0x0092c04b in g_main_loop_run (loop=0x8842138) at gmain.c:2988
#2  0x00f4fed5 in gdbus_shared_thread_func (data=0x0) at gdbusprivate.c:277
#3  0x00954bd0 in g_thread_create_proxy (data=0x8842148) at gthread.c:1897
#4  0x00866e99 in start_thread (arg=0xb7649b70) at pthread_create.c:301
#5  0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 12 (Thread 0xb2bf5b70 (LWP 2441)):
#0  0x001f6416 in __kernel_vsyscall ()
#1  0x0086b743 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x0781dd30 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x03bce942 in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#4  0x0781d6c3 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00866e99 in start_thread (arg=0xb2bf5b70) at pthread_create.c:301
#6  0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 11 (Thread 0xb0ffeb70 (LWP 2474)):
#0  0x0092b55e in g_main_context_iterate (context=0xb6d032c0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2760
#1  0x0092bc35 in g_main_context_iteration (context=0xb6d032c0, may_block=1) at gmain.c:2843
#2  0x07942ce7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#3  0x079140fa in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x079143aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x0781ab73 in QThread::exec() () from /usr/lib/libQtCore.so.4
#6  0x03cdc7e9 in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#7  0x0781d6c3 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00866e99 in start_thread (arg=0xb0ffeb70) at pthread_create.c:301
#9  0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 10 (Thread 0xaf1beb70 (LWP 2475)):
#0  0x00868f7b in __pthread_mutex_lock (mutex=0xb2201aec) at pthread_mutex_lock.c:61
#1  0x0092ae3c in g_main_context_check (context=0xb2201ae8, max_priority=2147483647, fds=0xb2203250, n_fds=1) at gmain.c:2660
#2  0x0092b742 in g_main_context_iterate (context=0xb2201ae8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2777
#3  0x0092bc35 in g_main_context_iteration (context=0xb2201ae8, may_block=1) at gmain.c:2843
#4  0x07942ce7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x079140fa in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x079143aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x0781ab73 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x03cdc7e9 in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#9  0x0781d6c3 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00866e99 in start_thread (arg=0xaf1beb70) at pthread_create.c:301
#11 0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 9 (Thread 0xadb6eb70 (LWP 2480)):
#0  0x001f6416 in __kernel_vsyscall ()
#1  0x0086b39b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0781ddb7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x070e4fb1 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x070e7cdd in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x070e4bec in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x070e7dd2 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x070e7df1 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x070e67b6 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x070e687c in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0x0781d6c3 in ?? () from /usr/lib/libQtCore.so.4
#13 0x00866e99 in start_thread (arg=0xadb6eb70) at pthread_create.c:301
#14 0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 8 (Thread 0xad36db70 (LWP 2481)):
#0  0x001f6416 in __kernel_vsyscall ()
#1  0x0086b39b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0781ddb7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x070e4fb1 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x070e7cdd in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x070e4bec in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x070e7dd2 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x070e67b6 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x070e687c in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#10 0x0781d6c3 in ?? () from /usr/lib/libQtCore.so.4
#11 0x00866e99 in start_thread (arg=0xad36db70) at pthread_create.c:301
#12 0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 7 (Thread 0xac645b70 (LWP 2485)):
#0  0x001f6416 in __kernel_vsyscall ()
#1  0x0086b39b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x41f5a1d7 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00866e99 in start_thread (arg=0xac645b70) at pthread_create.c:301
#4  0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 6 (Thread 0xb17ffb70 (LWP 2532)):
#0  0x001f6416 in __kernel_vsyscall ()
#1  0x0086b39b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0781ddb7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x070e4fb1 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x070e7cdd in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x070e4bec in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x070e7dd2 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x070e67b6 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x070e687c in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#10 0x0781d6c3 in ?? () from /usr/lib/libQtCore.so.4
#11 0x00866e99 in start_thread (arg=0xb17ffb70) at pthread_create.c:301
#12 0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 5 (Thread 0xab0beb70 (LWP 2547)):
#0  0x001f6416 in __kernel_vsyscall ()
#1  0x0086b39b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x03226c77 in ?? () from /usr/lib/libQtScript.so.4
#3  0x03226cc2 in ?? () from /usr/lib/libQtScript.so.4
#4  0x00866e99 in start_thread (arg=0xab0beb70) at pthread_create.c:301
#5  0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xab8bfb70 (LWP 5057)):
#0  0x001f6416 in __kernel_vsyscall ()
#1  0x0086b39b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0781ddb7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x070e4fb1 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x070e7cdd in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x070e4bec in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x070e7dd2 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x070e7df1 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x070e7df1 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x070e7df1 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0x070e7df1 in ?? () from /usr/lib/libthreadweaver.so.4
#15 0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#16 0x070e67b6 in ?? () from /usr/lib/libthreadweaver.so.4
#17 0x070e687c in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#18 0x0781d6c3 in ?? () from /usr/lib/libQtCore.so.4
#19 0x00866e99 in start_thread (arg=0xab8bfb70) at pthread_create.c:301
#20 0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0x9e5ffb70 (LWP 5058)):
#0  0x001f6416 in __kernel_vsyscall ()
#1  0x0086b39b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0781ddb7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x070e4fb1 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x070e7cdd in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x070e4bec in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x070e7dd2 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x070e7df1 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x070e67b6 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x070e687c in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0x0781d6c3 in ?? () from /usr/lib/libQtCore.so.4
#13 0x00866e99 in start_thread (arg=0x9e5ffb70) at pthread_create.c:301
#14 0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0x9ddfeb70 (LWP 5269)):
#0  0x001f6416 in __kernel_vsyscall ()
#1  0x0086b39b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0781ddb7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x070e4fb1 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x070e7cdd in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x070e4bec in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x070e7dd2 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x070e7df1 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x070e7df1 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x070e4b34 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x070e67b6 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x070e687c in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#14 0x0781d6c3 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00866e99 in start_thread (arg=0x9ddfeb70) at pthread_create.c:301
#16 0x007a5d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb785e780 (LWP 2438)):
[KCrash Handler]
#7  0x002a5071 in adjust_pointer<void> (src_ptr=0xa205080, src_type=0x3e7fb74, dst_type=0x39ef0ac, src2dst=-2) at ../../../../libstdc++-v3/libsupc++/tinfo.h:77
#8  __cxxabiv1::__dynamic_cast (src_ptr=0xa205080, src_type=0x3e7fb74, dst_type=0x39ef0ac, src2dst=-2) at ../../../../libstdc++-v3/libsupc++/dyncast.cc:56
#9  0x03ddfb55 in KDevelop::DocumentController::openDocuments() const () from /usr/lib/libkdevplatformshell.so.3
#10 0x03de0f58 in KDevelop::DocumentController::documentsInWindow(KDevelop::MainWindow*) const () from /usr/lib/libkdevplatformshell.so.3
#11 0x03de1437 in KDevelop::DocumentController::cleanup() () from /usr/lib/libkdevplatformshell.so.3
#12 0x03dc3777 in KDevelop::Core::cleanup() () from /usr/lib/libkdevplatformshell.so.3
#13 0x03db12e5 in KDevelop::MainWindow::~MainWindow() () from /usr/lib/libkdevplatformshell.so.3
#14 0x03db1383 in KDevelop::MainWindow::~MainWindow() () from /usr/lib/libkdevplatformshell.so.3
#15 0x07927f56 in qDeleteInEventHandler(QObject*) () from /usr/lib/libQtCore.so.4
#16 0x0792a800 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#17 0x05260833 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x0567ca97 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x04272a14 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#20 0x042b4830 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x0520758c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x0520c33f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x0419217b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x0804bbfc in _start ()

Reported using DrKonqi
Comment 1 Milian Wolff 2011-09-01 12:08:35 UTC
this looks really odd - please run it through valgrind if you can reproduce and tell us how to reproduce it.
Comment 2 Bernie Clarke 2011-09-01 12:51:08 UTC
On 09/01/2011 08:08 AM, Milian Wolff wrote:
> https://bugs.kde.org/show_bug.cgi?id=281132
>
>
> Milian Wolff<mail@milianw.de>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|UNCONFIRMED                 |NEEDSINFO
>           Resolution|                            |WAITINGFORINFO
>
>
>
>
> --- Comment #1 from Milian Wolff<mail milianw de>   2011-09-01 12:08:35 ---
> this looks really odd - please run it through valgrind if you can reproduce and
> tell us how to reproduce it.
>
Hi, I had trouble getting the debug symbols to load.
I will fix this issue, and then hopefully, the bug will reproduce itself.
Then I will be able to provide better information.

Regards
/* Bernie */
Comment 3 Kevin Funk 2012-12-20 21:53:46 UTC
*** Bug 311867 has been marked as a duplicate of this bug. ***
Comment 4 Mathieu Jobin 2013-07-27 10:59:09 UTC
Created attachment 81372 [details]
New crash information added by DrKonqi

kdevelop (4.4.1) on KDE Platform 4.10.95 using Qt 4.8.4

- What I was doing when the application crashed:

had I unsaved file, close kdevelop. saved. and it crashed

file was saved properly though. so, it ain't major.

-- Backtrace (Reduced):
#7  0x00007fec1e00f69f in KDevelop::DocumentController::openDocuments() const () from /usr/lib/libkdevplatformshell.so.6
#8  0x00007fec1e00f891 in KDevelop::DocumentController::cleanup() () from /usr/lib/libkdevplatformshell.so.6
#9  0x00007fec1dff438a in KDevelop::Core::cleanup() () from /usr/lib/libkdevplatformshell.so.6
#10 0x00007fec1dff45ed in KDevelop::Core::shutdown() () from /usr/lib/libkdevplatformshell.so.6
#11 0x00007fec1dfe26ad in KDevelop::MainWindow::~MainWindow() () from /usr/lib/libkdevplatformshell.so.6
Comment 5 Andrew Crouthamel 2018-09-24 02:13:29 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-10-27 02:35:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!