View previous topic :: View next topic |
Author |
Message |
rlyacht Apprentice
Joined: 17 Apr 2002 Posts: 170
|
Posted: Mon Jul 08, 2002 9:56 pm Post subject: icewm segfault |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jul 09, 2002 12:03 am Post subject: |
|
|
What are your optimization settings? They might be breaking icewm. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
rlyacht Apprentice
Joined: 17 Apr 2002 Posts: 170
|
Posted: Tue Jul 09, 2002 12:57 am Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jul 09, 2002 2:08 am Post subject: |
|
|
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 |
|
|
rlyacht Apprentice
Joined: 17 Apr 2002 Posts: 170
|
Posted: Tue Jul 09, 2002 2:41 am Post subject: |
|
|
That didn't do it |
|
Back to top |
|
|
|
|
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
|
|