Unit Testing on a Static Library with LLDB
| Originator: | josh | ||
| Number: | rdar://10965607 | Date Originated: | 01-Mar-2012 05:02 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 4.3 |
| Classification: | Other Bug | Reproducible: | YES |
01-Mar-2012 05:02 PM Josh Johnson: Summary: When attempting to unit test a static library in Xcode 4.3 using the build in unit testing capabilities, Xcode freezes with EXC_BAD_ACCESS (code=2, address=0x0). Xcode is left in the state seen in the attached image: [ http://cl.ly/Efpo ]. Upon further investigation, this only occurs when using LLDB as a debugger. This does not occur when using GDB Steps to Reproduce: 1) Create new project in Xcode 4.3, choose the Cocoa Touch Static Library 2) When prompted, check yes to "Include Unit Tests". 3) Run the default sample test in Xcode (CMD+U) Expected Results: Should run the sample test, and notify the developer that Test Failed. Actual Results: Leaves the developer in a stopped state with EXC_BAD_ACCESS - http://cl.ly/Efpo or the attached image Regression: Notes: Again, switching to GDB does not cause this problem. 01-Mar-2012 05:02 PM Josh Johnson: 'Screen Shot 2012-03-01 at 4.48.59 PM.png' was 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!
Appears to be resolved in Xcode 4.3.1
Testing with LLDB does not error as displayed