| Summary: | kdemenuedit crashes during icon assignment | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Marcin Wilk <m.wilk> |
| Component: | tdebase | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | albator78, bugwatch, darrella, kb9vqf |
| Priority: | P3 | ||
| Version: | 3.5.12 [Trinity] | ||
| Hardware: | i386 | ||
| OS: | Kubuntu Lucid | ||
| Compiler Version: | TDE Version String: | TDE 3.5.12 | |
| Application Version: | Application Name: | kdemenuedit | |
| Attachments: | TDE 3.5.13.2 : Missing icon in start menu | ||
|
Description
Marcin Wilk
2010-10-08 15:08:29 CDT
Created attachment 1132 [details]
TDE 3.5.13.2 : Missing icon in start menu
OK I've reproduced this in 3.5.13.2, in openSUSE 12.2 .
Initial case: I have a top-level category in start menu that have an invalid icon, so there is no icon displayed at all for this category (see attached picture).
I want to fix the icon, so I open kmenuedit
In kmenuedit, I select the category with missing icon.
In the right pane, I click on the big icon to open the icon selector.
In the icon selector window, I type any string in the search field, so that icons are filtered in the list. It works.
Then I erase the text in search field, by pressing backspace several times.
When the search field gets empty (no more filter), kmenuedit crashes with SEGV.
Backtrace:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash handler]
#6 0xb678d363 in KIconViewSearchLine::updateSearch(QString const&) () from /opt/trinity/lib/libkdeui.so.4
#7 0xb678ddac in KIconViewSearchLine::activateSearch() () from /opt/trinity/lib/libkdeui.so.4
#8 0xb678e0b0 in KIconViewSearchLine::qt_invoke(int, QUObject*) () from /opt/trinity/lib/libkdeui.so.4
#9 0xb724450c in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3
#10 0xb7529b2e in QSignal::signal(QVariant const&) () from /usr/lib/libqt-mt.so.3
#11 0xb725bcf9 in QSignal::activate() () from /usr/lib/libqt-mt.so.3
#12 0xb7261cd4 in QSingleShotTimer::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#13 0xb71ec640 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
#14 0xb71ec8e7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
#15 0xb616e9a4 in KApplication::notify(QObject*, QEvent*) () from /opt/trinity/lib/libkdecore.so.4
#16 0xb71e2063 in QEventLoop::activateTimers() () from /usr/lib/libqt-mt.so.3
#17 0xb71a04d8 in QEventLoop::processEvents(unsigned int) () from /usr/lib/libqt-mt.so.3
#18 0xb72005b0 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#19 0xb7200504 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#20 0xb71ed24c in QApplication::exec() () from /usr/lib/libqt-mt.so.3
#21 0xb7747a66 in kdemain () from /opt/trinity/lib/libkdeinit_kmenuedit.so
#22 0x080486f7 in main ()
Can you install the tdelibs debug symbols, then regenerate the backtrace? Thanks! Here is a gdb backtrace with debug symbols installed: #0 0xb6fe2363 in KIconViewSearchLine::updateSearch(QString const&) () from /opt/trinity/lib/libkdeui.so.4 #1 0xb6fe2dac in KIconViewSearchLine::activateSearch() () from /opt/trinity/lib/libkdeui.so.4 #2 0xb6fe30b0 in KIconViewSearchLine::qt_invoke(int, QUObject*) () from /opt/trinity/lib/libkdeui.so.4 #3 0xb7a9950c in QObject::activate_signal (this=0x8150dc8, clist=0x82b40e8, o=0xbfffea18) at kernel/qobject.cpp:2383 #4 0xb7d7eb2e in QSignal::signal (this=0x8150dc8, t0=...) at .moc/release-shared-mt/moc_qsignal.cpp:100 #5 0xb7ab0cf9 in QSignal::activate (this=0x8150dc8) at kernel/qsignal.cpp:215 #6 0xb7ab6cd4 in QSingleShotTimer::event (this=0x8150da0) at kernel/qtimer.cpp:289 #7 0xb7a41640 in internalNotify (e=0xbfffecc0, receiver=0x8150da0, this=<optimized out>) at kernel/qapplication.cpp:2639 #8 QApplication::internalNotify (this=0xbfffef24, receiver=0x8150da0, e=0xbfffecc0) at kernel/qapplication.cpp:2565 #9 0xb7a418e7 in QApplication::notify (this=0xbfffef24, receiver=0x8150da0, e=0xbfffecc0) at kernel/qapplication.cpp:2362 #10 0xb69c39a4 in KApplication::notify(QObject*, QEvent*) () from /opt/trinity/lib/libkdecore.so.4 #11 0xb7a37063 in sendEvent (event=0xbfffecc0, receiver=<optimized out>) at kernel/qapplication.h:523 #12 QEventLoop::activateTimers (this=0x808b2e8) at kernel/qeventloop_unix.cpp:588 #13 0xb79f54d8 in QEventLoop::processEvents (this=0x808b2e8, flags=4) at kernel/qeventloop_x11.cpp:392 #14 0xb7a555b0 in QEventLoop::enterLoop (this=0x808b2e8) at kernel/qeventloop.cpp:201 #15 0xb7a55504 in QEventLoop::exec (this=0x808b2e8) at kernel/qeventloop.cpp:148 #16 0xb7a4224c in QApplication::exec (this=0xbfffef24) at kernel/qapplication.cpp:2762 #17 0xb7f9ca66 in kdemain () from /opt/trinity/lib/libkdeinit_kmenuedit.so #18 0x080486f7 in main () Grrr it looks like I'm having troubles generating debug informations under opensuse, I will try to reproduce the bug in another distribution. Finally, I've managed to get a backtrace with tdelibs debug informations. This is happening on openSUSE 12.2. Unlike what I thought before, it is not related to missing/incorrect icons. It happens on any item in kmenuedit, even when everything is correctly configured. I cannot reproduce this on the other distro I tried (CentOS 6). [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". [KCrash handler] #6 KIconViewSearchLine::updateSearch (this=0x91d7630, s=...) at /usr/src/debug/trinity-tdelibs-3.5.13.2/kdeui/kiconviewsearchline.cpp:125 #7 0xb677d51a in KIconViewSearchLine::activateSearch (this=this@entry=0x91d7630) at /usr/src/debug/trinity-tdelibs-3.5.13.2/kdeui/kiconviewsearchline.cpp:291 #8 0xb677de50 in KIconViewSearchLine::qt_invoke (this=0x91d7630, _id=92, _o=0xbfcbb818) at /usr/src/debug/trinity-tdelibs-3.5.13.2/build/kdeui/kiconviewsearchline.moc:120 #9 0xb71f250c in QObject::activate_signal (this=0x90af728, clist=0x93f7928, o=0xbfcbb818) at kernel/qobject.cpp:2383 #10 0xb74d7b2e in QSignal::signal (this=0x90af728, t0=...) at .moc/release-shared-mt/moc_qsignal.cpp:100 #11 0xb7209cf9 in QSignal::activate (this=0x90af728) at kernel/qsignal.cpp:215 #12 0xb720fcd4 in QSingleShotTimer::event (this=0x90af700) at kernel/qtimer.cpp:289 #13 0xb719a640 in internalNotify (e=0xbfcbba90, receiver=0x90af700, this=<optimized out>) at kernel/qapplication.cpp:2639 #14 QApplication::internalNotify (this=0xbfcbbd10, receiver=0x90af700, e=0xbfcbba90) at kernel/qapplication.cpp:2565 #15 0xb719a8e7 in QApplication::notify (this=0xbfcbbd10, receiver=0x90af700, e=0xbfcbba90) at kernel/qapplication.cpp:2362 #16 0xb61a2e61 in KApplication::notify (this=0xbfcbbd10, receiver=0x90af700, event=0xbfcbba90) at /usr/src/debug/trinity-tdelibs-3.5.13.2/kdecore/kapplication.cpp:582 #17 0xb7190063 in sendEvent (event=0xbfcbba90, receiver=<optimized out>) at kernel/qapplication.h:523 #18 QEventLoop::activateTimers (this=0x8ff8330) at kernel/qeventloop_unix.cpp:588 #19 0xb714e4d8 in QEventLoop::processEvents (this=0x8ff8330, flags=4) at kernel/qeventloop_x11.cpp:392 #20 0xb71ae5b0 in QEventLoop::enterLoop (this=0x8ff8330) at kernel/qeventloop.cpp:201 #21 0xb71ae504 in QEventLoop::exec (this=0x8ff8330) at kernel/qeventloop.cpp:148 #22 0xb719b24c in QApplication::exec (this=0xbfcbbd10) at kernel/qapplication.cpp:2762 #23 0xb76ef675 in kdemain (argc=2, argv=0xbfcbbed4) at /usr/src/debug/trinity-tdebase-3.5.13.2/kmenuedit/main.cpp:87 #24 0x0804860b in main (argc=2, argv=0xbfcbbed4) at /usr/src/debug/trinity-tdebase-3.5.13.2/build/kmenuedit/kmenuedit_kdeinit_executable.cpp:2 I cannot duplicate this bug in GIT (2013-05-22). Pressing Backspace until the text box is empty does not result in a crash. Nothing happens. No crash either when using the Clear widget to remove the text from the text box. I will try to reproduce this soon, BUT It was caused when having invalid "KDEDIRS=/usr" variable set by older "startkde" script version, and KDE4 was installed under /usr. The crash has vanished when setting KDEDIRS="/opt/trinity:/usr" . Still, it's a crash and should not occur even when using "/usr" icons from KDE4. Francois, is this report still valid? No, it is workarounded since we have renamed "applications.menu" to "tde-applications.menu". Tagging as resolved. Refer to git commit 5da63fe9 2013-07-31 in support of bug report 1563 for the resolution. Thanks for reporting and helping! |