Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Sylpheed segfaults :-(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
alexbuell
Guru
Guru


Joined: 18 Jul 2002
Posts: 490
Location: "Hemp"shire, UK

PostPosted: Sun Sep 03, 2006 11:21 am    Post subject: [SOLVED] Sylpheed segfaults :-( Reply with quote

After moving to GCC 4.1.1 and GLIBC 2.4.3, and after doing an total system and world rebuild, I find that Sylpheed 2.2.6 now segfaults on certain operations (i.e trying to compose a new message, using my mouse to select parts of texts in messages). Is anybody else experiencing problems with Sylpheed? All of my other apps works just fine.

Any ideas (apart from upgrading to 2.2.7?) Thanks.
_________________
Cheers,
Alex.

Linux - the best text adventure game ever.


Last edited by alexbuell on Mon Sep 04, 2006 7:20 am; edited 2 times in total
Back to top
View user's profile Send private message
gyboth
n00b
n00b


Joined: 03 Sep 2006
Posts: 7
Location: Passau, Germany

PostPosted: Sun Sep 03, 2006 11:49 am    Post subject: Reply with quote

Same problem here with sylpheed-claws 2.3.0 and 2.4.0. I get a segfault when trying to reply to a mail, both using the keyboard shortcut and the 'Reply' button.

Reemerging didn't help, and the same problem occurs when starting the program with a fresh account (ie. I moved the config dir out of the way and the program created a new one).

On a related note, wmmixer doesn't start after the gcc/glibc update, complaining "XpmError: XpmOpenFailed".

Any ideas would be appreciated.

Gyözö
_________________
Although the Moon is smaller than the Earth, it is farther away.
Back to top
View user's profile Send private message
alexbuell
Guru
Guru


Joined: 18 Jul 2002
Posts: 490
Location: "Hemp"shire, UK

PostPosted: Sun Sep 03, 2006 11:56 am    Post subject: Reply with quote

gyboth wrote:
Same problem here with sylpheed-claws 2.3.0 and 2.4.0. I get a segfault when trying to reply to a mail, both using the keyboard shortcut and the 'Reply' button.


Hmm. Seeing as both projects share some common code, it's quite likely there's a bug in the way it handles GTK/X11 events that's been exposed by building with GCC 4.1.1. Have you filed a bug report? I shall file one for Sylpheed.
_________________
Cheers,
Alex.

Linux - the best text adventure game ever.
Back to top
View user's profile Send private message
gyboth
n00b
n00b


Joined: 03 Sep 2006
Posts: 7
Location: Passau, Germany

PostPosted: Sun Sep 03, 2006 12:51 pm    Post subject: Reply with quote

All right, I filed a report in the claws bugzillla. Let's hope there's a resolution soon, I wouldn't want to switch to another client :-P

Oh, and I noticed I get the crash when marking text, as well, just like you.

Gyözö
_________________
Although the Moon is smaller than the Earth, it is farther away.
Back to top
View user's profile Send private message
alexbuell
Guru
Guru


Joined: 18 Jul 2002
Posts: 490
Location: "Hemp"shire, UK

PostPosted: Mon Sep 04, 2006 6:40 am    Post subject: Reply with quote

gyboth wrote:
All right, I filed a report in the claws bugzillla. Let's hope there's a resolution soon, I wouldn't want to switch to another client :-P

Oh, and I noticed I get the crash when marking text, as well, just like you.

Gyözö


I've just found that 2.2.7 crashes as well. But I also noticed that some other packages had their CFLAGS forced to -O2 from -O3, so I'm recompiling with -O2.
_________________
Cheers,
Alex.

Linux - the best text adventure game ever.
Back to top
View user's profile Send private message
alexbuell
Guru
Guru


Joined: 18 Jul 2002
Posts: 490
Location: "Hemp"shire, UK

PostPosted: Mon Sep 04, 2006 6:44 am    Post subject: Reply with quote

alexbuell wrote:
I've just found that 2.2.7 crashes as well. But I also noticed that some other packages had their CFLAGS forced to -O2 from -O3, so I'm recompiling with -O2.


That made no difference with compiler flags. :-(
_________________
Cheers,
Alex.

Linux - the best text adventure game ever.
Back to top
View user's profile Send private message
alexbuell
Guru
Guru


Joined: 18 Jul 2002
Posts: 490
Location: "Hemp"shire, UK

PostPosted: Mon Sep 04, 2006 7:20 am    Post subject: Solved! Reply with quote

If you switch back to GCC 3.4.6 and recompile the GTK libraries, the problem goes away. I think GCC 4.1.1 miscompiles something deep in the GTK Libraries. I'm using GTK 2.8.19.
_________________
Cheers,
Alex.

Linux - the best text adventure game ever.
Back to top
View user's profile Send private message
gyboth
n00b
n00b


Joined: 03 Sep 2006
Posts: 7
Location: Passau, Germany

PostPosted: Mon Sep 04, 2006 4:02 pm    Post subject: Re: Solved! Reply with quote

alexbuell wrote:
If you switch back to GCC 3.4.6 and recompile the GTK libraries, the problem goes away. I think GCC 4.1.1 miscompiles something deep in the GTK Libraries. I'm using GTK 2.8.19.
crap. that's not the solution i'd prefer, i mean, hey, i just updated to gcc 4.1.1. maybe we should file a gcc bug report?

gyözö
_________________
Although the Moon is smaller than the Earth, it is farther away.
Back to top
View user's profile Send private message
loading...
n00b
n00b


Joined: 11 Feb 2004
Posts: 19

PostPosted: Mon Sep 04, 2006 4:25 pm    Post subject: same problem Reply with quote

i had the same problem. after recompiling gtk+ with lower cflags, everything worked fine again.

just my 2 cents.
Back to top
View user's profile Send private message
gyboth
n00b
n00b


Joined: 03 Sep 2006
Posts: 7
Location: Passau, Germany

PostPosted: Tue Sep 05, 2006 6:09 am    Post subject: Re: same problem Reply with quote

loading... wrote:
i had the same problem. after recompiling gtk+ with lower cflags, everything worked fine again.
"lower cflags" meaning without optimisation flags?

Gyözö
_________________
Although the Moon is smaller than the Earth, it is farther away.
Back to top
View user's profile Send private message
gyboth
n00b
n00b


Joined: 03 Sep 2006
Posts: 7
Location: Passau, Germany

PostPosted: Tue Sep 05, 2006 7:49 pm    Post subject: Re: same problem Reply with quote

gyboth wrote:
loading... wrote:
i had the same problem. after recompiling gtk+ with lower cflags, everything worked fine again.
"lower cflags" meaning without optimisation flags?
All right, worked for me, too. Thanks a lot!

Gyözö
_________________
Although the Moon is smaller than the Earth, it is farther away.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum