https://bugs.kde.org/show_bug.cgi?id=280729

           Summary: kmail crashed after setting expiry
           Product: kmail2
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs@kde.org
        ReportedBy: drpa...@gmail.com


Application: kmail (1.13.6)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- Background
I am setting up kmail on a new machine. I copied some filter files from my old
kmail on my old machine. I finished setting up accounts, appearance, etc. I
copied all the mail content from my old kmail to the new kmail. I've started
and exited kmail a couple of times.

- What I was doing when the application crashed:
setting expiry on folders
I set expiry on trash (read=30, unread 14). That went fine.
I set expiry on zRjct read=90, unread=120. When I clicked "ok" (or something),
kmail died instantly.

- Unusual behavior I noticed:
I could not run kmail from the system bar (it would blink a few times, then
nothing came up). I was running it in from a terminal. It has been spewing all
manner of warnings and errors during regular operation. Here are the last few
in the terminal window:
kmail(14414)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail(14414)/kdecore (KLibrary) kde4Factory: The library
"/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kmail(14414)/kdecore (KLibrary) kde3Factory: The library
"/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kmail(14414)/kdecore (KLibrary) kde4Factory: The library
"/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kmail(14414)/kdecore (KLibrary) kde3Factory: The library
"/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kmail(14414)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail(14414)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail(14414)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail(14414)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
Enchant dict for "en_US" 0x971cc28 
unnamed app(16094) main: Migrator instance already running for type  "contact" 
Enchant dict for "en_US" 0x99c4910 
kmail(14414) KMFolderIndex::updateIndexStreamPtr: utime(
"/home/black/Mail/.outbox.index.ids" , 0) failed
(KMMsgDict::getFolderIdsLocation( *this )) 
kmail(14414)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Application asked to unregister timer 0x65000004 which is not registered in
this thread. Fix application.
kmail(14414) KMail::MessageListView::StorageModel::releaseMessage: Trying to
release a message at row 4 that no longer exists in the folder 
*** KMail got signal 11 (Crashing)
KCrash: Application 'kmail' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/black/.kde/socket-coldstone/kdeinit4__0
QSocketNotifier: Invalid socket 32 and type 'Read', disabling...

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb71c8780 (LWP 14414))]

Thread 3 (Thread 0xb6f9eb70 (LWP 14415)):
#0  0x0082236b in pthread_mutex_lock () from
/lib/i386-linux-gnu/libpthread.so.0
#1  0x058ee616 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x05de1802 in g_main_context_release () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x05de304f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x05de392b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x03da1304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x05e0c2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x0081fe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x058e073e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb63b3b70 (LWP 14493)):
#0  0x05de2076 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x05de2e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x05de3524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x066a4577 in QEventDispatcherGlib::processEvents (this=0x911e7b8,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x06676289 in QEventLoop::processEvents (this=0xb63b3220, flags=...) at
kernel/qeventloop.cpp:149
#5  0x06676522 in QEventLoop::exec (this=0xb63b3220, flags=...) at
kernel/qeventloop.cpp:201
#6  0x065802a0 in QThread::exec (this=0x911e280) at thread/qthread.cpp:492
#7  0x06657fdb in QInotifyFileSystemWatcherEngine::run (this=0x911e280) at
io/qfilesystemwatcher_inotify.cpp:248
#8  0x06582da2 in QThreadPrivate::start (arg=0x911e280) at
thread/qthread_unix.cpp:320
#9  0x0081fe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x058e073e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb71c8780 (LWP 14414)):
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0x00e9cd26 in KMail::ExpireJob::slotDoWork (this=0x9438080) at
../../kmail/expirejob.cpp:136
#9  0x00e9d07f in KMail::ExpireJob::execute (this=0x9438080) at
../../kmail/expirejob.cpp:114
#10 0x00e13504 in KMail::FolderJob::start (this=0x9438080) at
../../kmail/folderjob.cpp:106
#11 0x00ea02aa in KMail::JobScheduler::runTaskNow (this=0x85d3770,
task=0x95d5460) at ../../kmail/jobscheduler.cpp:226
#12 0x00ea046f in KMail::JobScheduler::registerTask (this=0x85d3770,
task=0x95d5460) at ../../kmail/jobscheduler.cpp:91
#13 0x00c0c945 in KMFolder::expireOldMessages (this=0x8934690, immediate=true)
at ../../kmail/kmfolder.cpp:890
#14 0x00ec3e24 in KMail::ExpiryPropertiesDialog::accept (this=0x9760730) at
../../kmail/expirypropertiesdialog.cpp:192
#15 0x0055b13b in KDialog::slotButtonClicked (this=0x9760730, button=4) at
../../kdeui/dialogs/kdialog.cpp:884
#16 0x0055b5bc in KDialog::qt_metacall (this=0x9760730,
_c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfd1d6b8) at ./kdialog.moc:190
#17 0x00ec420a in KMail::ExpiryPropertiesDialog::qt_metacall (this=0x9760730,
_c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfd1d6b8) at
./expirypropertiesdialog.moc:69
#18 0x0667d6ba in QMetaObject::metacall (object=0x9760730,
cl=QMetaObject::InvokeMetaMethod, idx=69, argv=0xbfd1d6b8) at
kernel/qmetaobject.cpp:237
#19 0x0668d4ff in QMetaObject::activate (sender=0x99d70e4, m=0x67b10f8,
local_signal_index=0, argv=0xbfd1d6b8) at kernel/qobject.cpp:3287
#20 0x06691413 in QSignalMapper::mapped (this=0x99d70e4, _t1=4) at
.moc/release-shared/moc_qsignalmapper.cpp:101
#21 0x0669155f in QSignalMapper::map (this=0x99d70e4, sender=0x99d70f8) at
kernel/qsignalmapper.cpp:266
#22 0x0669171e in QSignalMapper::map (this=0x99d70e4) at
kernel/qsignalmapper.cpp:257
#23 0x06691c0b in QSignalMapper::qt_metacall (this=0x99d70e4,
_c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd1d848) at
.moc/release-shared/moc_qsignalmapper.cpp:87
#24 0x0667d6ba in QMetaObject::metacall (object=0x99d70e4,
cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfd1d848) at
kernel/qmetaobject.cpp:237
#25 0x0668d4ff in QMetaObject::activate (sender=0x99d70f8, m=0x1ba4884,
local_signal_index=2, argv=0xbfd1d848) at kernel/qobject.cpp:3287
#26 0x0194a7c9 in QAbstractButton::clicked (this=0x99d70f8, _t1=false) at
.moc/release-shared/moc_qabstractbutton.cpp:206
#27 0x01662326 in QAbstractButtonPrivate::emitClicked (this=0x9c0d298) at
widgets/qabstractbutton.cpp:546
#28 0x01663b94 in QAbstractButtonPrivate::click (this=0x9c0d298) at
widgets/qabstractbutton.cpp:539
#29 0x01663e4e in QAbstractButton::mouseReleaseEvent (this=0x99d70f8,
e=0xbfd1dfa4) at widgets/qabstractbutton.cpp:1121
#30 0x012b713a in QWidget::event (this=0x99d70f8, event=0xbfd1dfa4) at
kernel/qwidget.cpp:8259
#31 0x01662e9e in QAbstractButton::event (this=0x99d70f8, e=0xbfd1dfa4) at
widgets/qabstractbutton.cpp:1080
#32 0x01700c52 in QPushButton::event (this=0x99d70f8, e=0xbfd1dfa4) at
widgets/qpushbutton.cpp:683
#33 0x0125ed24 in QApplicationPrivate::notify_helper (this=0x859a8a8,
receiver=0x99d70f8, e=0xbfd1dfa4) at kernel/qapplication.cpp:4462
#34 0x01264201 in QApplication::notify (this=0xbfd1e8cc, receiver=0x99d70f8,
e=0xbfd1dfa4) at kernel/qapplication.cpp:4023
#35 0x0060b3ca in KApplication::notify (this=0xbfd1e8cc, receiver=0x99d70f8,
event=0xbfd1dfa4) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x066770bb in QCoreApplication::notifyInternal (this=0xbfd1e8cc,
receiver=0x99d70f8, event=0xbfd1dfa4) at kernel/qcoreapplication.cpp:731
#37 0x0125fc3b in sendSpontaneousEvent (receiver=0x99d70f8, event=0xbfd1dfa4,
alienWidget=0x99d70f8, nativeWidget=0x9760730, buttonDown=0x1badc60,
lastMouseReceiver=..., spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#38 QApplicationPrivate::sendMouseEvent (receiver=0x99d70f8, event=0xbfd1dfa4,
alienWidget=0x99d70f8, nativeWidget=0x9760730, buttonDown=0x1badc60,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#39 0x012eb04c in QETWidget::translateMouseEvent (this=0x9760730,
event=0xbfd1e4cc) at kernel/qapplication_x11.cpp:4558
#40 0x012e99b5 in QApplication::x11ProcessEvent (this=0xbfd1e8cc,
event=0xbfd1e4cc) at kernel/qapplication_x11.cpp:3680
#41 0x013155f4 in x11EventSourceDispatch (s=0x85a3aa8, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x05de2aa8 in g_main_context_dispatch () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#43 0x05de3270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0x05de3524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x066a453c in QEventDispatcherGlib::processEvents (this=0x859a7b0,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#46 0x013151e5 in QGuiEventDispatcherGlib::processEvents (this=0x859a7b0,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x06676289 in QEventLoop::processEvents (this=0xbfd1e794, flags=...) at
kernel/qeventloop.cpp:149
#48 0x06676522 in QEventLoop::exec (this=0xbfd1e794, flags=...) at
kernel/qeventloop.cpp:201
#49 0x0667aecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#50 0x0125c8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#51 0x0804a733 in main (argc=17960648, argv=0x8932740) at
../../kmail/main.cpp:158

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to