claws-mail crashed with SIGSEGV in sock_close()

Bug #204290 reported by Leu
8
Affects Status Importance Assigned to Milestone
claws-mail (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: claws-mail

Hello,
this bug is maybe a duplicate of #202214 claws-mail crashed with SIGSEGV in gtk_ctree_is_viewable()

What happened:

firefox3beta4 was opened in the background. Just some text-sites were opened.

I have claws-mail opened in a tray-icon. Included plugins are Notification and Trayicon.
I got a new mail, clicked on the tray-icon, claws-mail opened in full and I started to reply. The answer took me about 15 minutes. Suddenly the processor got up to 100% and I could not write anymore. Everything else worked fine, but a bit slower (e.g. minimizing claws-mail, using firefox). After about max. one more minute claws-mail closed itself and the bug-report appeared.

I am sorry. This was all I recognized. I have no idea what went wrong.

Best regards.

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Thu Mar 20 15:43:34 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/claws-mail
Package: claws-mail 3.3.1-1ubuntu1
PackageArchitecture: i386
ProcCmdline: claws-mail
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: claws-mail
Stacktrace:
 #0 0x081ebd43 in sock_close ()
 #1 0x081e9e14 in ?? ()
 #2 0x00000010 in ?? ()
 #3 0x00000000 in ?? ()
StacktraceTop:
 sock_close ()
 ?? ()
 ?? ()
 ?? ()
Title: claws-mail crashed with SIGSEGV in sock_close()
Uname: Linux 2.6.24-12-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev video

Tags: apport-crash
Revision history for this message
Leu (mail2leu) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:session_close (session=0x8586e50) at session.c:329
session_destroy (session=0x8586e50) at session.c:208
imap_handle_error (session=0x876a360, libetpan_errcode=<value optimized out>) at imap.c:551
imap_cmd_noop (session=0x876a360) at imap.c:3446
imap_session_get (folder=0x86d5058) at imap.c:1005

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
Changed in claws-mail:
importance: Undecided → Medium
Revision history for this message
Colin Leroy-Mira (colin-colino) wrote :

Upstream commit 3.3.1cvs40 possibly fixes that (although it's a strange crash).
http://colino.net/claws-mail/getpatchset.php?ver=3.3.1cvs40

Revision history for this message
Leu (mail2leu) wrote :

I got this crash again today.
Now I know that it happened while claws-mail tried to get new messages from the IMAP-server from arcor.de.

For reproduction: Click on Inbox, wait till its finished and click again on Inbox and few seconde later on Draws or Trash. For me claws-mails seems to crash when the imap-server doesn't answer and claws-mail gets multiple tasks.

I will keep on trying to reproduce and specify this crash.

Thanks a lot for your work!

Revision history for this message
Colin Leroy-Mira (colin-colino) wrote :

It would be nice if you could grab the claws-mail snapshot at http://claws-mail.org/snapshots/, build it, and see if you can reproduce with that version...

Revision history for this message
Leu (mail2leu) wrote :

Okay, I built the cvs44-snapshot. Until now there's no problem.
I will keep on testing and report tomorrow.
I am a bit irritated by this message I got:
"This connection is configured to be secured using SSL, but SSL is not available in this build of Claws Mail."

Revision history for this message
Colin Leroy-Mira (colin-colino) wrote :

Ah, you forgot to install openssl development packages. The easiest for you is to do:
$ sudo apt-get build-dep claws-mail

That'll grab all needed packages to various optional dependancies of Claws;
and then rebuild the snapshot, including the ./configure step.

Revision history for this message
Colin Leroy-Mira (colin-colino) wrote :

By the way, if you experience problems with that snapshot, it'll be better to report to upstream bugzilla instead of launchpad:
http://thewildbeast.co.uk/claws-mail/bugzilla/

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package claws-mail - 3.3.1-1ubuntu3

---------------
claws-mail (3.3.1-1ubuntu3) hardy; urgency=low

  * Fixing some serious crasher bugs (LP: #208230)
    Thanks to Colin Leroy <email address hidden> from Claws Mail for preparing the
    patches, to not let claws-mail in terrible state for Ubuntu 8.04 LTS
  * debian/patches/fix_crash_saving_draft_mail_on_slow_imap_link.patch
    - Fixes: crash when saving to drafts on slow IMAP link and closing the window
      during save. (Upstream Bug: 1534)
  * debian/patches/fix_cant_mark_mails_as_read_on_some_imap_srvs.patch:
    - Fixes: Can't mark mails as read on some IMAP servers. (Upstream Bug:
      1533)
  * debian/patches/crash_on_failure_to_write_IMAP_message_to_disk.patch:
    - Fixes: crash on failure to write IMAP message to disk (Upstream Bug:
      1515)
  * debian/patches/fix_possible_crash_when_trying_to_parse_null_date.patch:
    - Prevent possible crash when trying to parse NULL dates.
  * debian/patches/fix_crash_on_socket_close.patch: (LP: #204290)
    - Fixes crash on socket close.
  * debian/patches/fix_crash_when_deleting_a_whole_adressbook_folder.patch:
    - Fix crash when deleting a whole adressbook folder.
  * debian/patch/fix_crash_when_starting_with_homedir_full.patch:
    - Fix crash when starting with /home is full.
    - RedHat Bug: #431735
  * debian/patches/fix_window_handling_on_startup.patch:
    - Fix windows handling on startup, so that the Claws Mail taskbar entry
      doesn't blink.
  * debian/patches/fix_unscrollable_folder.patch: (LP: #189569)
    - Fix unscrollable folder list when starting minimized to tray.
  * debian/patches/fix_filtering_rule_handling.patch:
    - Fill in destination correctly when re-editing a re-send filtering rule.
  * debian/patches/remove_raw_printf_from_imap_fetch_code.patch:
    - Remove a raw printf from IMAP fetch code.
  * debian/patches/fix_html_display_for_seamonkey.patch:
    - Strip MIME subtype to workaround some sender MUAs bugs. Fixes html
      display from Seamonkey.
  * debian/patches/use_folder_set_account.patch:
    - Use folder-set account if specified when using right-click->Compose
      Email on an email address.

 -- Stephan Hermann <email address hidden> Sat, 29 Mar 2008 11:20:39 +0100

Changed in claws-mail:
status: New → Fix Released
Revision history for this message
Leu (mail2leu) wrote :

GOTSCHA!
Hello Colin, you fixed the problem in snapshot cvs44.
I built claws-mail again and tried everything to reproduce the failure. It is not reproducable.
Claws-Mail works very good since snapshot cvs44!

Thank you very much! Best Regards.

Revision history for this message
Colin Leroy-Mira (colin-colino) wrote :

Leu: great, thanks. The fix is in 3.3.1-1ubuntu3 uploaded by Stephan Hermann today, so, when you'll be able to do an apt update, you should uninstall the snapshot with:
$ sudo make uninstall

Thanks for the feedback :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.