| Summary: | Crash while starting a track [@ Meta::SqlAlbum::image] | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | Basti <s.hs> |
| Component: | Collections/Local | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | crash | CC: | bartotten, jimmietyler, mitchell, ralf-engels, sylvain.pare |
| Priority: | NOR | ||
| Version First Reported In: | 2.4-GIT | ||
| Target Milestone: | 2.4.1 | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Basti
2011-01-12 15:11:44 UTC
As Myriam said my backtrace reported here https://bugs.kde.org/show_bug.cgi?id=251913 matchs better this bug despite what I was doing corresponded better to the previous bug . Attached here is my backtrace http://bugsfiles.kde.org/attachment.cgi?id=55833 Backtrace from comment #1 (please always paste backtraces inline, else they are not searchable): Thread 1 (Thread 0x7fee66c9c7a0 (LWP 5914)): [KCrash Handler] #6 0x00007fee636e366c in malloc_consolidate (av=0x7fee639eae40) at malloc.c:5161 #7 0x00007fee636e6e82 in _int_malloc (av=0x7fee639eae40, bytes=5776) at malloc.c:4373 #8 0x00007fee636e838e in __libc_malloc (bytes=5776) at malloc.c:3660 #9 0x00007fee5797db15 in ?? () from /usr/lib/nvidia-current/libGL.so.1 #10 0x00007fee5344398d in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06 #11 0x00007fee64af7952 in QImageData::create (size=<value optimized out>, format=QImage::Format_RGB32, numColors=0) at image/qimage.cpp:242 #12 0x00007fee64af8e5b in QImage::QImage (this=0x7fff0ebb1fa0, width=38, height=38, format=QImage::Format_RGB32) at image/qimage.cpp:842 #13 0x00007fee64c393d1 in qSmoothScaleImage (src=..., dw=38, dh=38) at painting/qimagescale.cpp:1013 #14 0x00007fee64afb997 in smoothScaled (source=<value optimized out>, w=38, h=38) at image/qimage.cpp:6251 #15 0x00007fee64aff333 in QImage::transformed (this=0x7fff0ebb2570, matrix=<value optimized out>, mode=<value optimized out>) at image/qimage.cpp:6443 #16 0x00007fee64aff725 in QImage::scaled (this=0x7fff0ebb2570, s=<value optimized out>, aspectMode=<value optimized out>, mode=Qt::SmoothTransformation) at image/qimage.cpp:4319 #17 0x00007fee14f9fe3b in QImage::scaled (this=0x7fff0ebb2570, w=38, h=38, aspectMode=Qt::KeepAspectRatio, mode=Qt::SmoothTransformation) at /usr/include/qt4/QtGui/qimage.h:225 #18 0x00007fee14f9b165 in Meta::SqlAlbum::image (this=0x7fee1006b9b0, size=38) at /home/sylvain/softs/amarok/src/core-impl/collections/db/sql/SqlMeta.cpp:1629 #19 0x00007fee14f9b3ae in Meta::SqlAlbum::imageLocation (this=0x7fee1006b9b0, size=38) at /home/sylvain/softs/amarok/src/core-impl/collections/db/sql/SqlMeta.cpp:1663 #20 0x00007fee65b9475e in SvgHandler::imageWithBorder (this=0x10b6e30, album=..., size=48, borderWidth=5) at /home/sylvain/softs/amarok/src/SvgHandler.cpp:249 #21 0x00007fee65b9a381 in Amarok::TrayIcon::updateToolTipIcon (this=0x20f66f0) at /home/sylvain/softs/amarok/src/TrayIcon.cpp:117 #22 0x00007fee65b9bb2d in Amarok::TrayIcon::trackPlaying (this=0x20f66f0, track=...) at /home/sylvain/softs/amarok/src/TrayIcon.cpp:200 #23 0x00007fee65b9c8b1 in Amarok::TrayIcon::qt_metacall (this=0x20f66f0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff0ebb2a40) at /home/sylvain/softs/amarok/build/src/TrayIcon.moc:91 #24 0x00007fee6408bb27 in QMetaObject::activate (sender=0x11142d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x31) at kernel/qobject.cpp:3280 #25 0x00007fee65b6d22b in EngineController::trackPlaying (this=0x11142d0, _t1=...) at /home/sylvain/softs/amarok/build/src/EngineController.moc:247 #26 0x00007fee65b69075 in EngineController::slotNewTrackPlaying (this=0x11142d0, source=...) at /home/sylvain/softs/amarok/src/EngineController.cpp:1129 #27 0x00007fee65b6cf5f in EngineController::qt_metacall (this=0x11142d0, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0x7fff0ebb2d50) at /home/sylvain/softs/amarok/build/src/EngineController.moc:205 #28 0x00007fee6408bb27 in QMetaObject::activate (sender=0x119d580, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x31) at kernel/qobject.cpp:3280 #29 0x00007fee5fc7894b in Phonon::MediaObject::currentSourceChanged (this=0x119d580, _t1=...) at /home/sylvain/softs/phonon/build/phonon/moc_mediaobject.cpp:231 #30 0x00007fee5fc77a32 in Phonon::MediaObjectPrivate::_k_currentSourceChanged (this=0x10b43d0, source=...) at /home/sylvain/softs/phonon/phonon/mediaobject.cpp:355 #31 0x00007fee5fc785c1 in Phonon::MediaObject::qt_metacall (this=0x119d580, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fff0ebb2f20) at /home/sylvain/softs/phonon/build/phonon/moc_mediaobject.cpp:141 #32 0x00007fee6408bb27 in QMetaObject::activate (sender=0x1284520, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x31) at kernel/qobject.cpp:3280 #33 0x00007fee49bae7d7 in Phonon::VLC::MediaObject::currentSourceChanged (this=0x1284520, _t1=...) at /home/sylvain/softs/phonon-vlc/build/vlc/moc_mediaobject.cpp:149 #34 0x00007fee49bbe953 in Phonon::VLC::MediaObject::setSource (this=0x1284520, source=...) at /home/sylvain/softs/phonon-vlc/vlc/mediaobject.cpp:376 #35 0x00007fee49bbede0 in Phonon::VLC::MediaObject::moveToNextSource (this=0x1284520) at /home/sylvain/softs/phonon-vlc/vlc/mediaobject.cpp:503 #36 0x00007fee49bae70d in Phonon::VLC::MediaObject::qt_metacall (this=0x1284520, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x39f36e0) at /home/sylvain/softs/phonon-vlc/build/vlc/moc_mediaobject.cpp:124 #37 0x00007fee49baefdb in Phonon::VLC::VLCMediaObject::qt_metacall (this=0x1284520, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x39f36e0) at /home/sylvain/softs/phonon-vlc/build/vlc/moc_vlcmediaobject.cpp:98 #38 0x00007fee64085bde in QObject::event (this=0x1284520, e=0x7fee639eae40) at kernel/qobject.cpp:1219 #39 0x00007fee64a2afdc in QApplicationPrivate::notify_helper (this=0x10b2f80, receiver=0x1284520, e=0x2dda290) at kernel/qapplication.cpp:4396 #40 0x00007fee64a30aed in QApplication::notify (this=0x7fff0ebb3c00, receiver=0x1284520, e=0x2dda290) at kernel/qapplication.cpp:4277 #41 0x00007fee666b7586 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #42 0x00007fee64073cdc in QCoreApplication::notifyInternal (this=0x7fff0ebb3c00, receiver=0x1284520, event=0x2dda290) at kernel/qcoreapplication.cpp:732 #43 0x00007fee64076c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xf48e00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xf48e00) at kernel/qcoreapplication.cpp:1373 #45 0x00007fee640a0653 in sendPostedEvents (s=0x10b1120) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #46 postEventSourceDispatch (s=0x10b1120) at kernel/qeventdispatcher_glib.cpp:277 #47 0x00007fee5c5d3342 in g_main_dispatch (context=0x10b0120) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149 #48 g_main_context_dispatch (context=0x10b0120) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702 #49 0x00007fee5c5d72a8 in g_main_context_iterate (context=0x10b0120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780 #50 0x00007fee5c5d745c in g_main_context_iteration (context=0x10b0120, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843 #51 0x00007fee640a0193 in QEventDispatcherGlib::processEvents (this=0xf484f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #52 0x00007fee64adda4e in QGuiEventDispatcherGlib::processEvents (this=0x7fee639eae40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #53 0x00007fee64072a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #54 0x00007fee64072dec in QEventLoop::exec (this=0x7fff0ebb3ba0, flags=) at kernel/qeventloop.cpp:201 #55 0x00007fee64076ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #56 0x000000000040ca20 in main (argc=1, argv=0x7fff0ebb6068) at /home/sylvain/softs/amarok/src/main.cpp:268 Possible duplicates by query: bug 257258, bug 251913, bug 241431, bug 233226, bug 226997. Reported using DrKonqi The crash is caused by a corrupt image that comes with the track. The second backtrace clearly shows mallocs failing. I assume that the compressed gif was corrupt and expanded to an enormous size. As the crash is caused by the qt image handling there is nothing we can do in Amarok. Consider figuring out which image causes the crash and sending it to Qt bug tracker. Setting status correctly, Qt is upstream. *** Bug 282157 has been marked as a duplicate of this bug. *** *** Bug 286798 has been marked as a duplicate of this bug. *** |