Bug 348370

Summary: Crashes if sound notification is enabled for "Bell in non-visible session"
Product: [Applications] konsole Reporter: Arjun AK <arjunak234>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: mklapetek, paolo.pedroni
Priority: NOR Keywords: drkonqi
Version: 15.04.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arjun AK 2015-05-28 15:58:28 UTC
Application: konsole (15.04.0)

Qt Version: 5.4.1
Operating System: Linux 4.0.4-301.fc22.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Konsoles crashes if "Bell in non-visible session" is enabled and set to play a sound.

Steps to reproduce:
1. enable "Play a sound" for "Bell in non-visible session"
2. run "ping localhost -Aa"
3. Minimize the window and wait for it to crash

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f5773324900 (LWP 6508))]

Thread 9 (Thread 0x7f57548f0700 (LWP 6509)):
#0  0x00007f576b4c066d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f576851b182 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f57548efbc0) at /usr/include/bits/poll2.h:46
#2  0x00007f576851b182 in _xcb_conn_wait (c=c@entry=0x1143950, cond=cond@entry=0x1143990, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f576851cd07 in xcb_wait_for_event (c=0x1143950) at xcb_in.c:623
#4  0x00007f57564385e9 in QXcbEventReader::run() (this=0x113f250) at qxcbconnection.cpp:1108
#5  0x00007f576c0caede in QThreadPrivate::start(void*) (arg=0x113f250) at thread/qthread_unix.cpp:337
#6  0x00007f576941e555 in start_thread (arg=0x7f57548f0700) at pthread_create.c:333
#7  0x00007f576b4cbf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f574aec9700 (LWP 6510)):
#0  0x00007f576b4c23d3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f576c23e4af in QProcessManager::run() (this=0x116f0d0) at io/qprocess_unix.cpp:264
#2  0x00007f576c0caede in QThreadPrivate::start(void*) (arg=0x116f0d0) at thread/qthread_unix.cpp:337
#3  0x00007f576941e555 in start_thread (arg=0x7f574aec9700) at pthread_create.c:333
#4  0x00007f576b4cbf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f573fffe700 (LWP 7519)):
#0  0x00007f576b4c6239 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f5766f4602f in g_cond_wait (cond=cond@entry=0x7f57140b1d10, mutex=mutex@entry=0x7f57140b1cc8) at gthread-posix.c:1395
#2  0x00007f5749ef0c9d in gst_task_func (task=0x7f57140b1cb0 [GstTask]) at gsttask.c:301
#3  0x00007f5766f28a3e in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
#4  0x00007f5766f280a5 in g_thread_proxy (data=0x7f56f810fb20) at gthread.c:764
#5  0x00007f576941e555 in start_thread (arg=0x7f573fffe700) at pthread_create.c:333
#6  0x00007f576b4cbf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f57337fd700 (LWP 7521)):
#0  0x00007f576b4c6239 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f5766f4602f in g_cond_wait (cond=cond@entry=0x7f57380362a8, mutex=mutex@entry=0x7f5738036298) at gthread-posix.c:1395
#2  0x00007f5749c3ec82 in _gst_data_queue_wait_non_empty (queue=queue@entry=0x7f57380362f0 [GstDataQueue]) at gstdataqueue.c:552
#3  0x00007f5749c3ff90 in gst_data_queue_pop (queue=0x7f57380362f0 [GstDataQueue], item=item@entry=0x7f57337fcc40) at gstdataqueue.c:594
#4  0x00007f573ef38291 in gst_multi_queue_loop (pad=<optimized out>) at gstmultiqueue.c:1364
#5  0x00007f5749ef0b01 in gst_task_func (task=0x7f57140b1170 [GstTask]) at gsttask.c:316
#6  0x00007f5766f28a3e in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
#7  0x00007f5766f280a5 in g_thread_proxy (data=0x7f5724060720) at gthread.c:764
#8  0x00007f576941e555 in start_thread (arg=0x7f57337fd700) at pthread_create.c:333
#9  0x00007f576b4cbf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f5732ffc700 (LWP 7546)):
#0  0x00007f576b4c6239 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f5766f4614a in g_cond_wait_until (cond=cond@entry=0x149e8a8, mutex=mutex@entry=0x149e8a0, end_time=end_time@entry=10039549989) at gthread-posix.c:1442
#2  0x00007f5766ed5a29 in g_async_queue_pop_intern_unlocked (queue=queue@entry=0x149e8a0, wait=wait@entry=1, end_time=end_time@entry=10039549989) at gasyncqueue.c:422
#3  0x00007f5766ed604b in g_async_queue_timeout_pop (queue=0x149e8a0, timeout=timeout@entry=15000000) at gasyncqueue.c:543
#4  0x00007f5766f28afa in g_thread_pool_thread_proxy () at gthreadpool.c:167
#5  0x00007f5766f28afa in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:364
#6  0x00007f5766f280a5 in g_thread_proxy (data=0x7f57180be9e0) at gthread.c:764
#7  0x00007f576941e555 in start_thread (arg=0x7f5732ffc700) at pthread_create.c:333
#8  0x00007f576b4cbf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f5731ffa700 (LWP 7550)):
#0  0x00007f576b4c6239 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f5766f4602f in g_cond_wait (cond=cond@entry=0x7f57000c8d10, mutex=mutex@entry=0x7f57000c8cc8) at gthread-posix.c:1395
#2  0x00007f5749ef0c9d in gst_task_func (task=0x7f57000c8cb0 [GstTask]) at gsttask.c:301
#3  0x00007f5766f28a3e in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
#4  0x00007f5766f280a5 in g_thread_proxy (data=0x1e5a190) at gthread.c:764
#5  0x00007f576941e555 in start_thread (arg=0x7f5731ffa700) at pthread_create.c:333
#6  0x00007f576b4cbf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f57327fb700 (LWP 7551)):
#0  0x00007f576b4c6239 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f5766f4602f in g_cond_wait (cond=cond@entry=0x7f57000c80b0, mutex=mutex@entry=0x7f57000c8068) at gthread-posix.c:1395
#2  0x00007f5749ef0c9d in gst_task_func (task=0x7f57000c8050 [GstTask]) at gsttask.c:301
#3  0x00007f5766f28a3e in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
#4  0x00007f5766f280a5 in g_thread_proxy (data=0x1e5a050) at gthread.c:764
#5  0x00007f576941e555 in start_thread (arg=0x7f57327fb700) at pthread_create.c:333
#6  0x00007f576b4cbf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f5733ffe700 (LWP 7552)):
#0  0x00007f576b4c6239 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f5766f4602f in g_cond_wait (cond=cond@entry=0x7f57140b1e30, mutex=mutex@entry=0x7f57140b1de8) at gthread-posix.c:1395
#2  0x00007f5749ef0c9d in gst_task_func (task=0x7f57140b1dd0 [GstTask]) at gsttask.c:301
#3  0x00007f5766f28a3e in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
#4  0x00007f5766f280a5 in g_thread_proxy (data=0x7f57040ca8a0) at gthread.c:764
#5  0x00007f576941e555 in start_thread (arg=0x7f5733ffe700) at pthread_create.c:333
#6  0x00007f576b4cbf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f5773324900 (LWP 6508)):
[KCrash Handler]
#6  0x00007f57716ca2f0 in KNotification::flags() const (this=this@entry=0x0) at ../../src/knotification.cpp:232
#7  0x00007f57716efeb3 in NotifyByAudio::onAudioFinished() (this=0x1466970) at ../../src/notifybyaudio.cpp:141
#8  0x00007f57716f6695 in NotifyByAudio::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x1466970, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7fffe2369d80) at moc_notifybyaudio.cpp:82
#9  0x00007f576c2dac46 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x15cb100, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3716
#10 0x00007f576c2db447 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f5769b576e0 <Phonon::MediaObject::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3582
#11 0x00007f576991cc73 in Phonon::MediaObject::finished() (this=<optimized out>) at /usr/src/debug/phonon-4.8.3/x86_64-redhat-linux-gnu-Qt5/phonon/moc_mediaobject.cpp:421
#12 0x00007f576991f21d in Phonon::MediaObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/phonon-4.8.3/x86_64-redhat-linux-gnu-Qt5/phonon/moc_mediaobject.cpp:182
#13 0x00007f576c2dbb11 in QObject::event(QEvent*) (this=0x15cb100, e=<optimized out>) at kernel/qobject.cpp:1245
#14 0x00007f576cf6b7cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x1131680, receiver=0x15cb100, e=0x1e35900) at kernel/qapplication.cpp:3720
#15 0x00007f576cf70e70 in QApplication::notify(QObject*, QEvent*) (this=0x7fffe236a460, receiver=0x15cb100, e=0x1e35900) at kernel/qapplication.cpp:3503
#16 0x00007f576c2aa24b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffe236a460, receiver=0x15cb100, event=event@entry=0x1e35900) at kernel/qcoreapplication.cpp:935
#17 0x00007f576c2ac387 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x1e35900, receiver=<optimized out>) at kernel/qcoreapplication.h:228
#18 0x00007f576c2ac387 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x10dcae0) at kernel/qcoreapplication.cpp:1552
#19 0x00007f576c2ac8b8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#20 0x00007f576c301333 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x1163be0) at kernel/qeventdispatcher_glib.cpp:271
#21 0x00007f5766f00a8a in g_main_context_dispatch (context=0x7f57500016f0) at gmain.c:3122
#22 0x00007f5766f00a8a in g_main_context_dispatch (context=context@entry=0x7f57500016f0) at gmain.c:3737
#23 0x00007f5766f00e20 in g_main_context_iterate (context=context@entry=0x7f57500016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
#24 0x00007f5766f00ecc in g_main_context_iteration (context=0x7f57500016f0, may_block=1) at gmain.c:3869
#25 0x00007f576c30173f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1165040, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#26 0x00007f576c2a7a8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffe236a320, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#27 0x00007f576c2af5fc in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#28 0x00007f576c7c0a3c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1507
#29 0x00007f576cf67c95 in QApplication::exec() () at kernel/qapplication.cpp:2956
#30 0x00007f5772f9eb89 in kdemain(int, char**) (argc=1, argv=0x7fffe236a5a8) at ../../src/main.cpp:90
#31 0x00007f576b3ea790 in __libc_start_main (main=0x400a60 <main(int, char**)>, argc=1, argv=0x7fffe236a5a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe236a598) at libc-start.c:289
#32 0x0000000000400a99 in _start ()

Reported using DrKonqi
Comment 1 Martin Klapetek 2015-07-13 18:13:35 UTC

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