Bug 235444 - kmail crashes on startup in KMFilterActionAddTag::argsFromString
Summary: kmail crashes on startup in KMFilterActionAddTag::argsFromString
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 255189 268028 275105 288958 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-26 15:46 UTC by Marcin Gryszkalis
Modified: 2012-08-19 11:02 UTC (History)
4 users (show)

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 Marcin Gryszkalis 2010-04-26 15:46:54 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo-ines i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I edited filters configuration few days before closing KMail (these filters worked ok). After closing I cannot start KMail anymore. I'll try to edit config by hand I report here if anything is related.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0x962ecf4, other=...) at src/corelib/arch/qatomic_i386.h:120
#7  QString::operator= (this=0x962ecf4, other=...) at tools/qstring.cpp:1280
#8  0xb6c5f67b in KMFilterActionAddTag::argsFromString (this=0x962ece8, argsStr=...) at /usr/src/debug/kde-base/kmail-4.4.2/kmail-4.4.2/kmail/kmfilteraction.cpp:941
#9  0xb6c7fb2d in KMFilter::readConfig (this=0x9880c80, config=...) at /usr/src/debug/kde-base/kmail-4.4.2/kmail-4.4.2/kmail/kmfilter.cpp:295
#10 0xb6c80f89 in KMFilter (this=0x9880c80, aConfig=..., popFilter=false) at /usr/src/debug/kde-base/kmail-4.4.2/kmail-4.4.2/kmail/kmfilter.cpp:67
#11 0xb6c592e0 in KMail::FilterImporterExporter::readFiltersFromConfig (config=..., bPopFilter=false) at /usr/src/debug/kde-base/kmail-4.4.2/kmail-4.4.2/kmail/filterimporterexporter.cpp:114
#12 0xb6c577ec in KMFilterMgr::readConfig (this=0x98d37a8) at /usr/src/debug/kde-base/kmail-4.4.2/kmail-4.4.2/kmail/kmfiltermgr.cpp:74
#13 0xb6d2e933 in KMKernel::init (this=0xbff202b8) at /usr/src/debug/kde-base/kmail-4.4.2/kmail-4.4.2/kmail/kmkernel.cpp:1543
#14 0x0804ae52 in main (argc=3, argv=0xbff20544) at /usr/src/debug/kde-base/kmail-4.4.2/kmail-4.4.2/kmail/main.cpp:131

Reported using DrKonqi
Comment 1 Marcin Gryszkalis 2010-04-26 18:24:20 UTC
It looks like some settings got lost on exit (including message tags).

Crash was caused by filters containing reference to tag, like:

action-args-0=xyz
action-name-0=add tag

after removing such lines from kmailrc kmail started (reporting lack of action).
Comment 2 Riccardo Pasquini 2010-10-25 11:12:38 UTC
*** Bug 255189 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2011-04-24 14:56:09 UTC
*** Bug 268028 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2011-07-08 13:01:41 UTC
*** Bug 275105 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2011-12-14 10:50:29 UTC
*** Bug 288958 has been marked as a duplicate of this bug. ***
Comment 6 Myriam Schweingruber 2012-08-19 11:02:39 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding