[PD-dev] pd-gui rewrite crashes when typing a tilde sign on osx

Robert Gruendler robert at dubture.com
Mon Mar 22 10:48:56 CET 2010


Hi all,

i'v checked out the current head of the pd-gui rewrite 0.43 branch from https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-gui-rewrite/0.43.
It compiles and runs fine on OSX 10.6.2, until you type a tilde (~) sign into an object, which throws the following exception - and crashes pd:

2010-03-22 10:39:50.626 Wish[7290:903] An uncaught exception was raised
2010-03-22 10:39:50.627 Wish[7290:903] *** -[NSCFString characterAtIndex:]: Range or index out of bounds
2010-03-22 10:39:50.628 Wish[7290:903] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSCFString characterAtIndex:]: Range or index out of bounds'
*** Call stack at first throw:
(
	0   CoreFoundation                      0x00007fff828b0444 __exceptionPreprocess + 180
	1   libobjc.A.dylib                     0x00007fff8479d0f3 objc_exception_throw + 45
	2   CoreFoundation                      0x00007fff828b0267 +[NSException raise:format:arguments:] + 103
	3   CoreFoundation                      0x00007fff828b01f4 +[NSException raise:format:] + 148
	4   Foundation                          0x00007fff857243d5 -[NSCFString characterAtIndex:] + 97
	5   Tk                                  0x00000001000bdbcf Tk_SetCaretPos + 663
	6   Tk                                  0x00000001000c3d94 Tk_MacOSXSetupTkNotifier + 699
	7   Tcl                                 0x00000001001c62ae Tcl_DoOneEvent + 297
	8   Tk                                  0x000000010001c07c Tk_MainLoop + 24
	9   Tk                                  0x0000000100028ab0 Tk_MainEx + 1555
	10  Wish                                0x0000000100004545 0x0 + 4294985029
	11  Wish                                0x00000001000044a4 0x0 + 4294984868
	12  ???                                 0x0000000000000003 0x0 + 3
)
terminate called after throwing an instance of 'NSException'
pd: exiting
/usr/bin/wish: line 2:  7290 Abort trap              "$(dirname $0)/../../System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish" "$@"


Anyone else encountered this problem ?


regards


-robert






More information about the Pd-dev mailing list