IKSlideshow hangs when used under garbage collection

Originator:bewebste
Number:rdar://7281441 Date Originated:10/6/2009
Status:Open Resolved:
Product:Mac OS X Product Version:10B504
Classification:Hang/Crash/Data Loss Reproducible:Always
 
Summary:
Using IKSlideshow will cause your application to hang if run with garbage collection enabled

Steps to Reproduce:
1. Open the attached project in Xcode, then click Build and Run.
2. Click the "play" button in the upper right corner of the window of the running application to start a slideshow
3. Once the slideshow is running, click the "X" button to stop the slideshow

Expected Results:
The slideshow should stop and return to the application, where you should then be able to perform other actions

Actual Results:
The application hangs indefinitely and requires being force quit

Regression:
This behavior only appears if garbage collection is enabled for the application. Everything works fine if you build the same application with GC off.

Notes:
The included project is a modified version of step 8 from the ImageKitDemo available on Apple's website at <http://developer.apple.com/mac/library/samplecode/ImageKitDemo/>.  The only change that was made was to enable garbage collection in the build settings for the application target in the project.

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!