#15635: Ruby 1.8.7 dumps core on 10.5 ppc ---------------------------------+------------------------------------------ Reporter: blair@macports.org | Owner: pguyot@kallisys.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by blair@macports.org): Some more information. This is the first command that fails from Makefile: {{{ root# ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./mkconfig.rb -timestamp=.rbconfig.time -install_name=ruby -so_name=ruby rbconfig.rb ./ext/purelib.rb:5: [BUG] Segmentation fault ruby 1.8.7 (2008-05-31 patchlevel 0) [powerpc-darwin9.3.0] Abort trap (core dumped) }}} Running it in a debugger to get a stack trace: {{{ # gdb ./miniruby GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:11:19 UTC 2007) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin"...Reading symbols for shared libraries .... done (gdb) run -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./mkconfig.rb -timestamp=.rbconfig.time -install_name=ruby -so_name=ruby rbconfig.rb Starting program: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby/work/ruby-1.8.7/miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./mkconfig.rb -timestamp=.rbconfig.time -install_name=ruby -so_name=ruby rbconfig.rb Reading symbols for shared libraries +++... done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0xc0003ff8 0x00025610 in rb_eval () (gdb) bt #0 0x00025610 in rb_eval () #1 0x00034510 in rb_load () #2 0x00034ac0 in rb_require_safe () #3 0x0001b010 in rb_protect () #4 0x00089434 in require_libraries () #5 0x0008b1f8 in load_file () #6 0x0008aa6c in proc_options () #7 0x0008abd4 in ruby_process_options () #8 0x0002deb4 in ruby_options () #9 0x00001e20 in main () (gdb) }}} -- Ticket URL: <http://trac.macports.org/ticket/15635#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS