* emacs crashes during make bootstrap
@ 2006-12-09 20:42 Daniel Brooks
2006-12-09 22:37 ` Peter Dyballa
[not found] ` <mailman.1703.1165703878.2155.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Brooks @ 2006-12-09 20:42 UTC (permalink / raw)
I've successfully built emacs 22 from cvs on this machine, but recently I had the opportunity to upgrade (aka hardware failure) and now use a 64 bit system. My existing copy of emacs works just fine, but I went to recompile it one day, and it segfaults when I try to run the newly compiled emacs. make bootstrap is an easy way to reproduce it.
Here's what I see:
../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload --eval '(setq generated-autoload-file "/home/db48x/src/emacs/lisp/loaddefs.el")' -f batch-update-autoloads $wins
Directories: /home/db48x/src/emacs/lisp/. /home/db48x/src/emacs/lisp/./eshell /home/db48x/src/emacs/lisp/./textmodes /home/db48x/src/emacs/lisp/./progmodes /home/db48x/src/emacs/lisp/./gnus /home/db48x/src/emacs/lisp/./play /home/db48x/src/emacs/lisp/./international /home/db48x/src/emacs/lisp/./mh-e /home/db48x/src/emacs/lisp/./url /home/db48x/src/emacs/lisp/./net /home/db48x/src/emacs/lisp/./mail /home/db48x/src/emacs/lisp/./erc /home/db48x/src/emacs/lisp/./language /home/db48x/src/emacs/lisp/./toolbar /home/db48x/src/emacs/lisp/./emacs-lisp /home/db48x/src/emacs/lisp/./calendar /home/db48x/src/emacs/lisp/./emulation /home/db48x/src/emacs/lisp/./calc
/bin/sh: line 1: 27596 Segmentation fault ../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload --eval '(setq generated-autoload-file "/home/db48x/src/emacs/lisp/loaddefs.el")' -f batch-update-autoloads $wins
make[2]: *** [autoloads] Error 139
Here's a stack:
#0 re_match_2_internal (bufp=0x8ce438, string1=Variable "string1" is not available.
) at regex.c:5742
#1 0x00000000004fde26 in re_search_2 (bufp=0x8ce438, str1=0x0, size1=0, str2=0x13f43b0 "/usr/local/share/emacs/22.0.91/etc", size2=34, startpos=25, range=Variable "range" is not available.
) at regex.c:4435
#2 0x00000000004fe553 in re_search (bufp=Variable "bufp" is not available.
) at regex.c:4207
#3 0x00000000004f6f9f in fast_string_match (regexp=Variable "regexp" is not available.
) at search.c:510
#4 0x00000000004e1ddd in Ffind_file_name_handler (filename=21328403, operation=9527217) at fileio.c:388
#5 0x00000000004e30cd in Ffile_name_as_directory (file=21328403) at fileio.c:658
#6 0x000000000055328c in init_callproc_1 () at callproc.c:1521
#7 0x00000000004b1923 in main (argc=1, argv=0x7fff0b3007e8) at emacs.c:1513
I'm not at all familiar with the internals of emacs, so has anyone else seen anything like this? How should I go about fixing it? The only configure option I've used is --with-gtk, but given the stack that doesn't look like it's a problem.
db48x
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: emacs crashes during make bootstrap
2006-12-09 20:42 emacs crashes during make bootstrap Daniel Brooks
@ 2006-12-09 22:37 ` Peter Dyballa
[not found] ` <mailman.1703.1165703878.2155.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2006-12-09 22:37 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 09.12.2006 um 21:42 schrieb Daniel Brooks:
> I've successfully built emacs 22 from cvs on this machine
What machine is this? Which operating system? Is your compiler 64 bit
fit? Do you use flags to create a 64 application? Are your libraries
64 bit ready? Can you try to compile with -O0 among the CFLAGS?
--
Greetings
Pete
These are my principles and if you don't like them... well, I have
others.
- Groucho Marx
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: emacs crashes during make bootstrap
[not found] ` <mailman.1703.1165703878.2155.help-gnu-emacs@gnu.org>
@ 2006-12-10 7:45 ` Daniel Brooks
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Brooks @ 2006-12-10 7:45 UTC (permalink / raw)
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 09.12.2006 um 21:42 schrieb Daniel Brooks:
>
>> I've successfully built emacs 22 from cvs on this machine
>
> What machine is this? Which operating system? Is your compiler 64 bit
> fit? Do you use flags to create a 64 application? Are your libraries
> 64 bit ready? Can you try to compile with -O0 among the CFLAGS?
>
Fedora Core 5, 64 bit compiler, I used whatever flags configure thought best. However, just for laughs, I nuked my emacs directory and grabbed a fresh copy from cvs, and it built perfectly the first time. I guess make distclean didn't do the job well enough. Thanks though :)
db48x
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-10 7:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-09 20:42 emacs crashes during make bootstrap Daniel Brooks
2006-12-09 22:37 ` Peter Dyballa
[not found] ` <mailman.1703.1165703878.2155.help-gnu-emacs@gnu.org>
2006-12-10 7:45 ` Daniel Brooks
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.