I tried debugging the debugger and the crash has the following stack trace (seen from the external gdb) :
When breaking at the crashing function bundle_basename() just before the crash, the argument passed seemed to be correct (the file name of my executable).
It will be a bit hard for me to supply the executable itself since it is part of a large application with many dependencies, but I'm trying to reproduce with a test case.
I'm using gdb 6.3.50-20050815 (Apple version gdb-1346) on snow leopard version 10.6.1.
regards,
Yoni.