[Bug 280732] New: kmail crashes while waiting

2011-08-24 Thread Paul E . Black
https://bugs.kde.org/show_bug.cgi?id=280732

   Summary: kmail crashes while waiting
   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:
- What I was doing when the application crashed:
I started kmail, then minimized the window. While I was reading the kmail
manual in KDE Help Center, kmail crashed with no particular input or event.

Here is all the information from the terminal in which I started it:
$ (kmail &)
$ KGlobal::locale::Warning your global KLocale is being recreated with a valid
main component instead of a fake component, this usually means you tried to
call i18n related functions before your main component was created. You should
not do that since it most likely will not work 
kmail(16687) KMFolder::updateIndicatorIcon: Could not read image from "" 
kmail(16687) KMFolder::updateIndicatorIcon: Could not read image from "" 
kmail(16687)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail(16687)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Folder..." under id 6 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Message..." under id 3 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&Find Messages..." under id 43 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Folder..." under id 450 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Message..." under id 447 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&Find Messages..." under id 487 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Folder..." under id 610 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Message..." under id 607 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&Find Messages..." under id 647 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Folder..." under id 770 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Message..." under id 767 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&Find Messages..." under id 807 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Folder..." under id 930 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Message..." under id 927 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&Find Messages..." under id 967 
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Folder..." under id 1090 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&New Message..." under id 1087 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action
"&Find Messages..." under id 1127 
*** 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

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0xb74bcb70 (LWP 16688)):
#0  0x00bbe416 in __kernel_vsyscall ()
#1  0x008fef76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0225484b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x022441af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0224492b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x02d87304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x0226d2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x0185be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0090d73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb76e6780 (LWP 16687)):
[KCrash Handler]
#7  0x in ?? ()
#8  0x00f520a8 in KMMsgBase::syncIndexString (this=0xa4e39d8) at
../../kmail/kmmsgbase.cpp:1221
#9  0x010bbd8d in KMFolderIndex::updateIndex (this=0x9ff16e8,
aboutToClose=true) at ../../kmail/kmfolderindex.cpp:73
#10 0x00fb5190 in KMFolderMaildir::reallyDoClose (this=0x9ff16e8) at
..

[Bug 280729] New: kmail crashed after setting expiry

2011-08-24 Thread Paul E . Black
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 0x6504 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.