Bug 369421 - Kde Menu Editor crash while clicking a folder
Summary: Kde Menu Editor crash while clicking a folder
Status: RESOLVED WORKSFORME
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.7.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-09-27 13:28 UTC by Till Schäfer
Modified: 2018-11-02 22:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2016-09-27 13:28:39 UTC
Application: kmenuedit (5.7.5)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.6.4-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:
I have cut a custom folder inside the "Development" category. A message popped up, saying that i cant cut complete directories and that i can . After this I pastet the custom folter into itself and deleted the pasted folder afterwards. Finaly i copied a real entry and clicked the custom folder to paste it in there. While clicking on the custom folder the editor crashed.

-- Backtrace:
Application: KDE Menu Editor (kmenuedit), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffb123de840 (LWP 7400))]

Thread 2 (Thread 0x7ffb0e733700 (LWP 7402)):
#0  0x00007ffb22fd63ed in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffb1a3e9f2c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7ffb00003020, timeout=-1, context=0x7ffb00000990) at /var/tmp/portage/dev-libs/glib-2.46.2-r3/work/glib-2.46.2/glib/gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7ffb00000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.46.2-r3/work/glib-2.46.2/glib/gmain.c:3835
#3  0x00007ffb1a3ea03c in g_main_context_iteration (context=0x7ffb00000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.46.2-r3/work/glib-2.46.2/glib/gmain.c:3901
#4  0x00007ffb1fa5640c in QEventDispatcherGlib::processEvents (this=0x7ffb000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007ffb1fa0812a in QEventLoop::exec (this=this@entry=0x7ffb0e732d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ffb1f85f674 in QThread::exec (this=this@entry=0x7ffb2367f240 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#7  0x00007ffb23612235 in QDBusConnectionManager::run (this=0x7ffb2367f240 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#8  0x00007ffb1f863e2c in QThreadPrivate::start (arg=0x7ffb2367f240 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#9  0x00007ffb1c109434 in start_thread (arg=0x7ffb0e733700) at pthread_create.c:334
#10 0x00007ffb22fdf50d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffb123de840 (LWP 7400)):
[KCrash Handler]
#6  __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:238
#7  0x00007ffb1f8e2869 in memcpy (__len=65534, __src=0x7ffb210e2b30, __dest=<optimized out>) at /usr/include/bits/string3.h:53
#8  QString::QString (this=0x7ffe05442f40, unicode=0x7ffb210e2b30, size=<optimized out>) at tools/qstring.cpp:1521
#9  0x00007ffb1f8e7755 in QString::left (this=this@entry=0x140d108, n=<optimized out>) at tools/qstring.cpp:4304
#10 0x00007ffb20472d4b in QWidgetLineControl::internalSetText (this=this@entry=0x11496d0, txt=..., pos=pos@entry=-1, edited=edited@entry=false) at widgets/qwidgetlinecontrol.cpp:741
#11 0x00007ffb203ddbe2 in QWidgetLineControl::setText (txt=..., this=0x11496d0) at ../../include/QtWidgets/5.6.1/QtWidgets/private/../../../../../src/widgets/widgets/qwidgetlinecontrol_p.h:235
#12 QLineEdit::setText (this=<optimized out>, text=...) at widgets/qlineedit.cpp:316
#13 0x00007ffb232ae169 in BasicTab::setFolderInfo (this=0x1258760, folderInfo=0x140d0f0) at /var/tmp/portage/kde-plasma/kmenuedit-5.7.5/work/kmenuedit-5.7.5/basictab.cpp:299
#14 0x00007ffb232c74dc in BasicTab::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-plasma/kmenuedit-5.7.5/work/kmenuedit-5.7.5_build/moc_basictab.cpp:128
#15 0x00007ffb1fa30a9c in QMetaObject::activate (sender=0x1149160, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe05443160) at kernel/qobject.cpp:3730
#16 0x00007ffb1fa31647 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ffb234d49c0 <TreeView::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe05443160) at kernel/qobject.cpp:3595
#17 0x00007ffb232c6e5f in TreeView::entrySelected (this=<optimized out>, _t1=0x140d0f0) at /var/tmp/portage/kde-plasma/kmenuedit-5.7.5/work/kmenuedit-5.7.5_build/moc_treeview.cpp:233
#18 0x00007ffb1fa31102 in QtPrivate::QSlotObjectBase::call (a=0x7ffe054432a0, r=0x1149160, this=0x12cf910) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#19 QMetaObject::activate (sender=0x1149160, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x7ffe054432a0) at kernel/qobject.cpp:3715
#20 0x00007ffb1fa31647 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ffb207ba600 <QTreeWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x7ffe054432a0) at kernel/qobject.cpp:3595
#21 0x00007ffb2055f3ab in QTreeWidget::currentItemChanged (this=<optimized out>, _t1=0x1494d70, _t2=0x1486be0) at .moc/moc_qtreewidget.cpp:438
#22 0x00007ffb1fa30a9c in QMetaObject::activate (sender=sender@entry=0x1146be0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe054433d0) at kernel/qobject.cpp:3730
#23 0x00007ffb1fa31647 in QMetaObject::activate (sender=sender@entry=0x1146be0, m=m@entry=0x7ffb1fc3bfa0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe054433d0) at kernel/qobject.cpp:3595
#24 0x00007ffb1f9c510a in QItemSelectionModel::currentChanged (this=this@entry=0x1146be0, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:485
#25 0x00007ffb1f9c587f in QItemSelectionModel::setCurrentIndex (this=this@entry=0x1146be0, index=..., command=command@entry=...) at itemmodels/qitemselectionmodel.cpp:1372
#26 0x00007ffb204f41c0 in QAbstractItemView::mousePressEvent (this=this@entry=0x1149160, event=event@entry=0x7ffe05443c80) at itemviews/qabstractitemview.cpp:1734
#27 0x00007ffb2053b8ca in QTreeView::mousePressEvent (this=0x1149160, event=0x7ffe05443c80) at itemviews/qtreeview.cpp:1911
#28 0x00007ffb202e799f in QWidget::event (this=this@entry=0x1149160, event=event@entry=0x7ffe05443c80) at kernel/qwidget.cpp:8744
#29 0x00007ffb203cd87e in QFrame::event (this=0x1149160, e=0x7ffe05443c80) at widgets/qframe.cpp:544
#30 0x00007ffb204fa7ab in QAbstractItemView::viewportEvent (this=this@entry=0x1149160, event=event@entry=0x7ffe05443c80) at itemviews/qabstractitemview.cpp:1694
#31 0x00007ffb2053b380 in QTreeView::viewportEvent (this=0x1149160, event=0x7ffe05443c80) at itemviews/qtreeview.cpp:1313
#32 0x00007ffb1fa092fd in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x111bc40, event=event@entry=0x7ffe05443c80) at kernel/qcoreapplication.cpp:1126
#33 0x00007ffb202a1555 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x111bc40, e=0x7ffe05443c80) at kernel/qapplication.cpp:3800
#34 0x00007ffb202a640c in QApplication::notify (this=<optimized out>, receiver=0x111bc40, e=0x7ffe05443c80) at kernel/qapplication.cpp:3277
#35 0x00007ffb1fa095a0 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x111bc40, event=event@entry=0x7ffe05443c80) at kernel/qcoreapplication.cpp:1015
#36 0x00007ffb202a51e1 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#37 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x111bc40, event=event@entry=0x7ffe05443c80, alienWidget=alienWidget@entry=0x111bc40, nativeWidget=0x10e3d40, buttonDown=buttonDown@entry=0x7ffb207c5b50 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2775
#38 0x00007ffb20303735 in QWidgetWindow::handleMouseEvent (this=this@entry=0x119c080, event=event@entry=0x7ffe054440a0) at kernel/qwidgetwindow.cpp:603
#39 0x00007ffb20305da3 in QWidgetWindow::event (this=0x119c080, event=0x7ffe054440a0) at kernel/qwidgetwindow.cpp:233
#40 0x00007ffb202a157c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x119c080, e=0x7ffe054440a0) at kernel/qapplication.cpp:3804
#41 0x00007ffb202a5c90 in QApplication::notify (this=0x7ffe05444570, receiver=0x119c080, e=0x7ffe054440a0) at kernel/qapplication.cpp:3561
#42 0x00007ffb1fa095a0 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x119c080, event=event@entry=0x7ffe054440a0) at kernel/qcoreapplication.cpp:1015
#43 0x00007ffb1fd4416b in QCoreApplication::sendSpontaneousEvent (event=0x7ffe054440a0, receiver=0x119c080) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#44 QGuiApplicationPrivate::processMouseEvent (e=0x140d0f0) at kernel/qguiapplication.cpp:1877
#45 0x00007ffb1fd45e25 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x140d0f0) at kernel/qguiapplication.cpp:1661
#46 0x00007ffb1fd26c43 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:648
#47 0x00007ffb1201eb90 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#48 0x00007ffb1a3e9cad in g_main_dispatch (context=0x7ffb080016f0) at /var/tmp/portage/dev-libs/glib-2.46.2-r3/work/glib-2.46.2/glib/gmain.c:3154
#49 g_main_context_dispatch (context=context@entry=0x7ffb080016f0) at /var/tmp/portage/dev-libs/glib-2.46.2-r3/work/glib-2.46.2/glib/gmain.c:3769
#50 0x00007ffb1a3e9f90 in g_main_context_iterate (context=context@entry=0x7ffb080016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.46.2-r3/work/glib-2.46.2/glib/gmain.c:3840
#51 0x00007ffb1a3ea03c in g_main_context_iteration (context=0x7ffb080016f0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.46.2-r3/work/glib-2.46.2/glib/gmain.c:3901
#52 0x00007ffb1fa563f7 in QEventDispatcherGlib::processEvents (this=0x10ba860, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#53 0x00007ffb1fa0812a in QEventLoop::exec (this=this@entry=0x7ffe05444450, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#54 0x00007ffb1fa0fd1c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#55 0x00007ffb1fd3b59c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1607
#56 0x00007ffb2029e235 in QApplication::exec () at kernel/qapplication.cpp:2979
#57 0x00007ffb232aa74e in kdemain (argc=1, argv=0x7ffe054446b8) at /var/tmp/portage/kde-plasma/kmenuedit-5.7.5/work/kmenuedit-5.7.5/main.cpp:102
#58 0x00007ffb22f16630 in __libc_start_main (main=0x400790 <main(int, char**)>, argc=1, argv=0x7ffe054446b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe054446a8) at libc-start.c:289
#59 0x00000000004007c9 in _start ()

Reported using DrKonqi
Comment 1 Tony 2016-10-01 20:30:02 UTC
I have this one a while back, (on Neon stable) installed the "dbg" in order to report it tried to reproduced it but haven't got it ever since.
Comment 2 Andrew Crouthamel 2018-11-01 13:55:38 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Till Schäfer 2018-11-02 22:34:38 UTC
I am also unable to reproduce the issue on 5.13.5, frameworks 5.50 and qt 5.11.1. Thus I am closing the issue.