Bug 272311 - crash of kaffein
Summary: crash of kaffein
Status: RESOLVED INTENTIONAL
Alias: None
Product: kaffeine
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.x
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 10:32 UTC by Jan Navrátil
Modified: 2017-10-04 09:04 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Navrátil 2011-05-03 10:32:10 UTC
Application: kaffeine (1.1)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed: I added mp3 files from ntfs file system, to playlist and double clik to first track, i this moment kaffein crashed.

-- Backtrace:
Application: Kaffeine (kaffeine), signal: Aborted
[Current thread is 1 (Thread 0x7fe774775780 (LWP 1933))]

Thread 4 (Thread 0x7fe768f30700 (LWP 1934)):
#0  0x00007fe770dbaf03 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fe76d3e3104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe76d3e39f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe76988fc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fe76d40a3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe76deead8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fe770dc804d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe755fab700 (LWP 1939)):
#0  0x00007fe770dd75ae in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fe770d6080f in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fe770d5e8d8 in free () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007fe76d3de9b4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe7724247aa in QEventDispatcherGlib::~QEventDispatcherGlib() () from /usr/lib/libQtCore.so.4
#5  0x00007fe7724248f9 in QEventDispatcherGlib::~QEventDispatcherGlib() () from /usr/lib/libQtCore.so.4
#6  0x00007fe7723114d4 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fe77231217d in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fe76deead8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007fe770dc804d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe7557aa700 (LWP 1942)):
#0  0x00007fe770dd75ae in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fe770d6080f in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fe770d5e8d8 in free () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007fe772423e57 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fe76d3e2854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe76d3e3122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fe76d3e3639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fe7724243ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x00007fe7723f8882 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0x00007fe7723f8abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x00007fe77230f924 in QThread::exec() () from /usr/lib/libQtCore.so.4
#11 0x00007fe7723dac2f in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007fe772312175 in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007fe76deead8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#14 0x00007fe770dc804d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe774775780 (LWP 1933)):
[KCrash Handler]
#6  0x00007fe770d15d05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007fe770d19ab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007fe770d4ed7b in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x00007fe770d5aa8f in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x00007fe770d5e8e3 in free () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x00007fe76f8b59ec in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007fe76f8b1103 in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007fe76355d997 in _gdk_x11_copy_to_image (drawable=0x1b88300, image=0x18971a0, src_x=0, src_y=0, dest_x=1280, dest_y=0, width=100, height=17) at /build/buildd/gtk+2.0-2.24.4/gdk/x11/gdkimage-x11.c:521
#14 0x00007fe76352092a in IA__gdk_drawable_copy_to_image (drawable=0x1b88300, image=0x18971a0, src_x=0, src_y=0, dest_x=1280, dest_y=0, width=100, height=17) at /build/buildd/gtk+2.0-2.24.4/gdk/gdkdraw.c:1156
#15 0x00007fe76352092a in IA__gdk_drawable_copy_to_image (drawable=0x189c700, image=0x18971a0, src_x=0, src_y=0, dest_x=1280, dest_y=0, width=100, height=17) at /build/buildd/gtk+2.0-2.24.4/gdk/gdkdraw.c:1156
#16 0x00007fe76352bfe2 in IA__gdk_pixbuf_get_from_drawable (dest=0x188ac00, src=0x189c700, cmap=0x1731040, src_x=0, src_y=0, dest_x=0, dest_y=0, width=100, height=17) at /build/buildd/gtk+2.0-2.24.4/gdk/gdkpixbuf-drawable.c:1302
#17 0x00007fe771b40a8c in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007fe771b2b953 in QGtkStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libQtGui.so.4
#19 0x00007fe771ac56d7 in QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libQtGui.so.4
#20 0x00007fe771b6133d in QWindowsStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libQtGui.so.4
#21 0x00007fe771b4bdd4 in QCleanlooksStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libQtGui.so.4
#22 0x00007fe771b339b4 in QGtkStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libQtGui.so.4
#23 0x00007fe771d72c90 in QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#24 0x00007fe771d0c0e0 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#25 0x00007fe771d0f057 in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/libQtGui.so.4
#26 0x00007fe771d0fa46 in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#27 0x00007fe77180bc6a in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007fe771bbba66 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007fe771cccd7b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x00007fe771d10f85 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x00007fe7723f9627 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#32 0x00007fe7717ba9b1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x00007fe7717bf3aa in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#34 0x00007fe7730b1866 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#35 0x00007fe7723f949c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#36 0x00007fe771808abd in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#37 0x00007fe7719cd29f in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007fe7717fef50 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#39 0x00007fe77180c184 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#40 0x00007fe771bd551b in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#41 0x000000000043987e in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2011-05-09 00:02:28 UTC
[Comment from a bug report cleaner]
The crash seems related to the GTK Qt widget style. If you can reproduce the original crash, try starting Kaffeine with a different widget style just to test.
Regards
Comment 2 Christoph Feck 2011-05-14 19:37:44 UTC
Well, no, it asserts in "free()", which would mean corrupted memory. But looking at the other threads, they are also in "free()". glibc memory handling still not thread-safe?

If this is reproducible, please add a valgrind and a hellgrind log. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_Valgrind
Comment 3 Mauro Carvalho Chehab 2016-06-01 11:10:30 UTC
The Kaffeine version you're using is too old. We just released upstream a version 2.0.1, with is based on KDE5, and changed both the DVB and video play backends. Could you please test the upstream version and see if it works? The README file contains instructions about how to compile it. You can find it at our git repository:

https://quickgit.kde.org/?p=kaffeine.git

As this BZ is on an old version that we're not maintaining upstream anymore, I'm closing the bug. If you find similar issues with version 2.0.1, please re-open.