[Bug 77202] New: knotes crashes when typing left or right key in "preference" or "configure knotes" window

Tobias Koenig tokoe at kde.org
Wed Mar 24 16:04:18 GMT 2004


On Wed, Mar 24, 2004 at 12:46:11PM +0100, Michael Brade wrote:
> On Wednesday 10 March 2004 17:59, David Ammouial wrote:
Hi,

> > When entering configuration window (either for an individual note or via
> > the "configure Knotes" menu option), and typing left or right direction
> > key, Knotes subitely crashes. KDE doesn't display any "application crashed"
> > form.
> Whoa, this was one of those few bugreports that made my jaw drop open. Not 
> even gdb displays anything useful and valgrind starts eating all the memory 
> until my machine freezes or valgrind crashes.
Here is the backtrace. It looks like a recursive call in the
keyPressedEvent methods of K/QListBox, which results in a stack
overflow.
Maybe anybody with more Qt experience could take a look at it?

Ciao,
Tobias
-- 
Separate politics from religion and economy!
-------------- next part --------------
#0  0x416bc471 in QScrollBar::staticMetaObject() ()
    at .moc/debug-shared-mt/moc_qscrollbar.cpp:52
#1  0x416bcf1f in QScrollBar::metaObject() const (this=0x81161e8)
    at qscrollbar.h:52
#2  0x41311bd5 in QObject::inherits(char const*) const (this=0x81161e8,
    clname=0x40b2e1a5 "QLineEdit") at kernel/qobject.cpp:581
#3  0x409d3742 in KApplication::notify(QObject*, QEvent*) ()
    from /opt/kde/lib/libkdecore.so.4
#4  0x412461a4 in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x81161e8, event=0xbffff3c0) at qapplication.h:491
#5  0x413f13e8 in QListBox::keyPressEvent(QKeyEvent*) (this=0x828d278,
    e=0xbffff3c0) at widgets/qlistbox.cpp:2511
#6  0x4083b33a in KListBox::keyPressEvent(QKeyEvent*) (this=0x828d278,
    e=0xbffff3c0) at klistbox.cpp:247
#7  0x4134cdb1 in QWidget::event(QEvent*) (this=0x828d278, e=0xbffff3c0)
    at kernel/qwidget.cpp:4714
#8  0x412b1909 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff8a0, receiver=0x828d278, e=0xbffff3c0)
    at kernel/qapplication.cpp:2618
#9  0x412b0f99 in QApplication::notify(QObject*, QEvent*) (this=0xbffff8a0,
    receiver=0x81161e8, e=0xbffff3c0) at kernel/qapplication.cpp:2375
#10 0x409d34cd in KApplication::notify(QObject*, QEvent*) ()
    from /opt/kde/lib/libkdecore.so.4
#11 0x412461a4 in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x81161e8, event=0xbffff3c0) at qapplication.h:491
#12 0x413f13e8 in QListBox::keyPressEvent(QKeyEvent*) (this=0x828d278,
    e=0xbffff3c0) at widgets/qlistbox.cpp:2511
#13 0x4083b33a in KListBox::keyPressEvent(QKeyEvent*) (this=0x828d278,
    e=0xbffff3c0) at klistbox.cpp:247
#14 0x4134cdb1 in QWidget::event(QEvent*) (this=0x828d278, e=0xbffff3c0)
    at kernel/qwidget.cpp:4714
#15 0x412b1909 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff8a0, receiver=0x828d278, e=0xbffff3c0)
    at kernel/qapplication.cpp:2618
#16 0x412b0f99 in QApplication::notify(QObject*, QEvent*) (this=0xbffff8a0,
    receiver=0x81161e8, e=0xbffff3c0) at kernel/qapplication.cpp:2375
#17 0x409d34cd in KApplication::notify(QObject*, QEvent*) ()
    from /opt/kde/lib/libkdecore.so.4
#18 0x412461a4 in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x81161e8, event=0xbffff3c0) at qapplication.h:491
#19 0x413f13e8 in QListBox::keyPressEvent(QKeyEvent*) (this=0x828d278,
    e=0xbffff3c0) at widgets/qlistbox.cpp:2511
#20 0x4083b33a in KListBox::keyPressEvent(QKeyEvent*) (this=0x828d278,
    e=0xbffff3c0) at klistbox.cpp:247
#21 0x4134cdb1 in QWidget::event(QEvent*) (this=0x828d278, e=0xbffff3c0)
    at kernel/qwidget.cpp:4714
#22 0x412b1909 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff8a0, receiver=0x828d278, e=0xbffff3c0)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040324/ae610e4c/attachment.sig>


More information about the kde-core-devel mailing list