Bug 212049 - Kaffeine crashes when opening loading a video file [KRecentFilesAction::addUrl, Kaffeine::openUrl, Kaffeine::parseArgs] (KFileWidget eventloop causing errors)
Summary: Kaffeine crashes when opening loading a video file [KRecentFilesAction::addUr...
Status: RESOLVED FIXED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Unspecified
: NOR crash
Target Milestone: ---
Assignee: Christoph Pfister
URL:
Keywords:
: 215871 216399 219757 220383 222626 224564 227990 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-27 13:10 UTC by BRULE Herman
Modified: 2014-05-30 13:00 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Backtrace (5.63 KB, application/octet-stream)
2009-10-27 13:11 UTC, BRULE Herman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BRULE Herman 2009-10-27 13:10:53 UTC
Version:            (using KDE 4.3.2)
Installed from:    Gentoo Packages

Hello,
kaffeine and dragon player crash after I try play .nsv file. The backend is xine via phonon.
Thanks to fix it and prevent all kind of crash.
Comment 1 BRULE Herman 2009-10-27 13:11:19 UTC
Created attachment 37909 [details]
Backtrace

The backtrace
Comment 2 Dario Andres 2009-10-29 15:00:40 UTC
Pasting backtrace inline:
---

Application: Kaffeine (kaffeine), signal: Segmentation fault
[Current thread is 0 (LWP 8182)]

Thread 6 (Thread 0x7fe2c468b910 (LWP 8185)):
#0  0x00007fe2d551327d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fe2c9cd5eb9 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fe2d550e644 in start_thread () from /lib/libpthread.so.0
#3  0x00007fe2d3f8e7cd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fe2c3e8a910 (LWP 8186)):
#0  0x00007fe2d5510d02 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007fe2d1b07ada in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fe2d1b07e60 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fe2d58908be in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fe2d5866232 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fe2d586641d in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fe2d577f40b in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fe2c9f2dbce in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fe2d5782463 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fe2d550e644 in start_thread () from /lib/libpthread.so.0
#10 0x00007fe2d3f8e7cd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe2c347f910 (LWP 8189)):
#0  0x00007fe2d551599b in read () from /lib/libpthread.so.0
#1  0x00007fe2ca1b2495 in ?? () from /usr/lib64/libasound.so.2
#2  0x00007fe2ca1ac283 in snd_hctl_handle_events () from /usr/lib64/libasound.so.2
#3  0x00007fe2ca1b7939 in snd_mixer_handle_events () from /usr/lib64/libasound.so.2
#4  0x00007fe2c34860d4 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#5  0x00007fe2d550e644 in start_thread () from /lib/libpthread.so.0
#6  0x00007fe2d3f8e7cd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe2c2c7e910 (LWP 8190)):
#0  0x00007fe2d5512ff9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fe2c9ce39f3 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fe2c9ce53da in ?? () from /usr/lib64/libxine.so.1
#3  0x00007fe2d550e644 in start_thread () from /lib/libpthread.so.0
#4  0x00007fe2d3f8e7cd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe2c1841910 (LWP 8191)):
#0  0x00007fe2d3f87f52 in select () from /lib/libc.so.6
#1  0x00007fe2c9cfb245 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007fe2c9ce239d in ?? () from /usr/lib64/libxine.so.1
#3  0x00007fe2d550e644 in start_thread () from /lib/libpthread.so.0
#4  0x00007fe2d3f8e7cd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe2d7b66750 (LWP 8182)):
[KCrash Handler]
#5  0x00007fe2d65cdf57 in KRecentFilesAction::addUrl () from /usr/lib64/libkdeui.so.5
#6  0x000000000047416f in Kaffeine::openUrl (this=0x7fffdc55e060, url=@0x15daf70) at /home/user/kaffeine-1.0-pre2/src/kaffeine.cpp:370
#7  0x00000000004780b4 in Kaffeine::parseArgs (this=0x7fffdc55e060) at /home/user/kaffeine-1.0-pre2/src/kaffeine.cpp:338
#8  0x0000000000478369 in KaffeineApplication::newInstance (this=0x7fffdc55e030) at /home/user/kaffeine-1.0-pre2/src/main.cpp:53
#9  0x00007fe2d66990d6 in ?? () from /usr/lib64/libkdeui.so.5
#10 0x00007fe2d66996d6 in ?? () from /usr/lib64/libkdeui.so.5
#11 0x00007fe2d5b685d4 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#12 0x00007fe2d5b692cc in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#13 0x00007fe2d5b69c96 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#14 0x00007fe2d5b69f18 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#15 0x00007fe2d5877ec9 in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007fe2d4b692d5 in QApplication::event () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007fe2d4b5f12c in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007fe2d4b64f98 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007fe2d6692616 in KApplication::notify () from /usr/lib64/libkdeui.so.5
#20 0x00007fe2d5867d0b in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007fe2d586845f in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007fe2d5890c93 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007fe2d1b0462b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007fe2d1b07d30 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007fe2d1b07e60 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007fe2d5890866 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007fe2d4bf2dae in ?? () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007fe2d5866232 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007fe2d586641d in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007fe2d73b569c in KIO::NetAccess::enter_loop () from /usr/lib64/libkio.so.5
#31 0x00007fe2d73b5ce4 in KIO::NetAccess::synchronousRunInternal () from /usr/lib64/libkio.so.5
#32 0x00007fe2d73b6371 in KIO::NetAccess::synchronousRun () from /usr/lib64/libkio.so.5
#33 0x00007fe2d774be39 in KFileWidget::KFileWidget () from /usr/lib64/libkfile.so.4
#34 0x0000000000470d49 in PlaylistTab (this=0x15aad40, menu=<value optimized out>, collection=<value optimized out>, mediaWidget_=<value optimized out>)
    at /home/user/kaffeine-1.0-pre2/src/playlist/playlisttab.cpp:654
#35 0x00000000004763df in Kaffeine (this=0x157b1e0) at /home/user/kaffeine-1.0-pre2/src/kaffeine.cpp:228
#36 0x0000000000478738 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/user/kaffeine-1.0-pre2/src/main.cpp:31
Comment 3 Dario Andres 2009-10-29 15:02:41 UTC
@BRULE Herman: the backtrace you attached doesn't seem Phonon related (it seems related to Kaffeine). So I wonder if the Dragon crash is going to be related to this or not. Try to attach the dragon crash report in a NEW bug report. Then mention that bug report number here so I can look at it....

Thanks
Comment 4 Christoph Pfister 2009-10-31 12:52:20 UTC
SVN commit 1042986 by pfister:

delayed initialization of KFileWidget
KFileWidget creates a local event loop which can cause bad
side effects (because Kaffeine isn't fully constructed yet)
BUG: 212049


 M  +2 -10     main.cpp  
 M  +13 -4     playlist/playlisttab.cpp  
 M  +3 -0      playlist/playlisttab.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1042986
Comment 5 Dario Andres 2009-11-23 22:33:26 UTC
*** Bug 215871 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-11-27 20:08:25 UTC
*** Bug 216399 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-12-28 18:09:05 UTC
*** Bug 220383 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2010-01-15 00:42:34 UTC
*** Bug 219757 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2010-01-15 00:42:36 UTC
*** Bug 222626 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-01-30 23:53:37 UTC
*** Bug 224564 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2010-02-22 01:12:27 UTC
*** Bug 227990 has been marked as a duplicate of this bug. ***