Bug 116307 - kdesktop crashes while trying to move mouse over any icon
Summary: kdesktop crashes while trying to move mouse over any icon
Status: CLOSED DUPLICATE of bug 111115
Alias: None
Product: kdesktop
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-14 04:20 UTC by Marc Schiffbauer
Modified: 2009-01-02 20:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schiffbauer 2005-11-14 04:20:31 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Ubuntu Packages
OS:                Linux

I installed recent 3.5rc1 packages for kubuntu.
If I move the mouse over any Icon on the Desktop, it gets blank ans kdesktop is restarted.

Starting kdesktop from konsole shows that it segfaults.

Would kdelibs-gdb files help to debug this?

-Marc
Comment 1 Marc Schiffbauer 2005-11-14 11:32:56 UTC
I did "rm .kde/share/config/kdesktoprc" and then kdesktop did not crash again.
I have a backup of the config file though. 

Maybe its a good Idea to fix this anyhow because IMO many KDE upgraders will have a problem when they upgrade to 3.5 otherwise...

I played a bit with the old kdesktoprc:

This was my [Desktop Icons]-Section:
------------------------------------
[Desktop Icons]
Preview=imagethumbnail,cursorthumbnail,ldifvcardthumbnail,djvuthumbnail,exrthumbnail,htmlthumbnail,pothumbnail,gsthumbnail,fontthumbnail,svgthumbnail,picturethumbnail,audio/,textthumbnail,videothumbnail,webarchivethumbnail
ShowHidden=false
VertAlign=true
------------------------------------

Removing that strange "audio/" entry fixed the problem, but I do not know where this came from. I never edited the kdesktoprc file by myself with a text editor .

Maybe a check/filter for those entries while reading the file would be a good thing?

-Marc
Comment 2 Marc Schiffbauer 2005-11-14 11:47:36 UTC
Me again ;)

Ok finally it seems that the "preview" of Sound-Files is broken. If I check the setting to preview sound files on the desktop ind the kdesktop-Settings, kdekstop crashes immediatly when moving the mouse over any icon, at least Folders and wav-Files.

So the audio/ entry seems not to be "weired" but normal.

Cheers
-Marc
Comment 3 Thiago Macieira 2005-11-14 15:12:05 UTC
Can you paste the crash backtrace, please? I believe the crashes with audio files have been fixed.
Comment 4 Marc Schiffbauer 2005-11-14 17:18:34 UTC
Here you are:

mschiff@homer:~$ gdb kdesktop
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run --nofork
Starting program: /usr/bin/kdesktop --nofork
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1232587072 (LWP 10538)]
Qt: gdb: -nograb added to command-line options.
         Use the -dograb option to enforce grabbing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1232587072 (LWP 10538)]
0xb7e9033e in __gnu_cxx::__pool<true>::_M_reclaim_block () from /usr/lib/libstdc++.so.6
(gdb) bt
#0  0xb7e9033e in __gnu_cxx::__pool<true>::_M_reclaim_block () from /usr/lib/libstdc++.so.6
#1  0xb655366f in __gnu_cxx::__mt_alloc<std::string, __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >::deallocate ()
   from /usr/lib/kde3/konq_sound.so
#2  0xb6552b2e in KonqSoundPlayerImpl::mimeTypes () from /usr/lib/kde3/konq_sound.so
#3  0xb7cb876d in KonqIconViewWidget::slotOnItem () from /usr/lib/libkonq.so.4
#4  0xb7cd79fa in KonqIconViewWidget::qt_invoke () from /usr/lib/libkonq.so.4
#5  0xb7f881bc in KDIconView::qt_invoke () from /usr/lib/libkdeinit_kdesktop.so
#6  0xb74e5a56 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#7  0xb787a09b in QIconView::onItem () from /usr/lib/libqt-mt.so.3
#8  0xb76d8bb9 in QIconView::contentsMouseMoveEvent () from /usr/lib/libqt-mt.so.3
#9  0xb7caa3e8 in KonqIconViewWidget::contentsMouseMoveEvent () from /usr/lib/libkonq.so.4
#10 0xb7617dc7 in QScrollView::viewportMouseMoveEvent () from /usr/lib/libqt-mt.so.3
#11 0xb761a82c in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#12 0xb76ce09a in QIconView::eventFilter () from /usr/lib/libqt-mt.so.3
#13 0xb74e2a72 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#14 0xb74e2af0 in QObject::event () from /usr/lib/libqt-mt.so.3
#15 0xb7520268 in QWidget::event () from /usr/lib/libqt-mt.so.3
#16 0xb747cf80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#17 0xb747d500 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#18 0xb7bc6b8c in KApplication::notify (this=0xbf9f2e48, receiver=0x81c62a0, event=0xbf9f27e4) at kapplication.cpp:550
#19 0xb740de25 in QApplication::sendSpontaneousEvent () from /usr/lib/libqt-mt.so.3
#20 0xb7409325 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#21 0xb740766f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#22 0xb7420fff in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#23 0xb7494cfb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#24 0xb7494c1e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#25 0xb747bc13 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#26 0xb7f85d60 in kdemain () from /usr/lib/libkdeinit_kdesktop.so
#27 0xb7d08ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#28 0x080483d1 in ?? ()
(gdb)                                        
Comment 5 Thiago Macieira 2005-11-15 01:19:00 UTC
Thank you, thought so.

The bug is in your gcc (libstdc++). Notify your distribution to fix it ASAP: a fix has been available for a while.

*** This bug has been marked as a duplicate of 111115 ***
Comment 6 FiNeX 2009-01-02 20:31:45 UTC
Bug closed. Kdesktop is no more mantained.