Gentoo Archives: gentoo-dev

From: Burton Samograd <kruhft@×××××××××××××.org>
To: gentoo-dev@g.o
Subject: [gentoo-dev] emacs segfaults
Date: Thu, 01 Aug 2002 15:49:14
Message-Id: 20020801203317.GB4695@kruhft.dyndns.org
1 I just did an update and now for some reason my emacs is segfaulting at
2 startup. I've tried unmerging it and installing different versions with
3 no luck. And, as luck would have it, the xemacs build script seems to have
4 problems too.
5
6 Here's an strace of emacs starting up:
7
8 <snip beginning>
9
10 open("/usr/X11R6/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
11 open("/lib/libc.so.6", O_RDONLY) = 3
12 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \203\1"..., 1024) = 1024
13 fstat64(3, {st_mode=S_IFREG|0755, st_size=1485302, ...}) = 0
14 old_mmap(NULL, 1340928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4dbad000
15 mprotect(0x4dceb000, 38400, PROT_NONE) = 0
16 old_mmap(0x4dceb000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x13d000) = 0x4dceb000
17 old_mmap(0x4dcf1000, 13824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4dcf1000
18 close(3) = 0
19 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4dcf5000
20 open("/usr/X11R6/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
21 open("/usr/X11R6/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
22 open("/lib/libdl.so.2", O_RDONLY) = 3
23 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\31\0"..., 1024) = 1024
24 fstat64(3, {st_mode=S_IFREG|0755, st_size=11752, ...}) = 0
25 old_mmap(NULL, 11488, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4dcf6000
26 mprotect(0x4dcf8000, 3296, PROT_NONE) = 0
27 old_mmap(0x4dcf8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x4dcf8000
28 close(3) = 0
29 mprotect(0x4daa4000, 57344, PROT_READ|PROT_WRITE) = 0
30 mprotect(0x4daa4000, 57344, PROT_READ|PROT_EXEC) = 0
31 munmap(0x4d9f8000, 24586) = 0
32 getrlimit(0x3, 0xbff4fba0) = 0
33 setrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
34 --- SIGSEGV (Segmentation fault) ---
35 +++ killed by SIGSEGV +++
36
37 <end>
38
39 and here's the output from "emerge xemacs"
40
41 <snip common autoconf output>
42 XEmacs 21.4.8 "Honest Recruiter" configured for `i686-pc-linux'.
43
44
45 Compilation / Installation:
46 Source code location: /var/tmp/portage/xemacs-21.4.8-r3/work/xemacs-21.4.8
47 Installation prefix: /usr
48 Operating system description file: `s/linux.h'
49 Machine description file: `m/intel386.h'
50 Compiler: gcc -march=i686 -mcpu=i686 -O3 -pipe -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
51 Relocating allocator for buffers: no
52 GNU version of malloc: yes
53 - Using Doug Lea's new malloc from the GNU C Library.
54 Linking with `-z nocombreloc'.
55 - Consider configuring with --pdump.
56
57 Window System:
58 Compiling in support for the X window system:
59 - X Windows headers location: /usr/X11R6/include
60 - X Windows libraries location: /usr/X11R6/lib
61 - Handling WM_COMMAND properly.
62 Using Lucid menubars.
63 Using Lucid scrollbars.
64 Using Motif dialog boxes.
65 Using Motif native widgets.
66
67 TTY:
68 Compiling in support for ncurses.
69 Compiling in support for GPM (General Purpose Mouse).
70
71 Images:
72 Compiling in support for XPM images.
73 Compiling in support for PNG images.
74 Compiling in support for JPEG images.
75 Compiling in support for TIFF images.
76
77 Sound:
78 Compiling in support for sound (native).
79
80 Databases:
81 Compiling in support for GNU DBM.
82
83 Internationalization:
84
85 Mail:
86 Compiling in support for POP mail retrieval.
87 Compiling in support for "dot-locking" mail spool file locking method.
88
89 Other Features:
90 Inhibiting IPv6 canonicalization at startup.
91 Compiling in support for dynamic shared object modules.
92
93
94 creating ./config.status
95 creating Makefile.in
96 creating lib-src/Makefile.in
97 creating lwlib/Makefile.in
98 creating src/Makefile.in
99 creating src/paths.h
100 creating lib-src/config.values
101 creating lib-src/ellcc.h
102 creating src/config.h
103 creating lwlib/config.h
104 creating ./Makefile
105 creating ./GNUmakefile
106 creating lib-src/Makefile
107 creating lib-src/GNUmakefile
108 creating lwlib/Makefile
109 creating lwlib/GNUmakefile
110 creating src/Makefile
111 creating src/GNUmakefile
112 Producing `src/Emacs.ad.h' from `etc/Emacs.ad'.
113 Resetting `src/sheap-adjust.h'.
114 Building finder database ...
115 cd /var/tmp/portage/xemacs-21.4.8-r3/work/xemacs-21.4.8/man && make info
116 /bin/sh: /var/tmp/portage/xemacs-21.4.8-r3/work/xemacs-21.4.8/src/xemacs: No such file or directory
117 make: *** [lisp/finder-inf.el] Error 127
118 make: *** Waiting for unfinished jobs....
119 make[1]: Entering directory `/var/tmp/portage/xemacs-21.4.8-r3/work/xemacs-21.4.8/man'
120 make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
121 make[1]: Nothing to be done for `info'.
122 make[1]: Leaving directory `/var/tmp/portage/xemacs-21.4.8-r3/work/xemacs-21.4.8/man'
123
124 !!! ERROR: The ebuild did not complete successfully.
125 !!! Function src_compile, Line 115, Exitcode 2
126 !!! (no error message)
127
128 !!! emerge aborting on /usr/portage/app-editors/xemacs/xemacs-21.4.8-r3.ebuild .
129 <end>
130
131 Any ideas on what's happenning here? I just emerged xfree yesterday (i was console only
132 before)...i'm thinking that has something to do with the new problems.
133
134 Thanks,
135
136 burton samograd (using nano :-/ )

Replies

Subject Author
Re: [gentoo-dev] emacs segfaults Spider <spider@g.o>
Re: [gentoo-dev] emacs segfaults Matthew Kennedy <mkennedy@g.o>