Bug 484551 - Dolphin Crashed when in Context Menu at the function QImage::sizeInBytes
Summary: Dolphin Crashed when in Context Menu at the function QImage::sizeInBytes
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 470304 482243 484848 486728 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-26 20:45 UTC by Dashon
Modified: 2024-05-07 21:11 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Dolphin backtrace via gdb (11.27 KB, text/x-log)
2024-03-26 20:45 UTC, Dashon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dashon 2024-03-26 20:45:02 UTC
Created attachment 167816 [details]
Dolphin backtrace via gdb

SUMMARY
I was about to create a text file in dolphin via the context menu -> create new. Then it crashed before I could ever click on the text file option. I don't believe the crash is actually related to the context menu though. I open the coredump via gdb and it says that the program crashed at:

#0  0x00007e4871f096ef in QImage::sizeInBytes (this=0x5f23515b9ea8) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/image/qimage.cpp:1528
1528        return d ? d->nbytes : 0;

I'll also upload the backtrace along with this report.


SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C95
System Version: 1.0
Comment 1 Nicolas Fella 2024-03-26 21:28:19 UTC
#0  0x00007e4871f096ef in QImage::sizeInBytes (this=0x5f23515b9ea8) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/image/qimage.cpp:1528
#1  0x00007e486f5178de in QtWaylandClient::QWaylandShmBackingStore::resize (this=this@entry=0x5f2350a188e0, size=...) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylandshmbackingstore.cpp:280
#2  0x00007e486f517b13 in QtWaylandClient::QWaylandShmBackingStore::ensureSize (this=0x5f2350a188e0) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylandshmbackingstore.cpp:193
#3  QtWaylandClient::QWaylandShmBackingStore::beginPaint (this=0x5f2350a188e0, region=...) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylandshmbackingstore.cpp:172
#4  0x00007e4871ff4a86 in QBackingStore::beginPaint (this=0x5f2350730970, region=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/painting/qbackingstore.cpp:125
#5  0x00007e4872953b58 in QWidgetRepaintManager::paintAndFlush (this=this@entry=0x5f23508aadc0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidgetrepaintmanager.cpp:869
#6  0x00007e487295445b in QWidgetRepaintManager::sync (this=0x5f23508aadc0, exposedWidget=0x5f234fa2bc90, exposedRegion=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidgetrepaintmanager.cpp:629
#7  0x00007e4872959d97 in QWidgetWindow::handleExposeEvent (event=0x7ffcdb73c0c0, this=0x5f2350aaba90) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidgetwindow.cpp:1048
#8  QWidgetWindow::event (this=0x5f2350aaba90, event=0x7ffcdb73c0c0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidgetwindow.cpp:314
#9  0x00007e48728f438b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5f2350aaba90, e=0x7ffcdb73c0c0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3296
#10 0x00007e4871939818 in QCoreApplication::notifyInternal2 (receiver=0x5f2350aaba90, event=0x7ffcdb73c0c0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#11 0x00007e487193986d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1553
#12 0x00007e4871f7dda9 in QGuiApplicationPrivate::processExposeEvent (e=0x5f2350eba7a0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:3296
#13 0x00007e4871fda85c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qwindowsysteminterface.cpp:1109
#14 0x00007e48723b26c4 in userEventSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#15 0x00007e487010c199 in g_main_dispatch (context=0x7e4864000f00) at ../glib/glib/gmain.c:3344
#16 0x00007e487016b3bf in g_main_context_dispatch_unlocked (context=0x7e4864000f00) at ../glib/glib/gmain.c:4152
#17 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7e4864000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#18 0x00007e487010b712 in g_main_context_iteration (context=0x7e4864000f00, may_block=1) at ../glib/glib/gmain.c:4282
#19 0x00007e4871b739c4 in QEventDispatcherGlib::processEvents (this=0x5f234f630e70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#20 0x00007e4871943d6e in QEventLoop::processEvents (flags=..., this=0x7ffcdb73c420) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#21 QEventLoop::exec (this=this@entry=0x7ffcdb73c420, flags=..., flags@entry=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#22 0x00007e4872ab740e in QMenuPrivate::exec(QPoint const&, QAction*, std::function<QPoint (QSize const&)>) (this=0x5f2350c32100, p=..., action=action@entry=0x0, positionFunction=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74
#23 0x00007e4872ab7533 in QMenu::exec (this=this@entry=0x5f23512a5bf0, p=..., action=action@entry=0x0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/widgets/qmenu.cpp:2645
#24 0x00005f234d949700 in DolphinMainWindow::openContextMenu (this=<optimized out>, pos=..., item=..., selectedItems=..., url=...) at /usr/src/debug/dolphin/dolphin-24.02.1/src/dolphinmainwindow.cpp:1313
#25 0x00007e4871990ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffcdb73c610, r=0x5f234fc138c0, this=0x5f2350a19b10, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#26 doActivate<false> (sender=0x5f235170d820, signal_index=29, argv=0x7ffcdb73c610) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#27 0x00007e48740df8e9 in DolphinView::requestContextMenu (this=this@entry=0x5f235170d820, _t1=..., _t2=..., _t3=..., _t4=...) at /usr/src/debug/dolphin/build/src/dolphinprivate_autogen/include/moc_dolphinview.cpp:1944
#28 0x00007e48740e18a1 in DolphinView::slotViewContextMenuRequested (this=0x5f235170d820, pos=...) at /usr/src/debug/dolphin/dolphin-24.02.1/src/views/dolphinview.cpp:1140
#29 0x00007e4871990ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffcdb73c7a0, r=0x5f235170d820, this=0x5f2351573b70, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#30 doActivate<false> (sender=0x5f2351903060, signal_index=7, argv=0x7ffcdb73c7a0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#31 0x00007e487408cfea in KItemListController::viewContextMenuRequested (this=this@entry=0x5f2351903060, _t1=...) at /usr/src/debug/dolphin/build/src/dolphinprivate_autogen/include/moc_kitemlistcontroller.cpp:741
#32 0x00007e487409050b in KItemListController::contextMenuEvent (this=0x5f2351903060, event=<optimized out>) at /usr/src/debug/dolphin/dolphin-24.02.1/src/kitemviews/kitemlistcontroller.cpp:742
#33 0x00007e487409aa3e in KItemListView::event (this=0x5f2350840f90, event=0x7ffcdb73cca0) at /usr/src/debug/dolphin/dolphin-24.02.1/src/kitemviews/kitemlistview.cpp:1036
#34 0x00007e48728f438b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5f2350840f90, e=0x7ffcdb73cca0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3296
#35 0x00007e4871939818 in QCoreApplication::notifyInternal2 (receiver=0x5f2350840f90, event=0x7ffcdb73cca0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#36 0x00007e48729452cf in QWidget::event (this=0x5f23512ce770, event=0x7ffcdb73cca0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidget.cpp:9143
#37 0x00007e48729d39c6 in QFrame::event (this=0x5f23512ce770, e=0x7ffcdb73cca0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/widgets/qframe.cpp:515
#38 0x00007e4871937e38 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x5f23518cb620, event=event@entry=0x7ffcdb73cca0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1253
#39 0x00007e48728f437b in QApplicationPrivate::notify_helper (this=this@entry=0x5f234f613c70, receiver=receiver@entry=0x5f23518cb620, e=e@entry=0x7ffcdb73cca0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3290
#40 0x00007e48728f7bb6 in QApplication::notify (this=<optimized out>, receiver=0x5f23516c77f0, e=0x7ffcdb73ce60) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:2923
#41 0x00007e4871939818 in QCoreApplication::notifyInternal2 (receiver=0x5f23516c77f0, event=0x7ffcdb73ce60) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#42 0x00007e487193984a in QCoreApplication::forwardEvent (receiver=<optimized out>, event=<optimized out>, originatingEvent=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1136
#43 0x00007e4872957b96 in QWidgetWindow::handleMouseEvent (this=0x5f234fbc85c0, event=event@entry=0x7ffcdb73d1d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidgetwindow.cpp:661
#44 0x00007e4872958db0 in QWidgetWindow::event (this=0x5f234fbc85c0, event=0x7ffcdb73d1d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidgetwindow.cpp:267
#45 0x00007e48728f438b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5f234fbc85c0, e=0x7ffcdb73d1d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3296
#46 0x00007e4871939818 in QCoreApplication::notifyInternal2 (receiver=0x5f234fbc85c0, event=0x7ffcdb73d1d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#47 0x00007e487193986d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1553
#48 0x00007e4871f6f9e5 in QGuiApplicationPrivate::processMouseEvent (e=0x7e4824001010) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qguiapplication.cpp:2325
#49 0x00007e4871fda85c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qwindowsysteminterface.cpp:1109
#50 0x00007e48723b26c4 in userEventSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#51 0x00007e487010c199 in g_main_dispatch (context=0x7e4864000f00) at ../glib/glib/gmain.c:3344
#52 0x00007e487016b3bf in g_main_context_dispatch_unlocked (context=0x7e4864000f00) at ../glib/glib/gmain.c:4152
#53 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7e4864000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#54 0x00007e487010b712 in g_main_context_iteration (context=0x7e4864000f00, may_block=1) at ../glib/glib/gmain.c:4282
#55 0x00007e4871b739c4 in QEventDispatcherGlib::processEvents (this=0x5f234f630e70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#56 0x00007e4871943d6e in QEventLoop::processEvents (flags=..., this=0x7ffcdb73d690) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#57 QEventLoop::exec (this=0x7ffcdb73d690, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#58 0x00007e487193c2b8 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74
#59 0x00007e48728f0f0a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:2574
#60 0x00005f234d935fc8 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-24.02.1/src/main.cpp:253
Comment 2 Akseli Lahtinen 2024-04-03 13:19:26 UTC
*** Bug 484848 has been marked as a duplicate of this bug. ***
Comment 3 Akseli Lahtinen 2024-04-03 13:19:39 UTC
*** Bug 482243 has been marked as a duplicate of this bug. ***
Comment 4 Akseli Lahtinen 2024-04-03 13:19:50 UTC
*** Bug 470304 has been marked as a duplicate of this bug. ***
Comment 5 Nicolas Fella 2024-05-07 21:11:10 UTC
*** Bug 486728 has been marked as a duplicate of this bug. ***