Bug 323441 - kscd always crashes on exit
Summary: kscd always crashes on exit
Status: RESOLVED FIXED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.6-git
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords: drkonqi
: 323571 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-13 02:11 UTC by Jekyll Wu
Modified: 2013-08-23 14:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jekyll Wu 2013-08-13 02:11:30 UTC
Application: kscd (1.5)
KDE Platform Version: 4.11.60
Qt Version: 4.8.5
Operating System: Linux 3.7.10-gentoo-r1+ x86_64
Distribution: "NAME=Gentoo"

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

1. start kscd
2. wait for sometime
3. close kscd
4. kscd crahes.

I build phonon from git master. It happens with both the vlc and gstreamer backend.

The crash can be reproduced every time.

-- Backtrace:
Application: KsCD (kscd), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f32b0ed0780 (LWP 15165))]

Thread 3 (Thread 0x7f32a7f98700 (LWP 15166)):
#0  0x00007f32b83caead in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f32b5936f34 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f32b593703c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f32b92625b6 in QEventDispatcherGlib::processEvents (this=0x7f32a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f32b923579f in QEventLoop::processEvents (this=this@entry=0x7f32a7f97db0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f32b9235a95 in QEventLoop::exec (this=this@entry=0x7f32a7f97db0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f32b913b33f in QThread::exec (this=this@entry=0x1db4880) at thread/qthread.cpp:536
#7  0x00007f32b92181a3 in QInotifyFileSystemWatcherEngine::run (this=0x1db4880) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f32b913dabf in QThreadPrivate::start (arg=0x1db4880) at thread/qthread_unix.cpp:338
#9  0x00007f32b8eafeb7 in start_thread (arg=0x7f32a7f98700) at pthread_create.c:308
#10 0x00007f32b83d48ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f32a611e700 (LWP 15167)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f32a6b75e15 in LoopRequest (p_playlist=0x1ff9058) at playlist/thread.c:544
#2  Thread (data=0x1ff9058) at playlist/thread.c:592
#3  0x00007f32b8eafeb7 in start_thread (arg=0x7f32a611e700) at pthread_create.c:308
#4  0x00007f32b83d48ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f32b0ed0780 (LWP 15165)):
[KCrash Handler]
#6  Phonon::AudioOutputPrivate::aboutToDeleteBackendObject (this=0x1e02870) at /tmp/portage/media-libs/phonon-9999/work/phonon-9999/phonon/audiooutput.cpp:285
#7  0x00007f32bae11091 in Phonon::MediaNodePrivate::deleteBackendObject (this=0x1e02870) at /tmp/portage/media-libs/phonon-9999/work/phonon-9999/phonon/medianode.cpp:78
#8  0x00007f32badfee4c in Phonon::FactoryPrivate::~FactoryPrivate (this=0x1e91930, __in_chrg=<optimized out>) at /tmp/portage/media-libs/phonon-9999/work/phonon-9999/phonon/factory.cpp:235
#9  0x00007f32badff0f9 in Phonon::FactoryPrivate::~FactoryPrivate (this=0x1e91930, __in_chrg=<optimized out>) at /tmp/portage/media-libs/phonon-9999/work/phonon-9999/phonon/factory.cpp:245
#10 0x00007f32b92383d1 in qt_call_post_routines () at kernel/qcoreapplication.cpp:298
#11 0x00007f32b9ea521f in QApplication::~QApplication (this=0x7fff7d5827e0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1111
#12 0x000000000040d5a7 in ?? ()
#13 0x00007f32b8309b4d in __libc_start_main (main=0x40c8b0, argc=1, ubp_av=0x7fff7d582918, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7d582908) at libc-start.c:258
#14 0x000000000040e095 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2013-08-23 13:37:17 UTC
Could you check if you can reproduce with today's phonon master?
Comment 2 Jekyll Wu 2013-08-23 14:25:10 UTC
can't reproduce with today's master. looks like commit 0018985ed7f4d3d46b11fc5e53af48b202363c4d fixes the problem.
Comment 3 Jekyll Wu 2013-08-23 14:26:27 UTC
*** Bug 323571 has been marked as a duplicate of this bug. ***