FS#16016 - [sylpheed] breaks when a compose window is displayed with enchant 1.5.0

Attached to Project: Arch Linux
Opened by Jan Stępień (janek) - Saturday, 05 September 2009, 09:31 GMT
Last edited by Eric Belanger (Snowman) - Friday, 06 November 2009, 22:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Alexander Fehr (pizzapunk)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 17
Private No

Details

Sylpheed breaks with a SIGSEGV when trying to display a compose window.

Additional info:
* Occurs with enchant 1.5.0. Downgrading to 1.4.8 solves the problem.
* Tested on Sylpheed 2.7.1 and 2.6.0.
* Backtrace attached.

Steps to reproduce:
1. Install Sylpheed and enchant 1.5.0
2. Run Sylpheed and try to reply to a message or compose a new one.
   bt.txt (0.6 KiB)
This task depends upon

Closed by  Eric Belanger (Snowman)
Friday, 06 November 2009, 22:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  sylpheed-2.7.1-3 has gtkspell disabled. It could be re-enabled when a solution for the seg faults is found.
Comment by Anonymous Submitter - Tuesday, 08 September 2009, 12:24 GMT
Any chance this could be assigned a higher severity than medium? Not being able to reply to or send email makes this a pretty serious fault IMHO.
Comment by Anonymous Submitter - Tuesday, 08 September 2009, 21:44 GMT
The claws-mail package, a derivative of Sylpheed, doesn't seem to have this issue, so using it is a work around. I backed up .sylpheed-2.0/ and Mail directories before running it, just in case. It recognised a previous Sylpheed config and converted it, so I still had my multiple accounts. It didn't seem to convert my filters though.
Comment by Anonymous Submitter - Tuesday, 08 September 2009, 21:49 GMT
There's a filter converter available at the following page, although it needs the perl XML::SimpleObject module. Although only a quick look, I haven't found an Archlinux package for that in any of the repositories.
Comment by Anonymous Submitter - Tuesday, 08 September 2009, 21:50 GMT Comment by Mihai Militaru (akephalos) - Wednesday, 09 September 2009, 20:07 GMT
I can reproduce this bug on x86_64. Pretty serious :(.
Comment by Mick (lunix) - Wednesday, 16 September 2009, 04:21 GMT
I actually don't like claws mail so would like to seee this fixed fairly promptly.
I am on x86_64 and it segfaults for me too.
Comment by Mick (lunix) - Wednesday, 16 September 2009, 04:26 GMT
Downgrading to 1.4.8 solves the problem.



I am unable to find 1.4.8 of enchant.
I can see 1.4.2 then 1.5 ??
Comment by Mick (lunix) - Wednesday, 16 September 2009, 04:32 GMT
I have just used ABS to build 1.4.2 of enchant.
this worked a treat.
Comment by Mick (lunix) - Wednesday, 16 September 2009, 05:52 GMT
I have just used ABS to build 1.4.2 of enchant.
this worked a treat.
Comment by Xyne (Xyne) - Thursday, 17 September 2009, 08:25 GMT
Has there been any progress on this?
Can we downgrade the package in the repo until this is fixed?
Comment by Xyne (Xyne) - Thursday, 17 September 2009, 08:27 GMT
I meant enchant of course, but nevermind. If enchant works with other applications then it seems that it's a Sylpheed bug, in which case it would be silly to hold back enchant.
Comment by Allan McRae (Allan) - Thursday, 17 September 2009, 12:32 GMT
Sylpheed is the only package reported having problems with this version of enchant.
Comment by Olivier Duclos (oliwer) - Monday, 21 September 2009, 16:22 GMT
If you want to run Sylpheed with enchant 1.5.0, you need to set the following global variable : G_DEBUG=resident-module
I don't really understand what it does, but it works (at least on Mandriva).
Comment by Paul Mattal (paul) - Wednesday, 23 September 2009, 00:10 GMT
@oliwer: Tried testing your workaround, but it didn't work for me. I might Google a little and then have a look at the code to see if there's a straightforward workaround patch.
Comment by David Siñuela Pastor (siu4coders) - Saturday, 03 October 2009, 18:56 GMT
It works with this PKGBUILD file:

# $Id: PKGBUILD 52375 2009-09-19 01:49:39Z allan $
# Maintainer: Alexander Fehr <pizzapunk gmail com>
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=sylpheed
pkgver=2.7.1
pkgrel=2
pkgdesc="Lightweight and user-friendly e-mail client"
arch=('i686' 'x86_64')
url="http://sylpheed.sraoss.jp/en/"
license=('GPL')
depends=('gpgme' 'gtkspell')
makedepends=('compface')
source=(http://sylpheed.sraoss.jp/sylpheed/v2.7/sylpheed-$pkgver.tar.bz2)
md5sums=('1f470525c1fbe53253813a0978c18228')

build() {
cd "$srcdir/sylpheed-$pkgver"

./configure --prefix=/usr --enable-ldap --disable-gtkspell || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
}

The spell checker is disabled, but at least can compose messages. Forum thread: With this solution t
Comment by Mihai Militaru (akephalos) - Saturday, 03 October 2009, 21:47 GMT
@David: it works here using your PKGBUILD (x86_64). Just opened the compose window, not sent any message yet, though.
Comment by Allan McRae (Allan) - Sunday, 04 October 2009, 00:42 GMT
It works, but you have no spell-checking...
Comment by Paul Mattal (paul) - Sunday, 04 October 2009, 15:10 GMT
Until this is rectified somewhere upstream, isn't it better to have composing without spell check than it is to have crashing?
Comment by Mick (lunix) - Sunday, 04 October 2009, 21:16 GMT
Downgrading enchant to 1.4.2 (via ABS) = full working sylpheed.
Are there any side affects to downgrading enchant ? ( I haven't noticed any )

Loading...