Bug 298337

Summary: Crash with split view with terminal open
Product: [Applications] konsole Reporter: Arne Babenhauserheide <arne_bab>
Component: kpartAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED LATER    
Severity: crash CC: jlmoya, voxadam
Priority: NOR    
Version: 2.8.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arne Babenhauserheide 2012-04-18 08:03:48 UTC
Application: dolphin (2.0)
KDE Platform Version: 4.8.2 (4.8.2) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.0.6-gentoo x86_64
Distribution (Platform): Gentoo Packages

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

I switched from one side of the split view (F3) to the other with the terminal open.

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

Thread 2 (Thread 0x7f06f332e700 (LWP 16555)):
#0  0x00007f07067efc93 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f06feb77960 in g_main_context_poll (n_fds=<optimized out>, fds=<optimized out>, priority=<optimized out>, timeout=<optimized out>, context=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0x7f06ec0009a0, block=<optimized out>, dispatch=<optimized out>, self=<optimized out>) at gmain.c:3084
#3  0x00007f06feb77d40 in g_main_context_iteration (context=0x7f06ec0009a0, may_block=1) at gmain.c:3152
#4  0x00007f0702aa0bce in QEventDispatcherGlib::processEvents (this=0x7f06ec0008b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f0702a73732 in QEventLoop::processEvents (this=<optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f0702a73afd in QEventLoop::exec (this=0x7f06f332dde0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f0702980d92 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f0702a535e0 in QInotifyFileSystemWatcherEngine::run (this=0x7a7a50) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f0702983d45 in QThreadPrivate::start (arg=0x7a7a50) at thread/qthread_unix.cpp:331
#10 0x00007f06ffabccba in start_thread (arg=<optimized out>) at pthread_create.c:301
#11 0x00007f07067f8a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f0706ef7760 (LWP 16553)):
[KCrash Handler]
#6  Konsole::Session::updateForegroundProcessInfo (this=0x0) at /var/tmp/portage/kde-base/konsole-4.8.2/work/konsole-4.8.2/src/Session.cpp:978
#7  0x00007f06f2243fc9 in Konsole::Session::isForegroundProcessActive (this=0x0) at /var/tmp/portage/kde-base/konsole-4.8.2/work/konsole-4.8.2/src/Session.cpp:1385
#8  0x00007f06f24fe4d1 in Konsole::Part::foregroundProcessId (this=0xb75f70) at /var/tmp/portage/kde-base/konsole-4.8.2/work/konsole-4.8.2/src/Part.cpp:185
#9  0x00007f0706b20444 in TerminalPanel::urlChanged (this=0x8a1db0) at /var/tmp/portage/kde-base/dolphin-4.8.2/work/dolphin-4.8.2/dolphin/src/panels/terminal/terminalpanel.cpp:74
#10 0x00007f0706af9ea3 in Panel::setUrl (this=0x8a1db0, url=...) at /var/tmp/portage/kde-base/dolphin-4.8.2/work/dolphin-4.8.2/dolphin/src/panels/panel.cpp:68
#11 0x00007f0706af9f13 in Panel::qt_metacall (this=0x8a1db0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffde2f3750) at /var/tmp/portage/kde-base/dolphin-4.8.2/work/dolphin-4.8.2_build/dolphin/src/panel.moc:72
#12 0x00007f0706b20555 in TerminalPanel::qt_metacall (this=0x0, _c=9051608, _id=11633665, _a=0xb18301) at /var/tmp/portage/kde-base/dolphin-4.8.2/work/dolphin-4.8.2_build/dolphin/src/terminalpanel.moc:74
#13 0x00007f0702a8c7a7 in QMetaObject::activate (sender=0x77e140, m=<optimized out>, local_signal_index=<optimized out>, argv=0xb18301) at kernel/qobject.cpp:3278
#14 0x00007f0706ad9d05 in DolphinMainWindow::urlChanged (this=0x0, _t1=<optimized out>) at /var/tmp/portage/kde-base/dolphin-4.8.2/work/dolphin-4.8.2_build/dolphin/src/dolphinmainwindow.moc:329
#15 0x00007f0706ae10e3 in DolphinMainWindow::setActiveViewContainer (this=0x77e140, viewContainer=<optimized out>) at /var/tmp/portage/kde-base/dolphin-4.8.2/work/dolphin-4.8.2/dolphin/src/dolphinmainwindow.cpp:1573
#16 0x00007f0706ae921d in DolphinMainWindow::qt_metacall (this=0x77e140, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffde2f38f0) at /var/tmp/portage/kde-base/dolphin-4.8.2/work/dolphin-4.8.2_build/dolphin/src/dolphinmainwindow.moc:268
#17 0x00007f0702a8c7a7 in QMetaObject::activate (sender=0xc33eb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0xb18301) at kernel/qobject.cpp:3278
#18 0x00007f0705b450ae in DolphinView::setActive (this=0xc33eb0, active=true) at /var/tmp/portage/kde-base/dolphin-4.8.2/work/dolphin-4.8.2/dolphin/src/views/dolphinview.cpp:218
#19 0x00007f0705b451c5 in DolphinView::eventFilter (this=0x0, watched=0xc34a60, event=<optimized out>) at /var/tmp/portage/kde-base/dolphin-4.8.2/work/dolphin-4.8.2/dolphin/src/views/dolphinview.cpp:677
#20 0x00007f0702a7423e in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0xc34a60, event=0x7fffde2f3f60) at kernel/qcoreapplication.cpp:902
#21 0x00007f070348128c in QApplicationPrivate::notify_helper (this=0x626e10, receiver=0xc34a60, e=0x7fffde2f3f60) at kernel/qapplication.cpp:4477
#22 0x00007f070348674d in QApplication::notify (this=0x7fffde2f53f0, receiver=0xc34a60, e=0x7fffde2f3f60) at kernel/qapplication.cpp:4360
#23 0x00007f0704209748 in KApplication::notify (this=0x7fffde2f53f0, receiver=0xc34a60, event=0x7fffde2f3f60) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#24 0x00007f0702a749eb in QCoreApplication::notifyInternal (this=0x7fffde2f53f0, receiver=0xc34a60, event=0x7fffde2f3f60) at kernel/qcoreapplication.cpp:787
#25 0x00007f0703484b26 in QApplicationPrivate::setFocusWidget (focus=0xc34a60, reason=Qt::MouseFocusReason) at kernel/qapplication.cpp:2256
#26 0x00007f07034d28fa in QWidget::setFocus (this=0xc4e940, reason=Qt::MouseFocusReason) at kernel/qwidget.cpp:6391
#27 0x00007f07034884b6 in QApplication::notify (this=0x7fffde2f53f0, receiver=0xc4e940, e=0x7fffde2f4890) at kernel/qapplication.cpp:3999
#28 0x00007f0704209748 in KApplication::notify (this=0x7fffde2f53f0, receiver=0xc4e940, event=0x7fffde2f4890) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#29 0x00007f0702a749eb in QCoreApplication::notifyInternal (this=0x7fffde2f53f0, receiver=0xc4e940, event=0x7fffde2f4890) at kernel/qcoreapplication.cpp:787
#30 0x00007f07034857a1 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0xc4e940, event=0x7fffde2f4890, alienWidget=0xc4e940, nativeWidget=<optimized out>, buttonDown=<optimized out>, lastMouseReceiver=<optimized out>, spontaneous=true) at kernel/qapplication.cpp:3141
#32 0x00007f070350b103 in QETWidget::translateMouseEvent (this=0x77e140, event=<optimized out>) at kernel/qapplication_x11.cpp:4464
#33 0x00007f070350a16f in QApplication::x11ProcessEvent (this=<optimized out>, event=0x7fffde2f5010) at kernel/qapplication_x11.cpp:3590
#34 0x00007f0703534442 in x11EventSourceDispatch (s=0x62a750, callback=<optimized out>, user_data=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f06feb73fb9 in g_main_dispatch (context=<optimized out>) at gmain.c:2441
#36 g_main_context_dispatch (context=0x629400) at gmain.c:3011
#37 0x00007f06feb77c40 in g_main_context_iterate (context=0x629400, block=<optimized out>, dispatch=<optimized out>, self=<optimized out>) at gmain.c:3089
#38 0x00007f06feb77d40 in g_main_context_iteration (context=0x629400, may_block=1) at gmain.c:3152
#39 0x00007f0702aa0b7e in QEventDispatcherGlib::processEvents (this=0x608db0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007f0703533dc6 in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f0702a73732 in QEventLoop::processEvents (this=<optimized out>, flags=) at kernel/qeventloop.cpp:149
#42 0x00007f0702a73afd in QEventLoop::exec (this=0x7fffde2f5340, flags=) at kernel/qeventloop.cpp:201
#43 0x00007f0702a77b7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#44 0x00007f0706af384a in kdemain (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-base/dolphin-4.8.2/work/dolphin-4.8.2/dolphin/src/main.cpp:89
#45 0x00007f070674010c in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffde2f5938) at libc-start.c:226
#46 0x0000000000400789 in _start ()

Reported using DrKonqi
Comment 1 Peter Penz 2012-04-21 19:47:36 UTC
@Jekyll: Might this be an issue in the Konsole-part or is probably Dolphin using the API in an unexpected way?
Comment 2 Jekyll Wu 2012-09-13 02:07:30 UTC
*** Bug 306503 has been marked as a duplicate of this bug. ***
Comment 3 Adam Hunt 2015-10-07 18:36:26 UTC
I'm unable to reproduce this using Konsole 15 on KDE5/KF5.

Recommend close: RESOLVED LATER