Hi all,

I'm not seeing source file names and line numbers running memcheck on
Mac OS X 10.5.8.  After some investigation I determined valgrind does
not deal well with spaces in path names. :(

If I do:

valgrind /Users/sean/Desktop/Valgrind\ Test/build/Debug/Valgrind\ Test.app

It complains:

--7764-- run: /usr/bin/dsymutil /Users/sean/Desktop/Valgrind Test/build/
Debug/Valgrind Test.app/Contents/MacOS/Valgrind Test
error: unable to open executable '/Users/sean/Desktop/Valgrind'

and then I get backtraces like:

...
==7655==    by 0xD451D7: NSApplicationMain (in /System/Library/
Frameworks/AppKit.framework/Versions/C/AppKit)
==7655==    by 0x1FFB: main (in /Users/sean/Desktop/ValgrindTest/build/
Debug/ValgrindTest.app/Contents/MacOS/ValgrindTest)

Using --dsymutil=yes does not help.

Is this a known bug?  Is there a workaround (other than 'don't use spaces')?

Thanks,

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to