cinder / Cinder

Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
http://libcinder.org
Other
5.34k stars 944 forks source link

Current Screensaver Template crashes upon picking it in "Settings" on Mac 10.8.3 #304

Closed AlJaMa closed 11 years ago

AlJaMa commented 11 years ago

In the branch "appRewrite" the template for the mac screensaver crashes. This is on commit "4e8269bbcc67b2aef0d1d9f01f715f9e2f212632". Below is the relevant stack trace.

Process: System Preferences [3489] Path: /Applications/System Preferences.app/Contents/MacOS/System Preferences Identifier: com.apple.systempreferences Version: 12.0 (12.0) Build Info: SystemPrefsApp-232001000000000~1 Code Type: X86-64 (Native) Parent Process: launchd [144] User ID: 501

PlugIn Path: /Users/USER/Library/Screen Savers/CinderProject.saver/Contents/MacOS/CinderProject PlugIn Identifier: com.yourcompany.CinderProject PlugIn Version: 1.0 (1.0)

Date/Time: 2013-02-28 23:18:04.927 -0700 OS Version: Mac OS X 10.8.3 (12D74) Report Version: 10

Interval Since Last Report: 17322 sec Crashes Since Last Report: 2 Per-App Interval Since Last Report: 16 sec Per-App Crashes Since Last Report: 2 Anonymous UUID: 3D16F7B3-67D9-BCA7-2409-6086960AEFE6

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: EXC_I386_GPFLT

Application Specific Information: com.apple.preference.desktopscreeneffect v.5 (Desktop & Screen Saver) objc[3489]: GC: forcing GC OFF because OBJC_DISABLE_GC is set

Application Specific Signatures: CinderProject

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libc++.1.dylib 0x00007fff85494660 std::1::shared_weak_count::add_shared() + 4 1 com.yourcompany.CinderProject 0x000000011b0681af cinder::app::App::getDefaultRenderer() const + 111 (App.h:428) 2 com.yourcompany.CinderProject 0x000000011b064a87 -[WindowImplCocoaScreenSaverCinderProject initWithFrame:isPreview:] + 615 (AppImplCocoaScreenSaver.mm:83) 3 com.apple.ScreenSaver 0x00007fff90928c45 -[ScreenSaverModules loadModule:frame:isPreview:] + 968 4 com.apple.preference.desktopscreeneffect.screeneffects 0x000000010f41d0c9 0x10f414000 + 37065 5 com.apple.preference.desktopscreeneffect.screeneffects 0x000000010f41d51b 0x10f414000 + 38171 6 com.apple.preference.desktopscreeneffect.screeneffects 0x000000010f41ea4d 0x10f414000 + 43597 7 com.apple.preference.desktopscreeneffect.screeneffects 0x000000010f41f310 0x10f414000 + 45840 8 com.apple.AppKit 0x00007fff85ca4c71 -[NSCollectionViewItem _setSelectedWithoutNotification:] + 36 9 com.apple.CoreFoundation 0x00007fff8cd4e4a6 NSArrayEnumerate + 582 10 com.apple.AppKit 0x00007fff85ca4bbf -[NSCollectionView _applySelectionIndexes:toItems:] + 91 11 com.apple.AppKit 0x00007fff861c7ca2 -[NSCollectionView mouseDown:] + 671 12 com.apple.AppKit 0x00007fff85c40e47 forwardMethod + 125 13 com.apple.AppKit 0x00007fff85c0853e -[NSWindow sendEvent:] + 6853 14 com.apple.systempreferences 0x000000010871a5b2 0x108713000 + 30130 15 com.apple.AppKit 0x00007fff85c04674 -[NSApplication sendEvent:] + 5761 16 com.apple.systempreferences 0x00000001087199a8 0x108713000 + 27048 17 com.apple.AppKit 0x00007fff85b1a24a -[NSApplication run] + 636 18 com.apple.AppKit 0x00007fff85abec06 NSApplicationMain + 869 19 libdyld.dylib 0x00007fff89a107e1 start + 1

Model: MacBookPro10,1, BootROM MBP101.00EE.B02, 4 processors, Intel Core i7, 2.7 GHz, 16 GB, SMC 2.3f32 Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 512 MB Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020 Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020

andrewfb commented 11 years ago

Have you rebuilt Cinder recently? I just tested this on 10.8 and it worked correctly. The recent commits to the template would require you to rebuild Cinder itself though.

AlJaMa commented 11 years ago

Ahhh yes, I haven't build cinder yet. That was my problem :).