Bug 302207 - KNotify crashes on every sound event
Summary: KNotify crashes on every sound event
Status: RESOLVED FIXED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.6-git
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
: 302201 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-19 20:01 UTC by Hrvoje Senjan
Modified: 2012-06-20 06:45 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (31.13 KB, text/plain)
2012-06-19 20:35 UTC, Hrvoje Senjan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hrvoje Senjan 2012-06-19 20:01:53 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.8.90 (4.8.90)
Qt Version: 4.8.2
Operating System: Linux 3.4.0-4-generic x86_64
Distribution: Ubuntu 12.04 LTS

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

After latest upgrade, i have KNotify crashes on every login, and logout. Also if i should get notified of another event KNotify crashes. 
Using KDE 4.9 beta2, qt 4.8.2, and git master of phonon (gstreamer/vlc)

The crash can be reproduced every time.

-- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fde121b9780 (LWP 14039))]

Thread 8 (Thread 0x7fddff0b5700 (LWP 14042)):
#0  0x00007fde0f32eb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fde0c972036 in g_main_context_poll (n_fds=1, fds=0x7fddf8002c00, timeout=-1, context=0x7fddf80009a0, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7fddf80009a0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#3  g_main_context_iterate (context=0x7fddf80009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#4  0x00007fde0c972164 in g_main_context_iteration (context=0x7fddf80009a0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#5  0x00007fde0faaf9e6 in QEventDispatcherGlib::processEvents (this=0x7fddf80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fde0fa7ef22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fde0fa7f177 in QEventLoop::exec (this=0x7fddff0b4dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fde0f97e057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fde0fa5ec2f in QInotifyFileSystemWatcherEngine::run (this=0x21e4920) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fde0f98107b in QThreadPrivate::start (arg=0x21e4920) at thread/qthread_unix.cpp:307
#11 0x00007fde0ce3ee9a in start_thread (arg=0x7fddff0b5700) at pthread_create.c:308
#12 0x00007fde0f33a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fddf3dc7700 (LWP 14112)):
#0  0x00007fde0f32eb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fde0d6cccef in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fde0d6be0fc in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fde0d6be769 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fde0d6be820 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fde0d6ccc9f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fde0a4e1608 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-2.0.so
#7  0x00007fde0ce3ee9a in start_thread (arg=0x7fddf3dc7700) at pthread_create.c:308
#8  0x00007fde0f33a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fddf169a700 (LWP 14113)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fde0c9ad82f in g_cond_wait (cond=0x271be80, mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:746
#2  0x00007fddfdf00f7c in gst_task_func (task=0x271d090) at gsttask.c:312
#3  0x00007fde0c994248 in g_thread_pool_thread_proxy (data=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthreadpool.c:309
#4  0x00007fde0c9939e5 in g_thread_proxy (data=0x26c31e0) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#5  0x00007fde0ce3ee9a in start_thread (arg=0x7fddf169a700) at pthread_create.c:308
#6  0x00007fde0f33a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fddf0e99700 (LWP 14114)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fde0c9ad82f in g_cond_wait (cond=0x7fdddc002180, mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:746
#2  0x00007fddfcd009cb in gst_data_queue_pop (queue=0x7fdddc001890, item=0x7fddf0e98d58) at gstdataqueue.c:502
#3  0x00007fddee27ec44 in gst_multi_queue_loop (pad=<optimized out>) at gstmultiqueue.c:1200
#4  0x00007fddfdf00dcc in gst_task_func (task=0x271d690) at gsttask.c:327
#5  0x00007fde0c994248 in g_thread_pool_thread_proxy (data=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthreadpool.c:309
#6  0x00007fde0c9939e5 in g_thread_proxy (data=0x7fdddc002c00) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#7  0x00007fde0ce3ee9a in start_thread (arg=0x7fddf0e99700) at pthread_create.c:308
#8  0x00007fde0f33a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fddf048c700 (LWP 14115)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fde0c9ad82f in g_cond_wait (cond=0x2676270, mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:746
#2  0x00007fddee282f55 in gst_queue_chain (pad=<optimized out>, buffer=0x7fdddc02c680) at gstqueue.c:1014
#3  0x00007fddfdedabfa in gst_pad_push (pad=0x26ac0f0, buffer=0x7fdddc02c680) at gstpad.c:4710
#4  0x00007fddfdedabfa in gst_pad_push (pad=0x26a3a90, buffer=0x7fdddc02c680) at gstpad.c:4710
#5  0x00007fddee28e118 in gst_tee_do_push (is_list=0, data=0x7fdddc02c680, pad=0x26a3a90, tee=0x24672a0) at gsttee.c:675
#6  gst_tee_handle_data (tee=0x24672a0, data=0x7fdddc02c680, is_list=0) at gsttee.c:754
#7  0x00007fddee28e49f in gst_tee_chain (pad=<optimized out>, buffer=0x7fdddc02c680) at gsttee.c:828
#8  0x00007fddfdedabfa in gst_pad_push (pad=0x26a3610, buffer=0x7fdddc02c680) at gstpad.c:4710
#9  0x00007fddee283deb in gst_queue_push_one (queue=0x269a300) at gstqueue.c:1156
#10 gst_queue_loop (pad=<optimized out>) at gstqueue.c:1264
#11 0x00007fddfdf00dcc in gst_task_func (task=0x271dd90) at gsttask.c:327
#12 0x00007fde0c994248 in g_thread_pool_thread_proxy (data=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthreadpool.c:309
#13 0x00007fde0c9939e5 in g_thread_proxy (data=0x7fddd4005e80) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#14 0x00007fde0ce3ee9a in start_thread (arg=0x7fddf048c700) at pthread_create.c:308
#15 0x00007fde0f33a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fddefc8b700 (LWP 14116)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fde0c9ad82f in g_cond_wait (cond=0x2494200, mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:746
#2  0x00007fddfcce05da in gst_base_sink_wait_preroll (sink=0x2616a30) at gstbasesink.c:2279
#3  0x00007fddf3de7738 in gst_base_audio_sink_render (bsink=0x2616a30, buf=<optimized out>) at gstbaseaudiosink.c:1883
#4  0x00007fddfcce20cb in gst_base_sink_render_object (basesink=0x2616a30, obj_type=<optimized out>, obj=0x7fdddc0295a0, pad=<optimized out>) at gstbasesink.c:3014
#5  0x00007fddfcce47af in gst_base_sink_queue_object_unlocked (basesink=0x2616a30, obj_type=2 '\002', obj=0x7fdddc0295a0, prerollable=<optimized out>, pad=<optimized out>) at gstbasesink.c:3295
#6  0x00007fddfcce4b17 in gst_base_sink_chain_unlocked (basesink=0x2616a30, obj_type=2 '\002', obj=0x7fdddc0295a0, pad=<optimized out>) at gstbasesink.c:3677
#7  0x00007fddfcce4ed8 in gst_base_sink_chain_main (basesink=0x2616a30, pad=0x248e3b0, obj_type=2 '\002', obj=0x7fdddc0295a0) at gstbasesink.c:3715
#8  0x00007fddfdedabfa in gst_pad_push (pad=0x248e6b0, buffer=0x7fdddc0295a0) at gstpad.c:4710
#9  0x00007fddfccf28c8 in gst_base_transform_chain (pad=<optimized out>, buffer=<optimized out>) at gstbasetransform.c:2658
#10 0x00007fddfdedabfa in gst_pad_push (pad=0x248ecb0, buffer=0x7fdddc0295a0) at gstpad.c:4710
#11 0x00007fddfccf28c8 in gst_base_transform_chain (pad=<optimized out>, buffer=<optimized out>) at gstbasetransform.c:2658
#12 0x00007fddfdedabfa in gst_pad_push (pad=0x248e230, buffer=0x7fdddc0295a0) at gstpad.c:4710
#13 0x00007fddfccf28c8 in gst_base_transform_chain (pad=<optimized out>, buffer=<optimized out>) at gstbasetransform.c:2658
#14 0x00007fddfdedabfa in gst_pad_push (pad=0x248e9b0, buffer=0x7fdddc0295a0) at gstpad.c:4710
#15 0x00007fddee283deb in gst_queue_push_one (queue=0x269a070) at gstqueue.c:1156
#16 gst_queue_loop (pad=<optimized out>) at gstqueue.c:1264
#17 0x00007fddfdf00dcc in gst_task_func (task=0x271dc90) at gsttask.c:327
#18 0x00007fde0c994248 in g_thread_pool_thread_proxy (data=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthreadpool.c:309
#19 0x00007fde0c9939e5 in g_thread_proxy (data=0x7fddd4005ed0) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#20 0x00007fde0ce3ee9a in start_thread (arg=0x7fddefc8b700) at pthread_create.c:308
#21 0x00007fde0f33a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fddef48a700 (LWP 14117)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fde0c9ad82f in g_cond_wait (cond=0x26ae920, mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:746
#2  0x00007fddee282f55 in gst_queue_chain (pad=<optimized out>, buffer=0x7fdddc023e70) at gstqueue.c:1014
#3  0x00007fddfdedabfa in gst_pad_push (pad=0x26ac290, buffer=0x7fdddc023e70) at gstpad.c:4710
#4  0x00007fddfdedabfa in gst_pad_push (pad=0x7fddd4004370, buffer=0x7fdddc023e70) at gstpad.c:4710
#5  0x00007fddfdedabfa in gst_pad_push (pad=0x7fddd4007dd0, buffer=0x7fdddc023e70) at gstpad.c:4710
#6  0x00007fddfccf28c8 in gst_base_transform_chain (pad=<optimized out>, buffer=<optimized out>) at gstbasetransform.c:2658
#7  0x00007fddfdedabfa in gst_pad_push (pad=0x7fddd4007ad0, buffer=0x7fdddc023e70) at gstpad.c:4710
#8  0x00007fddfccf28c8 in gst_base_transform_chain (pad=<optimized out>, buffer=<optimized out>) at gstbasetransform.c:2658
#9  0x00007fddfdedabfa in gst_pad_push (pad=0x7fdddc014860, buffer=0x7fdddc023e70) at gstpad.c:4710
#10 0x00007fddfdedabfa in gst_pad_push (pad=0x7fddd40071d0, buffer=0x7fdddc023e70) at gstpad.c:4710
#11 0x00007fddee283deb in gst_queue_push_one (queue=0x269aab0) at gstqueue.c:1156
#12 gst_queue_loop (pad=<optimized out>) at gstqueue.c:1264
#13 0x00007fddfdf00dcc in gst_task_func (task=0x271de90) at gsttask.c:327
#14 0x00007fde0c994248 in g_thread_pool_thread_proxy (data=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthreadpool.c:309
#15 0x00007fde0c9939e5 in g_thread_proxy (data=0x7fddd4005f20) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#16 0x00007fde0ce3ee9a in start_thread (arg=0x7fddef48a700) at pthread_create.c:308
#17 0x00007fde0f33a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fde121b9780 (LWP 14039)):
[KCrash Handler]
#6  0x00007fde11736c73 in sourceQueued (this=<optimized out>) at ../../phonon/statesvalidator_p.h:42
#7  Phonon::MediaObjectPrivate::_k_aboutToFinish (this=0x2233450) at ../../phonon/mediaobject.cpp:604
#8  0x00007fde0fa99a06 in QObject::event (this=0x22173f0, e=<optimized out>) at kernel/qobject.cpp:1195
#9  0x00007fde106f87b4 in notify_helper (e=0x7fddd4015b00, receiver=0x22173f0, this=0x20123b0) at kernel/qapplication.cpp:4556
#10 QApplicationPrivate::notify_helper (this=0x20123b0, receiver=0x22173f0, e=0x7fddd4015b00) at kernel/qapplication.cpp:4528
#11 0x00007fde106fd583 in QApplication::notify (this=0x7ffffe808310, receiver=0x22173f0, e=0x7fddd4015b00) at kernel/qapplication.cpp:4417
#12 0x00007fde11ba69f6 in KApplication::notify (this=0x7ffffe808310, receiver=0x22173f0, event=0x7fddd4015b00) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007fde0fa803ec in QCoreApplication::notifyInternal (this=0x7ffffe808310, receiver=0x22173f0, event=0x7fddd4015b00) at kernel/qcoreapplication.cpp:915
#14 0x00007fde0fa841ca in sendEvent (event=0x7fddd4015b00, receiver=0x22173f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1fe42b0) at kernel/qcoreapplication.cpp:1539
#16 0x00007fde0faaf553 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#17 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#18 0x00007fde0c971d53 in g_main_dispatch (context=0x2012170) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#19 g_main_context_dispatch (context=0x2012170) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#20 0x00007fde0c9720a0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x2012170, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#21 g_main_context_iterate (context=0x2012170, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#22 0x00007fde0c972164 in g_main_context_iteration (context=0x2012170, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#23 0x00007fde0faaf97f in QEventDispatcherGlib::processEvents (this=0x1fe5770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#24 0x00007fde107a0cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007fde0fa7ef22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007fde0fa7f177 in QEventLoop::exec (this=0x7ffffe808270, flags=...) at kernel/qeventloop.cpp:204
#27 0x00007fde0fa844c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#28 0x0000000000409747 in main (argc=1, argv=0x7ffffe808698) at ../../knotify/main.cpp:73

Reported using DrKonqi
Comment 1 Hrvoje Senjan 2012-06-19 20:35:59 UTC
Created attachment 71965 [details]
New crash information added by DrKonqi

amarok (2.5-GIT) on KDE Platform 4.8.90 (4.8.90) using Qt 4.8.2

- What I was doing when the application crashed:

Also Amarok is crashing when a new song in a playlist should start (every time, so far tested only gstreamer backend, the knotify crash happens with both)

-- Backtrace (Reduced):
#6  0x00007f2e9a5bdc73 in sourceQueued (this=<optimized out>) at ../../phonon/statesvalidator_p.h:42
#7  Phonon::MediaObjectPrivate::_k_aboutToFinish (this=0xfc6ba0) at ../../phonon/mediaobject.cpp:604
#8  0x00007f2e9d9f2a06 in QObject::event (this=0xfcd6e0, e=<optimized out>) at kernel/qobject.cpp:1195
#9  0x00007f2e9e3d47b4 in notify_helper (e=0x7f2e180790e0, receiver=0xfcd6e0, this=0xe81210) at kernel/qapplication.cpp:4556
#10 QApplicationPrivate::notify_helper (this=0xe81210, receiver=0xfcd6e0, e=0x7f2e180790e0) at kernel/qapplication.cpp:4528
Comment 2 Harald Sitter 2012-06-19 23:57:38 UTC
This fails with both backends? Oo
Comment 3 Harald Sitter 2012-06-20 00:00:41 UTC
*** Bug 302201 has been marked as a duplicate of this bug. ***
Comment 4 Harald Sitter 2012-06-20 00:14:11 UTC
Thanks for using Phonon git :)
Comment 5 Hrvoje Senjan 2012-06-20 06:45:24 UTC
(In reply to comment #4)
> Thanks for using Phonon git :)
:)

Just to confirm that this commit fixed the crashes.