Version: (using KDE KDE 3.3.0) Installed from: SuSE RPMs OS: Linux Kaffeine crashes upon exit. Seems to play normal, but I get KDE crash handler winder after exit. Here is backtrace: Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1096236288 (LWP 20170)] [KCrash handler] #7 0x41345944 in pthread_mutex_lock () from /lib/tls/libpthread.so.0 #8 0x412775cf in _XLockMutex () from /usr/X11R6/lib/libX11.so.6 #9 0x4125f29f in XrmDestroyDatabase () from /usr/X11R6/lib/libX11.so.6 #10 0x412496fd in _XFreeDisplayStructure () from /usr/X11R6/lib/libX11.so.6 #11 0x41236976 in XCloseDisplay () from /usr/X11R6/lib/libX11.so.6 #12 0x40bb1b78 in qt_cleanup () from /usr/lib/qt3/lib/libqt-mt.so.3 #13 0x40c1fc43 in QApplication::~QApplication () from /usr/lib/qt3/lib/libqt-mt.so.3 #14 0x40857139 in KApplication::~KApplication () from /opt/kde3/lib/libkdecore.so.4 #15 0x408573fd in KUniqueApplication::~KUniqueApplication () from /opt/kde3/lib/libkdecore.so.4 #16 0x0808daa8 in ~KaffeineApp (this=0x40934cb8) at kaffeineapp.cpp:38 #17 0x08067bc0 in main (argc=0, argv=0x0) at main.cpp:103
It seems that I have the same problem. I'm using KDE 3.4.3 and kaffeine is crashing everytime I close it. Appart from that, the videos are played correctly.
Created attachment 13094 [details] kaffeine backtrace
I forgot to say That I'm using latest Ubuntu Breezy on amd64. And the video engine I'm using is kaffeine-xine. kaffeine gstreamer doesn't crash on exit but it crashes when unpausing or fast seeking.
totem-gstreamer is now crashing when playing a video and I get this error message : Internal GStreamer error: negotiation problem. File a bug. gstffmpegdec.c(653): gst_ffmpegdec_negotiate: /internal_thread/decoder/ffdec_wmav20: Failed to link ffmpeg decoder (wmav2) to next element
Hi I have the same problem: Here is the text outputted to the console while running: DVB 0 : Ingen sådan fil eller filkatalog DVB 1 : Ingen sådan fil eller filkatalog DVB 2 : Ingen sådan fil eller filkatalog DVB 3 : Ingen sådan fil eller filkatalog kaffeine: No DVB device found. kaffeine: Window manager: KWin found kaffeine: Kaffeine:: Try to load service: kaffeine_part kaffeine: This is a KMediaPart... kaffeine: KaffeinePart: Creating new KaffeinePart... kaffeine: KaffeinePart: Using xine-config file: /home/hans/.kde/share/apps/kaffe ine/xine-config kaffeine: PlayList: add 1 items to playlist kaffeine: PlayList: Check for kaffeine/noatun/m3u/pls/asx playlist kaffeine: PlayList: Try loading kaffeine playlist kaffeine: PlaylistImport: kaffeine: /home/hans/.kde/share/apps/kaffeine/playlist s/NY.kaffeine kaffeine: PlayList: add 1 items to playlist kaffeine: PlayList: Check for subtitle files kaffeine: KaffeinePart::openURL(): /home/hans/Mine downloads/linc_profile.theora kaffeine: KaffeinePart: Got single track kaffeine: KaffeinePart::slotPlay() kaffeine: KXineWidget: Display aspect ratio (v/h): 1.00101 kaffeine: KXineWidget: Using xine version 1.0.1 kaffeine: KXineWidget: Post-init xine engine kaffeine: KXineWidget: Use audio driver auto kaffeine: KXineWidget: Use video driver auto kaffeine: KXineWidget: Init video driver kaffeine: KXineWidget: Init audio driver kaffeine: KXineWidget: Init OSD kaffeine: KXineWidget: Font for OSD: sans kaffeine: KXineWidget: Unscaled OSD available kaffeine: KXineWidget: xine init successful kaffeine: KaffeinePart: load config kaffeine: Set volume to: 71 kaffeine: KXineWidget: New visualization plugin: none kaffeine: PostFilter: Create Postprocessing Filter: tvtime kaffeine: PostFilter: Parameter: method kaffeine: PostFilter: Parameter: enabled kaffeine: PostFilter: Parameter: pulldown kaffeine: PostFilter: Parameter: framerate_mode kaffeine: PostFilter: Parameter: judder_correction kaffeine: PostFilter: Parameter: use_progressive_frame_flag kaffeine: PostFilter: Parameter: chroma_filter kaffeine: PostFilter: Parameter: cheap_mode kaffeine: PostFilter: Get input kaffeine: PostFilter: Get output kaffeine: PostFilter: SetConfig tvtime:method=LinearBlend,enabled=1,pulldown=non e,framerate_mode=half_top,judder_correction=0,use_progressive_frame_flag=1,chrom a_filter=0,cheap_mode=1 kaffeine: PostFilter: Set parameter 'method' to value 'LinearBlend' kaffeine: PostFilter: tvtime Apply integer value 2 on offset 0 kaffeine: PostFilter: Set parameter 'enabled' to value '1' kaffeine: PostFilter: tvtime Apply integer value 1 on offset 4 kaffeine: PostFilter: Set parameter 'pulldown' to value 'none' kaffeine: PostFilter: tvtime Apply integer value 0 on offset 8 kaffeine: PostFilter: Set parameter 'framerate_mode' to value 'half_top' kaffeine: PostFilter: tvtime Apply integer value 1 on offset 12 kaffeine: PostFilter: Set parameter 'judder_correction' to value '0' kaffeine: PostFilter: tvtime Apply integer value 0 on offset 16 kaffeine: PostFilter: tvtime Apply integer value 0 on offset 16 kaffeine: PostFilter: Set parameter 'use_progressive_frame_flag' to value '1' kaffeine: PostFilter: tvtime Apply integer value 1 on offset 20 kaffeine: PostFilter: Set parameter 'chroma_filter' to value '0' kaffeine: PostFilter: tvtime Apply integer value 0 on offset 24 kaffeine: PostFilter: Set parameter 'cheap_mode' to value '1' kaffeine: PostFilter: tvtime Apply integer value 1 on offset 28 kaffeine: PostFilter: tvtime Apply integer value 1 on offset 28 kaffeine: KXineWidget: Deinterlace enabled: 1 kaffeine: PostFilter: Get output kaffeine: PostFilter: Get input kaffeine: KXineWidget: Playing: /home/hans/Mine downloads/linc_profile.theora kaffeine: KXineWidget: Start event loop... kaffeine: KXineWidget: xine event: channels changed kaffeine: KXineWidget: xine event: channels changed kaffeine: KXineWidget: xine event: channels changed kaffeine: KXineWidget: New video frame size: 320x240 - aspect ratio: 1 kaffeine: KXineWidget: Switch to audio channel -1 kaffeine: KaffeinePart: xine is playing kaffeine: Kaffeine: Set screensaver timeout to: 2 min hans@eruantalon:~$ kaffeine: KaffeinePart: got new frame size from xine kaffeine: Kaffeine: new video frame size: 320x240 kaffeine: Kaffeine: Mouse press event kaffeine: Kaffeine: destructor kaffeine: KXineWidget: Exiting event loop... kaffeine: PostFilter: Get output kaffeine: PostFilter: Get input kaffeine: KXineWidget: Shut down xine engine kaffeine: KXineWidget: Unwire video filters kaffeine: PostFilter: Delete Postprocessing Filter: tvtime kaffeine: KXineWidget: Dispose event queue kaffeine: KXineWidget: Dispose stream kaffeine: KXineWidget: Close audio driver kaffeine: KXineWidget: Close video driver kaffeine: KXineWidget: Set CD/VCD/DVD path back kaffeine: KXineWidget: Save xine config to: /home/hans/.kde/share/apps/kaffeine/ xine-config kaffeine: KXineWidget: Close xine engine kaffeine: KXineWidget: Close xine display kaffeine: KXineWidget: xine closed kaffeine: KaffeinePart: destructor kaffeine: KaffeinePart: save config kaffeine: pthread_mutex_lock.c:108: __pthread_mutex_lock: Forudsætningen (assert ion) 'mutex->__data.__owner == 0' fejlede. KCrash: Application 'kaffeine' crashing... Here is the backtrace: (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1231944000 (LWP 9786)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #7 0xffffe410 in ?? () #8 0xbff71724 in ?? () #9 0x00000006 in ?? () #10 0x0000263a in ?? () #11 0xb69969b1 in raise () from /lib/tls/i686/cmov/libc.so.6 #12 0xb69982c9 in abort () from /lib/tls/i686/cmov/libc.so.6 #13 0xb698ff51 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6 #14 0xb6bb5f0f in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0 #15 0xb6c28c4c in XUnlockDisplay () from /usr/lib/libX11.so.6 #16 0xb6c463d6 in XrmDestroyDatabase () from /usr/lib/libX11.so.6 #17 0xb6c2ad04 in _XFreeDisplayStructure () from /usr/lib/libX11.so.6 #18 0xb6c178b7 in XCloseDisplay () from /usr/lib/libX11.so.6 #19 0xb703509c in qt_cleanup () from /usr/lib/libqt-mt.so.3 #20 0xb70b8756 in QApplication::~QApplication () from /usr/lib/libqt-mt.so.3 #21 0xb77c3f78 in KApplication::~KApplication () from /usr/lib/libkdecore.so.4 #22 0xb77c4121 in KUniqueApplication::~KUniqueApplication () from /usr/lib/libkdecore.so.4 #23 0x0806b000 in ?? () #24 0xbff71a74 in ?? () #25 0x00000000 in ?? () #26 0x00000000 in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0x00000001 in ?? () #30 0x080fad74 in vtable for QGList () #31 0x00000000 in ?? () #32 0x080fad54 in vtable for QGList () #33 0x080fad30 in vtable for QGList () #34 0x0000000c in ?? () #35 0xb6ba5cd0 in ?? () from /usr/lib/libstdc++.so.6 #36 0x0000000c in ?? () #37 0x0811ac30 in ?? () #38 0xbff71a88 in ?? () #39 0xb74179fa in qt_check_pointer () from /usr/lib/libqt-mt.so.3 #40 0xb6982ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #41 0x0806ad81 in ?? () Hope this is useful.
I upgraded from Ubuntu Breezy to Ubuntu Dapper yesterday. Kaffeine was updated to v.0.7.1-1.2ubuntu1 and this bug is fixed !
I also have this bug. I am using KDE 3.3, Mandriva LE2005, and the kaffeine was installed from the disks I got with my powerpack. The kaffeine sometimes opens and immediately shuts presenting the KCrashHandler window, and on other occasions like Christophe, the player will work normal, and present a crash after closing. The backtrace of it makes to me no sense, since I do not program, so I have no idea what or where it is happen, but it is start to get annoying. The last stable version of kaffeine I find without this bug was 0.4.3
Also seeing this on Ubuntu Breezy on AMD64. I'm seeing it both with the official kaffeine-xine 0.7 package and one I made myself of 0.7.1. It might be worth nothing that it only happens after I've played a video or mp3 for example. If I just start kaffeine and then quit without playing anything it doesn't crash.
*** Bug 122032 has been marked as a duplicate of this bug. ***
*** Bug 124316 has been marked as a duplicate of this bug. ***
*** Bug 125082 has been marked as a duplicate of this bug. ***
*** Bug 125235 has been marked as a duplicate of this bug. ***
*** Bug 125252 has been marked as a duplicate of this bug. ***
Created attachment 15538 [details] Crash report when exiting konqueror after playing video. I'm using kaffeine 0.8.1. Kaffeine doesn't crash upon exiting. My problem is with konqueror. After viewing a video embedded in konqueror, exiting konqueror crashes. I've checked to see if I can continue to browse, watch more videos from different sources, and close tabs to see if anything goes wrong, but it all works. The problem is exiting konqueror after watching videos.
Forgot to mention that I'm using Konqueror 3.5.2 on Suse 10.0.
*** This bug has been confirmed by popular vote. ***
Same problem here than Andres Mejia. I use Gentoo AMD64, Kaffeine 0.8.1, and Konqueror 3.5.2. Konqueror will crash on exit (only) if I watch some embedded videos.
Created attachment 16884 [details] bactrace of the (possibly) same problem. I have a very similar problem, but the backtrace I have seems to me to not describing the same problem. Any way I'll place it here and if it is really not related I will open another bug report. My problem is that once I succesfully viewed a .wmv e-mail attached video in kaffeine, I pressed the cross button so to exit kaffeine and I got the mentioned crash backtrace.
Hi all This bug is caused by the improper way of multithreaded x apps like kaffeine :-( If kaffeine crashes as a normal app (not embedded) at exit, please rebuild it without --with-xinit-workaround (if you have a buggy xlib (xfree 4.4 ot xorg 6.7) please upgrade it; otherwise kaffeine would crash at startup :-/). There is no solution for the embedded part yet ... I gonna investigate there ... reproducibility on my system is 100% so no more backtraces needed ;-) Christoph
*** Bug 117679 has been marked as a duplicate of this bug. ***
SVN commit 567673 by kling: Crash a lot less on exit. This wouldn't be a problem if "Disc" owned "widg" and "panel", but its "parent" does. CCBUG: 114198 M +5 -0 disc.cpp M +3 -2 disc.h --- trunk/extragear/multimedia/kaffeine/src/input/disc/disc.cpp #567672:567673 @@ -287,6 +287,11 @@ void Disc::saveConfig( KConfig* config ) { + if ( !widg || !panel ) { + kdWarning() << "Disc::saveConfig() after `widg' or `panel' was deleted.\n"; + return; + } + QValueList<int> vl; if ( alternateLayout ) { vl.append( widg->width() ); --- trunk/extragear/multimedia/kaffeine/src/input/disc/disc.h #567672:567673 @@ -35,6 +35,7 @@ #include <qlabel.h> #include <qpixmap.h> #include <qprogressbar.h> +#include <qguardedptr.h> #include "kaffeineinput.h" #include "paranoia.h" @@ -112,11 +113,11 @@ void setupActions(); QLabel *artistLab, *albumLab; - QWidget *widg; + QGuardedPtr<QWidget> widg; QToolButton *ripBtn, *cdBtn; QToolButton *enc; QSplitter *split; - QFrame *panel; + QGuardedPtr<QFrame> panel; bool alternateLayout; MLabel *discLab; Paranoia *para;
*** Bug 132410 has been marked as a duplicate of this bug. ***
*** Bug 129359 has been marked as a duplicate of this bug. ***
*** Bug 130777 has been marked as a duplicate of this bug. ***
*** Bug 132578 has been marked as a duplicate of this bug. ***
> There is no solution for the embedded part yet ... I gonna investigate > there ... reproducibility on my system is 100% so no more backtraces needed ;-) > > Christoph Isn't it the problem with not using XInitThreads(), as suggested here: http://bugs.kde.org/show_bug.cgi?id=109498#c33
It seems that I have the same problem. I'm using KDE 3.4.3 and kaffeine is crashing most of time I close it. Especially, I open a first media; it reads it correctly and when I close kaffeine, no crash appears. When I open a second media after that, it still reads it correctly but it crashes when I close it. In the top list, it seems that the first kaffeine process is still running when I'm launching the second one. I'm using kubuntu 2.6.12-10-386 on intel32.
Saw this a lot under earlier versions. I'm now using 0.8.1 and it rarely crashes on close. Glad to hear that it is reproducible.
*** Bug 135317 has been marked as a duplicate of this bug. ***
Have the same problem (x64 SuSE 10.2 alpha 2, kde 3.5) Doesn't matter if I choose mplayer or kaffeine (or other player with xine backend) it freeze in konqueror preview mode
Perhaps this is the same crash I am seeing with Kubuntu 6.06, let me know if you would like me to file it as a separte bug. Qt: 3.3.6 KDE: 3.5.4 Kaffeine Player: 0.8.1 Kaffeine Player Crash SIGSEGV when closing after playing this video: http://media.moller.com/RotatingNacelles-320WebMovie.mp4 (no debugging symbols found) 0xffffe410 in __kernel_vsyscall () #0 0xffffe410 in __kernel_vsyscall () #1 0xb65e321d in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb5dbc27a in xine_free_video_frame () from /usr/lib/libxine.so.1 #3 0xb4c08bb0 in ?? () #4 0xbfaf5ae0 in ?? () #5 0xb5e70448 in ?? () from /usr/lib/kde3/libkaffeinepart.so #6 0xbfaf5bbc in ?? () #7 0x00000000 in ?? ()
Hi I'am not sure if it's the same because when I play videos in standalone players (MPlayer, Kaffeine, .. other xine enabled players) there is no problem. But there is problem in Konqueror in preview mode and that in all players - thats probably somthing with KDE integration. Andrej ----- Original Message ----- From: jg@jguk.org To: andrej.lazo@zmail.sk Sent: 26 Oct 2006 00:53:52 -0000 Subject: [Bug 114198] Kaffeine crashes upon exit. Happens often. [bugs.kde.org quoted mail] --- reklama ----------------------------------------------------- Vieš, čo Ťa dnes čaká? Pozri si horoskop! http://horoskop.zoznam.sk
Hi After KDE upgrade (3.5.5 r39.1) it works fine for me, no crashes more. Andrej
*** Bug 137909 has been marked as a duplicate of this bug. ***
*** Bug 138422 has been marked as a duplicate of this bug. ***
owner@bugs.kde.org wrote: [bugs.kde.org quoted mail] Hi: I don't think kaffeine has been my first-choice player for any of the video types. Do you have any idea if there is a player that doesn't have this problem - and if so what is it, and how do I change to it? I suppose it's set in Settings - configure konqueror - file associations - video? The crash itself is of no real concern - it's been going on for a long time and it only happens when quitting konqueror, but I only recently recognised what might be causing it. What is worrying is - does it corrupt anything else?
Hey, my kaffeine crashes also sometimes when it has to start to play a video... should i make a different bugreport of this or can I leave it here?
Please open new bug reports about other crashes - because this bug will be closed once kaffeine / xine xcb support is there (i'm working on it and it should be ready when the next release comes out ...).
*** Bug 139234 has been marked as a duplicate of this bug. ***
*** Bug 140075 has been marked as a duplicate of this bug. ***
*** Bug 140298 has been marked as a duplicate of this bug. ***
Sorry Lubos, I can't see that Bug 139234 is already resolved. I've commented there.
*** Bug 127185 has been marked as a duplicate of this bug. ***
Regarding comment 36. Remove kaffeine completely and install kmplayer. It does not crash and works far better as a plug-in.
This is fixed by using xine-lib cvs + pending patches, libxcb and kaffeine svn (not closing this bug yet ...).
*** Bug 141356 has been marked as a duplicate of this bug. ***
*** Bug 141424 has been marked as a duplicate of this bug. ***
Forget about Kaffein or viewing videos from within Konqueror. I use VLC and it always works! Give the hardcore KDE programmers a break. Let them concentrate on something more important. VLC is the best. You don't necessarily need tons of media players to watch a movie. Pick one and stick to it. Take care you all.
yeah, according to the kaffeine homepage, this bug finally is fixed by xine and kaffeine . they now use xcb instead of xlib. xcb appearently has better multithread handling. have fun ;)
*** Bug 144052 has been marked as a duplicate of this bug. ***
*** Bug 117602 has been marked as a duplicate of this bug. ***
*** Bug 98203 has been marked as a duplicate of this bug. ***
This is fixed with xine-lib 1.1.5 and kaffeine 0.8.4, both compiled with xcb.
In reply to Comment #52 and Comment #53: Are you claiming that fixes in xine-lib and kaffeine prevent Kontact from crashing when the KMail icon is clicked?
Sorry - didn't realize that there were several issues discussed there :-/ I'm fixing that.
*** Bug 144635 has been marked as a duplicate of this bug. ***
*** Bug 145120 has been marked as a duplicate of this bug. ***
Lets us know when fixed
Okay - xcb support is there in xine-lib / kaffeine for some time now and has been proved working so I'm finally closing this bug.
*** Bug 147560 has been marked as a duplicate of this bug. ***
*** Bug 143937 has been marked as a duplicate of this bug. ***
*** Bug 144205 has been marked as a duplicate of this bug. ***
*** Bug 145166 has been marked as a duplicate of this bug. ***
*** Bug 147285 has been marked as a duplicate of this bug. ***
*** Bug 147116 has been marked as a duplicate of this bug. ***
*** Bug 149722 has been marked as a duplicate of this bug. ***
A short notice, not only SuSE rpms are concerned, but also Ubuntu Feisty Fawn packages. :-)
*** Bug 151887 has been marked as a duplicate of this bug. ***