Application: kontact (4.4.7) KDE Platform Version: 4.5.2 (KDE 4.5.2) Qt Version: 4.7.0 Operating System: Linux 2.6.35.6-48.fc14.i686 i686 Distribution: "Fedora release 14 (Laughlin)" -- Information about the crash: Kontact was up for about 8 hours, idle for about 4, then with no interaction it crashed. -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault [Current thread is 1 (Thread 0xb77adb10 (LWP 10811))] Thread 6 (Thread 0xb75a2b70 (LWP 10812)): #0 0x00da2416 in __kernel_vsyscall () #1 0x00cac8e6 in __poll (fds=0xb6c029c0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0x0017cdac in g_poll (fds=0xb6c029c0, nfds=1, timeout=-1) at gpoll.c:132 #3 0x0016c8b7 in g_main_context_poll (context=0x8e65db8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093 #4 g_main_context_iterate (context=0x8e65db8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775 #5 0x0016d04b in g_main_loop_run (loop=0x8e65e38) at gmain.c:2988 #6 0x01d84ed5 in gdbus_shared_thread_func (data=0x0) at gdbusprivate.c:277 #7 0x00195bd0 in g_thread_create_proxy (data=0x8e65e48) at gthread.c:1897 #8 0x00115f19 in start_thread (arg=0xb75a2b70) at pthread_create.c:301 #9 0x00cb7a2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Thread 5 (Thread 0xa6015b70 (LWP 12335)): #0 0x00da2416 in __kernel_vsyscall () #1 0x0011a98b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169 #2 0x01eaa094 in fifo_buffer_get (fifo=0xa70f8930) at buffer.c:230 #3 0x01eb0749 in video_decoder_loop (stream_gen=0xb0efb168) at video_decoder.c:134 #4 0x00115f19 in start_thread (arg=0xa6015b70) at pthread_create.c:301 #5 0x00cb7a2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Thread 4 (Thread 0xa5647b70 (LWP 12336)): #0 0x00da2416 in __kernel_vsyscall () #1 0x0011a98b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169 #2 0x01eaa094 in fifo_buffer_get (fifo=0xa6c3ac70) at buffer.c:230 #3 0x01eb1969 in audio_decoder_loop (stream_gen=0xb0efb168) at audio_decoder.c:66 #4 0x00115f19 in start_thread (arg=0xa5647b70) at pthread_create.c:301 #5 0x00cb7a2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Thread 3 (Thread 0xb1733b70 (LWP 22050)): #0 0x00da2416 in __kernel_vsyscall () #1 0x00cac8e6 in __poll (fds=0xa6c61a00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0x044bbce3 in poll_func (ufds=0xa6c61a00, nfds=1, timeout=-1, userdata=0x9aeb280) at pulse/thread-mainloop.c:75 #3 0x044a84ca in pa_mainloop_poll (m=0x9da8808) at pulse/mainloop.c:879 #4 0x044a9d54 in pa_mainloop_iterate (m=0x9da8808, block=1, retval=0x0) at pulse/mainloop.c:961 #5 0x044a9e34 in pa_mainloop_run (m=0x9da8808, retval=0x0) at pulse/mainloop.c:979 #6 0x044bba84 in thread (userdata=0x9ca7958) at pulse/thread-mainloop.c:94 #7 0x04473863 in internal_thread_func (userdata=0x9c8d090) at pulsecore/thread-posix.c:72 #8 0x00115f19 in start_thread (arg=0xb1733b70) at pthread_create.c:301 #9 0x00cb7a2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Thread 2 (Thread 0xacdfeb70 (LWP 24728)): [KCrash Handler] #7 0x03ca4e7e in KIO::SimpleJob::doResume (this=0x9ae0b98) at /usr/src/debug/kdelibs-4.5.2/kio/kio/job.cpp:366 #8 0x03ca4ec6 in KIO::TransferJob::doResume (this=0x9ae0b98) at /usr/src/debug/kdelibs-4.5.2/kio/kio/job.cpp:1231 #9 0x02b064c0 in KJob::resume (this=0x9ae0b98) at /usr/src/debug/kdelibs-4.5.2/kdecore/jobs/kjob.cpp:153 #10 0x01c73913 in Phonon::KioMediaStream::needData (this=0x9da7ad8) at /usr/src/debug/kdebase-runtime-4.5.2/phonon/platform_kde/kiomediastream.cpp:112 #11 0x0463bc2e in Phonon::StreamInterface::needData (this=0x9af01d8) at /usr/src/debug/phonon-4.4.2/phonon/streaminterface.cpp:80 #12 0x0869cdef in Phonon::Gstreamer::StreamReader::read (this=0x9af01d8, pos=0, length=4096, buffer=0x9de9000 "\300\266\326") at /usr/src/debug/phonon-4.4.2/gstreamer/streamreader.cpp:39 #13 0x0869d361 in phonon_src_create_read (basesrc=0x9cad0b0 [PhononSrc], offset=0, length=4096, buffer=0xacdfe14c) at /usr/src/debug/phonon-4.4.2/gstreamer/phononsrc.cpp:214 #14 Phonon::Gstreamer::phonon_src_create (basesrc=0x9cad0b0 [PhononSrc], offset=0, length=4096, buffer=0xacdfe14c) at /usr/src/debug/phonon-4.4.2/gstreamer/phononsrc.cpp:238 #15 0x0212f6ad in gst_base_src_get_range (src=<value optimized out>, offset=0, length=4096, buf=0xacdfe14c) at gstbasesrc.c:2123 #16 0x021313fe in gst_base_src_loop (pad=0x9dc0588 [GstPad]) at gstbasesrc.c:2376 #17 0x056a72e1 in gst_task_func (task=0x8e62970 [GstTask]) at gsttask.c:271 #18 0x056a85f8 in default_func (tdata=0x953a760, pool=0x9511008 [GstTaskPool]) at gsttaskpool.c:68 #19 0x001983a1 in g_thread_pool_thread_proxy (data=0x9107df8) at gthreadpool.c:319 #20 0x00195bd0 in g_thread_create_proxy (data=0x9d79fa8) at gthread.c:1897 #21 0x00115f19 in start_thread (arg=0xacdfeb70) at pthread_create.c:301 #22 0x00cb7a2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Thread 1 (Thread 0xb77adb10 (LWP 10811)): #0 0x00da2416 in __kernel_vsyscall () #1 0x0011d96b in write () at ../sysdeps/unix/syscall-template.S:82 #2 0x00174267 in write_string (fd=2, string=0x9da9900 "\n(<unknown>:10811): GStreamer-WARNING **: gstsystemclock: write control failed in wakeup_async, trying again : 9:Bad file descriptor\n\n") at gmessages.c:140 #3 0x00174640 in g_log_default_handler (log_domain=0x56c8bb0 "GStreamer", log_level=G_LOG_LEVEL_WARNING, message=0x91055f8 "gstsystemclock: write control failed in wakeup_async, trying again : 9:Bad file descriptor\n", unused_data=0x0) at gmessages.c:998 #4 0x00175067 in g_logv (log_domain=0x56c8bb0 "GStreamer", log_level=<value optimized out>, format=0x56db124 "gstsystemclock: write control failed in wakeup_async, trying again : %d:%s\n", args1=0xbfe5797c "\t") at gmessages.c:527 #5 0x001754c3 in g_log (log_domain=0x56c8bb0 "GStreamer", log_level=G_LOG_LEVEL_WARNING, format=0x56db124 "gstsystemclock: write control failed in wakeup_async, trying again : %d:%s\n") at gmessages.c:577 #6 0x0569f1d4 in gst_system_clock_add_wakeup (sysclock=0x9dac398 [GstAudioClock]) at gstsystemclock.c:321 #7 0x056a0b39 in gst_system_clock_dispose (object=0x9dac398 [GstAudioClock]) at gstsystemclock.c:204 #8 0x00676073 in g_object_unref (_object=0x9dac398) at gobject.c:2658 #9 0x05643d30 in gst_object_unref (object=0x9dac398) at gstobject.c:338 #10 0x0242071d in ?? () from /usr/lib/gstreamer-0.10/libgstpulse.so #11 0x05661746 in gst_element_change_state (element=0x9daa570 [GstPulseSink], transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2546 #12 0x056621fc in gst_element_set_state_func (element=0x9daa570 [GstPulseSink], state=GST_STATE_NULL) at gstelement.c:2502 #13 0x05661490 in gst_element_set_state (element=0x9daa570 [GstPulseSink], state=GST_STATE_NULL) at gstelement.c:2403 #14 0x0564d51c in gst_bin_element_set_state (element=0x8e838c8 [GstBin], transition=9) at gstbin.c:2136 #15 gst_bin_change_state_func (element=0x8e838c8 [GstBin], transition=9) at gstbin.c:2435 #16 0x05661746 in gst_element_change_state (element=0x8e838c8 [GstBin], transition=9) at gstelement.c:2546 #17 0x056621fc in gst_element_set_state_func (element=0x8e838c8 [GstBin], state=GST_STATE_NULL) at gstelement.c:2502 #18 0x05661490 in gst_element_set_state (element=0x8e838c8 [GstBin], state=GST_STATE_NULL) at gstelement.c:2403 #19 0x08685402 in Phonon::Gstreamer::AudioOutput::~AudioOutput (this=0x9030f88, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/gstreamer/audiooutput.cpp:91 #20 0x086854a3 in Phonon::Gstreamer::AudioOutput::~AudioOutput (this=0x9030f88, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/gstreamer/audiooutput.cpp:94 #21 0x0464020d in Phonon::MediaNodePrivate::deleteBackendObject (this=0x94be2d8) at /usr/src/debug/phonon-4.4.2/phonon/medianode.cpp:81 #22 0x0464ff6b in Phonon::FactoryPrivate::~FactoryPrivate (this=0x9c5a720, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/phonon/factory.cpp:212 #23 0x046502a3 in Phonon::FactoryPrivate::~FactoryPrivate (this=0x9c5a720, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/phonon/factory.cpp:222 #24 0x0464ec26 in destroy () at /usr/src/debug/phonon-4.4.2/phonon/factory.cpp:84 #25 0x0464b18c in Phonon::CleanUpGlobalStatic::~CleanUpGlobalStatic (this=0x4682d9c, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/phonon/globalstatic_p.h:55 #26 0x00c0aeff in __run_exit_handlers (status=1) at exit.c:78 #27 exit (status=1) at exit.c:100 #28 0x02e6247c in qt_xio_errhandler () at kernel/qapplication_x11.cpp:745 #29 0x0392278b in KApplication::xioErrhandler (this=0xbfe58304, dpy=0x8e38e88) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:416 #30 0x039227c7 in kde_xio_errhandler (dpy=0x8e38e88) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:125 #31 0x002ecd47 in _XIOError (dpy=0x8e38e88) at XlibInt.c:3140 #32 0x002f411f in _XEventsQueued (dpy=0x8e38e88, mode=2) at xcb_io.c:306 #33 0x002dcccb in XEventsQueued (dpy=0x8e38e88, mode=2) at Pending.c:43 #34 0x02e9e8c6 in x11EventSourceCheck (s=0x8e38aa8) at kernel/qguieventdispatcher_glib.cpp:85 #35 0x0016be07 in g_main_context_check (context=0x8e37c90, max_priority=2147483647, fds=0x9481580, n_fds=15) at gmain.c:2658 #36 0x0016c742 in g_main_context_iterate (context=0x8e37c90, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2777 #37 0x0016cc35 in g_main_context_iteration (context=0x8e37c90, may_block=1) at gmain.c:2843 #38 0x025c330d in QEventDispatcherGlib::processEvents (this=0x8e0eb50, flags=...) at kernel/qeventdispatcher_glib.cpp:415 #39 0x02e9ead6 in QGuiEventDispatcherGlib::processEvents (this=0x8e0eb50, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #40 0x025947ca in QEventLoop::processEvents (this=0xbfe58264, flags=...) at kernel/qeventloop.cpp:149 #41 0x02594a7a in QEventLoop::exec (this=0xbfe58264, flags=...) at kernel/qeventloop.cpp:201 #42 0x025995f7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #43 0x02deab98 in QApplication::exec () at kernel/qapplication.cpp:3672 #44 0x0804b73b in _start () Reported using DrKonqi
The KDE platform plugin handles KIO jobs in threads different than the main one, and this isn't doable.
We are on this for 4.5.
Harald: is this still relevant for current 4.6 or later?
It should be solved. Else please reopen.