Subject: bug#5750: SIGSEGV during build (nextstep build)

From: Martin Dietze <[email-masked]>
Date: Sun, 21 Mar 2010 17:36:31 +0100

When building emacs.app from the bazaar trunk (pulled today)
with `--with-ns' the build aborts due to SIGSEGVs while
compiling lisp files. Here's the stacktrace:

(gdb) run
Starting program: /var/src/build/emacs/emacs-bzr-20100321/src/bootstrap-emacs -batch --no-site-file --multibyte -f batch-byte-compile /var/src/build/emacs/emacs-bzr-20100321/lisp/abbrev.el
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0818adfa in mark_object (arg=138917121) at alloc.c:5467
5467            MARK_INTERVAL_TREE (ptr->intervals);
(gdb) bt
#0  0x0818adfa in mark_object (arg=138917121) at alloc.c:5467
#1  0x0818b8e0 in mark_maybe_pointer () at alloc.c:4236
#2  mark_memory () at alloc.c:4288
#3  mark_stack () at alloc.c:4521
#4  0x0818f00e in Fgarbage_collect () at alloc.c:5103
#5  0x081a7ed7 in Feval (form=141138870) at eval.c:2238
#6  0x081a8233 in Feval (form=141143158) at eval.c:2311
#7  0x081a8233 in Feval (form=141143206) at eval.c:2311
#8  0x081a8233 in Feval (form=141144102) at eval.c:2311
#9  0x081a8675 in Fprogn (args=141138798) at eval.c:415
#10 0x081a8928 in funcall_lambda (fun=<value optimized out>, nargs=<value optimized out>, arg_vector=0xbfff1074) at eval.c:3204

Build environment: 

% uname -a
Linux Paola 2.6.32-3-686 #1 SMP Thu Feb 25 06:14:20 UTC 2010 i686 GNU/Linux
% gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.2-9' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
--program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i486 --with-tune=generic --enable-checking=release
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 20100108 (prerelease) (Debian 4.4.2-9) 

% dpkg -l | grep gnustep-
ii  gnustep-back-common                                      0.17.1-1                                              The GNUstep GUI Backend - common files
ii  gnustep-back-doc                                         0.17.1-1                                              The GNUstep GUI Backend documentation
ii  gnustep-back0.16                                         0.16.0-3                                              The GNUstep GUI Backend
ii  gnustep-back0.16-art                                     0.16.0-3                                              The GNUstep GUI Backend
ii  gnustep-back0.17                                         0.17.1-1                                              The GNUstep GUI Backend
ii  gnustep-back0.17-art                                     0.17.1-1                                              The GNUstep GUI Backend
ii  gnustep-base-common                                      1.19.3-1                                              GNUstep Base library - common files
ii  gnustep-base-doc                                         1.19.3-1                                              Documentation for the GNUstep Base Library
ii  gnustep-base-runtime                                     1.19.3-1                                              GNUstep Base library
ii  gnustep-common                                           2.2.0-1                                               Common files for the core GNUstep environment
ii  gnustep-core-devel                                       7.4                                                   The GNUstep Development Environment -- core de
ii  gnustep-core-doc                                         7.4                                                   The GNUstep Development Environment -- core do
ii  gnustep-devel                                            7.4                                                   The GNUstep Development Environment -- develop
ii  gnustep-gpbs                                             0.17.1-1                                              The GNUstep PasteBoard Server
ii  gnustep-gui-common                                       0.17.1-1                                              GNUstep GUI Library - common files
ii  gnustep-gui-doc                                          0.17.1-1                                              Documentation for the GNUstep GUI Library
ii  gnustep-gui-runtime                                      0.17.1-1                                              GNUstep GUI Library - runtime files
ii  gnustep-make                                             2.2.0-1                                               Basic GNUstep Makefiles
ii  gnustep-make-doc                                         2.2.0-1                                               Documentation for GNUstep-make
ii  libgnustep-base-dev                                      1.19.3-1                                              GNUstep Base header files and development libr
ii  libgnustep-base1.19                                      1.19.3-1                                              GNUstep Base library
ii  libgnustep-gui-dev                                       0.17.1-1                                              GNUstep GUI header files and static libraries
ii  libgnustep-gui0.16                                       0.16.0-2                                              GNUstep GUI Library
ii  libgnustep-gui0.17                                       0.17.1-1                                              GNUstep GUI Library

Cheers,

M'bert

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emacs-app-dev- mailing list
[email-masked]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

----- End forwarded message -----

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
My name is spelled Luxury Yacht but it's pronounced Throatwabbler Mangrove.