Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149216 - KMail crashes if filter copies outgoing message to folder on an online IMAP account.
Summary: KMail crashes if filter copies outgoing message to folder on an online IMAP a...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
Depends on:
Reported: 2006-09-26 12:36 UTC by Martin Kampas
Modified: 2006-09-29 09:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Backtrace for case 1 (not in that folder) (kmail_backtrace_1.txt,2.63 KB, text/plain)
2006-09-26 12:44 UTC, Martin Kampas
Backtrace for case 2 (in that folder) (kmail_backtrace_2.txt,3.42 KB, text/plain)
2006-09-26 12:46 UTC, Martin Kampas

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kampas 2006-09-26 12:36:44 UTC
User-Agent:       Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.2 (like Gecko)
Build Identifier: 

I'am sorry, but my English.. (and this is my 1st bug report :) )

I have an IMAP account and sent-mail folder on it. For better consistency, I 
have a filter rule, which copies all messages I send from this account (co
ntaining "" in their "From" attribute) to sent-mail folder on it.

After creation of this rule I saw warning:
  "At least one filter targets a folder on an online IMAP account. Such 
filters will only be applied when manually filtering and when filtering 
incoming online IMAP mail."

However, this rule works, but:
  1) When I'm in any folder other than sent-mail on that IMAP account and I 
create new message, KMail crashes immediately after sending.
  2) When I'm in the folder sent-mail on that IMAP account, I create and send 
new message, KMail crashes immediately after I try to see (any?) message in 
this folder.
  3) When I'm in the state mentioned in case 2, but when I first select other 
folder and return to sent-mail on that IMAP account, KMail does NOT crash when 
I try to see message in that folder.

Email is still sent.

Reproducible: Always

Steps to Reproduce:
1. Create a rule that copies any outgoing message sent from that IMAP account 
(with "From" containing specific string) to a folder on that account 
(VSB/mail/sent-mail in my case)
2. Write new message according to the created rule and send it.
3. If any other than rule-target folder is opened, KMail crashes immediately. 
If rule-target folder is opened, KMail crashes after selecting (any?) message 
from it.

Actual Results:  
Crash. Obtain SIGSEGV.

Expected Results:  
Nothing or show selected mail (depends).

Backtraces added as attachment...

NOTICE: as listed bellow, I use distcc, but this problem exists also when it's 
compiled without it.
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 
2.6.17-gentoo-r8 i686)                                                                        
System uname: 2.6.17-gentoo-r8 i686 AMD Sempron(tm) Processor 2800+             
Gentoo Base System version 1.12.5                                               
Last Sync: Mon, 25 Sep 2006 19:20:01 +0000                                      
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
app-admin/eselect-compiler: [Not Present]                                       
dev-java/java-config: 1.2.11-r1                                                 
dev-lang/python:     2.4.3-r1                                                   
dev-python/pycrypto: 2.0.1-r5                                                   
dev-util/ccache:     [Not Present]                                              
dev-util/confcache:  [Not Present]                                              
sys-apps/sandbox:    1.2.17                                                     
sys-devel/autoconf:  2.13, 2.59-r7                                              
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2           
sys-devel/binutils:  2.16.1-r3                                                  
sys-devel/gcc-config: 1.3.13-r3                                                 
sys-devel/libtool:   1.5.22                                                     
virtual/os-headers:  2.6.17-r1                                                  
CFLAGS="-O3 -march=i686 -pipe"                                                  
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"                                     
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"   
CXXFLAGS="-O3 -march=i686 -pipe"                                                
FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms 
strict" GENTOO_MIRRORS=""                  
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"                             
USE="x86 X acl alsa arts berkdb bitmap-fonts cli crypt cscope cups dlloader 
dri elibc_glibc encode exif fbcon flac fortran ftp gcj gdbm gif gpm iconv 
imagemagick imap input_devices_evdev input_devices_keyboard 
input_devices_mouse ipv6 isdnlog jabber jack java jikes jpeg kde kernel_linux 
libg++ mad mime mmx mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl pam 
pcre pdf perl png ppds pppd python qt qt3 quicktime readline reflection 
session slang spl sse sse2 ssl subversion svg tcpd tiff truetype 
truetype-fonts type1-fonts udev unicode usb userland_GNU v4l video_cards_ati 
video_cards_chips video_cards_dummy video_cards_fbdev video_cards_mga 
video_cards_nv video_cards_nvidia video_cards_tseng video_cards_vesa 
video_cards_vga video_cards_vmware vorbis wifi win32codecs xorg xosd xpm xvid 
Comment 1 Martin Kampas 2006-09-26 12:44:56 UTC
Created attachment 98166 [details]
Backtrace for case 1 (not in that folder)
Comment 2 Martin Kampas 2006-09-26 12:46:17 UTC
Created attachment 98167 [details]
Backtrace for case 2 (in that folder)
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-29 09:12:53 UTC
See here

for the first issue and here

for the second. Unfortunately there's not much we can do about it, but tracking the upstream bugs. KMail's imap support is screwed.