Bug 212201 - Kaffeine Crashes While Playing AVI File
Summary: Kaffeine Crashes While Playing AVI File
Status: RESOLVED WORKSFORME
Alias: None
Product: kaffeine
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Christoph Pfister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-28 16:49 UTC by Brandon
Modified: 2010-02-06 13:01 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon 2009-10-28 16:49:29 UTC
Application that crashed: kaffeine
Version of the application: 1.0-svn2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-ARCH x86_64

What I was doing when the application crashed:
This bug is (slightly) reproducible, it has crashed twice in the past 20 minutes while I'm trying to open S06E02 of "MythBusters" just by dragging the file from the navigation panel to the playlist. The folder that I use to store all of my media in is actually a folder in my home containing symlinks to various other folders.

 -- Backtrace:
Application: Kaffeine (kaffeine), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f33ab17c750 (LWP 14579))]

Thread 5 (Thread 0x7f3397bee910 (LWP 14580)):
#0  0x00007f33a8acd05d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f339c86b581 in metronom_sync_loop () from /usr/lib/libxine.so.1
#2  0x00007f33a8ac857a in start_thread () from /lib/libpthread.so.0
#3  0x00007f33a74e18ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3396db3910 (LWP 14581)):
#0  0x00007f33a74d9133 in poll () from /lib/libc.so.6
#1  0x00007f33a48d999c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007f33a48d9ce0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f33a8e488b6 in QEventDispatcherGlib::processEvents (this=0x224ce60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007f33a8e1ec72 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f33a8e1f044 in QEventLoop::exec (this=0x7f3396db3000, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f33a8d3858b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f339cac47e4 in Phonon::Xine::XineThread::run() () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f33a8d3b2e5 in QThreadPrivate::start (arg=0x224ce20) at thread/qthread_unix.cpp:188
#9  0x00007f33a8ac857a in start_thread () from /lib/libpthread.so.0
#10 0x00007f33a74e18ed in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f33963a9910 (LWP 14584)):
#0  0x00007f33a8accdd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f339c87c5c3 in ao_loop () from /usr/lib/libxine.so.1
#2  0x00007f33a8ac857a in start_thread () from /lib/libpthread.so.0
#3  0x00007f33a74e18ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3395ba8910 (LWP 14585)):
#0  0x00007f33a74db1e2 in select () from /lib/libc.so.6
#1  0x00007f339c8934a4 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f339c87909b in video_out_loop () from /usr/lib/libxine.so.1
#3  0x00007f33a8ac857a in start_thread () from /lib/libpthread.so.0
#4  0x00007f33a74e18ed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f33ab17c750 (LWP 14579)):
[KCrash Handler]
#5  0x00007f33a74874c0 in malloc_consolidate () from /lib/libc.so.6
#6  0x00007f33a74898d9 in _int_malloc () from /lib/libc.so.6
#7  0x00007f33a748bdce in malloc () from /lib/libc.so.6
#8  0x00007f33a82b7b0c in QTextEngine::LayoutData::reallocate (this=0x2b42170, totalGlyphs=64) at text/qtextengine.cpp:2073
#9  0x00007f33a82b7dfd in QTextEngine::ensureSpace (this=<value optimized out>) at text/qtextengine_p.h:514
#10 QTextEngine::attributes (this=<value optimized out>) at text/qtextengine.cpp:1321
#11 0x00007f33a82beccc in QTextLine::layout_helper (this=<value optimized out>, maxGlyphs=<value optimized out>) at text/qtextlayout.cpp:1666
#12 0x00007f33aa97dd9d in KFileItemDelegate::Private::layoutText (this=<value optimized out>, layout=..., text=<value optimized out>, maxWidth=211)
    at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.3.2/kio/kio/kfileitemdelegate.cpp:352
#13 0x00007f33aa97edc4 in KFileItemDelegate::Private::layoutText (this=0x7f33a7764e60, layout=..., option=..., text=..., constraints=...)
    at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.3.2/kio/kio/kfileitemdelegate.cpp:326
#14 0x00007f33aa9811ff in KFileItemDelegate::Private::layoutTextItems (this=0x2981e30, option=..., index=<value optimized out>, labelLayout=0x7fff001c5720, infoLayout=<value optimized out>, 
    textBoundingRect=0x7fff001c56e0) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.3.2/kio/kio/kfileitemdelegate.cpp:705
#15 0x00007f33aa9827bd in KFileItemDelegate::paint (this=0x2876850, painter=<value optimized out>, option=..., index=...)
    at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.3.2/kio/kio/kfileitemdelegate.cpp:1220
#16 0x00007f33a85a2c32 in QListView::paintEvent (this=<value optimized out>, e=<value optimized out>) at itemviews/qlistview.cpp:1192
#17 0x00007f33a80ffe40 in QWidget::event (this=0x289c6f0, event=0x7fff001c65c0) at kernel/qwidget.cpp:7692
#18 0x00007f33a84592b6 in QFrame::event (this=0x289c6f0, e=0x7fff001c65c0) at widgets/qframe.cpp:559
#19 0x00007f33a858b5cb in QAbstractItemView::viewportEvent (this=0x289c6f0, event=0x7fff001c65c0) at itemviews/qabstractitemview.cpp:1476
#20 0x00007f33a8e1f687 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x283b300, event=0x7fff001c65c0) at kernel/qcoreapplication.cpp:726
#21 0x00007f33a80b15dc in QApplicationPrivate::notify_helper (this=0x2055560, receiver=0x283b300, e=0x7fff001c65c0) at kernel/qapplication.cpp:4061
#22 0x00007f33a80b88de in QApplication::notify (this=0x7fff001c74f0, receiver=0x283b300, e=0x7fff001c65c0) at kernel/qapplication.cpp:4030
#23 0x00007f33a9c885a6 in KApplication::notify (this=0x7fff001c74f0, receiver=0x283b300, event=0x7fff001c65c0) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#24 0x00007f33a8e2033c in QCoreApplication::notifyInternal (this=0x7fff001c74f0, receiver=0x283b300, event=0x7fff001c65c0) at kernel/qcoreapplication.cpp:610
#25 0x00007f33a8107233 in QCoreApplication::sendSpontaneousEvent (this=0x28f9000, pdev=0x215f4f8, rgn=..., offset=<value optimized out>, flags=<value optimized out>, 
    sharedPainter=<value optimized out>, backingStore=0x215e710) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#26 QWidgetPrivate::drawWidget (this=0x28f9000, pdev=0x215f4f8, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=<value optimized out>, backingStore=0x215e710)
    at kernel/qwidget.cpp:5084
#27 0x00007f33a8276dbe in QWidgetBackingStore::sync (this=0x215e710) at painting/qbackingstore.cpp:1264
#28 0x00007f33a80f9670 in QWidgetPrivate::syncBackingStore (this=0x21616e0) at kernel/qwidget.cpp:1603
#29 0x00007f33a80ffc58 in QWidget::event (this=0x2161630, event=0x2b62080) at kernel/qwidget.cpp:7832
#30 0x00007f33a847388b in QMainWindow::event (this=0x2161630, event=0x2b62080) at widgets/qmainwindow.cpp:1399
#31 0x0000000000476ede in _start ()

Reported using DrKonqi
Comment 1 Christoph Pfister 2009-10-31 13:21:59 UTC
please try to reproduce the problem with valgrind:
- install valgrind
- run "valgrind --log-file=log.txt --num-callers=40 kaffeine --nofork" in a console
- attach the resulting log.txt file ...
Comment 2 Brandon 2009-11-05 05:22:20 UTC
I actually couldn't reproduce it, sorry.
Comment 3 Christoph Pfister 2009-11-07 15:43:29 UTC
that's quite possible (the behaviour may change because of the interaction with valgrind) - BUT there could be some messages in the log file (please attach it anyway)
Comment 4 Brandon 2009-11-07 19:14:29 UTC
heres the link to the log: http://pastebin.com/f10cdf0cf
Comment 5 Christoph Pfister 2010-01-31 18:29:43 UTC
can you please retry with 1.0-pre3 once it is available to you?
Comment 6 Brandon 2010-02-01 04:19:33 UTC
I havent had this problem in awhile, but then again I dont kaffeine as much as i used to anymore. If it pops up again Ill be sure to add it in.
Comment 7 Christoph Pfister 2010-02-06 13:01:08 UTC
Ok, I'll keep this bug closed till you come across that problem again.