Xcode 4.6: clang segmentation fault

Originator:Greiner.Mike
Number:rdar://13324594 Date Originated:2013-03-01
Status:Closed Resolved:Yes
Product:Developer Tools Product Version:Xcode 4.6 (4H127)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
Build error indicates clang segmentation fault

Steps to Reproduce:
N/A – happened once and the console output instructed me to post a bug report

Expected Results:
No build error

Actual Results:
(from console)

/Users/mike/src/thescore-iphone/Classes/Controllers/TSNewsTableController.m:209:17: error: no visible @interface for 'TSNewsTableController' declares the selector 'extracted_method:'
    abstract = [self extracted_method:article];
                ^
/Users/mike/src/thescore-iphone/Classes/Controllers/TSNewsTableController.m:353:14: error: expected ')'
- (NSString *truncatedAbstract
             ^
/Users/mike/src/thescore-iphone/Classes/Controllers/TSNewsTableController.m:353:3: note: to match this '('
- (NSString *truncatedAbstract
  ^
/Users/mike/src/thescore-iphone/Classes/Controllers/TSNewsTableController.m:379:1: error: expected selector for Objective-C method
0  clang 0x0000000100c539f2 main + 12919346
Stack dump:
0.	Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -triple i386-apple-ios5.0.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name TSNewsTableController.m -pic-level 2 -mdisable-fp-elim -masm-verbose -target-cpu yonah -target-linker-version 136 -g -coverage-file /Users/mike/Library/Developer/Xcode/DerivedData/theScoreMobile-fxqkbfswessjjbbpcyoxizeqgjuk/Build/Intermediates/theScoreMobile.build/Debug-iphonesimulator/theScoreMobile.build/Objects-normal/i386/TSNewsTableController.o -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/4.2 -dependency-file /Users/mike/Library/Developer/Xcode/DerivedData/theScoreMobile-fxqkbfswessjjbbpcyoxizeqgjuk/Build/Intermediates/theScoreMobile.build/Debug-iphonesimulator/theScoreMobile.build/Objects-normal/i386/TSNewsTableController.d -MT dependencies -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -include-pch /Users/mike/Library/Developer/Xcode/DerivedData/theScoreMobile-fxqkbfswessjjbbpcyoxizeqgjuk/Build/Intermediates/PrecompiledHeaders/theScoreMobile_Prefix-ckiusoodypdexdexdurdzheequxi/theScoreMobile_Prefix.pch.pth -D INTERNAL_BUILD=1 -D DEBUG_BUILD=1 -I /Users/mike/Library/Developer/Xcode/DerivedData/theScoreMobile-fxqkbfswessjjbbpcyoxizeqgjuk/Build/Intermediates/theScoreMobile.build/Debug-iphonesimulator/theScoreMobile.build/theScore.hmap -I ../TheScoreAPIFramework -I ../TheScoreAPIFramework/FDKeychain -I ../TheScoreAPIFramework/NULevelDBPersistenceTest -I ../TheScoreAPIFramework/TheScoreAPI -I ../TheScoreAPIFramework/TheScoreAPIModel.xcdatamodel -I /Users/mike/Library/Developer/Xcode/DerivedData/theScoreMobile-fxqkbfswessjjbbpcyoxizeqgjuk/Build/Products/Debug-iphonesimulator/include -I /Users/mike/src/thescore-iphone/../Kal/src -I ../TheScoreAPIFramework -I ../TheScoreAPIFramework/FDKeychain -I ../TheScoreAPIFramework/NULevelDBPersistenceTest -I ../TheScoreAPIFramework/TheScoreAPI -I ../TheScoreAPIFramework/TheScoreAPIModel.xcdatamodel -I ../NuDataProvider/Classes -I ../NuDataProvider/Classes/NLWeakReference -I ../NuDataProvider/Classes/NuDataProvider -I ../NuDataProvider/Classes/TestApp -I ../NuDataProvider/Classes/NuDataProvider/Local Storage Data Provider -I ../NuDataProvider/Classes/NuDataProvider/Remote Data Provider -I . -I AdMobile -I Classes -I CocoaLumberjack -I fiksu_ios_sdk_3.0 -I Frank -I GoogleAdMobAdsSdk -I GoogleAnalytics -I HockeySDK-iOS -I Images -I InMobi -I Localytics -I Millennial -I MoPubSDK -I Settings.bundle -I theScoreMobile.xcworkspace -I TouchJSON -I Twitter+OAuth -I AdMobile/Classes -I AdMobile/docs -I AdMobile/Libs -I Classes/Controllers -I Classes/Views -I CocoaLumberjack/Benchmarking -I CocoaLumberjack/Lumberjack -I CocoaLumberjack/Xcode -I Frank/frankified_build -I GoogleAdMobAdsSdk/Add-ons -I HockeySDK-iOS/HockeySDKResources.bundle -I Localytics/src -I MoPubSDK/Friend Categories -I MoPubSDK/MoPubNetworkAdapters -I MoPubSDK/MRAID -I MoPubSDK/MRAID.bundle -I MoPubSDK/OpenUDID -I MoPubSDK/UIWebView Categories -I theScoreMobile.xcworkspace/xcuserdata -I TouchJSON/Experimental -I TouchJSON/Extensions -I TouchJSON/JSON -I Twitter+OAuth/Libraries & Headers -I AdMobile/Classes/Ad -I AdMobile/Classes/Public -I AdMobile/Classes/Shared -I AdMobile/docs/exec -I AdMobile/Libs/BlocksKit -I AdMobile/Libs/QSUtilities -I AdMobile/Libs/Reachability -I AdMobile/Libs/UIAlertView-Blocks -I CocoaLumberjack/Benchmarking/Results -I CocoaLumberjack/Lumberjack/Extensions -I CocoaLumberjack/Xcode/BenchmarkIPhone -I CocoaLumberjack/Xcode/BenchmarkMac -I CocoaLumberjack/Xcode/ContextFilter -I CocoaLumberjack/Xcode/CoreDataLogger -I CocoaLumberjack/Xcode/CustomFormatters -I CocoaLumberjack/Xcode/CustomLogLevels -I CocoaLumberjack/Xcode/DispatchQueueLogger -I CocoaLumberjack/Xcode/FineGrainedLogging -I CocoaLumberjack/Xcode/GlobalLogLevel -I CocoaLumberjack/Xcode/LogFileCompressor -I CocoaLumberjack/Xcode/LumberjackFramework -I CocoaLumberjack/Xcode/OverflowTestMac -I CocoaLumberjack/Xcode/PerUserLogLevels -I CocoaLumberjack/Xcode/RollingTestMac -I CocoaLumberjack/Xcode/SQLiteLogger -I CocoaLumberjack/Xcode/Testing -I CocoaLumberjack/Xcode/UniversalApp -I CocoaLumberjack/Xcode/WebServerIPhone -I Frank/frankified_build/Frankified.app -I Frank/frankified_build/theScore.app -I GoogleAdMobAdsSdk/Add-ons/DoubleClick -I GoogleAdMobAdsSdk/Add-ons/GoogleAnalyticsiOS_2.0beta3 -I GoogleAdMobAdsSdk/Add-ons/Mediation -I GoogleAdMobAdsSdk/Add-ons/Search -I theScoreMobile.xcworkspace/xcuserdata/mike.xcuserdatad -I Twitter+OAuth/Libraries & Headers/OAuthConsumer -I AdMobile/Classes/Ad/AdDescriptor -I AdMobile/Classes/Ad/Model -I AdMobile/Classes/Ad/Views -I AdMobile/Classes/Shared/Controller -I AdMobile/Classes/Shared/Core -I AdMobile/Classes/Shared/Model -I AdMobile/Classes/Shared/Views -I AdMobile/docs/exec/templates -I AdMobile/Libs/QSUtilities/GTM -I CocoaLumberjack/Xcode/BenchmarkIPhone/Classes -I CocoaLumberjack/Xcode/BenchmarkMac/BenchmarkMac -I CocoaLumberjack/Xcode/CoreDataLogger/CoreDataLogger -I CocoaLumberjack/Xcode/DispatchQueueLogger/DispatchQueueLogger -I CocoaLumberjack/Xcode/LumberjackFramework/Desktop -I CocoaLumberjack/Xcode/LumberjackFramework/Mobile -I CocoaLumberjack/Xcode/PerUserLogLevels/PerUserLogLevels -I CocoaLumberjack/Xcode/PerUserLogLevels/Scripts -I CocoaLumberjack/Xcode/SQLiteLogger/FMDB -I CocoaLumberjack/Xcode/SQLiteLogger/SQLiteLogger -I CocoaLumberjack/Xcode/Testing/NonArcTest -I CocoaLumberjack/Xcode/Testing/RegisteredDynamicLogging -I CocoaLumberjack/Xcode/Testing/TestXcodeColors -I CocoaLumberjack/Xcode/UniversalApp/Classes -I CocoaLumberjack/Xcode/WebServerIPhone/Classes -I CocoaLumberjack/Xcode/WebServerIPhone/Vendor -I CocoaLumberjack/Xcode/WebServerIPhone/Web -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle -I Frank/frankified_build/Frankified.app/frank_static_resources.bundle -I Frank/frankified_build/Frankified.app/HockeySDKResources.bundle -I Frank/frankified_build/Frankified.app/Kal.bundle -I Frank/frankified_build/Frankified.app/MRAID.bundle -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle -I Frank/frankified_build/theScore.app/HockeySDKResources.bundle -I Frank/frankified_build/theScore.app/Kal.bundle -I Frank/frankified_build/theScore.app/MRAID.bundle -I GoogleAdMobAdsSdk/Add-ons/GoogleAnalyticsiOS_2.0beta3/Documentation -I GoogleAdMobAdsSdk/Add-ons/GoogleAnalyticsiOS_2.0beta3/Examples -I GoogleAdMobAdsSdk/Add-ons/GoogleAnalyticsiOS_2.0beta3/Library -I theScoreMobile.xcworkspace/xcuserdata/mike.xcuserdatad/xcdebugger -I AdMobile/Classes/Ad/AdDescriptor/ResponseParser -I AdMobile/Classes/Ad/Views/PublicView -I AdMobile/Classes/Ad/Views/SubViews -I AdMobile/Classes/Ad/Views/TouchableViewController -I AdMobile/Classes/Ad/Views/TransparentUIView -I AdMobile/Classes/Ad/Views/TransparentUIWebView -I AdMobile/Classes/Shared/Core/Accelerometer -I AdMobile/Classes/Shared/Core/FileManager -I AdMobile/Classes/Shared/Core/LocationManager -I AdMobile/Classes/Shared/Core/Logger -I AdMobile/Classes/Shared/Core/Network -I AdMobile/Classes/Shared/Core/NotificationCenter -I AdMobile/Classes/Shared/Core/Utils -I AdMobile/Classes/Shared/Core/WebKit -I AdMobile/Classes/Shared/Views/AVPlayer -I AdMobile/Classes/Shared/Views/InternalBrowser -I AdMobile/docs/exec/templates/docset -I AdMobile/docs/exec/templates/html -I CocoaLumberjack/Xcode/CoreDataLogger/CoreDataLogger/CoreDataLogger.xcdatamodeld -I CocoaLumberjack/Xcode/CoreDataLogger/CoreDataLogger/Log.xcdatamodeld -I CocoaLumberjack/Xcode/LumberjackFramework/Desktop/FmwkTest -I CocoaLumberjack/Xcode/LumberjackFramework/Desktop/Lumberjack -I CocoaLumberjack/Xcode/LumberjackFramework/Mobile/LibTest -I CocoaLumberjack/Xcode/LumberjackFramework/Mobile/Lumberjack -I CocoaLumberjack/Xcode/Testing/NonArcTest/NonArcTest -I CocoaLumberjack/Xcode/Testing/RegisteredDynamicLogging/Desktop -I CocoaLumberjack/Xcode/Testing/RegisteredDynamicLogging/Mobile -I CocoaLumberjack/Xcode/Testing/TestXcodeColors/Desktop -I CocoaLumberjack/Xcode/Testing/TestXcodeColors/Mobile -I CocoaLumberjack/Xcode/WebServerIPhone/Vendor/CocoaAsyncSocket -I CocoaLumberjack/Xcode/WebServerIPhone/Vendor/CocoaHTTPServer -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/Contents -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/FBDialog -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/FBFriendPickerView -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/FBLoginView -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/FBPlacePickerView -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/FBProfilePictureView -I Frank/frankified_build/Frankified.app/frank_static_resources.bundle/images -I Frank/frankified_build/Frankified.app/frank_static_resources.bundle/js -I Frank/frankified_build/Frankified.app/frank_static_resources.bundle/pictos -I Frank/frankified_build/Frankified.app/frank_static_resources.bundle/stylesheets -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/Contents -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/FBDialog -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/FBFriendPickerView -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/FBLoginView -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/FBPlacePickerView -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/FBProfilePictureView -I GoogleAdMobAdsSdk/Add-ons/GoogleAnalyticsiOS_2.0beta3/Documentation/Classes -I GoogleAdMobAdsSdk/Add-ons/GoogleAnalyticsiOS_2.0beta3/Documentation/css -I GoogleAdMobAdsSdk/Add-ons/GoogleAnalyticsiOS_2.0beta3/Documentation/img -I GoogleAdMobAdsSdk/Add-ons/GoogleAnalyticsiOS_2.0beta3/Documentation/Protocols -I GoogleAdMobAdsSdk/Add-ons/GoogleAnalyticsiOS_2.0beta3/Examples/CuteAnimals -I AdMobile/Classes/Ad/Views/SubViews/AdWebView -I AdMobile/Classes/Ad/Views/SubViews/ExpandViewController -I AdMobile/Classes/Ad/Views/SubViews/ExpandWebView -I AdMobile/Classes/Ad/Views/SubViews/VideoView -I AdMobile/Classes/Shared/Core/Network/Clicker -I AdMobile/Classes/Shared/Core/Network/Download -I AdMobile/Classes/Shared/Core/Network/NetworkQueue -I AdMobile/Classes/Shared/Core/Network/Requests -I AdMobile/Classes/Shared/Core/Network/Updates -I AdMobile/docs/exec/templates/docset/Contents -I AdMobile/docs/exec/templates/html/css -I AdMobile/docs/exec/templates/html/img -I CocoaLumberjack/Xcode/CoreDataLogger/CoreDataLogger/Log.xcdatamodeld/CocoaBotLog.xcdatamodel -I CocoaLumberjack/Xcode/Testing/RegisteredDynamicLogging/Desktop/RegisteredLoggingTest -I CocoaLumberjack/Xcode/Testing/RegisteredDynamicLogging/Mobile/RegisteredLoggingTest -I CocoaLumberjack/Xcode/Testing/TestXcodeColors/Desktop/TestXcodeColors -I CocoaLumberjack/Xcode/Testing/TestXcodeColors/Mobile/TextXcodeColors -I CocoaLumberjack/Xcode/WebServerIPhone/Vendor/CocoaHTTPServer/Categories -I CocoaLumberjack/Xcode/WebServerIPhone/Vendor/CocoaHTTPServer/Responses -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/Contents/Resources -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/FBDialog/images -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/FBFriendPickerView/images -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/FBLoginView/images -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/FBPlacePickerView/images -I Frank/frankified_build/Frankified.app/FacebookSDKResources.bundle/FBProfilePictureView/images -I Frank/frankified_build/Frankified.app/frank_static_resources.bundle/js/lib -I Frank/frankified_build/Frankified.app/frank_static_resources.bundle/stylesheets/css -I Frank/frankified_build/Frankified.app/frank_static_resources.bundle/stylesheets/sass -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/Contents/Resources -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/FBDialog/images -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/FBFriendPickerView/images -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/FBLoginView/images -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/FBPlacePickerView/images -I Frank/frankified_build/theScore.app/FacebookSDKResources.bundle/FBProfilePictureView/images -I GoogleAdMobAdsSdk/Add-ons/GoogleAnalyticsiOS_2.0beta3/Examples/CuteAnimals/Images -I AdMobile/Classes/Ad/Views/SubViews/AdWebView/old -I AdMobile/Classes/Ad/Views/SubViews/AdWebView/ORMMA -I AdMobile/docs/exec/templates/docset/Contents/Resources -I AdMobile/Classes/Ad/Views/SubViews/AdWebView/old/ORMMA -I AdMobile/docs/exec/templates/docset/Contents/Resources/Documents -I /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/usr/include/libxml2 -I /Users/mike/Library/Developer/Xcode/DerivedData/theScoreMobile-fxqkbfswessjjbbpcyoxizeqgjuk/Build/Intermediates/theScoreMobile.build/Debug-iphonesimulator/theScoreMobile.build/DerivedSources/i386 -I /Users/mike/Library/Developer/Xcode/DerivedData/theScoreMobile-fxqkbfswessjjbbpcyoxizeqgjuk/Build/Intermediates/theScoreMobile.build/Debug-iphonesimulator/theScoreMobile.build/DerivedSources -F/Users/mike/Library/Developer/Xcode/DerivedData/theScoreMobile-fxqkbfswessjjbbpcyoxizeqgjuk/Build/Products/Debug-iphonesimulator -F/Users/mike/src/thescore-iphone/../TheScoreAPIFramework -F/Users/mike/src/thescore-iphone/../NuDataProvider -F/Users/mike/src/thescore-iphone -F/Users/mike/src/thescore-iphone/HockeySDK-iOS -F/Users/mike/src/thescore-iphone -fmodule-cache-path /var/folders/tb/hn5y7hc15x1_4vq3w2h9488r000101/T/clang-module-cache -O0 -Wno-trigraphs -Wno-missing-field-initializers -Wmissing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wunreachable-code -std=gnu99 -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=ios-5.0.0 -fobjc-default-synthesize-properties -fobjc-arc -fobjc-exceptions -fexceptions -fpascal-strings -fdiagnostics-show-option -fasm-blocks -serialize-diagnostic-file /Users/mike/Library/Developer/Xcode/DerivedData/theScoreMobile-fxqkbfswessjjbbpcyoxizeqgjuk/Build/Intermediates/theScoreMobile.build/Debug-iphonesimulator/theScoreMobile.build/Objects-normal/i386/TSNewsTableController.dia -fobjc-runtime-has-weak -o /Users/mike/Library/Developer/Xcode/DerivedData/theScoreMobile-fxqkbfswessjjbbpcyoxizeqgjuk/Build/Intermediates/theScoreMobile.build/Debug-iphonesimulator/theScoreMobile.build/Objects-normal/i386/TSNewsTableController.o -x objective-c /Users/mike/src/thescore-iphone/Classes/Controllers/TSNewsTableController.m 
1.	<eof> parser at end of file
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: i386-apple-darwin12.2.1
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/tb/hn5y7hc15x1_4vq3w2h9488r000101/T/TSNewsTableController-JHUrgY.m
clang: note: diagnostic msg: /var/folders/tb/hn5y7hc15x1_4vq3w2h9488r000101/T/TSNewsTableController-JHUrgY.sh
clang: note: diagnostic msg: 

********************
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 254
=== (end console output) ======


Regression:
Unknown

Notes:
Still happens after cleaning and deleting derived data.
Occurred not long after using the Refactor --> Extract command.

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!