Bug 481361 - When plasmashell restartd, ark opend a text file in zip file will crash
Summary: When plasmashell restartd, ark opend a text file in zip file will crash
Status: RESOLVED WORKSFORME
Alias: None
Product: ark
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-02-15 12:24 UTC by HappyRespawnanchor
Modified: 2024-03-18 03:46 UTC (History)
2 users (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 HappyRespawnanchor 2024-02-15 12:24:07 UTC
Application: ark (23.08.4)

Qt Version: 5.15.12
Frameworks Version: 5.115.0
Operating System: Linux 6.7.4-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
When plasmashell restartd(run plasmashell --replace),  ark opend a text file in zip file will crash

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault

[KCrash Handler]
#4  0x000071c07072fb7e in QtSharedPointer::ExternalRefCountData::getAndRef(QObject const*) () at /usr/lib/libQt5Core.so.5
#5  0x000071c0713aef62 in ??? () at /usr/lib/libKF5JobWidgets.so.5
#6  0x000071c0708d0e27 in ??? () at /usr/lib/libQt5Core.so.5
#7  0x000071c0708d0e27 in ??? () at /usr/lib/libQt5Core.so.5
#8  0x000071c06fffab74 in QDBusServiceWatcher::serviceOwnerChanged(QString const&, QString const&, QString const&) () at /usr/lib/libQt5DBus.so.5
#9  0x000071c06fffefcf in ??? () at /usr/lib/libQt5DBus.so.5
#10 0x000071c06ffff2f3 in QDBusServiceWatcher::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt5DBus.so.5
#11 0x000071c06ffbe76e in ??? () at /usr/lib/libQt5DBus.so.5
#12 0x000071c0708c3964 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#13 0x000071c0715788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x000071c07089bef8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x000071c0708a0e5b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#16 0x000071c0708e6ec8 in ??? () at /usr/lib/libQt5Core.so.5
#17 0x000071c06ef0df69 in ??? () at /usr/lib/libglib-2.0.so.0
#18 0x000071c06ef6c3a7 in ??? () at /usr/lib/libglib-2.0.so.0
#19 0x000071c06ef0c162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#20 0x000071c0708ead0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#21 0x000071c07089ac04 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x000071c07089c0a3 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#23 0x000063b51f17b574 in ??? ()
#24 0x000071c070043cd0 in ??? () at /usr/lib/libc.so.6
#25 0x000071c070043d8a in __libc_start_main () at /usr/lib/libc.so.6
#26 0x000063b51f17d1d5 in ??? ()
[Inferior 1 (process 119627) detached]

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

Reported using DrKonqi
Comment 1 fanzhuyifan 2024-02-16 06:07:09 UTC
No KDE code is implicated in what I can see from the backtrace, and the backtrace has no debug symbols for anything that would help. :(

If this crash is reproducible, could you please install debug symbols, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks!
Comment 2 HappyRespawnanchor 2024-02-17 09:24:05 UTC
thank you for the reminder! here's the backtrace report:

#0  0x00007ffff6327b7e in std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>)
    at /usr/include/c++/13.2.1/bits/atomic_base.h:837
#1  std::atomic<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/13.2.1/atomic:577
#2  QAtomicOps<QtSharedPointer::ExternalRefCountData*>::loadRelaxed<QtSharedPointer::ExternalRefCountData*> (_q_value=<optimized out>)
    at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#3  QBasicAtomicPointer<QtSharedPointer::ExternalRefCountData>::loadRelaxed (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#4  QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x555555dee9f0) at tools/qsharedpointer.cpp:1396
#5  0x00007ffff6ebbf62 in QWeakPointer<QObject>::QWeakPointer<KJob, true> (ptr=0x555555dee9f0, this=<synthetic pointer>, this=<optimized out>, ptr=<optimized out>)
    at /usr/include/qt/QtCore/qsharedpointer_impl.h:685
#6  QPointer<KJob>::QPointer (p=0x555555dee9f0, this=<synthetic pointer>, this=<optimized out>, p=<optimized out>) at /usr/include/qt/QtCore/qpointer.h:62
#7  operator() (__closure=<optimized out>) at /usr/src/debug/kjobwidgets5/kjobwidgets-5.115.0/src/kuiserverv2jobtracker.cpp:206
#8  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KUiServerV2JobTracker::registerJob(KJob*)::<lambda()> >::call
    (arg=<optimized out>, f=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#9  QtPrivate::Functor<KUiServerV2JobTracker::registerJob(KJob*)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=<optimized out>)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#10 QtPrivate::QFunctorSlotObject<KUiServerV2JobTracker::registerJob(KJob*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#11 0x00007ffff64c8e27 in QtPrivate::QSlotObjectBase::call
    (a=0x7fffffffd090, r=<optimized out>, this=0x555555e6ef90, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate<false> (sender=0x7ffff6ecc060 <_ZZN12_GLOBAL__N_117Q_QGS_serverProxy13innerFunctionEvE6holder.lto_priv.1>, signal_index=3, argv=0x7fffffffd090)
    at kernel/qobject.cpp:3925
#13 0x00007ffff64c8e27 in QtPrivate::QSlotObjectBase::call
    (a=0x7fffffffd1b0, r=<optimized out>, this=0x555555e32c30, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false> (sender=0x555555e1c860, signal_index=5, argv=0x7fffffffd1b0) at kernel/qobject.cpp:3925
#15 0x00007ffff60ddb74 in QDBusServiceWatcher::serviceOwnerChanged (this=this@entry=0x555555e1c860, _t1=..., _t2=..., _t3=...) at .moc/moc_qdbusservicewatcher.cpp:242
#16 0x00007ffff60e1fcf in QDBusServiceWatcherPrivate::_q_serviceOwnerChanged (this=<optimized out>, newOwner=..., oldOwner=..., service=...)
    at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusservicewatcher.cpp:76
#17 QDBusServiceWatcher::qt_static_metacall (_o=_o@entry=0x555555e1c860, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=3, _a=_a@entry=0x7fffffffd330)
    at .moc/moc_qdbusservicewatcher.cpp:116
#18 0x00007ffff60e22f3 in QDBusServiceWatcher::qt_metacall (this=0x555555e1c860, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffffffd330)
    at .moc/moc_qdbusservicewatcher.cpp:197
#19 0x00007ffff60a176e in QDBusConnectionPrivate::deliverCall
    (this=<optimized out>, object=<optimized out>, msg=<optimized out>, metaTypes=<optimized out>, slotIdx=<optimized out>)
    at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusintegrator.cpp:1001
--Type <RET> for more, q to quit, c to continue without paging--
#20 0x00007ffff64bb964 in QObject::event (this=0x555555e1c860, e=0x7fffec012960) at kernel/qobject.cpp:1347
#21 0x00007ffff71578ff in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555555e1c860, e=0x7fffec012960) at kernel/qapplication.cpp:3640
#22 0x00007ffff6493ef8 in QCoreApplication::notifyInternal2 (receiver=0x555555e1c860, event=0x7fffec012960) at kernel/qcoreapplication.cpp:1064
#23 0x00007ffff6498e5b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55555558a550) at kernel/qcoreapplication.cpp:1821
#24 0x00007ffff64deec8 in postEventSourceDispatch (s=0x5555555f43b0) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007ffff4b0df69 in g_main_dispatch (context=0x7fffec000ec0) at ../glib/glib/gmain.c:3476
#26 0x00007ffff4b6c3a7 in g_main_context_dispatch_unlocked (context=0x7fffec000ec0) at ../glib/glib/gmain.c:4284
#27 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffec000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/glib/gmain.c:4349
#28 0x00007ffff4b0c162 in g_main_context_iteration (context=0x7fffec000ec0, may_block=1) at ../glib/glib/gmain.c:4414
#29 0x00007ffff64e2d0c in QEventDispatcherGlib::processEvents (this=0x5555555f6990, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007ffff6492c04 in QEventLoop::exec (this=this@entry=0x7fffffffd800, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#31 0x00007ffff64940a3 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x00007ffff692bef2 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#33 0x00007ffff7155cda in QApplication::exec () at kernel/qapplication.cpp:2832
#34 0x0000555555566574 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/ark/ark-23.08.5/app/main.cpp:341
Comment 3 Bug Janitor Service 2024-03-03 03:46:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-03-18 03:46:26 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!