Version: 3.2 (using KDE 3.2.2, compiled sources) Compiler: gcc version 3.3.1 (SuSE Linux) OS: Linux (i686) release 2.4.21-215-athlon Actions: - Selected View / Add view - Chose the Card view, and entered "sdsdsd" as name - Added "Birthday" to the selected fields - In the Look & Field options, set the Margin to 5, and checked both checkboxes in the Behaviour tab - Clicking OK and then clicking the mouse inside the view created crashed the application. During reproducing, managed to get a different looking stack trace: [New Thread 16384 (LWP 9825)] 0x415cda86 in waitpid () from /lib/i686/libpthread.so.0 #0 0x415cda86 in waitpid () from /lib/i686/libpthread.so.0 #1 0x40a0163b in KCrash::defaultCrashHandler(int) (sig=8) at kcrash.cpp:246 #2 0x415cc96c in __pthread_sighandler () from /lib/i686/libpthread.so.0 #3 <signal handler called> #4 0x42b144a3 in CardView::contentsMouseReleaseEvent(QMouseEvent*) ( this=0x8408928, e=0xbfffeac0) at cardview.cpp:1210 #5 0x40f87f5f in QScrollView::viewportMouseReleaseEvent(QMouseEvent*) ( this=0x8408928, e=0xbfffeef0) at widgets/qscrollview.cpp:1748 #6 0x40f8760e in QScrollView::eventFilter(QObject*, QEvent*) (this=0x8408928, obj=0x8400a00, e=0xbfffeef0) at widgets/qscrollview.cpp:1502 #7 0x40e618b8 in QObject::activate_filters(QEvent*) (this=0x8400a00, e=0xbfffeef0) at kernel/qobject.cpp:902 #8 0x40e6172a in QObject::event(QEvent*) (this=0x8400a00, e=0xbfffeef0) at kernel/qobject.cpp:735 #9 0x40e9bf5f in QWidget::event(QEvent*) (this=0x8400a00, e=0xbfffeef0) at kernel/qwidget.cpp:4650 #10 0x40e014d3 in QApplication::internalNotify(QObject*, QEvent*) ( this=0xbffff390, receiver=0x8400a00, e=0xbfffeef0) at kernel/qapplication.cpp:2618 #11 0x40e00c89 in QApplication::notify(QObject*, QEvent*) (this=0xbffff390, receiver=0x8400a00, e=0xbfffeef0) at kernel/qapplication.cpp:2404 #12 0x40977ebf in KApplication::notify(QObject*, QEvent*) (this=0xbffff390, receiver=0x8400a00, event=0xbfffeef0) at kapplication.cpp:511 #13 0x40d978cf in QApplication::sendSpontaneousEvent(QObject*, QEvent*) ( receiver=0x8400a00, event=0xbfffeef0) at qapplication.h:494 #14 0x40d908d1 in QETWidget::translateMouseEvent(_XEvent const*) ( this=0x8400a00, event=0xbffff280) at kernel/qapplication_x11.cpp:4237 #15 0x40d8e531 in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff390, event=0xbffff280) at kernel/qapplication_x11.cpp:3388 #16 0x40da8ad0 in QEventLoop::processEvents(unsigned) (this=0x8108e90, flags=4) at kernel/qeventloop_x11.cpp:192 #17 0x40e1568a in QEventLoop::enterLoop() (this=0x8108e90) at kernel/qeventloop.cpp:198 #18 0x40e155a6 in QEventLoop::exec() (this=0x8108e90) at kernel/qeventloop.cpp:145 #19 0x40e01653 in QApplication::exec() (this=0xbffff390) at kernel/qapplication.cpp:2741 #20 0x0805c8b3 in main (argc=1, argv=0xbffff534) at main.cpp:157 [New Thread 16384 (LWP 10071)] 0x415cda86 in waitpid () from /lib/i686/libpthread.so.0 #0 0x415cda86 in waitpid () from /lib/i686/libpthread.so.0 #1 0x40a0163b in KCrash::defaultCrashHandler(int) (sig=8) at kcrash.cpp:246 #2 0x415cc96c in __pthread_sighandler () from /lib/i686/libpthread.so.0 #3 <signal handler called> #4 0x42acc94f in CardView::drawRubberBands(int) (this=0x84a5298, pos=213) at cardview.cpp:1609 #5 0x42acb741 in CardView::contentsMouseMoveEvent(QMouseEvent*) ( this=0x84a5298, e=0xbfffeac0) at cardview.cpp:1264 #6 0x40f88103 in QScrollView::viewportMouseMoveEvent(QMouseEvent*) ( this=0x84a5298, e=0xbfffeef0) at widgets/qscrollview.cpp:1782 #7 0x40f87686 in QScrollView::eventFilter(QObject*, QEvent*) (this=0x84a5298, obj=0x83cf288, e=0xbfffeef0) at widgets/qscrollview.cpp:1512 #8 0x40e618b8 in QObject::activate_filters(QEvent*) (this=0x83cf288, e=0xbfffeef0) at kernel/qobject.cpp:902 #9 0x40e6172a in QObject::event(QEvent*) (this=0x83cf288, e=0xbfffeef0) at kernel/qobject.cpp:735 #10 0x40e9bf5f in QWidget::event(QEvent*) (this=0x83cf288, e=0xbfffeef0) at kernel/qwidget.cpp:4650 #11 0x40e014d3 in QApplication::internalNotify(QObject*, QEvent*) ( this=0xbffff390, receiver=0x83cf288, e=0xbfffeef0) at kernel/qapplication.cpp:2618 #12 0x40e00c89 in QApplication::notify(QObject*, QEvent*) (this=0xbffff390, receiver=0x83cf288, e=0xbfffeef0) at kernel/qapplication.cpp:2404 #13 0x40977ebf in KApplication::notify(QObject*, QEvent*) (this=0xbffff390, receiver=0x83cf288, event=0xbfffeef0) at kapplication.cpp:511 #14 0x40d978cf in QApplication::sendSpontaneousEvent(QObject*, QEvent*) ( receiver=0x83cf288, event=0xbfffeef0) at qapplication.h:494 #15 0x40d908d1 in QETWidget::translateMouseEvent(_XEvent const*) ( this=0x83cf288, event=0xbffff280) at kernel/qapplication_x11.cpp:4237 #16 0x40d8e531 in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff390, event=0xbffff280) at kernel/qapplication_x11.cpp:3388 #17 0x40da8ad0 in QEventLoop::processEvents(unsigned) (this=0x8108ef8, flags=4) at kernel/qeventloop_x11.cpp:192 #18 0x40e1568a in QEventLoop::enterLoop() (this=0x8108ef8) at kernel/qeventloop.cpp:198 #19 0x40e155a6 in QEventLoop::exec() (this=0x8108ef8) at kernel/qeventloop.cpp:145 #20 0x40e01653 in QApplication::exec() (this=0xbffff390) at kernel/qapplication.cpp:2741 #21 0x0805c8b3 in main (argc=1, argv=0xbffff534) at main.cpp:157
Fixed the crash: do not divide by zero. But: Most likely this fix of mine is just a workaround, further investigation is needed to find out WHAT was leading to the zero values...
The development of the old KAddressBook will be discontinued for KDE 4.4. Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.