Bug 510431 - Crash after Album Cover scan of new install of Amarok
Summary: Crash after Album Cover scan of new install of Amarok
Status: RESOLVED UNMAINTAINED
Alias: None
Product: amarok
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.9.71
Platform: openSUSE Linux
: NOR crash
Target Milestone: kf5
Assignee: Amarok Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-10-09 16:05 UTC by mell4douglas
Modified: 2025-10-11 07:54 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 mell4douglas 2025-10-09 16:05:34 UTC
Application: amarok (2.9.71)

Qt Version: 5.15.12
Frameworks Version: 5.115.0
Operating System: Linux 6.4.0-150600.23.70-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.6"
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
New computer.  First scan of music library completed.  Then Album Cover scan started.  First scan crashed before completion.  Second scan crashed after completion when viewing an Album cover.  Never got to update for missing covers (the goal for this first install).  I have a very large music library.  Consolidation of multiple family members full music collections.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault

[KCrash Handler]
#4  QTextDocument::docHandle (this=0x0) at text/qtextdocument.cpp:3491
#5  0x00007f8be86837fd in QTextObject::docHandle (this=this@entry=0x559687c54490) at text/qtextobject.cpp:178
#6  0x00007f8be8683f38 in QTextFrame::begin (this=this@entry=0x559687c54490) at text/qtextobject.cpp:633
#7  0x00007f8be86c5b4e in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x7f8b0000b060, f=f@entry=0x559687c54490, layoutFrom=layoutFrom@entry=0, layoutTo=layoutTo@entry=0, frameWidth=..., frameWidth@entry=..., frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:3051
#8  0x00007f8be86c6180 in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x7f8b0000b060, f=f@entry=0x559687c54490, layoutFrom=layoutFrom@entry=0, layoutTo=layoutTo@entry=0, parentY=..., parentY@entry=...) at text/qtextdocumentlayout.cpp:2942
#9  0x00007f8be86c63b8 in QTextDocumentLayout::doLayout (this=this@entry=0x7f8b00006660, from=from@entry=0, oldLength=oldLength@entry=1, length=length@entry=0) at text/qtextdocumentlayout.cpp:3858
#10 0x00007f8be86c6d0b in QTextDocumentLayout::documentChanged (this=0x7f8b00006660, from=0, oldLength=1, length=0) at text/qtextdocumentlayout.cpp:3821
#11 0x00007f8be86a0a9d in QTextDocumentPrivate::clear (this=0x7f8b00006790) at text/qtextdocument_p.cpp:283
#12 0x00007f8be868ca76 in QTextDocument::setHtml (this=this@entry=0x7f8b00006770, html=...) at text/qtextdocument.cpp:1272
#13 0x00007f8be8ed5af0 in QLabelPrivate::ensureTextPopulated (this=0x55967c5cfa40) at widgets/qlabel.cpp:1563
#14 0x00007f8be8ed6d65 in QLabelPrivate::ensureTextPopulated (this=0x55967c5cfa40) at widgets/qlabel.cpp:1620
#15 QLabelPrivate::ensureTextLayouted (this=0x55967c5cfa40) at widgets/qlabel.cpp:1600
#16 0x00007f8be8ed7e00 in QLabelPrivate::sizeForWidth (this=this@entry=0x55967c5cfa40, w=w@entry=-1) at widgets/qlabel.cpp:670
#17 0x00007f8be8ed8497 in QLabel::minimumSizeHint (this=0x55967c724ea0) at widgets/qlabel.cpp:917
#18 0x00007f8be8ed8553 in QLabel::sizeHint (this=<optimized out>) at widgets/qlabel.cpp:900
#19 0x00007f8be4fe8475 in KSqueezedTextLabel::sizeHint (this=0x55967c724ea0) at /usr/src/debug/kwidgetsaddons-5.115.0-150600.1.2.x86_64/src/ksqueezedtextlabel.cpp:65
#20 0x00007f8be8dc1ce4 in QWidgetItemV2::updateCacheIfNecessary (this=0x55967c726870) at kernel/qlayoutitem.cpp:741
#21 0x00007f8be8dc1fcd in QWidgetItemV2::maximumSize (this=0x55967c726870) at kernel/qlayoutitem.cpp:829
#22 0x00007f8be8db6292 in QBoxLayoutPrivate::setupGeom (this=this@entry=0x55967c724710) at kernel/qboxlayout.cpp:289
#23 0x00007f8be8db70a8 in QBoxLayoutPrivate::setupGeom (this=<optimized out>) at kernel/qboxlayout.cpp:651
#24 QBoxLayout::maximumSize (this=0x55967c726600) at kernel/qboxlayout.cpp:642
#25 0x00007f8be8db6292 in QBoxLayoutPrivate::setupGeom (this=this@entry=0x55967c724580) at kernel/qboxlayout.cpp:289
#26 0x00007f8be8db70a8 in QBoxLayoutPrivate::setupGeom (this=<optimized out>) at kernel/qboxlayout.cpp:651
#27 QBoxLayout::maximumSize (this=0x55967c722770) at kernel/qboxlayout.cpp:642
#28 0x00007f8be8db6292 in QBoxLayoutPrivate::setupGeom (this=this@entry=0x55967c724470) at kernel/qboxlayout.cpp:289
#29 0x00007f8be8db7a30 in QBoxLayoutPrivate::setupGeom (this=0x55967c724470) at kernel/qboxlayout.cpp:769
#30 QBoxLayout::setGeometry (this=0x55967c722740, r=...) at kernel/qboxlayout.cpp:768
#31 0x00007f8be8dbdc78 in QLayoutPrivate::doResize (this=this@entry=0x55967c724470) at kernel/qlayout.cpp:594
#32 0x00007f8be8dbece8 in QLayout::activate (this=0x55967c722740) at kernel/qlayout.cpp:1117
#33 0x00007f8be8dbeeb3 in QLayout::widgetEvent (this=<optimized out>, e=e@entry=0x7f8b00006680) at kernel/qlayout.cpp:619
#34 0x00007f8be8d9f847 in QApplicationPrivate::notify_helper (this=this@entry=0x55967a26e020, receiver=receiver@entry=0x55967c7236c0, e=e@entry=0x7f8b00006680) at kernel/qapplication.cpp:3629
#35 0x00007f8be8da663f in QApplication::notify (this=<optimized out>, receiver=0x55967c7236c0, e=0x7f8b00006680) at kernel/qapplication.cpp:3164
#36 0x00007f8be80d7d53 in QCoreApplication::notifyInternal2 (receiver=0x55967c7236c0, event=0x7f8b00006680) at kernel/qcoreapplication.cpp:1064
#37 0x00007f8be80d7f2e in QCoreApplication::sendEvent (receiver=receiver@entry=0x55967c7236c0, event=event@entry=0x7f8b00006680) at kernel/qcoreapplication.cpp:1462
#38 0x00007f8be80da771 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55967a21f170) at kernel/qcoreapplication.cpp:1821
#39 0x00007f8be80dacf8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1680
#40 0x00007f8be813aad3 in postEventSourceDispatch (s=0x55967a3353f0) at kernel/qeventdispatcher_glib.cpp:277
#41 0x00007f8be33a5f9c in ?? () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f8be33a7bc0 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f8be33a81bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f8be813a17c in QEventDispatcherGlib::processEvents (this=0x55967a346330, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#45 0x00007f8be80d65ba in QEventLoop::exec (this=this@entry=0x7ffe58db9fb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:235
#46 0x00007f8be80dfdf7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375
#47 0x0000559675e3f0ef in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/amarok-2.9.75git.20230408T114133~7098c192a6-bp156.1.13.x86_64/src/main.cpp:395
[Inferior 1 (process 31941) detached]

The reporter indicates this bug may be a duplicate of or related to bug 271737.

Reported using DrKonqi
Comment 1 Tuomas Nurmi 2025-10-11 07:54:45 UTC
Thank you for the report! The version of Amarok you are using seems to be very old (3.0 was released in April 2024), and this looks like something that probably has been fixed since. Please update at least to 3.2.2 (Qt5 based), or the latest 3.3.1 (Qt6 based). Should the problem still persist, please do reopen.