Bug 149529 - crash while fetching mails the second time (no crash while fetching mails at startup)
Summary: crash while fetching mails the second time (no crash while fetching mails at ...
Status: RESOLVED DUPLICATE of bug 149525
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-03 23:36 UTC by Andreas Kilgus
Modified: 2007-09-04 08:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kilgus 2007-09-03 23:36:45 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    SuSE RPMs
OS:                Linux

Since the last two updates of KDE from openSUSE's build service, AFAICS introducing the "favourite folder" view in kmail, kmail crashes as soon as it fetches email from the local mail server on the same machine for the second time. The mails get fetched indeed (respective files in /var/spool/mail have a size of 0 bytes afterwards) but appear not until starting kmail again, as it immediately crashes.

Protocol with strace, guessing relevant lines:

[pid 11244] utime("/home/andi/Mail/SPAM", NULL) = 0
[pid 11244] utime("/home/andi/Mail/.SPAM.index", NULL) = 0
[pid 11244] utime("/home/andi/Mail/.SPAM.index.ids", NULL) = 0
[pid 11244] munmap(0x42850000, 33)      = 0
[pid 11244] write(3, "\1\1\1\0@\0\0\0\1\0\0\0", 12) = 12
[pid 11244] write(3, "\0\0\0\6kmail\0\0\0\0\vDCOPServer\0\0\0\0\5emi"..., 64) = 64
[pid 11244] gettimeofday({1188852440, 188569}, NULL) = 0
[pid 11244] write(3, "\1\2\1\0T\0\0\0\352\0\0\0", 12) = 12
[pid 11244] write(3, "\0\0\0\6kmail\0\0\0\0\vDCOPServer\0\0\0\0\1\0\0\0"..., 72) = 72
[pid 11244] write(3, "\0\0\0\10knotify\0", 12) = 12
[pid 11244] read(3, "\2\3\0\2*\0\0\0", 8) = 8
[pid 11244] read(3, "\352\0\0\0", 4)    = 4
[pid 11244] read(3, "\0\0\0\vDCOPServer\0\0\0\0\6kmail\0\0\0\0\5boo"..., 42) = 42
[pid 11244] write(3, "\1\1\1\0_\1\0\0\1\0\0\0", 12) = 12
[pid 11244] write(3, "\0\0\0\6kmail\0\0\0\0\10knotify\0\0\0\0\7Notify"..., 105) = 105
[pid 11244] write(3, "\0\0\0 \0n\0e\0w\0-\0m\0a\0i\0l\0-\0a\0r\0r\0i\0v"..., 246) = 246
[pid 11244] gettimeofday({1188852440, 191290}, NULL) = 0
[pid 11244] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
[pid 11244] rt_sigaction(SIGALRM, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid 11244] alarm(3)                    = 0
[pid 11244] rt_sigaction(SIGKILL, {SIG_DFL}, {0x40811813, ~[HUP INT QUIT ILL ABRT FPE KILL USR1 CHLD TTIN TTOU URG SYS RT_1
RT_2 RT_3 RT_5 RT_6 RT_8 RT_9 RT_10 RT_17 RT_21 RT_22 RT_23 RT_31], SA_STACK|0x6391c0}, 8) = -1 EINVAL (Invalid argument)
[pid 11244] rt_sigaction(SIGTERM, {SIG_DFL}, {0x8049a88, [TERM], SA_RESTART}, 8) = 0
[pid 11244] rt_sigaction(SIGHUP, {SIG_DFL}, {0x8049a88, [HUP], SA_RESTART}, 8) = 0
[pid 11244] write(2, "*** KMail got signal 11 (Crashin"..., 35*** KMail got signal 11 (Crashing)
) = 35
[pid 11244] getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
[pid 11244] close(3)                    = 0

Debug trace in KDE:

[KCrash handler]
#6  0x402b1e4f in KMAcctLocal::fetchMsg ()
   from /opt/kde3/lib/libkmailprivate.so
#7  0x402b260d in KMAcctLocal::continueProcess ()
   from /opt/kde3/lib/libkmailprivate.so
#8  0x402b2716 in KMAcctLocal::qt_invoke ()
   from /opt/kde3/lib/libkmailprivate.so
#9  0x40aa60dc in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x40aa6c2e in QObject::activate_signal_bool ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x402b0c38 in KMAcctLocal::preProcessExited ()
   from /opt/kde3/lib/libkmailprivate.so
#12 0x402b1c77 in KMAcctLocal::continuePreProcess ()
   from /opt/kde3/lib/libkmailprivate.so
#13 0x402b273b in KMAcctLocal::qt_invoke ()
   from /opt/kde3/lib/libkmailprivate.so
#14 0x40aa6179 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40aa6c2e in QObject::activate_signal_bool ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40221ad8 in KMAccount::precommandExited ()
   from /opt/kde3/lib/libkmailprivate.so
#17 0x402231bf in KMAccount::startPrecommand ()
   from /opt/kde3/lib/libkmailprivate.so
#18 0x402b1598 in KMAcctLocal::preProcess ()
   from /opt/kde3/lib/libkmailprivate.so
#19 0x402b1729 in KMAcctLocal::processNewMail ()
   from /opt/kde3/lib/libkmailprivate.so
#20 0x402aaf67 in KMail::AccountManager::processNextCheck ()
   from /opt/kde3/lib/libkmailprivate.so
#21 0x402ab23e in KMail::AccountManager::singleCheckMail ()
   from /opt/kde3/lib/libkmailprivate.so
#22 0x402ab3ef in KMail::AccountManager::checkMail ()
   from /opt/kde3/lib/libkmailprivate.so
#23 0x403f5487 in KMMainWidget::slotCheckMail ()
   from /opt/kde3/lib/libkmailprivate.so
#24 0x40410391 in KMMainWidget::qt_invoke ()
   from /opt/kde3/lib/libkmailprivate.so
#25 0x40aa6179 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40aa6630 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x41f7dde9 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4
#28 0x41fb7cb1 in KAction::slotActivated () from /opt/kde3/lib/libkdeui.so.4
#29 0x41fd725f in KAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#30 0x41fd73bb in KActionMenu::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#31 0x40aa60dc in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40aa6630 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x40dfcd0c in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40b3d076 in QButton::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x41fbfd0e in KToolBarButton::mouseReleaseEvent ()
   from /opt/kde3/lib/libkdeui.so.4
#36 0x40ae09a8 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x4201d031 in KToolBarButton::event () from /opt/kde3/lib/libkdeui.so.4
#38 0x40a44ed1 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x40a45fd8 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0x40746bde in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#41 0x409ddb5c in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0x409dc91b in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#43 0x409f113a in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#44 0x40a5bf22 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#45 0x40a5be06 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#46 0x40a4481f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#47 0x0804a106 in main ()
#48 0x41049ea0 in __libc_start_main () from /lib/tls/libc.so.6
#49 0x08049e71 in _start () at start.S:119
Comment 1 Bram Schoenmakers 2007-09-04 08:12:08 UTC

*** This bug has been marked as a duplicate of 149525 ***