Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
icewm segfault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
rlyacht
Apprentice
Apprentice


Joined: 17 Apr 2002
Posts: 170

PostPosted: Mon Jul 08, 2002 9:56 pm    Post subject: icewm segfault Reply with quote

After my most recent update world, I find that icewm segfaults. When I start x (via startx), it seems to get going, then dies and says that icewm has segfaulted. My X is working, as I can run fluxbox fine. I tried going back to different versions of ice, but none work. I know that i got a new gcc when I updated, so I'm wondering if anything is up there. I realize this is probably my fault in some way, but I don't know where to look. Any advice?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jul 09, 2002 12:03 am    Post subject: Reply with quote

What are your optimization settings? They might be breaking icewm.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
rlyacht
Apprentice
Apprentice


Joined: 17 Apr 2002
Posts: 170

PostPosted: Tue Jul 09, 2002 12:57 am    Post subject: Reply with quote

From /etc/make.conf:
Code:

CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer"

The machine is a Thinkpad 560X (Pentium I/233)

I replaced /usr/bin/icewm in my .xinitrc with strace /usr/bin/icewm > blah 2>&1. Here's the bottom of the file:

Code:

open("/usr/X11R6/lib/X11/XftConfig", O_RDONLY) = 6
brk(0x80e4000)                          = 0x80e4000
ioctl(0, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=8159, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x40019000
read(6, "#\n# XftConfig\n#\n# Use with Type1"..., 4096) = 4096
open("/home/robt/.xftconfig", O_RDONLY) = -1 ENOENT (No such file or directory)
read(6, "ly =+ \"Pigiarniq\";\nmatch any fam"..., 4096) = 4063
read(6, "", 4096)                       = 0
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x40019000, 4096)                = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jul 09, 2002 2:08 am    Post subject: Reply with quote

Hmm... maybe try it with just -O2?

Code:
# export CFLAGS="-march=i586 -O2"; emerge icewm

_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
rlyacht
Apprentice
Apprentice


Joined: 17 Apr 2002
Posts: 170

PostPosted: Tue Jul 09, 2002 2:41 am    Post subject: Reply with quote

That didn't do it :-(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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