I can't figure out what's going on, but I'm pretty sure I haven't messed
anything up during compilation. This is
simply running the actual xemacs binary from the src directory. Below is the output from
GDB.
--- snip ---
Starting program:
/private/Network/Servers/tcjenkins.bph.jhu.edu/Users/nfitzke1/Software/src/xemacs-21.4.17/
src/xemacs
Reading symbols for shared libraries .+.... done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x8fe1f5e0 in __dyld_strncmp ()
(gdb) where
#0 0x8fe1f5e0 in __dyld_strncmp ()
#1 0x8fe05000 in __dyld__ZN4dyld10loadPhase3EPKcRKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE
()
#2 0x8fe056d0 in __dyld__ZN4dyld10loadPhase0EPKcRKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE
()
#3 0x8fe05828 in __dyld__ZN4dyld4loadEPKcRKNS_11LoadContextE ()
#4 0x8fe08f48 in __dyld_NSCreateObjectFileImageFromFile ()
#5 0x9002db20 in NSCreateObjectFileImageFromFile ()
#6 0x00070108 in dll_open (fname=0x0) at sysdll.c:267
#7 0x0013ccd8 in x_init_device (d=0x1310000, props=-1880842664) at device-x.c:505
#8 0x0002b064 in Fmake_device (type=2518752, connection=26281812, props=21201936) at
device.c:591
#9 0x00041160 in Ffuncall (nargs=2, args=0xbfffe2a4) at eval.c:3536
#10 0x00013af0 in execute_optimized_program (program=0xfffffffc <Address 0xfffffffc out
of bounds>,
stack_depth=-1880842664, constants_data=0x151955c) at bytecode.c:748
#11 0x000165bc in funcall_compiled_function (fun=22309444, nargs=1, args=0xbfffe458) at
bytecode.c:519
#12 0x00041334 in Ffuncall (nargs=2, args=0xbfffe454) at eval.c:3572
#13 0x00013af0 in execute_optimized_program (program=0xfffffffc <Address 0xfffffffc out
of bounds>,
stack_depth=-1880842664, constants_data=0x150bd78) at bytecode.c:748
#14 0x000165bc in funcall_compiled_function (fun=22287744, nargs=0, args=0xbfffe608) at
bytecode.c:519
#15 0x00041334 in Ffuncall (nargs=1, args=0xbfffe604) at eval.c:3572
#16 0x00013af0 in execute_optimized_program (program=0xfffffffc <Address 0xfffffffc out
of bounds>,
stack_depth=-1880842664, constants_data=0x1514bb8) at bytecode.c:748
#17 0x000165bc in funcall_compiled_function (fun=22305272, nargs=0, args=0xbfffe710) at
bytecode.c:519
#18 0x0004a238 in Feval (form=280876) at eval.c:3392
#19 0x0004492c in condition_case_1 (handlers=420, bfun=0x48c68 <Feval>,
barg=21819128, hfun=0x4b6d0
<run_condition_case_handlers>, harg=21180408) at eval.c:1652
#20 0x00013130 in execute_rare_opcode (stack_ptr=0xbfffec44, program_ptr=0x8fe49e58
"lib", opcode=1) at
bytecode.c:1273
#21 0x00013920 in execute_optimized_program (program=0xfffffffc <Address 0xfffffffc out
of bounds>,
stack_depth=-1880842664, constants_data=0x1515338) at bytecode.c:658
#22 0x000165bc in funcall_compiled_function (fun=22306168, nargs=0, args=0xbfffed50) at
bytecode.c:519
#23 0x0004a238 in Feval (form=280876) at eval.c:3392
#24 0x0004492c in condition_case_1 (handlers=420, bfun=0x48c68 <Feval>,
barg=21750824, hfun=0x1d8f0
<cmd_error>, harg=21201936) at eval.c:1652
#25 0x0001dabc in top_level_1 (dummy=-4) at cmdloop.c:206
#26 0x0003e8d8 in internal_catch (tag=-4, func=0x1da64 <top_level_1>, arg=21201936,
threw=0x0) at eval.c:
1318
#27 0x0001dbf0 in initial_command_loop (load_me=-4) at cmdloop.c:285
#28 0x0003dff4 in xemacs_21_4_17_powerpc_apple_darwin8_2_0 (argc=1, argv=0xbffff838,
envp=0x1,
restart=1) at emacs.c:2460
#29 0x0003e0a0 in main (argc=-4, argv=0x8fe49e58, envp=0x1) at emacs.c:2829
--
Nicholas Fitzkee
nickfitzkee(a)jhu.edu
Show replies by date
>>>> "Nicholas" == NICHOLAS FITZKEE
<nickfitzkee(a)jhu.edu> writes:
Nicholas> I can't figure out what's going on, but I'm pretty sure I
haven't
Nicholas> messed anything up during compilation.
Nicholas,
Thank you for the bug report.
The problem is a result of changes in MacOS 10.4 to the library used to access
shared libraries. A patch to XEmacs to work around this has been submitted
but it is yet to appear in an official release.
As a workaround, try building XEmacs with the '--with-athena=3d' configure
option.
Malcolm
--
Malcolm Purvis <malcolmp(a)xemacs.org>