Bug 217739 - crash when closing many dolphin and Kate instances
Summary: crash when closing many dolphin and Kate instances
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-07 18:12 UTC by Jarek
Modified: 2009-12-18 10:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jarek 2009-12-07 18:12:04 UTC
Application that crashed: dolphin
Version of the application: 1.3
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
after reboot I closed one by one kate and dolphin instances 

 -- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f3b01aa2750 (LWP 2336))]

Thread 2 (Thread 0x7f3af08d4910 (LWP 2441)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f3afdd36a93 in _L_lock_9264 () from /lib/libc.so.6
#2  0x00007f3afdd34701 in *__GI___libc_free (mem=0x7f3aec000020) at malloc.c:3714
#3  0x00007f3af9f9b4f3 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f3afe4a6ce2 in ~QEventDispatcherGlib (this=0x21170a0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:289
#5  0x00007f3afe3975fc in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:212
#6  0x00007f3afe39744d in ~__pthread_cleanup_class (arg=0x1b407c0) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0x1b407c0) at thread/qthread_unix.cpp:190
#8  0x00007f3af9d4aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f3afdd997bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3b01aa2750 (LWP 2336)):
[KCrash Handler]
#5  0x00007f3afdd2ff08 in malloc_consolidate (av=0x7f3aec000020) at malloc.c:5095
#6  0x00007f3afdd324c9 in _int_malloc (av=0x7f3aec000020, bytes=25051625118826578) at malloc.c:4338
#7  0x00007f3afdd350c6 in _int_realloc (av=0x7f3aec000020, oldp=0x7f3aec021740, oldsize=<value optimized out>, nb=<value optimized out>) at malloc.c:5224
#8  0x00007f3afdd355b0 in *__GI___libc_realloc (oldmem=0x7f3aec021750, bytes=1008) at malloc.c:3799
#9  0x00007f3afe3d502d in QVector<QRegExpAutomatonState>::realloc (this=<value optimized out>, asize=<value optimized out>, aalloc=4980831) at tools/qvector.h:468
#10 0x00007f3afe3d5293 in QVector<QRegExpAutomatonState>::append (this=0x7f3aec002a78, t=...) at tools/qvector.h:525
#11 0x00007f3afe3cfb93 in QVector<QRegExpAutomatonState>::operator+= (this=0x7f3aec002a70, match=<value optimized out>) at tools/qvector.h:282
#12 QRegExpEngine::setupState (this=0x7f3aec002a70, match=<value optimized out>) at tools/qregexp.cpp:1649
#13 0x00007f3afe3cff52 in QRegExpEngine::createState (this=0x7fff4fce1970, ch=<value optimized out>) at tools/qregexp.cpp:1405
#14 QRegExpEngine::Box::set (this=0x7fff4fce1970, ch=<value optimized out>) at tools/qregexp.cpp:2380
#15 0x00007f3afe3d0d40 in QRegExpEngine::parseAtom (this=0x7f3aec002a70, box=0x7fff4fce1970) at tools/qregexp.cpp:3071
#16 0x00007f3afe3d10e0 in QRegExpEngine::parseFactor (this=0x7f3aec002a70, box=<value optimized out>) at tools/qregexp.cpp:3159
#17 0x00007f3afe3d18b2 in QRegExpEngine::parseTerm (this=0x7f3aec000020, box=0x7fff4fce1970) at tools/qregexp.cpp:3221
#18 0x00007f3afe3d1b05 in QRegExpEngine::parseExpression (this=0x7f3aec002a70, box=0x7fff4fce1c30) at tools/qregexp.cpp:3239
#19 0x00007f3afe3d0f46 in QRegExpEngine::parseAtom (this=0x7f3aec002a70, box=0x7fff4fce1c30) at tools/qregexp.cpp:3110
#20 0x00007f3afe3d10e0 in QRegExpEngine::parseFactor (this=0x7f3aec002a70, box=<value optimized out>) at tools/qregexp.cpp:3159
#21 0x00007f3afe3d18db in QRegExpEngine::parseTerm (this=0x7f3aec002a70, box=0x7fff4fce1cb0) at tools/qregexp.cpp:3225
#22 0x00007f3afe3d1b05 in QRegExpEngine::parseExpression (this=0x7f3aec002a70, box=0x7fff4fce2100) at tools/qregexp.cpp:3239
#23 0x00007f3afe3d0f46 in QRegExpEngine::parseAtom (this=0x7f3aec002a70, box=0x7fff4fce2100) at tools/qregexp.cpp:3110
#24 0x00007f3afe3d10e0 in QRegExpEngine::parseFactor (this=0x7f3aec002a70, box=<value optimized out>) at tools/qregexp.cpp:3159
#25 0x00007f3afe3d18b2 in QRegExpEngine::parseTerm (this=0x7f3aec000020, box=0x7fff4fce2100) at tools/qregexp.cpp:3221
#26 0x00007f3afe3d1ac6 in QRegExpEngine::parseExpression (this=0x7f3aec000020, box=0x59005200410052) at tools/qregexp.cpp:3232
#27 0x00007f3afe3d01a1 in QRegExpEngine::parse (this=0x7f3aec002a70, pattern=<value optimized out>, len=<value optimized out>) at tools/qregexp.cpp:2977
#28 0x00007f3afe3d1ddd in QRegExpEngine (this=0x7f3aec002a70, key=...) at tools/qregexp.cpp:1275
#29 0x00007f3afe3d209b in prepareEngine_helper (priv=0x206e210) at tools/qregexp.cpp:3308
#30 0x00007f3afe3d2a15 in prepareEngine (this=0x7f3aec01f7e8, rx=...) at tools/qregexp.cpp:3318
#31 QRegExp::operator= (this=0x7f3aec01f7e8, rx=...) at tools/qregexp.cpp:3432
#32 0x00007f3af1603ab7 in Konsole::SessionController::eventFilter(QObject*, QEvent*) () from /usr/lib/libkonsoleprivate.so
#33 0x00007f3afe47cf47 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2240af0, event=0x7fff4fce2890) at kernel/qcoreapplication.cpp:726
#34 0x00007f3afe910ecc in QApplicationPrivate::notify_helper (this=0x1b4d6a0, receiver=0x2240af0, e=0x7fff4fce2890) at kernel/qapplication.cpp:4052
#35 0x00007f3afe918011 in QApplication::notify (this=<value optimized out>, receiver=0x2240af0, e=0x7fff4fce2890) at kernel/qapplication.cpp:3758
#36 0x00007f3affc49e56 in KApplication::notify (this=0x7fff4fce47a0, receiver=0x2240af0, event=0x7fff4fce2890) at ../../kdeui/kernel/kapplication.cpp:302
#37 0x00007f3afe47dc2c in QCoreApplication::notifyInternal (this=0x7fff4fce47a0, receiver=0x2240af0, event=0x7fff4fce2890) at kernel/qcoreapplication.cpp:610
#38 0x00007f3afe9178e0 in QCoreApplication::sendSpontaneousEvent (receiver=0x2240af0, event=0x7fff4fce2890, alienWidget=0x2240af0, nativeWidget=0x211c600, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#39 QApplicationPrivate::sendMouseEvent (receiver=0x2240af0, event=0x7fff4fce2890, alienWidget=0x2240af0, nativeWidget=0x211c600, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at kernel/qapplication.cpp:2924
#40 0x00007f3afe97da0e in QETWidget::translateMouseEvent (this=0x211c600, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#41 0x00007f3afe97c440 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff4fce43c0) at kernel/qapplication_x11.cpp:3629
#42 0x00007f3afe9a5d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x00007f3af9f9bbce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x00007f3af9f9f598 in ?? () from /lib/libglib-2.0.so.0
#45 0x00007f3af9f9f6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x00007f3afe4a61a6 in QEventDispatcherGlib::processEvents (this=0x1b18d20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#47 0x00007f3afe9a54be in QGuiEventDispatcherGlib::processEvents (this=0x7f3aec000020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#48 0x00007f3afe47c532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#49 0x00007f3afe47c904 in QEventLoop::exec (this=0x7fff4fce46f0, flags=) at kernel/qeventloop.cpp:201
#50 0x00007f3afe47eab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#51 0x00000000004394e5 in _start ()
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Frank Reininghaus 2009-12-07 21:46:49 UTC
Thanks for the bug report! Can you reproduce the crash again by rebooting and then closing Kate and Dolphin?

The backtrace looks like the crash could actually be a Konsole bug (Konsole's code is used for the Terminal Panel)...
Comment 2 Jarek 2009-12-11 20:35:01 UTC
I try couple times but i can not reproduce this crash . 
 
It was during restore last session ,I have many programs lunched (Probably there where also some Konsole instance ) so kde was a little not respondable . After clicking X application where still running some of them wheren't fully initialized, in my opinion it can by some problem with multi threading.

Sorry but I can't by more helpful
Comment 3 Peter Penz 2009-12-18 10:59:00 UTC
I cannot reproduce this issue (trunk + KDE 4.3.4) and have set it to fixed. Please reopen the bug if such an issue occurs again. Thanks in advance!