Bug 319132

Summary: KDE Menu Edit not beheaving
Product: [Plasma] Oxygen Reporter: Mike Osterhouse <michael.p.osterhouse>
Component: styleAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED WAITINGFORINFO    
Severity: crash CC: hugo.pereira.da.costa
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mike Osterhouse 2013-04-30 20:27:00 UTC
Application: kmenuedit (0.8)
KDE Platform Version: 4.8.5 (4.8.5) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-40-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed: Attempting to save menu items		

- Unusual behavior I noticed: Adds things I don't want (submenus) doesn't appear to deleter thngs I want deleated. Might be hanunted.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDE Menu Editor (kmenuedit), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f49cbec1780 (LWP 6291))]

Thread 2 (Thread 0x7f49b9bcd700 (LWP 6292)):
#0  0x00007f49cb7d1313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f49c5c9f036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f49c5c9f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f49c923a426 in QEventDispatcherGlib::processEvents (this=0x7f49b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f49c9209c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f49c9209ed7 in QEventLoop::exec (this=0x7f49b9bccdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f49c9108fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f49c91e99ff in QInotifyFileSystemWatcherEngine::run (this=0x24e6a50) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f49c910bfcb in QThreadPrivate::start (arg=0x24e6a50) at thread/qthread_unix.cpp:298
#9  0x00007f49c6f29e9a in start_thread (arg=0x7f49b9bcd700) at pthread_create.c:308
#10 0x00007f49cb7dcccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f49cbec1780 (LWP 6291)):
[KCrash Handler]
#6  0x0000000000000051 in ?? ()
#7  0x00007f49c9cdb809 in ~QExplicitlySharedDataPointer (this=0x2686960, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:166
#8  ~QExplicitlySharedDataPointer (this=0x2686960, __in_chrg=<optimized out>) at image/qpixmap.cpp:347
#9  QPixmap::~QPixmap (this=<optimized out>, __in_chrg=<optimized out>) at image/qpixmap.cpp:347
#10 0x00007f49bfaebcb7 in QVector<QPixmap>::free (x=0x2686940, this=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:466
#11 0x00007f49bfaecc2e in ~QVector (this=0x273e828, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:124
#12 ~TileSet (this=0x273e820, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygentileset.h:77
#13 Oxygen::TileSet::~TileSet (this=<optimized out>, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygentileset.h:77
#14 0x00007f49bfb2770f in clear (this=0x2683180) at /usr/include/qt4/QtCore/qcache.h:139
#15 ~QCache (this=0x2683180, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qcache.h:103
#16 ~BaseCache (this=0x2683180, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygenhelper.h:63
#17 clear (this=0x1eb81c0) at /usr/include/qt4/QtCore/qcache.h:139
#18 ~QCache (this=0x1eb81c0, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qcache.h:103
#19 ~BaseCache (this=0x1eb81c0, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygenhelper.h:63
#20 ~Cache (this=0x1eb81c0, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygenhelper.h:112
#21 Oxygen::StyleHelper::~StyleHelper (this=0x1eb7e60, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstylehelper.h:59
#22 0x00007f49bfb27a79 in Oxygen::StyleHelper::~StyleHelper (this=0x1eb7e60, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstylehelper.h:59
#23 0x00007f49bfaf1dfd in Oxygen::Style::~Style (this=0x1eb19b0, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstyle.cpp:198
#24 0x00007f49bfaf1e59 in Oxygen::Style::~Style (this=0x1eb19b0, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstyle.cpp:198
#25 0x00007f49c9c0e2ec in QApplication::~QApplication (this=0x7fff4af25780, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1178
#26 0x00007f49cbabe21b in ~KMenuApplication (this=0x7fff4af25780, __in_chrg=<optimized out>) at ../../kmenuedit/main.cpp:44
#27 kdemain (argc=1, argv=0x7fff4af25b08) at ../../kmenuedit/main.cpp:89
#28 0x00007f49cb70a76d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff4af25b08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4af25af8) at libc-start.c:226
#29 0x0000000000400671 in _start ()

Possible duplicates by query: bug 306427, bug 295093, bug 294060, bug 286646.

Reported using DrKonqi
Comment 1 Hugo Pereira Da Costa 2013-05-09 12:45:23 UTC
the backtrace seems to report a crash while exiting the application.
Now, KDE version seems a bit old. Any chance you can test if crash still happens with more recent versions ? (4.9, 4.10 ?) The way StyleHelper is dealt with has changed some in order to hopefully prevent such crashes at destruction.