https://bugs.kde.org/show_bug.cgi?id=472713

            Bug ID: 472713
           Summary: Dolphin frequently crashes with "signal: Bus error";
                    probably a duplicate but still unsure of how to fix.
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: willa...@yandex.com
  Target Milestone: ---

SUMMARY
Application: dolphin (21.12.3)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.14.21-150400.24.69-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.4"
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Usually, as is the case with this specific report, when I'm doing something
that requires frequent invoktion of Dolphin such as saving files to disk in
Firefox.

- Unusual behavior I noticed:
After my system has been up for a while, I frequently encounter a situation in
which Dolphin, regardless of how it's invoked, refuses to open, crashing
immediately with the attached (or similar) bug report. This happens regardless
of whether I open Dolphin directly from the desktop, the shell, or even through
another application that requires an external file selector such as saving
files to disk in Firefox. At first I thought it may be related to some
filesystem corruption but I've ran various fsck tools before and after the
crash and found no issue; plus, I can still traverse the filesystem just fine
from the shell. I suspect (from the crash handler's backtrace) it's a bug in
how "file icons" are cached.

- System:
Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.14.21-150400.24.69-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-6500U CPU @ 2.50GHz
Memory: 11.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 520

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Bus error

[KCrash Handler]
#4  0x00007fec3af1369d in __strncmp_avx2 () from /lib64/libc.so.6
#5  0x00007fec3d4d59fa in qstrncmp (len=<optimized out>, str2=<optimized out>,
str1=<optimized out>) at /usr/include/qt5/QtCore/qbytearray.h:97
#6  SharedMemory::findNamedEntry (this=0x7fec229e0000, key=...) at
/usr/src/debug/kcoreaddons-5.90.0-150400.3.2.3.x86_64/src/lib/caching/kshareddatacache.cpp:768
#7  0x00007fec3d4cf1d6 in KSharedDataCache::find (this=0x55d3121fe550, key=...,
destination=destination@entry=0x7ffc1dc365d0) at
/usr/src/debug/kcoreaddons-5.90.0-150400.3.2.3.x86_64/src/lib/caching/kshareddatacache.cpp:1558
#8  0x00007fec3ef96fe0 in KIconLoaderPrivate::findCachedPixmapWithPath
(this=0x55d3121fee70, key=..., data=..., path=...) at
/usr/src/debug/kiconthemes-5.90.0-150400.3.2.3.x86_64/src/kiconloader.cpp:976
#9  0x00007fec3ef9741c in KIconLoader::loadScaledIcon (this=0x7fec3f1aee40
<(anonymous namespace)::Q_QGS_globalIconLoader::innerFunction()::holder>,
_name=..., group=<optimized out>, group@entry=KIconLoader::Desktop,
scale=scale@entry=1, _size=..., state=<optimized out>, overlays=...,
path_store=0x0, canReturnNull=false, colors=std::optional<KIconColors> [no
contained value]) at
/usr/src/debug/kiconthemes-5.90.0-150400.3.2.3.x86_64/src/kiconloader.cpp:1323
#10 0x00007fec3ef8d781 in KIconEngine::createPixmap (this=0x55d31235ebf0,
size=..., scale=<optimized out>, scale@entry=1, mode=<optimized out>,
state=<optimized out>) at
/usr/src/debug/kiconthemes-5.90.0-150400.3.2.3.x86_64/src/kiconengine.cpp:114
#11 0x00007fec3ef8db95 in KIconEngine::pixmap (this=<optimized out>, size=...,
mode=<optimized out>, state=<optimized out>) at
/usr/src/debug/kiconthemes-5.90.0-150400.3.2.3.x86_64/src/kiconengine.cpp:136
#12 0x00007fec3c2508fb in QIcon::pixmap (this=this@entry=0x7ffc1dc36d00,
window=window@entry=0x0, size=..., mode=mode@entry=QIcon::Disabled,
state=state@entry=QIcon::Off) at image/qicon.cpp:905
#13 0x00007fec3c2509de in QIcon::pixmap (this=this@entry=0x7ffc1dc36d00,
size=..., mode=mode@entry=QIcon::Disabled, state=state@entry=QIcon::Off) at
image/qicon.cpp:841
#14 0x00007fec2812b1c5 in Breeze::Helper::coloredIcon (this=<optimized out>,
icon=..., palette=..., size=..., mode=mode@entry=QIcon::Disabled,
state=QIcon::Off) at
/usr/src/debug/breeze-5.24.4-bp154.1.34.x86_64/kstyle/breezehelper.cpp:1700
#15 0x00007fec28149303 in Breeze::Style::drawToolButtonLabelControl
(this=0x55d3121f0930, option=0x7ffc1dc36cb0, painter=0x7ffc1dc36e10,
widget=0x55d312695c40) at
/usr/src/debug/breeze-5.24.4-bp154.1.34.x86_64/kstyle/breezestyle.cpp:4617
#16 0x00007fec28147303 in std::function<bool (Breeze::Style const&,
QStyleOption const*, QPainter*, QWidget const*)>::operator()(Breeze::Style
const&, QStyleOption const*, QPainter*, QWidget const*) const
(__args#3=<optimized out>, __args#2=<optimized out>, __args#1=<optimized out>,
__args#0=..., this=0x7ffc1dc36c20) at
/usr/include/c++/7/bits/std_function.h:706
#17 Breeze::Style::drawControl (this=0x55d3121f0930,
element=QStyle::CE_ToolButtonLabel, option=0x7ffc1dc36cb0,
painter=0x7ffc1dc36e10, widget=0x55d312695c40) at
/usr/src/debug/breeze-5.24.4-bp154.1.34.x86_64/kstyle/breezestyle.cpp:1063
#18 0x00007fec2813fd47 in Breeze::Style::drawToolButtonComplexControl
(this=0x55d3121f0930, option=<optimized out>, painter=0x7ffc1dc36e10,
widget=0x55d312695c40) at
/usr/src/debug/breeze-5.24.4-bp154.1.34.x86_64/kstyle/breezestyle.cpp:6471
#19 0x00007fec2813ffd9 in Breeze::Style::drawToolButtonComplexControl
(this=<optimized out>, option=<optimized out>, painter=<optimized out>,
widget=<optimized out>) at
/usr/src/debug/breeze-5.24.4-bp154.1.34.x86_64/kstyle/breezestyle.cpp:6361
#20 0x00007fec28147a34 in std::function<bool (Breeze::Style const&,
QStyleOptionComplex const*, QPainter*, QWidget
const*)>::operator()(Breeze::Style const&, QStyleOptionComplex const*,
QPainter*, QWidget const*) const (__args#3=<optimized out>, __args#2=<optimized
out>, __args#1=<optimized out>, __args#0=..., this=0x7ffc1dc36db0) at
/usr/include/c++/7/bits/std_function.h:706
#21 Breeze::Style::drawComplexControl (this=0x55d3121f0930,
element=QStyle::CC_ToolButton, option=0x7ffc1dc36e30, painter=0x7ffc1dc36e10,
widget=0x55d312695c40) at
/usr/src/debug/breeze-5.24.4-bp154.1.34.x86_64/kstyle/breezestyle.cpp:1094
#22 0x00007fec3cceac71 in QStylePainter::drawComplexControl (opt=...,
cc=QStyle::CC_ToolButton, this=0x7ffc1dc36e10) at
../../include/QtWidgets/../../src/widgets/styles/qstylepainter.h:90
#23 QToolButton::paintEvent (this=0x55d312695c40) at
widgets/qtoolbutton.cpp:460
#24 0x00007fec3cb4bb48 in QWidget::event (this=0x55d312695c40,
event=0x7ffc1dc37200) at kernel/qwidget.cpp:9020
#25 0x00007fec3cbfa1ab in QAbstractButton::event
(this=this@entry=0x55d312695c40, e=e@entry=0x7ffc1dc37200) at
widgets/qabstractbutton.cpp:1001
#26 0x00007fec3ccec954 in QToolButton::event (this=0x55d312695c40,
event=0x7ffc1dc37200) at widgets/qtoolbutton.cpp:1012
#27 0x00007fec3cb0b3bc in QApplicationPrivate::notify_helper
(this=this@entry=0x55d312121ce0, receiver=receiver@entry=0x55d312695c40,
e=e@entry=0x7ffc1dc37200) at kernel/qapplication.cpp:3632
#28 0x00007fec3cb121a0 in QApplication::notify (this=0x7ffc1dc38f80,
receiver=0x55d312695c40, e=0x7ffc1dc37200) at kernel/qapplication.cpp:3156
#29 0x00007fec3b68dc23 in QCoreApplication::notifyInternal2
(receiver=0x55d312695c40, event=0x7ffc1dc37200) at
kernel/qcoreapplication.cpp:1064
#30 0x00007fec3b68de0e in QCoreApplication::sendSpontaneousEvent
(receiver=receiver@entry=0x55d312695c40, event=event@entry=0x7ffc1dc37200) at
kernel/qcoreapplication.cpp:1474
#31 0x00007fec3cb44045 in QWidgetPrivate::sendPaintEvent
(this=this@entry=0x55d3123f00c0, toBePainted=...) at kernel/qwidget.cpp:5467
#32 0x00007fec3cb44c2e in QWidgetPrivate::drawWidget
(this=this@entry=0x55d3123f00c0, pdev=pdev@entry=0x55d3128bbe60, rgn=...,
offset=..., flags=flags@entry=..., sharedPainter=sharedPainter@entry=0x0,
repaintManager=<optimized out>) at kernel/qwidget.cpp:5417
#33 0x00007fec3cb45af0 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d312347920, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5598
#34 0x00007fec3cb45c79 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d312347920, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5584
#35 0x00007fec3cb45c79 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d312347920, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5584
#36 0x00007fec3cb45c79 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d312347920, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5584
#37 0x00007fec3cb45c79 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d312347920, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5584
#38 0x00007fec3cb45c79 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d312347920, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5584
#39 0x00007fec3cb45c79 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d312347920, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5584
#40 0x00007fec3cb45c79 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d312347920, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5584
#41 0x00007fec3cb45c79 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d312347920, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5584
#42 0x00007fec3cb45c79 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d312347920, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5584
#43 0x00007fec3cb44212 in QWidgetPrivate::drawWidget
(this=this@entry=0x55d312347920, pdev=pdev@entry=0x55d3128bbe60, rgn=...,
offset=..., flags=..., flags@entry=..., sharedPainter=sharedPainter@entry=0x0,
repaintManager=<optimized out>) at kernel/qwidget.cpp:5458
#44 0x00007fec3cb45af0 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d3121ec000, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5598
#45 0x00007fec3cb45c79 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x55d3121ec000, pdev=pdev@entry=0x55d3128bbe60, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0,
repaintManager=0x55d3124f58d0) at kernel/qwidget.cpp:5584
#46 0x00007fec3cb44212 in QWidgetPrivate::drawWidget
(this=this@entry=0x55d3121ec000, pdev=0x55d3128bbe60, rgn=..., offset=...,
flags=..., flags@entry=..., sharedPainter=sharedPainter@entry=0x0,
repaintManager=<optimized out>) at kernel/qwidget.cpp:5458
#47 0x00007fec3cb1ba1d in QWidgetRepaintManager::paintAndFlush
(this=this@entry=0x55d3124f58d0) at kernel/qwidgetrepaintmanager.cpp:1009
#48 0x00007fec3cb1bcc7 in QWidgetRepaintManager::sync (this=0x55d3124f58d0,
exposedWidget=0x55d31223da30, exposedRegion=...) at
kernel/qwidgetrepaintmanager.cpp:743
#49 0x00007fec3cb4575f in QWidgetPrivate::syncBackingStore
(this=this@entry=0x55d3121ec000, region=...) at kernel/qwidget.cpp:1765
#50 0x00007fec3cb6875c in QWidgetWindow::handleExposeEvent
(this=this@entry=0x55d3124cf0d0, event=event@entry=0x7ffc1dc38bc0) at
kernel/qwidgetwindow.cpp:1027
#51 0x00007fec3cb693cc in QWidgetWindow::event (this=0x55d3124cf0d0,
event=0x7ffc1dc38bc0) at kernel/qwidgetwindow.cpp:347
#52 0x00007fec3cb0b3bc in QApplicationPrivate::notify_helper
(this=this@entry=0x55d312121ce0, receiver=receiver@entry=0x55d3124cf0d0,
e=e@entry=0x7ffc1dc38bc0) at kernel/qapplication.cpp:3632
#53 0x00007fec3cb121a0 in QApplication::notify (this=0x7ffc1dc38f80,
receiver=0x55d3124cf0d0, e=0x7ffc1dc38bc0) at kernel/qapplication.cpp:3156
#54 0x00007fec3b68dc23 in QCoreApplication::notifyInternal2
(receiver=0x55d3124cf0d0, event=0x7ffc1dc38bc0) at
kernel/qcoreapplication.cpp:1064
#55 0x00007fec3b68de0e in QCoreApplication::sendSpontaneousEvent
(receiver=receiver@entry=0x55d3124cf0d0, event=event@entry=0x7ffc1dc38bc0) at
kernel/qcoreapplication.cpp:1474
#56 0x00007fec3c1b94a7 in QGuiApplicationPrivate::processExposeEvent
(e=0x55d31275cfc0) at kernel/qguiapplication.cpp:3258
#57 0x00007fec3c1b970d in QGuiApplicationPrivate::processWindowSystemEvent
(e=e@entry=0x55d31275cfc0) at kernel/qguiapplication.cpp:2070
#58 0x00007fec3c19144b in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#59 0x00007fec2c1efd0a in xcbSourceDispatch (source=<optimized out>) at
qxcbeventdispatcher.cpp:105
#60 0x00007fec340de82b in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#61 0x00007fec340debd0 in ?? () from /usr/lib64/libglib-2.0.so.0
#62 0x00007fec340dec5c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#63 0x00007fec3b6f002c in QEventDispatcherGlib::processEvents
(this=0x55d3121e9ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#64 0x00007fec3b68c48a in QEventLoop::exec (this=this@entry=0x7ffc1dc38ea0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:232
#65 0x00007fec3b695cc7 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1375
#66 0x00007fec3c1acf9c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1867
#67 0x00007fec3cb0b315 in QApplication::exec () at kernel/qapplication.cpp:2824
#68 0x000055d310e51b96 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/dolphin-21.12.3-bp154.1.31.x86_64/src/main.cpp:212
[Inferior 1 (process 32364) detached]

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

Possible duplicates by query: bug 454202, bug 423234, bug 417010, bug 416836,
bug 380002.

And a following issue: the above report was created with the help of DrKonqi
however it repeatedly failed to actually post the report saying only "Error
sending the crash report: /https://bugs.kde.org/rest/bug?token=<TOKENID
(changes each retry)>./" thus why I'm posting this manually in such an
inelegant fashion.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to