Bug 214216 - Kmenuedit crash when edit the command textfield
Summary: Kmenuedit crash when edit the command textfield
Status: RESOLVED WORKSFORME
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 03:01 UTC by Ryan Ren
Modified: 2009-12-14 23:22 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 Ryan Ren 2009-11-12 03:01:19 UTC
Application that crashed: kmenuedit
Version of the application: 0.8
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
1. right click on the KDE icon and open menueditor
2. find an item and modify the command: add env LC_ALL=zh_CN.utf8
3. click the save icon
4. crash

 -- Backtrace:
Application: KDE Menu Editor (kmenuedit), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x0000000000000251 in ?? ()
#6  0x00007f1c96c16af1 in Q3GList::clear (this=0x252bf80) at tools/q3glist.cpp:705
#7  0x00007f1c9793fbee in Q3PtrList<MenuFolderInfo>::clear (this=0x252bf40, __in_chrg=<value optimized out>) at /usr/include/qt4/Qt3Support/q3ptrlist.h:103
#8  ~Q3PtrList (this=0x252bf40, __in_chrg=<value optimized out>) at /usr/include/qt4/Qt3Support/q3ptrlist.h:80
#9  ~MenuFolderInfo (this=0x252bf40, __in_chrg=<value optimized out>) at ../../kmenuedit/menuinfo.h:47
#10 0x00007f1c97938490 in ~TreeView (this=0x253da60, __in_chrg=<value optimized out>) at ../../kmenuedit/treeview.cpp:210
#11 0x00007f1c94ac6e5c in QObjectPrivate::deleteChildren (this=0x2542960) at kernel/qobject.cpp:1847
#12 0x00007f1c95694993 in ~QWidget (this=0x24f9830, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#13 0x00007f1c95a53728 in ~QSplitter (this=0x24f9830, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1008
#14 0x00007f1c94ac6e5c in QObjectPrivate::deleteChildren (this=0x24fd8c0) at kernel/qobject.cpp:1847
#15 0x00007f1c95694993 in ~QWidget (this=0x246e200, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#16 0x00007f1c96352185 in ~KMainWindow (this=0x246e200, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:467
#17 0x00007f1c97941c5b in ~KMenuEdit (this=0x246e200, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmenuedit/kmenuedit.cpp:65
#18 0x00007f1c94ac811d in QObject::event (this=0x246e200, e=0x26f1810) at kernel/qobject.cpp:1094
#19 0x00007f1c9569815f in QWidget::event (this=0x246e200, event=0x26d02a0) at kernel/qwidget.cpp:7946
#20 0x00007f1c95a0e9db in QMainWindow::event (this=0x246e200, event=0x26d02a0) at widgets/qmainwindow.cpp:1399
#21 0x00007f1c9638c773 in KXmlGuiWindow::event (this=0x26f1810, ev=0x26f1810) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#22 0x00007f1c95649efc in QApplicationPrivate::notify_helper (this=0x23ce920, receiver=0x246e200, e=0x26d02a0) at kernel/qapplication.cpp:4056
#23 0x00007f1c956511ce in QApplication::notify (this=0x7fff7d1152f0, receiver=0x246e200, e=0x26d02a0) at kernel/qapplication.cpp:4021
#24 0x00007f1c96280ab6 in KApplication::notify (this=0x7fff7d1152f0, receiver=0x246e200, event=0x26d02a0) at ../../kdeui/kernel/kapplication.cpp:302
#25 0x00007f1c94ab8c2c in QCoreApplication::notifyInternal (this=0x7fff7d1152f0, receiver=0x246e200, event=0x26d02a0) at kernel/qcoreapplication.cpp:610
#26 0x00007f1c94ab980a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x23aa4d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x23aa4d0) at kernel/qcoreapplication.cpp:1247
#28 0x00007f1c94ae1533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#29 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#30 0x00007f1c90d71bbe in g_main_dispatch (context=0x23cfa20) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#31 IA__g_main_context_dispatch (context=0x23cfa20) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#32 0x00007f1c90d75588 in g_main_context_iterate (context=0x23cfa20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#33 0x00007f1c90d756b0 in IA__g_main_context_iteration (context=0x23cfa20, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#34 0x00007f1c94ae11a6 in QEventDispatcherGlib::processEvents (this=0x23a9d20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#35 0x00007f1c956de4be in QGuiEventDispatcherGlib::processEvents (this=0x26f1810, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#36 0x00007f1c94ab7532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007f1c94ab7904 in QEventLoop::exec (this=0x7fff7d115240, flags=) at kernel/qeventloop.cpp:201
#38 0x00007f1c94ab9ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#39 0x00007f1c9792f920 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kmenuedit/main.cpp:89
#40 0x00007f1c975c6abd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff7d115668) at libc-start.c:220
#41 0x0000000000400689 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-12 13:50:48 UTC
- Does this happen when modifying every entry ?
I couldn't reproduce here (kde4.4.trunk) with a random entry.
Thanks
Comment 2 Ryan Ren 2009-11-12 16:00:49 UTC
The crash happened when I was editing an wine-related entry in Lost & Found. After the crash, I checked the command field and found that the text have been modified. Re-edit this entry, and other entries, this kind of crash didn't happend anymore. 

Hope this help.
Thank you.
Comment 3 Dario Andres 2009-12-14 23:22:39 UTC
Thanks. Closing as WORKSFORME. 
Please reopen if you experience it again.