[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: [Bug 58271] crash whenever adding a new filter and incorrect filter
From: "Christophe Prud'Homme" <prudhomm () mit ! edu>
Date: 2003-05-09 10:52:40
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=58271
------- Additional Comments From prudhomm@mit.edu 2003-05-09 12:52 -------
new backtrace with "some" debugging symbols (I recompiled kmfilter* with -g
after gdb backtrace I put the valgrind output
[New Thread 16384 (LWP 24665)]
0x4177baf9 in wait4 () from /lib/libc.so.6
#0 0x4177baf9 in wait4 () from /lib/libc.so.6
#1 0x417eef60 in sys_sigabbrev () from /lib/libc.so.6
#2 0x415c3061 in waitpid () from /lib/libpthread.so.0
#3 0x40d98c98 in KCrash::defaultCrashHandler(int) ()
from /opt/kde3/lib/libkdecore.so.4
#4 0x417089c8 in sigaction () from /lib/libc.so.6
#5 0x41320810 in QGList::clear() () from /opt/qt3/lib/libqt-mt.so.3
#6 0x0816e868 in QPtrList<KMSearchRule>::clear() (this=0x8948d90)
at /opt/qt3/include/qptrlist.h:78
#7 0x0816e7ba in ~QPtrList (this=0x8948d90) at /opt/qt3/include/qptrlist.h:55
#8 0x0816e64a in ~KMSearchPattern (this=0x8948d90) at kmsearchpattern.h:171
#9 0x0816e0bc in ~KMFilter (this=0x8948d90) at kmfilter.h:55
#10 0x0816e547 in QPtrList<KMFilter>::deleteItem(void*) (this=0x88ba9a4,
d=0x8948d90) at /opt/qt3/include/qptrlist.h:119
#11 0x413207e7 in QGList::clear() () from /opt/qt3/lib/libqt-mt.so.3
#12 0x0816da4e in QPtrList<KMFilter>::clear() (this=0x88ba9a4)
at /opt/qt3/include/qptrlist.h:78
#13 0x0816e438 in ~QPtrList (this=0x88ba9a4) at /opt/qt3/include/qptrlist.h:55
#14 0x08188a28 in ~KMFilterListBox (this=0x88ba8d8) at kmfilterdlg.moc:84
#15 0x41123214 in QWidget::~QWidget() () from /opt/qt3/lib/libqt-mt.so.3
#16 0x41122d6c in QWidget::~QWidget() () from /opt/qt3/lib/libqt-mt.so.3
#17 0x4123a40b in QDialog::~QDialog() () from /opt/qt3/lib/libqt-mt.so.3
#18 0x40bace11 in KDialogBase::~KDialogBase() ()
from /opt/kde3/lib/libkdeui.so.4
#19 0x08188e36 in ~KMFilterDlg (this=0x88eeff8) at kmfilterdlg.moc:223
#20 0x40bad412 in KDialogBase::slotDelayedDestruct() ()
from /opt/kde3/lib/libkdeui.so.4
#21 0x40bb1914 in KDialogBase::qt_invoke(int, QUObject*) ()
from /opt/kde3/lib/libkdeui.so.4
#22 0x08186af1 in KMFilterDlg::qt_invoke(int, QUObject*) (this=0x88eeff8,
_id=82, _o=0xbffff490) at kmfilterdlg.moc:534
#23 0x410fa056 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /opt/qt3/lib/libqt-mt.so.3
#24 0x41386276 in QSignal::signal(QVariant const&) ()
from /opt/qt3/lib/libqt-mt.so.3
#25 0x411102f1 in QSignal::activate() () from /opt/qt3/lib/libqt-mt.so.3
#26 0x41116437 in QSingleShotTimer::event(QEvent*) ()
from /opt/qt3/lib/libqt-mt.so.3
#27 0x410a5965 in QApplication::internalNotify(QObject*, QEvent*) ()
from /opt/qt3/lib/libqt-mt.so.3
#28 0x410a4fa0 in QApplication::notify(QObject*, QEvent*) ()
from /opt/qt3/lib/libqt-mt.so.3
#29 0x40d08823 in KApplication::notify(QObject*, QEvent*) ()
from /opt/kde3/lib/libkdecore.so.4
#30 0x410835e0 in QEventLoop::activateTimers() ()
from /opt/qt3/lib/libqt-mt.so.3
#31 0x410650ff in QEventLoop::processEvents(unsigned) ()
from /opt/qt3/lib/libqt-mt.so.3
#32 0x410b72fb in QEventLoop::enterLoop() () from /opt/qt3/lib/libqt-mt.so.3
#33 0x410b71c0 in QEventLoop::exec() () from /opt/qt3/lib/libqt-mt.so.3
#34 0x410a5b5c in QApplication::exec() () from /opt/qt3/lib/libqt-mt.so.3
#35 0x0809469f in main ()
#36 0x416f7a51 in __libc_start_main () from /lib/libc.so.6
and here is what valgrind says when it crashes
==24692==
==24692== Invalid write of size 1
==24692== at 0x4080F8E8: DwBoyerMoore::_Assign(char const*, unsigned) (in
/home/kde3/lib/libmimelib.so.1.0.1)
==24692== by 0x4080F66B: DwBoyerMoore::DwBoyerMoore(char const*) (in
/home/kde3/lib/libmimelib.so.1.0.1)
==24692== by 0x8178F90: KMSearchRule::init(QCString const&) (in /home/kde3/bin/kmail)
==24692== by 0x8178B2C: KMSearchRule::KMSearchRule(QCString const&,
KMSearchRule::Function, QString const&) (in /home/kde3/bin/kmail)
==24692== Address 0x4A5A40D4 is not stack'd, malloc'd or free'd
==24692==
==24692== Invalid free() / delete / delete[]
==24692== at 0x4015D1D3: __builtin_vec_delete (vg_clientfuncs.c:219)
==24692== by 0x4015D1F1: operator delete[](void*) (vg_clientfuncs.c:228)
==24692== by 0x4080F7D8: DwBoyerMoore::~DwBoyerMoore() (in
/home/kde3/lib/libmimelib.so.1.0.1)
==24692== by 0x8178ED0: KMSearchRule::~KMSearchRule() (in /home/kde3/bin/kmail)
==24692== Address 0x46E0CF30 is 0 bytes inside a block of size 7 free'd
==24692== at 0x4015D1D3: __builtin_vec_delete (vg_clientfuncs.c:219)
==24692== by 0x4015D1F1: operator delete[](void*) (vg_clientfuncs.c:228)
==24692== by 0x4080F7D8: DwBoyerMoore::~DwBoyerMoore() (in
/home/kde3/lib/libmimelib.so.1.0.1)
==24692== by 0x8178ED0: KMSearchRule::~KMSearchRule() (in /home/kde3/bin/kmail)
kmail: KMSearchPattern::purify(): removing "" <contains> ""
kmail: apply on inbound == true
kmail: apply on outbound == false
kmail: apply on explicit == true
kmail: apply on inbound == true
kmail: apply on outbound == false
kmail: apply on explicit == true
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic