Issue806

classification
Title Segfault in pdump_load_finish/pdump_reloc_one_mc on Mas OS X 10.7
Type defect Module core build
Severity crash Platform x86_64, other os
Keywords build Nosy List anonymous
explanation
process
These controls should only be changed by committers and tracker administrators.
Status new   Reason
Superseder  
Priority normal   Assigned To

Created on 2011-10-01.15:18:24 by anonymous, last changed 2011-10-01.15:18:24 by anonymous.

Messages
msg2376 [hidden] ([hidden]) Date: 2011-10-01.15:18:24
XEmacs fails to build on Mac OS X 10.7 with a segfault.  The same
behaviour is manifest with the stock Apple compiler
(i686-apple-darwin11-llvm-gcc-4.2) and FSF GCC (4.6.1), with both the
old and the new GC (though the place of the error is different), and
other features enabled or not.  I am attempting to build the 21.5 branch
but the same happened with the 21.4 branch as well.  Here is the failure:

Dumping under the name xemacs
./xemacs -no-packages -batch -no-autoloads -l update-elc-2.el -f
batch-update-elc-2
/opt/sw/src/fink.build/xemacs-21.5.31-1/xemacs-21.5.31/src/../lisp
make[1]: *** [update-elc-2] Segmentation fault: 11
make: *** [src] Error 2

Running the same under GDB yields:

   Program received signal EXC_BAD_ACCESS, Could not access memory.
   Reason: KERN_INVALID_ADDRESS at address: 0x0000000106ede890
   0x00000001000bf4ba in pdump_load_finish () at dumper.c:2336
   2336	      (* ptr.address) = ptr.value + delta;

(old GC) and:

   Program received signal EXC_BAD_ACCESS, Could not access memory.
   Reason: KERN_INVALID_ADDRESS at address: 0x00000001097aa460
   0x00000001000eba6a in pdump_reloc_one_mc (data=0x100b01000,
desc=0x1097aa460) at dumper.c:1293
   1293	  for (pos = 0; desc[pos].type != XD_END; pos++)

(new GC).  Not sure what other information to include but I will be
monitoring the report and provide any extra stuff that might be needed.
History
Date User Action Args
2011-10-01 15:18:24anonymouscreate