Search results for

LLDB crash

29,557 results found

Post

Replies

Boosts

Views

Activity

View controller app crash
I'm trying to create an app kinda like a dictionary and i have the table view with cells working but when i click on a word to go to the detail veiw controller the app crashes and gives me a Thread 1: signal SIGABRT error. I'm using a plist to put my data in. I think the problem is in here somewhere in this method. -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSString *theInfo = [info objectAtIndex:indexPath.row]; if(!self.detailViewController){ self.detailViewController=[[DetailViewController alloc] initWithNibName:@DetailViewController bundle:nil]; } self.detailViewController.detailItem = theInfo; [self.navigationController pushViewController:self.detailViewController animated:YES]; }MasterViewController.m#import MasterViewController.h #import DetailViewController.h @interface MasterViewController () @property NSMutableArray *objects; @end @implementation MasterViewController @synthesize detailViewController= _detailViewController; @synthesize name,in
5
0
929
Jun ’15
playground crash constantly in Xcode 6.3
Hi all: I did a search here on the forum, but no one seems to be mentioning that xCode 6.3 playground is exceedingly fragile. For me it constantly crashes doing the simplest tasks. It freezes and the rainbow wheel spins and it never unfreezes. Also, if xcode is not crashing, then the right panel is often grayed out. Ie: if I change a line of code, the left panel remains gray. Then, I have to comment out the new code and uncomment it out to get it to un-gray. Surely I can't be the only one experiencing this. But, I still have to ask: is it me or is playground exceedingly fragile? I am on a new MacBook Pro that is less than 6 months old (2014 model). 8 gigs of ram, still have 20 gigs of HD space; and Yosemite. Just what is going on here? Can someone please enlighten me? Are people just not using playground? Very puzzled!thankyou
4
0
1.3k
Jun ’15
Since Apple finishes the app compilation process, how can dSYMs be obtained?
At WWDC, it was announced that when iOS 9 is released, all apps must be submited in bitcode. Apple will finish the compilation process on the server side. Many 3rd party crash reporting vendors require dSYMs in order to symbolicate crashes. Will dSYMs be made available to 3rd parties?If so via what means? I assume some security would be put in place.If the dSYM is not made available to 3rd parties, will the dSYMs be made available to the app developer?Finally, how often will apps be recompiled (ie. how frequently would the dSYMs change)?Thanks,-David
2
0
518
Jun ’15
Using RubyCocoa on 10.11
I'm running the first beta of OS X 10.11, which looks to have brought a slightly updated version of Ruby 2.0 with it. I have RubyCocoa installed, and have several Ruby scripts which require it. I am getting segmentation faults when I try to run these scripts.An example of the script:#!/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby require 'rubygems' require 'osx/cocoa' ...This is what the first part of the output looks like:/Library/Ruby/Site/2.0.0/universal-darwin14/rubycocoa.bundle: [BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14] -- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/CrashReporter * /Library/Logs/CrashReporter * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports the more detail of. -- Control frame information ----------------------------------------------- c:0011 p:-17560800740396 s:0052 e:000051
5
0
1k
Jun ’15
Optionals are not very “Swift”
Swift is a great new language: a compilation and evolution of the best languages. However, Swift’s use of optionals seems more like a devolution. I would guess that many programmers, including the very experienced, have found these optionals to be more of a nuisance than a help. Nil is basically a value like any other value. If an object (and everything is basically an object) returns a value of nil, a good programmer deals with it just as they would deal with any other returned value. If your code crashes, then fix it, just as if it crashed for any other reason. Yes, there are probably some arguable underlying reasons for the inclusion of optionals into Swift, but these mechanics should be dealt with internally in the language and not be passed on to the programmer. After all, Swift is designed to be a high-level language, but the inclusion of optionals drags it down and ruins the visual beauty of the code.I really appreciate the work and thought that must have gone into this language; it’s
7
0
3.4k
Jun ’15
Reply to Optionals are not very “Swift”
These sorts of discussions aren't likely to go anywhere, because they come down to dueling preferences, even when there are technical considerations, too. But one thing you said struck me:>> a good programmer deals with it just as they would deal with any other returned valueIf you accept that (as do I), I don't see why that weighs against optionals. They simply force all programmers to deal with it, and you seem to want to applaud that concept.The difference with a language (and runtime) that has explicit optionals is that failure to deal with it is going to cause an immediate crash at the point where the nil arises, not some unpredictable time later as currently. The price you pay for this consistency is a more complex source syntax, but that probably can be leveraged to help you deal with it more conveniently, after you've had time to get comfortable.Anyway, as far as Swift has concerned, this ship sailed long ago.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Optionals are not very “Swift”
Hello QuinceyMorris,The reasons you pointed out for adding optionals are very good reasons I believe, and especially refering to critical systems where hidden future crashes could end-up creating unintentional harm, but why stop at enforcement of Nil values. This enforcement to avert crashes (current or future) could be applied to other valid areas in coding as well. My point is simply to leave the responsibility with the programmer and their error checking and unit testing systems they have (or should have) in place to do their job. I certainly wouldn't want to overly rely on optionals for a false sense of security.For me it's a case of where to draw the line. Certainly compiler warnings could be used instead. And then there's the new do-catch block in Swift 2.0 (like try-catch in Java)But I think the ship may still be sailing on this; I would guess (and only a guess) that we could see optionals removed in the future in favor of a warning system.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Optionals are not very “Swift”
There's a theory-based answer and a practice-based answer here, and they both come to the same conclusion.Practice first: there are basically three ways to deal with unexpected missing values. You can crash (CF style), do nothing (ObjC style), or refuse to compile (Swift style). We've found from long experience that the first and second tend to lead to crashes and unintuitive logic errors in real apps and frameworks. Tony Hoare, who invented null references in 1965, refers to them as his billion dollar mistake.Theory answer: the inhabitants of a type are the possible values of that type. So the inhabitants of Int are the set of integers that fit in its size, and so on. nil is special in languages like Objective-C because it's automatically an inhabitant of *every* reference type. So when you say this is an NSString you're actually saying this is an NSString or nil and so on. Allowing people to specify this is an NSString separately from this is an NSString or nil allows them to be more preci
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
xcode crash unexpectidly
Hi All,I am facing an issue in uploading a new release of my app on ituneconnect.My Xcode is crashing when attempting to Submit new release on ituneconnect and giving one big error message which is not understandable.I agreed all the agreements which came recently on my developer account and refresh my xcode certificate and profiles but Still having the same issue.Please Help.Thanks,
3
0
610
Jun ’15
help me please, Xcode 6.3.2 quits unexpectedly when submitting to iTunes Stores
Xcode 6.3.2 quits unexpectedly when submitting to iTunes StoresHello,It seems that everytime I submit to the app store, Xcode quits unexpectedly.Here's a screenshot of the Xcode Report Problem:So I have a valid distribution profile. I was able to archive. When I click the validate button, the archive was validated. But when I actually submit to the app store, Xcode just quits unexpectedly right when it starts Uploading ArchiveIs there anything I need to do before I make an archive in Xcode? Is it an Xcode 6.3.2 problem?Process: Xcode [3276] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 6.3.2 (7718) Build Info: IDEFrameworks-7718000000000000~2 App Item ID: 497799835 App External ID: 812404257 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [3276] User ID: 501 Date/Time: 2015-06-19 15:13:34.165 +0700 OS Version: Mac OS X 10.10.3 (14D136) Report Version: 11 Anonymous UUID: 7712FAC3-808B-7650-2B59-856F7
1
0
974
Jun ’15
Reply to UIKeyboardWillShowNotification triggered two times on iOS 8 and only one time on iOS 7 when rotating
Hi Dex,Here are the backtraces for iOS 8 and iOS 7. The both are taken with the same project running in the iOS simulator (the behaviour is the same in iPad devices).First the iOS 8.3 backtraces, two times call willHide/WillShow. Then the same on iOS 7.1, one time call willHide/WillShowReagards.Sebastien.iOS 8.3 :---------2015-06-19 11:49:36.674 TestKWS[12305:761940] Keyboard will hide(lldb) bt* thread #1: tid = 0xba054, 0x000000010fe489d0 TestKWS`-[ViewController keyboardWillHide:](self=0x00007fa84381e1d0, _cmd=0x000000010fe48ec6, notification=0x00007fa843869890) + 64 at ViewController.m:57, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1 * frame #0: 0x000000010fe489d0 TestKWS`-[ViewController keyboardWillHide:](self=0x00007fa84381e1d0, _cmd=0x000000010fe48ec6, notification=0x00007fa843869890) + 64 at ViewController.m:57 frame #1: 0x00000001106b054c CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 frame #2: 0x00000001105aea04 CoreFoundation`_CFXNotificationPos
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’15
Xcode 6.3 - Crash on Archive, NSOperationQueue
Coding: Objective-CI can not send the application to Apple, I get this error when upload in Organizer.Closing xcode and i get this error.Can you help me?Thank u--------------------------Process: Xcode [5286]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 6.3.2 (7718)Build Info: IDEFrameworks-7718000000000000~2App Item ID: 497799835App External ID: 812404257Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [5286]User ID: Date/Time: 2015-06-19 10:25:04.073 +0300OS Version: Mac OS X 10.10.3 (14D136)Report Version: 11Anonymous UUID: Sleep/Wake UUID: Time Awake Since Boot: 7100 secondsTime Since Wake: 3300 seconds⚠Crashed Thread: 15 Dispatch queue: NSOperationQueue 0x7fb2c8a0bf50 :: NSOperation 0x7fb2c8bf5480 (QOS: USER_INITIATED)⚠Exception Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:ProductBuildVersion: 6D2105ASSERTION FAILURE in /SourceCache/IDEFrameworks/IDEFrameworks-7718/IDE
2
0
1.7k
Jun ’15