http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/06_07_db_remote_debug/chapter_45_section_1.html#//apple_ref/doc/uid/TP40002704-CEGDDHBH
So I have ssh setup with dsa keys and I copied the build directory from my dev machine to the 10.3 machine, accessible at the same path on both.
I modified my Development configuration to produce a Universal binary. Zerolink is off. When I attempt to debug I get prompted for ssh credentials and then I get this in the debugging console:
*****************************************
dyld: /Users/kinch/devel/builds/Development/Montage.app/Contents/MacOS/Montage Undefined symbols:
/Users/kinch/devel/builds/Development/Montage.app/Contents/MacOS/Montage undefined reference to _NSValueTransformerNameBindingOption expected to be defined in Cocoa
/Users/kinch/devel/builds/Development/Montage.app/Contents/MacOS/Montage undefined reference to _kABHomePageLabel expected to be defined in AddressBook
/Users/kinch/devel/builds/Development/Montage.app/Contents/MacOS/Montage undefined reference to _kABURLsProperty expected to be defined in AddressBook
Program received signal: "SIGTRAP".
dyld: /Users/kinch/devel/builds/Development/Montage.app/Contents/MacOS/Montage dead lock (dyld operation attempted in a thread already doing a dyld operation)
*****************************************
On May 25, 2006, at 9:56 AM, Chris Espinosa wrote:
On May 25, 2006, at 8:39 AM, Todd Ransom wrote:
I have a universal binary built with xcode 2.3 that is exhibiting a double free bug only on Panther (10.3). I would like to load it into the debugger so I can figure out what is going on but the last version of xcode that will run on 10.3 is 1.5, which means I cannot even load my xcodeproj file.
I have tried to setup remote debugging in xcode but that didn't work.
This should be the focus of your problem. Tell us how you set it up and what happened, and we can help you get it working. Remote debugging is pretty much the only way to get a 2.1-and-later project to debug visually in 10.3.
So I tried loading the application under the version of gdb that shipped with xcode 1.5 and that gave me a bunch of DYLD errors and crashed.
Did you use the same executable that ran (but exhibited the double-free bug) earlier? Or did you build a different debugging version and copy it over in order to debug? If the latter, you may have to rebuild with "Enable ZeroLink" turned off in the Build menu in order to get a portable debuggable binary.
Chris