wish -v Bus error gdb wish GNU gdb 6.1-20040303 (Apple version gdb-437) (Sun Dec 25 08:26:53 GMT
#14188: wish coredumps when provided arguments ---------------------------------+------------------------------------------ Reporter: mightyd@jetcafe.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.6.0 Keywords: | ---------------------------------+------------------------------------------ When provided arguments, wish will give a bus error: {{{ 2005) 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 "i386-apple-darwin"...Reading symbols for shared libraries .............. done (gdb) set args -v (gdb) run Starting program: /opt/local/bin/wish -v Reading symbols for shared libraries ......+++++++++ done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000002 0x0b004c07 in Tk_ParseArgv () (gdb) bt #0 0x0b004c07 in Tk_ParseArgv () #1 0x0b031eab in Initialize () #2 0x00004c76 in Tcl_AppInit () #3 0x0b022b71 in Tk_MainEx () #4 0x00004c53 in main ()
otool -L `which wish` /opt/local/bin/wish: /opt/local/lib/libtk8.5.dylib (compatibility version 8.5.0, current version 8.5.0) /opt/local/lib/libtcl8.5.dylib (compatibility version 8.5.0, current version 8.5.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 368.32.0) /usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current version 6.2.0) /usr/X11R6/lib/libXss.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current version 6.4.0) /opt/local/lib/libXft.2.dylib (compatibility version 4.0.0, current version 4.2.0) /opt/local/lib/libfreetype.6.dylib (compatibility version 10.0.0, current version 10.16.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /opt/local/lib/libfontconfig.1.dylib (compatibility version 4.0.0, current version 4.0.0) /opt/local/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0) /opt/local/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.9) }}}
-- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14188> MacPorts </projects/macports> Ports system for Mac OS