Bug 278302

Summary: Dolphin crash on ctrl+tab
Product: [Applications] dolphin Reporter: Unknown <null>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: adawit, andreiamenta, asraniel, c.exe, cyberbeat, eng.mahs, evgom.sid, f.esser, frank78ac, hugo.costelha, joao.vidal.silva, julee.vv, kde, manisandro, master.homer, mathux, mirza.dervisevic, mpartap, nichtbekannt, nick, null, reescf, yoramdavid
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.1
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
Potential crash fix

Description Unknown 2011-07-23 00:46:27 UTC
Application: dolphin (1.6.9)
KDE Platform Version: 4.6.90 (4.7 RC1)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-5-generic x86_64
Distribution: Ubuntu oneiric (development branch)

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

Hit Ctrl+tab to the last tab in dolphin's window. There were 3 other open tabs.

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

Thread 2 (Thread 0x7fe6b2e6a700 (LWP 20050)):
#0  0x00007fe6c48c6093 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fe6bcfb91c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe6bcfb9689 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe6c0d1d7ae in QEventDispatcherGlib::processEvents (this=0x943b30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fe6c0cf1c62 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe6c0cf1e67 in QEventLoop::exec (this=0x7fe6b2e69dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fe6c0c092cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fe6c0cd4c2f in QInotifyFileSystemWatcherEngine::run (this=0x932d10) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe6c0c0bd55 in QThreadPrivate::start (arg=0x932d10) at thread/qthread_unix.cpp:320
#9  0x00007fe6bd483d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fe6c48d31dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe6c4ff5780 (LWP 20049)):
[KCrash Handler]
#6  qobject_cast<QWidget*> (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:910
#7  QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7758
#8  0x00007fe6c173c07c in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7782
#9  0x00007fe6c173c07c in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7782
#10 0x00007fe6c173c07c in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7782
#11 0x00007fe6c173c22e in QWidgetPrivate::hide_helper (this=0x102dc50) at kernel/qwidget.cpp:7526
#12 0x00007fe6c17448d8 in QWidget::setVisible (this=0x1039940, visible=<value optimized out>) at kernel/qwidget.cpp:7698
#13 0x00007fe6c4bcbf1c in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#14 0x00007fe6c4bd6099 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#15 0x00007fe6c0d056ea in QMetaObject::activate (sender=0xa0aed0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa6545280) at kernel/qobject.cpp:3278
#16 0x00007fe6c1b4429e in QTabBar::currentChanged (this=<value optimized out>, _t1=3) at .moc/release-shared/moc_qtabbar.cpp:201
#17 0x00007fe6c4bd60fe in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#18 0x00007fe6c0d056ea in QMetaObject::activate (sender=0x9803e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa65453d0) at kernel/qobject.cpp:3278
#19 0x00007fe6c16e9892 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#20 0x00007fe6c16e9a7f in QAction::activate (this=0x9803e0, event=<value optimized out>) at kernel/qaction.cpp:1257
#21 0x00007fe6c16e9bef in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1183
#22 0x00007fe6c231860a in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5
#23 0x00007fe6c16f0154 in notify_helper (this=0x7b9ab0, receiver=0x9803e0, e=0x7fffa6545860) at kernel/qapplication.cpp:4467
#24 QApplicationPrivate::notify_helper (this=0x7b9ab0, receiver=0x9803e0, e=0x7fffa6545860) at kernel/qapplication.cpp:4439
#25 0x00007fe6c16f4fc1 in QApplication::notify (this=0x7fffa6546af0, receiver=0x9803e0, e=0x7fffa6545860) at kernel/qapplication.cpp:4346
#26 0x00007fe6c23fed56 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0x00007fe6c0cf2a6c in QCoreApplication::notifyInternal (this=0x7fffa6546af0, receiver=0x9803e0, event=0x7fffa6545860) at kernel/qcoreapplication.cpp:731
#28 0x00007fe6c1722149 in sendEvent (this=<value optimized out>, e=0x7fffa6545c70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fffa6545c70) at kernel/qshortcutmap.cpp:879
#30 0x00007fe6c172361a in QShortcutMap::tryShortcutEvent (this=0x7b9bd8, o=<value optimized out>, e=0x7fffa6545c70) at kernel/qshortcutmap.cpp:364
#31 0x00007fe6c16f6842 in QApplication::notify (this=0x7fffa6546af0, receiver=0x12c3a50, e=0x7fffa6545c70) at kernel/qapplication.cpp:3909
#32 0x00007fe6c23fed56 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#33 0x00007fe6c0cf2a6c in QCoreApplication::notifyInternal (this=0x7fffa6546af0, receiver=0x12c3a50, event=0x7fffa6545c70) at kernel/qcoreapplication.cpp:731
#34 0x00007fe6c1793649 in QKeyMapper::sendKeyEvent (keyWidget=0x12c3a50, grab=<value optimized out>, type=QEvent::KeyPress, code=16777217, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=23, nativeVirtualKey=65289, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1866
#35 0x00007fe6c1793abb in QKeyMapperPrivate::translateKeyEvent (this=0x7f42d0, keyWidget=0x12c3a50, event=0x7fffa65466b0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#36 0x00007fe6c176ebe7 in QApplication::x11ProcessEvent (this=0x7fffa6546af0, event=0x7fffa65466b0) at kernel/qapplication_x11.cpp:3577
#37 0x00007fe6c1797ac2 in x11EventSourceDispatch (s=0x7bcd60, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007fe6bcfb8cbd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fe6bcfb94b8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fe6bcfb9689 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fe6c0d1d746 in QEventDispatcherGlib::processEvents (this=0x79ca00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#42 0x00007fe6c179772e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007fe6c0cf1c62 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fe6c0cf1e67 in QEventLoop::exec (this=0x7fffa6546a80, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007fe6c0cf607b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#46 0x00007fe6c4bde239 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#47 0x00007fe6c480be1f in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#48 0x0000000000400671 in _start ()

Possible duplicates by query: bug 241056.

Reported using DrKonqi
Comment 1 Unknown 2011-07-26 00:53:02 UTC
Created attachment 62191 [details]
New crash information added by DrKonqi

dolphin (1.6.9) on KDE Platform 4.6.90 (4.7 RC1) using Qt 4.7.3

- What I was doing when the application crashed:

Hitting Ctrl+W also crashed dolphin here.

-- Backtrace (Reduced):
#6  qobject_cast<QWidget*> (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:910
#7  QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7758
#8  0x00007f58a8d5007c in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7782
#9  0x00007f58a8d5007c in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7782
#10 0x00007f58a8d5007c in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7782
Comment 2 Frank Reininghaus 2011-07-27 16:12:29 UTC
Thanks for the bug report! I was unable to reproduce this crash in master. Is the crash 100% reproducible for you? If yes, please describe exactly what you do after opening Dolphin to get the crash.
Comment 3 Marcel Partap 2011-08-22 13:21:57 UTC
Created attachment 63053 [details]
New crash information added by DrKonqi

konqueror (4.7.41 (4.7.41 (KDE 4.8 >= 20110807)) on KDE Platform 4.7.41 (4.7.41 (KDE 4.8 >= 20110807) using Qt 4.8.0

Konqueror has become CRASHY recently. Is it the new native flash plugin? Qt4.8? Solar wind fluctuations? El nino?

-- Backtrace (Reduced):
#6  qobject_cast<QWidget*> (o=0x8cf420) at ../../src/gui/kernel/qwidget.h:922
#7  QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7845
#8  0x00007fb30e509ecd in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7869
#9  0x00007fb30e509ecd in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7869
#10 0x00007fb30e509ecd in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7869
Comment 4 Jekyll Wu 2011-09-22 11:06:20 UTC
*** Bug 282172 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2011-09-22 12:37:22 UTC
*** Bug 281536 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2011-09-22 12:38:06 UTC
*** Bug 281651 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2011-09-22 18:07:06 UTC
*** Bug 281055 has been marked as a duplicate of this bug. ***
Comment 8 Jekyll Wu 2011-09-22 18:13:30 UTC
*** Bug 280609 has been marked as a duplicate of this bug. ***
Comment 9 Mirza 2011-09-25 10:13:45 UTC
Created attachment 63946 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.2

- What I was doing when the application crashed:
Browsing files on mounted smbfs in a split mode. When i tried to close split mode dolphin crashed.

-- Backtrace (Reduced):
#7  qobject_cast<QWidget*> (this=0x97a52d8, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:910
#8  QWidgetPrivate::hideChildren (this=0x97a52d8, spontaneous=false) at kernel/qwidget.cpp:7758
#9  0x06312524 in QWidgetPrivate::hideChildren (this=0x979a850, spontaneous=false) at kernel/qwidget.cpp:7782
#10 0x06312524 in QWidgetPrivate::hideChildren (this=0x95fd718, spontaneous=false) at kernel/qwidget.cpp:7782
#11 0x06312762 in QWidgetPrivate::hide_helper (this=0x95fd718) at kernel/qwidget.cpp:7526
Comment 10 H.H. 2011-10-03 14:18:58 UTC
Created attachment 64167 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.1 (4.7.1) "release 8" using Qt 4.7.4

- What I was doing when the application crashed:

I clicked ctrl+T for new tab. I hope this crash info is usable, I use kde-4.7.1

-- Backtrace (Reduced):
#6  0x00007f99f1eae414 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQtGui.so.4
#7  0x00007f99f1eae44e in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQtGui.so.4
#8  0x00007f99f1eae44e in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQtGui.so.4
#9  0x00007f99f1eae44e in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQtGui.so.4
#10 0x00007f99f1eae61d in QWidgetPrivate::hide_helper() () from /usr/lib64/libQtGui.so.4
Comment 11 nichtbekannt 2011-10-23 09:10:40 UTC
Created attachment 64803 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.4

- What I was doing when the application crashed:

I had 2 tabs open and tried to search for a certain type of file . As i hit Enter , it crashed . Firefox was the only other application running .

-- Backtrace (Reduced):
#7  qobject_cast<QWidget*> (o=0xa152950) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:910
#8  QWidgetPrivate::hideChildren (this=0x9817618, spontaneous=false) at kernel/qwidget.cpp:7794
#9  0xb61d6552 in QWidgetPrivate::hide_helper (this=0x9817618) at kernel/qwidget.cpp:7562
#10 0xb61dfc50 in QWidget::setVisible (this=0x919f350, visible=false) at kernel/qwidget.cpp:7734
#11 0xb61d5a00 in hide (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:491
Comment 12 Florian Eßer 2011-11-08 13:38:57 UTC
Created attachment 65389 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:
Pressing Ctrl+T to open a new Tab.

- Reproducability
This happenes sometimes (seldom), but not always. The bug is around for quite a long time now, updating to KDE SC 4.7.3 did not help.

I still haven't found any pattern behind it (number of already opened tabs) and it seems to be unrelated to the directory I'm browsing. (Although a lot of them are NTFS ones, mount says "/dev/sdb1 on /media/windows type fuseblk")

I do not know if the bug is related to how you open a new tab, since I always use the Ctrl+T hotkey.

-- Backtrace (Reduced):
#6  qobject_cast<QWidget*> (o=0x2119c40) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:910
#7  QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7794
#8  0x00007f4937ff544c in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7818
#9  0x00007f4937ff544c in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7818
#10 0x00007f4937ff544c in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7818
Comment 13 Avihay 2011-11-14 10:28:36 UTC
Created attachment 65650 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:
I was pressing ctrl-tab several times in a row. I'm not sure if it crashed after I reached the last tab or the first tab again, but I am now able to reproduce with 100% success (5 out of 5 attempts).
From the six dolphin windows I had from the session load, three crashed by alt-tabbing, and three don't crash, one of them with four tabs open.

Method:
	open a new dolphin window, hit ctrl+t three times, then hit ctrl+tab two times.
Result:
	three new tabs are open with the focus on the last tab, than focus transits to the first tab, and then to the second, immediately followed by a crash.

Hope this helps.

-- Backtrace (Reduced):
#7  qobject_cast<QWidget*> (o=0xa1a52a0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:910
#8  QWidgetPrivate::hideChildren (this=0xa03ff30, spontaneous=false) at kernel/qwidget.cpp:7794
#9  0x013af352 in QWidgetPrivate::hideChildren (this=0xa027a18, spontaneous=false) at kernel/qwidget.cpp:7818
#10 0x013af352 in QWidgetPrivate::hideChildren (this=0x9ff0a20, spontaneous=false) at kernel/qwidget.cpp:7818
#11 0x013af352 in QWidgetPrivate::hideChildren (this=0x9fd2a28, spontaneous=false) at kernel/qwidget.cpp:7818
Comment 14 Erick Osorio 2011-11-20 07:17:06 UTC
Created attachment 65864 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.3 (4.7.3) "release 10" using Qt 4.7.4

- What I was doing when the application crashed:

i hit "ctrl + t" sometimes happens, but not alwasy.

-- Backtrace (Reduced):
#6  qobject_cast<QWidget*> (o=0x82a5e00) at ../../src/gui/kernel/qwidget.h:910
#7  QWidgetPrivate::hideChildren (this=0x82c8940, spontaneous=false) at kernel/qwidget.cpp:7794
#8  0xb63664e2 in QWidgetPrivate::hideChildren (this=0x821a1f8, spontaneous=false) at kernel/qwidget.cpp:7818
#9  0xb63664e2 in QWidgetPrivate::hideChildren (this=0x826fc18, spontaneous=false) at kernel/qwidget.cpp:7818
#10 0xb63664e2 in QWidgetPrivate::hideChildren (this=0x82a3000, spontaneous=false) at kernel/qwidget.cpp:7818
Comment 15 Lamarque V. Souza 2011-12-02 23:55:55 UTC
*** Bug 288081 has been marked as a duplicate of this bug. ***
Comment 16 Lamarque V. Souza 2011-12-02 23:56:02 UTC
*** Bug 288080 has been marked as a duplicate of this bug. ***
Comment 17 Jekyll Wu 2011-12-04 18:34:23 UTC
*** Bug 287899 has been marked as a duplicate of this bug. ***
Comment 18 Myriam Schweingruber 2011-12-08 10:04:35 UTC
Confirmed by duplicates.
Comment 19 Myriam Schweingruber 2011-12-08 10:08:27 UTC
*** Bug 288304 has been marked as a duplicate of this bug. ***
Comment 20 Jekyll Wu 2011-12-08 16:24:04 UTC
*** Bug 288358 has been marked as a duplicate of this bug. ***
Comment 21 Peter Penz 2011-12-08 17:05:21 UTC
@all: Thanks for your reports. I could yet not reproduce the crash with KDE 4.7.x but yesterday I observed the issue a few times with the current master version - still I did not find a reliable way to reproduce it and could not debug it yet (the backtrace in this case does not really help to give a hint about the root-cause)... It would be very helpful if you could mail me the following information (or post it here):
- Did you enable tooltips?
- Did you enable the Information Panel?
- Does it only happen when you press Ctrl+Tab or also when clicking with the mouse on a tab?

I'm surprised that corresponding to comment 3 also Konqueror crashes, because Konqueror does not use the same tab-switch code as Dolphin... Anyhow: If somebody found a reliable way to trigger this issue please let me know  (it would already be great to e.g. get a crash in 1 out of 10 cases). Thanks!
Comment 22 H.H. 2011-12-08 17:39:17 UTC
@Peter Penz: I experienced the crash often, and to your questions:
- I have tooltips enabled
- I don't have the (and never had) the information panel enabled
- I think I also had this crash in other tab related actions although I am not sure
Comment 23 Florian Eßer 2011-12-08 17:47:00 UTC
@Peter Penz:
- yes, I have tooltips enabled.
- yes, I have the Information Panel enabled.
- I always change tabs by clicking on them, never by Crtl+Tab. I cannot remember any crashes while changing to an already open tab, only when opening new ones using Crtl+T.
Comment 24 H.H. 2011-12-08 17:50:36 UTC
@Peter Penz: I did some more extensive testing. I could reproduce the crash every 5-10 CTRL-T and CTRL-W actions, right after dolphin start. I have the feeling, if I start tabbing earlier after start, reproducing is easier (my pc is a rather slow intel dual core 1.2 ghz laptop).

After that testing I disabled tooltips. After that I could not reproduce this anymore so far... (but please don't conclude to remove tooltips in dolphin ;-))

My dolphin panel config: 
left: folder-tree-view
right: detailed-flat-view without preview-icons enabled
Comment 25 Dawit Alemayehu 2011-12-13 23:46:23 UTC
(In reply to comment #21)
> I'm surprised that corresponding to comment 3 also Konqueror crashes, because
> Konqueror does not use the same tab-switch code as Dolphin... Anyhow: If
> somebody found a reliable way to trigger this issue please let me know  (it
> would already be great to e.g. get a crash in 1 out of 10 cases). Thanks!

Do not bother. This is neither a Konqueror nor a Dolphin bug. It is a general crash caused by a conflict in the way KDE and Qt handle shortcut keys as mentioned in bug 287238. The actual analysis of this issue was done almost 7 years ago in 2004. See http://lists.kde.org/?l=kde-devel&m=110425131804283.
Comment 26 H.H. 2011-12-15 19:15:37 UTC
@Peter Penz: Because the crash is very good to reproduce on my pc: If you like me to place some debug outputs on some places in dolphin code, to get a better understanding, where the crash exactly happens, I could include those for me and test.. (but only for kde-4.7 branch). The form is not important for me (don't have to be a diff).
Comment 27 Peter Penz 2012-01-10 05:21:22 UTC
*** Bug 291113 has been marked as a duplicate of this bug. ***
Comment 28 Peter Penz 2012-01-10 05:21:33 UTC
*** Bug 290897 has been marked as a duplicate of this bug. ***
Comment 29 Mathias Tillman 2012-01-31 22:27:27 UTC
Created attachment 68380 [details]
New crash information added by DrKonqi

dolphin (2.0) on KDE Platform 4.8.00 (4.8.0 using Qt 4.7.4

- What I was doing when the application crashed:
Press Ctrl+t to open a new tab while hovering over a file (and as such its tooltip is displayed). I've found that this is 100% reproducible if and only if the tooltip is showing.

-- Backtrace (Reduced):
#6  qobject_cast<QWidget*> (o=0x26aa900) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:910
#7  QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7794
#8  0x00007f4400a6e49c in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7818
#9  0x00007f4400a6e49c in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7818
#10 0x00007f4400a6e64e in QWidgetPrivate::hide_helper (this=0x1fe9650) at kernel/qwidget.cpp:7562
Comment 30 H.H. 2012-01-31 22:44:10 UTC
Created attachment 68381 [details]
New crash information added by DrKonqi

dolphin (2.0) on KDE Platform 4.8.00 (4.8.0 "release 1" using Qt 4.8.0

I can reproduce the crash 50% of the time, when clicking ctrl-t while hovering a file displaying a tooltip (using dolphin/kde-4.8 with an unrelated patch)

-- Backtrace (Reduced):
#6  qobject_cast<QWidget*> (this=<value optimized out>, spontaneous=false) at ../../src/gui/kernel/qwidget.h:922
#7  QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7860
#8  0x00007f67674d6d7e in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7884
#9  0x00007f67674d6d7e in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7884
#10 0x00007f67674d6f4d in QWidgetPrivate::hide_helper (this=0x1276990) at kernel/qwidget.cpp:7628
Comment 31 Mathias Tillman 2012-02-01 00:24:51 UTC
Created attachment 68385 [details]
Potential crash fix

Potential crash fix when either using ctrl+t or ctrl+tab while hovering over an item (it's working for me at least).

The patch needs a lot of work, but should give you an idea of what needs fixing.
Comment 32 Peter Penz 2012-02-01 07:51:25 UTC
Thanks a lot Mathias for your patch! I can now reproduce the issue on my system with your description from comment 29 and will commit a patch for 4.8.1 based on your investigations.
Comment 33 Peter Penz 2012-02-02 15:02:53 UTC
Git commit d80f35e634aba07281f4339125e8d0a51cd07eda by Peter Penz.
Committed on 02/02/2012 at 15:10.
Pushed by ppenz into branch 'KDE/4.8'.

Fix crash when opening a tab during a tooltip is shown

Thanks a lot to Mathias Tillman for finding a 100 % reliable way
how to reproduce the issue and for the initial patch!
FIXED-IN: 4.8.1

M  +6    -0    dolphin/src/views/dolphinview.cpp
M  +3    -0    dolphin/src/views/dolphinview.h
M  +15   -19   dolphin/src/views/tooltips/tooltipmanager.cpp
M  +1    -5    dolphin/src/views/tooltips/tooltipmanager.h

http://commits.kde.org/kde-baseapps/d80f35e634aba07281f4339125e8d0a51cd07eda
Comment 34 Peter Penz 2012-02-02 15:03:38 UTC
Git commit a68a2a757ae9160007f9e5bde0c113275af66251 by Peter Penz.
Committed on 02/02/2012 at 15:10.
Pushed by ppenz into branch 'master'.

Fix crash when opening a tab during a tooltip is shown

Thanks a lot to Mathias Tillman for finding a 100 % reliable way
how to reproduce the issue and for the initial patch!
FIXED-IN: 4.8.1

M  +6    -0    dolphin/src/views/dolphinview.cpp
M  +3    -0    dolphin/src/views/dolphinview.h
M  +15   -19   dolphin/src/views/tooltips/tooltipmanager.cpp
M  +1    -5    dolphin/src/views/tooltips/tooltipmanager.h

http://commits.kde.org/kde-baseapps/a68a2a757ae9160007f9e5bde0c113275af66251
Comment 35 Frank Reininghaus 2012-02-07 19:52:01 UTC
*** Bug 293462 has been marked as a duplicate of this bug. ***
Comment 36 João Vidal da Silva 2012-02-10 12:55:49 UTC
*** Bug 289239 has been marked as a duplicate of this bug. ***
Comment 37 Dawit Alemayehu 2012-02-18 07:10:17 UTC
*** Bug 294225 has been marked as a duplicate of this bug. ***
Comment 38 Peter Penz 2012-02-20 14:57:30 UTC
*** Bug 294463 has been marked as a duplicate of this bug. ***
Comment 39 Peter Penz 2012-02-20 14:57:34 UTC
*** Bug 294496 has been marked as a duplicate of this bug. ***