#14188 closed defect (worksforme)
wish coredumps when provided arguments
Reported by: | mightyd@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | blb@… | |
Port: | tk |
Description
When provided arguments, wish will give a bus error:
> wish -v Bus error > gdb wish GNU gdb 6.1-20040303 (Apple version gdb-437) (Sun Dec 25 08:26:53 GMT 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)
Change History (7)
comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | → Port Bugs |
---|---|
Priority: | High → Normal |
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to mww@… |
---|
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
FYI: I get problems too:
$ wish -v Application initialization failed: "-v" option requires an additional argument % wish(7935) malloc: *** Deallocation of a pointer not malloced: 0x51b720; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug $
comment:4 Changed 17 years ago by mightyd@…
I deliberately said "wish" because the search engine here does not allow you to search for two character names, and "tk" is a two character name (which would match "gtk" too).
comment:5 Changed 16 years ago by blb@…
Cc: | blb@… added |
---|---|
Port: | tk added |
Is this reproducible with tk 8.5.6_1? wish just complains for me
wish -v Application initialization failed: "-v" option requires an additional argument
No malloc() errors afterwards like Ryan.
comment:6 Changed 16 years ago by blb@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing, lack of response.
Note: See
TracTickets for help on using
tickets.
wish is part of tk. Assigning to maintainer of tk.