[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Bug#33240: Kmail crashes randomly, normally when idle
From:       Nick Lawes <nick () grok ! demon ! co ! uk>
Date:       2001-10-06 14:25:29
[Download RAW message or body]

On Friday 05 Oct 2001 09:43, you wrote:
> On Thursday 04 October 2001 00:13, Nick Lawes wrote:
> > So, is the 2.2 supplied qt-2.3.1 okay, or would you recommend
> > rebuilding that as well? Presumably it, and the kde libs should be
> > okay, and hopefully contain debug symbols.
>
> Well, the crash seems to appear eventually in kdelibs so recompiling
> that also with "./configure --enable-debug" can't hurt, but I can't
> see that exactely from the backtrace.

I couldn't compile just the kde-network part, so I'm now cvs'ing the 
whole lot (thats taking some time), and will rebuild everything. I may 
just overlay the libs to start with, but perhaps a fresh install into 
/usr/local/kde is the way to go. I'll enable-debug... Presumably for 
the libs and network at a minimum.

> > I could then run it from gdb I guess to get a better chance to poke
> > around, if that would be useful, or will the stack trace be enough?
>
> Running from gdb doesn't give a better backtrace, it just gives a
> backtrace at all in some cases, where the crash manager doesn't work.

I was only thinking of the ability to poke around in nearby variables 
after the event, but if the backtrace suffices, I won't bother.

> > > Does it also crash, if you disable interval mailchecking and
> > > check your mails only manually?
> >
> > FYI I tend to leave kmail running 24/7, if this makes a difference.
> > I do the same at work, and do see similar problems there. I'll
> > rebuild kmail from source at work too. Crashes vary between, say, a
> > couple in one day (rare), to one every few days.
>
> At least a few other people already reported crashes, when the
> connection to the server fails with interval mail checking. But I
> can't reproduce that and up to now that was always with object
> prelinking what the SuSE RPMs don't seem to use.
> Maybe you could try, if interval mail checking crashes, if you
> intentionally enter some wrong information.

By object prelinking I presume you're referring to the i386 speedup 
"hacks" that reduce shared library load time. I did have a reference to 
that somewhere, but my interest at the time was in speeding up 
sparc/solaris load times, so I skipped over it. Is the qt/kde set up 
for it? If it in some way fixes the problems I can try compiling in 
that manner here, and complain to SuSE if it's thought that they should 
also be doing it.

Being in "track down the bug" mode, I am trying to be more observant. 
It has crashed 3 more times lately (stacktraces included), and in each 
case it has been after a period of inactivity, when mail has arrived by 
interval checking. I use the beep and pop-up features to switch to the 
desktop running kmail. The pop-up is there, and clicking on "okay" 
causes the crash box to appear after about 10 seconds (accompanied by 
that sinking feeling of "oh no, not again!" :-) It may be that all (or 
at least most) of the crashes are after new mail has arrived.

I've just disbaled interval checking to see if it happens in "manual" 
mode, but I'll switch it back on, and play with bad usernames, 
hostnames etc. Maybe timeouts are a more likely cause, where it starts 
a transaction and then times out. I may be able to simulate this in 
some way by hacking up a pop server that randomly stops.

[I just did a quick test, and it didn't cause a crash yet with bad 
info. I have set the intervals to 1 minute to try speeding up the 
process.]

Is there any transaction logging of the pop sessions anywhere? 
Timestamps against internal state would be useful. I guess I could add 
that in, given that I now have the source on-line.... Once I get it all 
rebuilt.

> > Funnily enough it just "locked up" on me without a stack trace,
> > while I was typing in this message, I'd received another mail
> > message, replied to it, and hit send from the composer. All windows
> > stopped updating. I left it for 10 minutes, then killed it.
>
> This was most likely do to a known clipboard related bug in Qt.
> "killall -6 kmail" gives a crash manager in such a case.

That's useful to know. I've only seen this sort of lockup once or 
twice, but at least if it happens again I can get a backtrace for it.

Regards

/nick

-- 
Nick Lawes | mailto:nick@grok.demon.co.uk



["kmail.backtrace4" (text/plain)]

(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)...
(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)...
0x4112f289 in wait4 () from /lib/libc.so.6
#0  0x4112f289 in wait4 () from /lib/libc.so.6
#1  0x4119d828 in __DTOR_END__ () from /lib/libc.so.6
#2  0x409119b5 in KCrash::defaultCrashHandler ()
   from /opt/kde2//lib/libkdecore.so.3
#3  <signal handler called>
#4  0x40457553 in KIO::Slave::gotInput () from /opt/kde2//lib/libkio.so.3
#5  0x40ba4a1e in QObject::activate_signal () from /usr/lib/qt2/lib/libqt.so.2
#6  0x40bf8e7a in QSocketNotifier::activated ()
   from /usr/lib/qt2/lib/libqt.so.2
#7  0x40bd865f in QSocketNotifier::event () from /usr/lib/qt2/lib/libqt.so.2
#8  0x40b511d6 in QApplication::notify () from /usr/lib/qt2/lib/libqt.so.2
#9  0x408754fa in KApplication::notify () from /opt/kde2//lib/libkdecore.so.3
#10 0x40b1d249 in sn_activate () from /usr/lib/qt2/lib/libqt.so.2
#11 0x40b1d9b7 in QApplication::processNextEvent ()
   from /usr/lib/qt2/lib/libqt.so.2
#12 0x40b52e2f in QApplication::enter_loop () from /usr/lib/qt2/lib/libqt.so.2
#13 0x40b1d2bb in QApplication::exec () from /usr/lib/qt2/lib/libqt.so.2
#14 0x816d364 in KDialog::marginHint ()
#15 0x410a2c6f in __libc_start_main () from /lib/libc.so.6

["kmail.backtrace3" (text/plain)]

(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)...
(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)...
0x4112f289 in wait4 () from /lib/libc.so.6
#0  0x4112f289 in wait4 () from /lib/libc.so.6
#1  0x4119d828 in __DTOR_END__ () from /lib/libc.so.6
#2  0x409119b5 in KCrash::defaultCrashHandler ()
   from /opt/kde2//lib/libkdecore.so.3
#3  <signal handler called>
#4  0x410f9fdf in free () from /lib/libc.so.6
#5  0x41045754 in __builtin_vec_delete ()
   from /usr/lib/libstdc++-libc6.2-2.so.3
#6  0x40af73ee in QStringData::deleteSelf () from /usr/lib/qt2/lib/libqt.so.2
#7  0x40aeb707 in QGDict::clear () from /usr/lib/qt2/lib/libqt.so.2
#8  0x80ce797 in KDialog::marginHint ()
#9  0x80cc4b4 in KDialog::marginHint ()
#10 0x80c4314 in KDialog::marginHint ()
#11 0x8088bd8 in KDialog::marginHint ()
#12 0x8088973 in KDialog::marginHint ()
#13 0x80bf520 in KDialog::marginHint ()
#14 0x80bb2c0 in KDialog::marginHint ()
#15 0x80baf37 in KDialog::marginHint ()
#16 0x808e417 in KDialog::marginHint ()
#17 0x40ba473d in QObject::activate_signal () from /usr/lib/qt2/lib/libqt.so.2
#18 0x4077d346 in KAction::activated () from /opt/kde2//lib/libkdeui.so.3
#19 0x4076f24f in KAction::slotActivated () from /opt/kde2//lib/libkdeui.so.3
#20 0x40ba4a1e in QObject::activate_signal () from /usr/lib/qt2/lib/libqt.so.2
#21 0x40bd5fc7 in QSignal::activate () from /usr/lib/qt2/lib/libqt.so.2
#22 0x40b4e4ce in QAccel::eventFilter () from /usr/lib/qt2/lib/libqt.so.2
#23 0x40ba2728 in QObject::activate_filters () from /usr/lib/qt2/lib/libqt.so.2
#24 0x40beb5fb in QWidget::event () from /usr/lib/qt2/lib/libqt.so.2
#25 0x40c4eaa0 in QMainWindow::event () from /usr/lib/qt2/lib/libqt.so.2
#26 0x40b511d6 in QApplication::notify () from /usr/lib/qt2/lib/libqt.so.2
#27 0x408754fa in KApplication::notify () from /opt/kde2//lib/libkdecore.so.3
#28 0x40b220bb in QETWidget::translateKeyEvent ()
   from /usr/lib/qt2/lib/libqt.so.2
#29 0x40b1e1d1 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt2/lib/libqt.so.2
#30 0x40b1d341 in QApplication::processNextEvent ()
   from /usr/lib/qt2/lib/libqt.so.2
#31 0x40b52e2f in QApplication::enter_loop () from /usr/lib/qt2/lib/libqt.so.2
#32 0x40b1d2bb in QApplication::exec () from /usr/lib/qt2/lib/libqt.so.2
#33 0x816d364 in KDialog::marginHint ()
#34 0x410a2c6f in __libc_start_main () from /lib/libc.so.6

["kmail.backtrace2" (text/plain)]

(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)...
(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)...
0x4112f289 in wait4 () from /lib/libc.so.6
#0  0x4112f289 in wait4 () from /lib/libc.so.6
#1  0x4119d828 in __DTOR_END__ () from /lib/libc.so.6
#2  0x409119b5 in KCrash::defaultCrashHandler ()
   from /opt/kde2//lib/libkdecore.so.3
#3  <signal handler called>
#4  0x410f9fdf in free () from /lib/libc.so.6
#5  0x41045754 in __builtin_vec_delete ()
   from /usr/lib/libstdc++-libc6.2-2.so.3
#6  0x40af73ee in QStringData::deleteSelf () from /usr/lib/qt2/lib/libqt.so.2
#7  0x409131cd in KURL::~KURL () from /opt/kde2//lib/libkdecore.so.3
#8  0x8161116 in KDialog::marginHint ()
#9  0x815e6af in KDialog::marginHint ()
#10 0x810b179 in KDialog::marginHint ()
#11 0x40ba4e43 in QObject::activate_signal_bool ()
   from /usr/lib/qt2/lib/libqt.so.2
#12 0x80bfb0f in KDialog::marginHint ()
#13 0x816412f in KDialog::marginHint ()
#14 0x8167209 in KDialog::marginHint ()
#15 0x4048535f in KIO::Job::result () from /opt/kde2//lib/libkio.so.3
#16 0x4046bee1 in KIO::Job::emitResult () from /opt/kde2//lib/libkio.so.3
#17 0x4046cda1 in KIO::SimpleJob::slotFinished ()
   from /opt/kde2//lib/libkio.so.3
#18 0x4046f011 in KIO::TransferJob::slotFinished ()
   from /opt/kde2//lib/libkio.so.3
#19 0x40ba473d in QObject::activate_signal () from /usr/lib/qt2/lib/libqt.so.2
#20 0x4045c846 in KIO::SlaveInterface::finished ()
   from /opt/kde2//lib/libkio.so.3
#21 0x40458b1c in KIO::SlaveInterface::dispatch ()
   from /opt/kde2//lib/libkio.so.3
#22 0x4045885a in KIO::SlaveInterface::dispatch ()
   from /opt/kde2//lib/libkio.so.3
#23 0x404573fc in KIO::Slave::gotInput () from /opt/kde2//lib/libkio.so.3
#24 0x40ba4a1e in QObject::activate_signal () from /usr/lib/qt2/lib/libqt.so.2
#25 0x40bf8e7a in QSocketNotifier::activated ()
   from /usr/lib/qt2/lib/libqt.so.2
#26 0x40bd865f in QSocketNotifier::event () from /usr/lib/qt2/lib/libqt.so.2
#27 0x40b511d6 in QApplication::notify () from /usr/lib/qt2/lib/libqt.so.2
#28 0x408754fa in KApplication::notify () from /opt/kde2//lib/libkdecore.so.3
#29 0x40b1d249 in sn_activate () from /usr/lib/qt2/lib/libqt.so.2
#30 0x40b1d9b7 in QApplication::processNextEvent ()
   from /usr/lib/qt2/lib/libqt.so.2
#31 0x40b52e2f in QApplication::enter_loop () from /usr/lib/qt2/lib/libqt.so.2
#32 0x40b1d2bb in QApplication::exec () from /usr/lib/qt2/lib/libqt.so.2
#33 0x816d364 in KDialog::marginHint ()
#34 0x410a2c6f in __libc_start_main () from /lib/libc.so.6

_______________________________________________
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