Bug 115767

Summary: Kalzium crash when using mouse wheel over spectrum view
Product: [Applications] kalzium Reporter: Krzysztof Lichota <krzysiek>
Component: generalAssignee: Carsten Niehaus <cniehaus>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Krzysztof Lichota 2005-11-06 09:53:00 UTC
Version:            (using KDE KDE 3.4.92)
Installed from:    SuSE RPMs

Kalzium crashed when I tried to use mouse wheel over spectrum view (the image).

Here is the backtrace:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(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)
(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)
(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 1101937952 (LWP 13727)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#7  0x40fee829 in QListBox::itemRect () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x408f7c6b in KJanusWidget::IconListItem::highlight ()
   from /opt/kde3/lib/libkdeui.so.4
#9  0x4090b5c8 in KJanusWidget::IconListBox::slotOnItem ()
   from /opt/kde3/lib/libkdeui.so.4
#10 0x4090b5fa in KJanusWidget::slotOnItem () from /opt/kde3/lib/libkdeui.so.4
#11 0x4090b6cc in KJanusWidget::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#12 0x40f148da in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x41279645 in QListBox::onItem () from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x40ff6cb9 in QListBox::mouseMoveEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40f4adda in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40eb1c4f in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40eb3ff6 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40bc8dc1 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#19 0x40e4efbe in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40e4de76 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40e5ea58 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40ec9be1 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40ec9a26 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40eb36df in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x0809ac6e in ?? ()
#26 0xbfffeda0 in ?? ()
#27 0x081c91b8 in ?? ()
#28 0x00000001 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000001 in ?? ()
#32 0x080a7a8d in vtable for QDragMoveEvent ()
#33 0x00000000 in ?? ()
#34 0x080a7aab in vtable for QDragMoveEvent ()
#35 0x080a7a79 in vtable for QDragMoveEvent ()
#36 0xbfffedb8 in ?? ()
#37 0x414320ee in operator new () from /usr/lib/libstdc++.so.5
#38 0x41491e80 in __libc_start_main () from /lib/tls/libc.so.6
#39 0x08058a51 in ?? ()
Comment 1 Krzysztof Lichota 2005-11-06 09:55:16 UTC
It appears that using mouse wheel over spectrum image causes moving to next element, so it might be related to bug 109035.
Comment 2 Krzysztof Lichota 2005-11-06 10:06:37 UTC
I managed to track down the exact way of reproducing this error.
Note: I have disabled sidebar and tooltips, I haven't tried without it.

Here are the steps:
1. Click on "H" element. Element information dialog appears.
2. Click on "Spectrum" to show spectrum tab.
3. Click "Close" to close the dialog.
4. Click on "H" element again.
5. Move the mouse.


Comment 3 Carsten Niehaus 2005-11-06 10:29:36 UTC
I can confirm this crash. Here is a more useful backtrace:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1236375872 (LWP 8506)]
[KCrash handler]
#7  0xb6dc20a5 in QListBox::itemRect () from /usr/lib/libqt-mt.so.3
#8  0xb763eb25 in KJanusWidget::IconListItem::highlight ()
   from /usr/lib/libkdeui.so.4
#9  0xb763edf4 in KJanusWidget::IconListBox::slotOnItem ()
   from /usr/lib/libkdeui.so.4
#10 0xb763ee3e in KJanusWidget::slotOnItem () from /usr/lib/libkdeui.so.4
#11 0xb763f567 in KJanusWidget::qt_invoke () from /usr/lib/libkdeui.so.4
#12 0xb6cdaa56 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0xb704eac3 in QListBox::onItem () from /usr/lib/libqt-mt.so.3
#14 0xb6dc5cd7 in QListBox::mouseMoveEvent () from /usr/lib/libqt-mt.so.3
#15 0xb6d152cd in QWidget::event () from /usr/lib/libqt-mt.so.3
#16 0xb6c71f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#17 0xb6c72500 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#18 0xb73c0e37 in KApplication::notify () from /usr/lib/libkdecore.so.4
#19 0xb6c02e25 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#20 0xb6bfe325 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#21 0xb6bfc66f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#22 0xb6c15fff in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#23 0xb6c89cfb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#24 0xb6c89c1e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#25 0xb6c70c13 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#26 0x080ad246 in main () at qshared.h:49
Comment 4 Carsten Niehaus 2005-11-06 10:36:59 UTC
I compared the backtrace, this is a dub.    Krzysztof, which gcc-version are you using? I bet it is gcc 4.x, right?

*** This bug has been marked as a duplicate of 109035 ***
Comment 5 Krzysztof Lichota 2005-11-06 11:05:19 UTC
> I compared the backtrace, this is a dub.    
> Krzysztof, which gcc-version are you using? I bet it is gcc 4.x, right? 
 
No, it is:
gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)

But AFAIK Suse ported some changes from 4.0 to its 3.3.x versions, like hiding exported symbols.

I am using Suse 9.3.