DYLD_IMAGE_SUFFIX=_debug causes

Originator:mail
Number:rdar://7309435 Date Originated:16-Oct-2009 04:23 PM
Status:Duplicate /7332462 Resolved:28-Oct-2009 11:48 PM
Product:Mac OS X Product Version:10.6.1
Classification:Crash/Hang/Data Loss Reproducible:Always
 
16-Oct-2009 04:23 PM Wim Leers:
Summary: 
Since 10.4, I've added the following lines to my .bash_profile file:

# Show line numbers for Qt function calls in stack traces.
export DYLD_IMAGE_SUFFIX=_debug

I've been developing using the Qt framework (for cross-platform C++ applications) and adding this line allowed me to see the line numbers of Qt function calls in stack traces. Extremely handy.
Worked flawlessly throughout 10.4 and 10.5, but causes problems on 10.6.


Steps to Reproduce:
1) Edit .bash_profile.
2) Add this line:
export DYLD_IMAGE_SUFFIX=_debug
3) Start new terminal
Now, do either (or both) of these:
4a) Type the following to open the current directory in the Finder:
open .
4b) Change to the directory where qJulia1024.zip has been extracted and type:
./qjulia 


Expected Results:
a) The current directory opened in the Finder.
b) A working OpenCL demo.

Actual Results:
a) Crash. Every single time.
b) The same.

Regression:
Occurs on both 10.6 and 10.6.1. Removing the line and starting a new Terminal makes it all work again.

Notes:
Somebody else whom I discussed this with, reported this:
"using _profile for also crashes qjulia but strangely allows "open ." to work ."


'qJulia1024.zip' and 'MacBook Pro.spx' were successfully uploaded

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!