Gentoo Archives: gentoo-dev

From: Dave Lee <davel@××××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] xemacs segfault
Date: Mon, 08 Apr 2002 12:22:10
Message-Id: Pine.SGI.4.21.0204081107280.16242827-100000@the-gimp
In Reply to: Re: [gentoo-dev] xemacs segfault by Arcady Genkin
1 Arcady Genkin wrote:
2 > Dave Lee <davel@××××××.com> writes:
3 >
4 > > Has anyone been able to figure out why xemacs segfaults on startup? As
5 > > mentioned before, if you are emerge-ing something, than xemacs will
6 > > actually run w/o segfaulting. This is strange behavior. TIA, Dave
7 >
8 > Which version?
9 > Have you tried
10 >
11 > xemacs -debug-init
12 > xemacs -vanilla
13 >
14 > Also try running in the terminal with
15 >
16 > xemacs -nw
17 >
18 > Perhaps these would help you to pin-point the problem...
19
20 so I compiled xemacs-21.4.6-r1 on my headless webserver, so no X. When I
21 run xemacs here I have no problems at al. Since this is in terminal mode
22 I assume its the equivalent of 'xemacs -nw'. Here is the strace output
23
24 stat64("/usr/lib/xemacs-21.4.6/lisp/default.elc", 0xbfffe700) = -1 ENOENT (No such file or directory)
25 stat64("/usr/lib/xemacs-21.4.6/lisp/default.el", 0xbfffe700) = -1 ENOENT (No such file or directory)
26 stat64("/usr/lib/xemacs-21.4.6/lisp/default", 0xbfffe700) = -1 ENOENT (No such file or directory)
27 gettimeofday({1018271343, 614761}, NULL) = 0
28 gettimeofday({1018271343, 615396}, NULL) = 0
29
30 when xemacs was segfaulting on my home desktop machine, I never made it to
31 those gettimeofday calls. Still, I wonder what the hell could cause a
32 program to run fine only while emerge-ing. I guess I will see what I can
33 figure out when I get home. Dave