Bug 469737 - kmenuedit sometimes crashes in KService::desktopEntryName() when I am saving changes
Summary: kmenuedit sometimes crashes in KService::desktopEntryName() when I am saving ...
Status: RESOLVED DUPLICATE of bug 450553
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.27.4
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-05-14 11:25 UTC by gnb83044
Modified: 2023-05-15 18:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gnb83044 2023-05-14 11:25:11 UTC
Application: kmenuedit (5.27.4)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.1.26-1-MANJARO x86_64
Windowing System: X11
Distribution: Manjaro Linux
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
Sometimes after clicking "Save" Kmenuedit crashes. Probability of a crash seem to be dependant on number of enteries edited - the more enteres you edit (move, add), the more likely it is to crash. Frerquant saveing prevents crashs.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Редактор меню KDE (kmenuedit), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  QString::QString (other=..., this=<optimized out>, this=<optimized out>, other=...) at /usr/include/qt/QtCore/qstring.h:1093
#7  KService::desktopEntryName (this=0x0) at /usr/src/debug/kservice/kservice-5.105.0/src/services/kservice.cpp:981
#8  0x000056475f1a64af in ?? ()
#9  0x000056475f1b1ac0 in ?? ()
#10 0x000056475f1b6969 in ?? ()
#11 0x00007f1ff74becf0 in doActivate<false> (sender=0x564760ad3740, signal_index=4, argv=0x7ffc155dcc50) at kernel/qobject.cpp:3935
#12 0x00007f1ff816bec7 in QAction::triggered (this=this@entry=0x564760ad3740, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#13 0x00007f1ff81718c7 in QAction::activate (this=0x564760ad3740, event=<optimized out>) at kernel/qaction.cpp:1161
#14 0x00007f1ff826054e in QAbstractButtonPrivate::click (this=0x564760eb9fb0) at widgets/qabstractbutton.cpp:399
#15 0x00007f1ff8260750 in QAbstractButton::mouseReleaseEvent (this=0x564760e598e0, e=0x7ffc155dd1d0) at widgets/qabstractbutton.cpp:1045
#16 0x00007f1ff835370f in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:622
#17 0x00007f1ff81af837 in QWidget::event (this=0x564760e598e0, event=0x7ffc155dd1d0) at kernel/qwidget.cpp:8671
#18 0x00007f1ff8178b5c in QApplicationPrivate::notify_helper (this=this@entry=0x5647609790d0, receiver=receiver@entry=0x564760e598e0, e=e@entry=0x7ffc155dd1d0) at kernel/qapplication.cpp:3640
#19 0x00007f1ff817e379 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffc155dd1d0) at kernel/qapplication.cpp:3084
#20 0x00007f1ff748e028 in QCoreApplication::notifyInternal2 (receiver=0x564760e598e0, event=0x7ffc155dd1d0) at kernel/qcoreapplication.cpp:1064
#21 0x00007f1ff748e0b3 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#22 0x00007f1ff817c377 in QApplicationPrivate::sendMouseEvent (receiver=0x564760e598e0, event=0x7ffc155dd1d0, alienWidget=<optimized out>, nativeWidget=0x564760a91120, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#23 0x00007f1ff81cd4f3 in QWidgetWindow::handleMouseEvent (this=this@entry=0x564760dce3f0, event=event@entry=0x7ffc155dd530) at kernel/qwidgetwindow.cpp:684
#24 0x00007f1ff81cf31e in QWidgetWindow::event (this=0x564760dce3f0, event=0x7ffc155dd530) at kernel/qwidgetwindow.cpp:300
#25 0x00007f1ff8178b5c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x564760dce3f0, e=0x7ffc155dd530) at kernel/qapplication.cpp:3640
#26 0x00007f1ff748e028 in QCoreApplication::notifyInternal2 (receiver=0x564760dce3f0, event=0x7ffc155dd530) at kernel/qcoreapplication.cpp:1064
#27 0x00007f1ff748e0b3 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#28 0x00007f1ff794002c in QGuiApplicationPrivate::processMouseEvent (e=0x564761364350) at kernel/qguiapplication.cpp:2285
#29 0x00007f1ff79298c5 in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#30 0x00007f1ff252e8c0 in xcbSourceDispatch (source=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#31 0x00007f1ff5b0f53b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00007f1ff5b6c219 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007f1ff5b0e1a2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007f1ff74d8d3c in QEventDispatcherGlib::processEvents (this=0x564760a756e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#35 0x00007f1ff748668c in QEventLoop::exec (this=0x7ffc155dd8d0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#36 0x00007f1ff74912f9 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#37 0x000056475f19ef3a in ?? ()
#38 0x00007f1ff6c3c790 in ?? () from /usr/lib/libc.so.6
#39 0x00007f1ff6c3c84a in __libc_start_main () from /usr/lib/libc.so.6
#40 0x000056475f19f895 in ?? ()
[Inferior 1 (process 29783) detached]

The reporter indicates this bug may be a duplicate of or related to bug 450553, bug 461844.

Reported using DrKonqi
Comment 1 Nate Graham 2023-05-15 18:09:40 UTC

*** This bug has been marked as a duplicate of bug 450553 ***