Bug 320901 - KDE crashes when opening classical KMenu-Subfolder "Applications"
Summary: KDE crashes when opening classical KMenu-Subfolder "Applications"
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-08 13:44 UTC by haariger-troll
Modified: 2013-06-20 06:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.79 KB, text/plain)
2013-06-09 08:07 UTC, Alexander Stein
Details
New crash information added by DrKonqi (6.39 KB, text/plain)
2013-06-19 20:51 UTC, funduszestrukturalne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description haariger-troll 2013-06-08 13:44:33 UTC
Application: plasma-desktop (4.10.3 "release 1")
KDE Platform Version: 4.10.3 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.11-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
Trying to access the "Applications"-Subfolder in the classical KMenu causes KDE to crash. Other folders can be accessed without any problems.
Manually trying to configure the menu items does not work either. Trying to do so causes no crash, simply nothing happens.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma-Desktop-Umgebung (kdeinit4), signal: Floating point exception
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbf4312f780 (LWP 2696))]

Thread 3 (Thread 0x7fbf215b7700 (LWP 2697)):
#0  0x00007fbf419f2964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbf36258307 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fbf36565660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fbf36258339 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fbf419eee0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbf407657dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbf0b1d8700 (LWP 2702)):
#0  0x00007fbf4075c87d in poll () from /lib64/libc.so.6
#1  0x00007fbf3d6a9aa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbf3d6a9bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbf41daf2e6 in QEventDispatcherGlib::processEvents (this=0x7fbf040008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fbf41d7fadf in QEventLoop::processEvents (this=this@entry=0x7fbf0b1d7dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbf41d7fd68 in QEventLoop::exec (this=0x7fbf0b1d7dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbf41c820f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007fbf41d6029f in QInotifyFileSystemWatcherEngine::run (this=0x4e524e0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fbf41c850cc in QThreadPrivate::start (arg=0x4e524e0) at thread/qthread_unix.cpp:338
#9  0x00007fbf419eee0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fbf407657dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbf4312f780 (LWP 2696)):
[KCrash Handler]
#6  0x00007fbf40ff8d2f in read_dib_body (s=..., bi=..., offset=138, startpos=0, image=...) at image/qbmphandler.cpp:322
#7  0x00007fbf40ff9b3c in QBmpHandler::read (this=0x64b4c30, image=0x7fff0622e730) at image/qbmphandler.cpp:770
#8  0x00007fbf40fd11bd in QImageReader::read (this=this@entry=0x7fff0622e790, image=image@entry=0x7fff0622e730) at image/qimagereader.cpp:1205
#9  0x00007fbf40fd16ff in QImageReader::read (this=0x7fff0622e790) at image/qimagereader.cpp:1155
#10 0x00007fbf40fc69f1 in QImage::load (this=this@entry=0x7fff0622e880, fileName=..., format=format@entry=0x7556b68 "BMP") at image/qimage.cpp:5094
#11 0x00007fbf40fc6bb5 in QImage::QImage (this=0x7fff0622e880, fileName=..., format=0x7556b68 "BMP") at image/qimage.cpp:995
#12 0x00007fbf42ad328d in KIconLoaderPrivate::createIconImage (this=0x28f8310, path=..., size=16) at /usr/src/debug/kdelibs-4.10.3/kdeui/icons/kiconloader.cpp:781
#13 0x00007fbf42ada3e8 in KIconLoader::loadIcon (this=0x291aa80, _name=..., group=KIconLoader::Desktop, size=16, state=0, overlays=..., path_store=0x0, canReturnNull=false) at /usr/src/debug/kdelibs-4.10.3/kdeui/icons/kiconloader.cpp:1194
#14 0x00007fbf42ad199f in KIconEngine::pixmap (this=<optimized out>, size=..., mode=<optimized out>, state=<optimized out>) at /usr/src/debug/kdelibs-4.10.3/kdeui/icons/kiconengine.cpp:104
#15 0x00007fbf40fb16a5 in QIcon::pixmap (this=<optimized out>, size=..., mode=<optimized out>, state=<optimized out>) at image/qicon.cpp:684
#16 0x00007fbf2c564a02 in Oxygen::Style::drawMenuItemControl (this=0x2887990, option=0x7fff0622f040, painter=0x7fff0622ef20, widget=<optimized out>) at /usr/src/debug/kde-workspace-4.10.3/kstyles/oxygen/oxygenstyle.cpp:4676
#17 0x00007fbf2c5478b4 in Oxygen::Style::drawControl (this=0x2887990, element=QStyle::CE_MenuItem, option=0x7fff0622f040, painter=0x7fff0622ef20, widget=0x9b5fde0) at /usr/src/debug/kde-workspace-4.10.3/kstyles/oxygen/oxygenstyle.cpp:1140
#18 0x00007fbf41345114 in QMenu::paintEvent (this=0x9b5fde0, e=0x7fff0622f9a0) at widgets/qmenu.cpp:2247
#19 0x00007fbf40f5e0fe in QWidget::event (this=0x9b5fde0, event=0x7fff0622f9a0) at kernel/qwidget.cpp:8532
#20 0x00007fbf41349d7b in QMenu::event (this=0x9b5fde0, e=0x7fff0622f9a0) at widgets/qmenu.cpp:2481
#21 0x00007fbf40f0e86c in QApplicationPrivate::notify_helper (this=this@entry=0x26dc4c0, receiver=receiver@entry=0x9b5fde0, e=e@entry=0x7fff0622f9a0) at kernel/qapplication.cpp:4562
#22 0x00007fbf40f12ceb in QApplication::notify (this=0x2764ba0, receiver=0x9b5fde0, e=0x7fff0622f9a0) at kernel/qapplication.cpp:4423
#23 0x00007fbf42b24146 in KApplication::notify (this=0x2764ba0, receiver=0x9b5fde0, event=0x7fff0622f9a0) at /usr/src/debug/kdelibs-4.10.3/kdeui/kernel/kapplication.cpp:311
#24 0x00007fbf41d80d8e in QCoreApplication::notifyInternal (this=0x2764ba0, receiver=0x9b5fde0, event=0x7fff0622f9a0) at kernel/qcoreapplication.cpp:946
#25 0x00007fbf40f59cc4 in sendSpontaneousEvent (event=0x7fff0622f9a0, receiver=0x9b5fde0) at ../../src/corelib/kernel/qcoreapplication.h:234
#26 QWidgetPrivate::drawWidget (this=0x8b66920, pdev=0x92dd4e0, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x7556330) at kernel/qwidget.cpp:5598
#27 0x00007fbf41124168 in QWidgetBackingStore::sync (this=this@entry=0x7556330) at painting/qbackingstore.cpp:1373
#28 0x00007fbf4112452e in QWidgetBackingStore::sync (this=0x7556330, exposedWidget=0x9b5fde0, exposedRegion=...) at painting/qbackingstore.cpp:1161
#29 0x00007fbf40f880da in QETWidget::translatePaintEvent (this=this@entry=0x9b5fde0, event=event@entry=0x7fff06230460) at kernel/qapplication_x11.cpp:5241
#30 0x00007fbf40f89025 in QApplication::x11ProcessEvent (this=0x2764ba0, event=0x7fff06230460) at kernel/qapplication_x11.cpp:3550
#31 0x00007fbf40faefa2 in x11EventSourceDispatch (s=0x26e40b0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007fbf3d6a97d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fbf3d6a9b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fbf3d6a9bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fbf41daf2c6 in QEventDispatcherGlib::processEvents (this=0x27673f0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0x00007fbf40faec1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fbf41d7fadf in QEventLoop::processEvents (this=this@entry=0x7fff06230830, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fbf41d7fd68 in QEventLoop::exec (this=0x7fff06230830, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007fbf41d84a08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#40 0x00007fbf2dec5a31 in kdemain (argc=1, argv=0x25cb710) at /usr/src/debug/kde-workspace-4.10.3/plasma/desktop/shell/main.cpp:126
#41 0x000000000040889a in _start ()

Possible duplicates by query: bug 310798.

Reported using DrKonqi
Comment 1 Alexander Stein 2013-06-09 08:07:12 UTC
Created attachment 80408 [details]
New crash information added by DrKonqi

plasma-desktop (4.10.4) on KDE Platform 4.10.4 using Qt 4.8.4

- What I was doing when the application crashed:

I access my Games (I wonder why it is named "Games" at all, I'm german and it usually is displayed a "Spiele") menu. Same is for Lancelot. Other menus can be access without any problem. Maybe some .desktop entry is bogus. But how to find?

-- Backtrace (Reduced):
#6  0x00007f678cafacb8 in read_dib_body (s=..., bi=..., offset=138, startpos=0, image=...) at image/qbmphandler.cpp:322
#7  0x00007f678cafb93a in QBmpHandler::read (this=0x4c83130, image=0x7ffffa9545e0) at image/qbmphandler.cpp:770
#8  0x00007f678cad0ab6 in QImageReader::read (this=0x7ffffa954650, image=0x7ffffa9545e0) at image/qimagereader.cpp:1205
#9  0x00007f678cad10bf in QImageReader::read (this=0x7ffffa954650) at image/qimagereader.cpp:1155
#10 0x00007f678cac52fc in QImage::load (this=0x7ffffa9546b0, fileName=..., format=<optimized out>) at image/qimage.cpp:5094
Comment 2 Martin Flöser 2013-06-09 08:11:34 UTC
It crashes while loading an icon in code  not developed by KDE. There is nothing we can do about it, sorry. Given that it crashes while loading an image: perform a filesystem check, this might indicate file system corruption.
Comment 3 Alexander Stein 2013-06-09 09:07:30 UTC
(In reply to comment #2)
> It crashes while loading an icon in code  not developed by KDE. There is
> nothing we can do about it, sorry. Given that it crashes while loading an
> image: perform a filesystem check, this might indicate file system
> corruption.

I know you can't modify the icon itself. Otherwise it should not crash at all.
Nevertheless, is there a way to find out which icon is the culprit?
Comment 4 funduszestrukturalne 2013-06-19 20:51:36 UTC
Created attachment 80648 [details]
New crash information added by DrKonqi

plasma-desktop (4.10.4) on KDE Platform 4.10.4 using Qt 4.8.4

- What I was doing when the application crashed:
Trying to access the "Games"-Subfolder in the classical KMenu (Lancelot to) causes KDE to crash. Other folders can be accessed without any problems.
Modify this menu make the crashes to. This menu works perfectly for other users.

-- Backtrace (Reduced):
#5  0x00007fb2350b53b8 in read_dib_body(QDataStream&, BMP_INFOHDR const&, int, int, QImage&) () from /lib64/libQtGui.so.4
#6  0x00007fb2350b61cc in QBmpHandler::read(QImage*) () from /lib64/libQtGui.so.4
#7  0x00007fb23508d86d in QImageReader::read(QImage*) () from /lib64/libQtGui.so.4
#8  0x00007fb23508ddaf in QImageReader::read() () from /lib64/libQtGui.so.4
#9  0x00007fb235083091 in QImage::load(QString const&, char const*) () from /lib64/libQtGui.so.4
Comment 5 Alexander Stein 2013-06-20 06:14:02 UTC
Just for the records.The bug is triggered by Qt itself (see https://bugreports.qt-project.org/browse/QTBUG-31755)
In my current case the erroneous bitmap was a file from the 1st version of the game Capsized,  I got from humble bundle. A later release has a fixed bitmap