Bug 705431

Summary: [abrt] claws-mail-3.7.9-2.fc14: g_slist_free out of bounds / imap folder process_flags (SIGSEGV)
Product: [Fedora] Fedora Reporter: Mac <squoggle>
Component: claws-mailAssignee: Andreas Bierfert <andreas.bierfert>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: andreas.bierfert, bugs.michael, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:9b00f0cd984d57cfb5612122ab8e797945b61f05
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 12:06:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Mac 2011-05-17 16:33:05 UTC
abrt version: 1.1.18
architecture: i686
Attached file: backtrace, 30098 bytes
cmdline: /usr/bin/claws-mail
component: claws-mail
Attached file: coredump, 27906048 bytes
crash_function: g_slice_free_chain_with_offset
executable: /usr/bin/claws-mail
kernel: 2.6.35.13-91.fc14.i686.PAE
package: claws-mail-3.7.9-2.fc14
rating: 4
reason: Process /usr/bin/claws-mail was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1305649390
uid: 500

How to reproduce
-----
1. Open claws mail
2. Attempt to delete a certain email
3. Crash

Comment 1 Mac 2011-05-17 16:33:07 UTC
Created attachment 499409 [details]
File: backtrace

Comment 2 Michael Schwendt 2011-05-17 18:14:21 UTC
Well, thanks for the report, but

> How to reproduce
> -----
> 1. Open claws mail
> 2. Attempt to delete a certain email
> 3. Crash

just for the record, here you were supposed to tell what is necessary to reproduce the crash, _not_ just what you had done before it crashed. You were also supposed to tell _whether_ you can reproduce the crash with the steps you give. Obviously, deleting IMAP messages with Claws Mail works well for many of its users and doesn't serve as a test-case.

Anyway, this is similar to bug 703156 in that it also passed folderview_check_new() and later encountered corrupted memory in a GSList. However, that could only be a side-effect.

#0  g_slice_free_chain_with_offset (mem_size=8, mem_chain=0x8d2c3f0, next_offset=4) at gslice.c:942
        current = 0x19 <Address 0x19 out of bounds>
#1  0x007f7e2e in g_slist_free (list=0x8d2c3f0) at gslist.c:166
#2  0x0811c29f in process_flags (key=0x81, value=0x8ddded0, user_data=0x1) at imap.c:4924



Also just for the record:

| #9  0x0810c0a4 in folderview_check_new (folder=0x8d86480) at folderview.c:1203
|        str = 0xe <Address 0xe out of bounds>

I've checked that, and it's a ptr that's freed again, but just not reset to NULL. Harmless.

Comment 3 Fedora End Of Life 2012-08-16 12:06:47 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping