Search results for

LLDB crash

29,559 results found

Post

Replies

Boosts

Views

Activity

Support for F-bounded polymorphism?
I am currently exploring the type system of Swift. Since within a class, a self type can only be used as the result type of methods, I tried out manual encodings using F-bounded type parameters to model classes that are open for covariant refinement. The class Point below abstracts over it's class type via parameter T. T is used in the equalsTo method to only allow comparing Points to Points.class Point<T: Point<T>> { let x, y: Int init(x: Int, y: Int) { self.x = x self.y = y } func equalsTo(other: T) -> Bool { return self.x == other.x && self.y == other.y } }The Swift 2 compiler seems to accept the recursively-defined type parameter, but then fails with very strange errors:line 4: Cannot assign a value of type 'Int' to a value of type 'Int'line 5: Cannot assign a value of type 'Int' to a value of type 'Int'line 8: Binary operator '==' cannot be applied to two 'Int' operandsThis is clearly a compiler bug, but it's not clear whether, once the compiler is fixed, it will be possible to use
1
0
754
Jun ’15
Unable to view http... using webView iOS Simulator Swift
Unable to view web sites with http… prefix. I can only view https… web sites using iOS simulator / webView in Swift.Can you advise how I can load say google or apple using http…. Google works ok with https but not with http.Suggestion in https: - [crashed my app]Adding the following to your Info.plist will disable ATS<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key><true/> </dict>MySample code attached:import UIKitclass ViewController: UIViewController, NSURLSessionDelegate { @IBOutlet var webView: UIWebView! @IBAction func doRefresh(AnyObject) { webView.reload() } @IBAction func goBack(AnyObject) { webView.goBack() } @IBAction func goForward(AnyObject) { webView.goForward() } @IBAction func stop(AnyObject) { webView.stopLoading() } override func viewDidLoad() { super.viewDidLoad() let url = NSURL(string: http://google.com) let request = NSURLRequest(URL: url!) webView.loadRequest(request) }Thanks
0
0
688
Jun ’15
Simulator fails to launch apps reliably, won't attach
I'm finding that the Xcode 7 Beta and Simulators are very temperamental.The type of error I'm getting depends on the phase of the moon. It's highly variable. Some times I get a run of good launches, other times I can't launch any app in the Simulator at all.When I switch to a different Simulator (e.g. iPad 2 to iPhone 5s), I get the most problems. Right now, I can't get the 5s simulator to launch my app at all.When I press the Run button on my project, usually one of three things happens:1) the app launches in the Simulator.2) Nothing happens in the Simulator. Xcode's log reports that it has failed to attach a process. Very common. Repeating the Run several times in a row often gets it working.e.g.error: failed to attach to process ID 605803) A Problem Report appears, containing the error report for the ServerFileProvider. The app may or may not be running in the simulator.Here is the latest output:Process: ServerFileProvider [59545]Path: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulat
0
0
1.9k
Jun ’15
IOS 8.4 (beta) SpriteKit libobjc.A.dylib EXC_BAD_ACCESS (SIGSEGV)
Hello,My app is crashing randomly.It happily works when run from Xcode.When I run from an adhoc distribution of via Test Flight, it runs for around 10 -20 seconds then crashes as random points.Two different crash logs belowAny pointers greatly appreciated// *********************// Log 1{app_name:TradeSamuraiBooks,app_cohort:2|date=1435039200000&sf=143460%2C29&tid=5c6ea09af5f53eb5de36154442315915a5fb25867864cd5600817aa21651c991,app_version:1.14,slice_uuid:94ca5395-fc9d-3439-b18a-391f05b669b3,adam_id:963965142,build_version:4,bundleID:com.tradesamurai.books.TradeSamuraiBooks,share_with_app_devs:true,is_first_party:false,bug_type:109,os_version:iPhone OS 8.4 (12H4125a),is_beta:true,name:TradeSamuraiBooks}Incident Identifier: E022613E-24F1-41C5-AE18-BD51F015EEA8Beta Identifier: F3578F69-D532-48A3-B651-F0E31E85A44BHardware Model: iPhone7,2Process: TradeSamuraiBooks [325]Path: /private/var/mobile/Containers/Bundle/Application/6FB05BAF-0B7F-49A4-ADEE-616BAEDDB522/TradeSamuraiBooks.
0
0
853
Jun ’15
CoreData can remove object from to many relationship
I've a very strange issue. This happens occasionally when I'm trying to remove an object from a to many relationship.We have 2 objects, a DriverRoute which contains multiple DriverRouteDelivery objects. I try to remove one of the DriverRouteDelivery objects from the DriverRoute, but sometimes the item can't be found in the set even though it's there. I printed the output of lldb. <DriverRoute: 0x812041a0> (entity: DriverRoute; id: 0x7c0ed070 <x-coredata://E8AAE873-94B7-42F4-A39A-3A8D7C567747/DriverRoute/p8> ; data: { changed = 2015-06-22 15:56:28 +0000; createdTimestamp = 2015-06-22 15:36:25 +0000; driver = 0x7f52f080 <x-coredata://E8AAE873-94B7-42F4-A39A-3A8D7C567747/Driver/p1>; id = 4CFA3568-B95E-46D8-A9C7-5EC44BF1ADA8; returnRoute = 0x7bf15e70 <x-coredata://E8AAE873-94B7-42F4-A39A-3A8D7C567747/Route/p23>; routeDeliveries = ( 0x7bf12930 <x-coredata://E8AAE873-94B7-42F4-A39A-3A8D7C567747/DriverRouteDelivery/p24>, 0x7c663b80 <x-coredata://E8AAE873-94B7-42F4-A39A-3A8D7
3
0
1k
Jun ’15
UIPageViewController and "No view controller managing visible view"
In my code I do sometimes reset UIPageViewController by using the construct as given below:id vc = [pageViewController.viewControllers firstObject]; __weak UIPageViewController *pvc = pageViewController; __weak MyViewController *weakSelf = self; // UIViewController subclass which is hosting pageViewController pageViewController.dataSource = nil; [pageViewController setViewControllers: @[ [[UIPageViewController alloc] init] ] direction: UIPageViewControllerNavigationDirectionForward animated: NO completion: ^(BOOL completed) { [pvc setViewControllers: @[ vc ] direction: UIPageViewControllerNavigationDirectionForward animated: NO completion: ^(BOOL completed) { pvc.dataSource = weakSelf; }]; }];This works perfectly almost all the time, but recently, when I was fast swiping pages back and forth, the app has crashed with NSInternalInconsistencyException caused in:*** Assertion failure in -[UIPageViewController queuingScrollView:didEndManualScroll:toRevealView:direction:animated:didFinish:didComplete:], /
Topic: UI Frameworks SubTopic: UIKit Tags:
11
0
20k
Jun ’15
process launch failed: 4294967295
I was debugging an application in XCode with my physical device (iPhone 6).At a certain moment when I launched the app, I started to get the following errors and I have not been able to determine when exactly I get which one:process launch failed: timed out trying to launch app or process launch failed: 4294967295Followed by a springboard crash on the iPhone.I have tried launching a different app from XCode, but I get the same error now.In the simulator these apps still run fine.What is even worse, is from the moment I started to get these problems, I also get the springboard crash for internal apps build with the same Enterprise Developer Account that were already installed on my device.(The code signing identity I am using is iOS developer.)This is the crash log:Incident Identifier: 2238BFF5-83C8-417C-9BAB-EE1FB3690DC0CrashReporter Key: 276b140b6a89f2be68d01c24b5f6fdf4e03678daHardware Model: iPhone7,2OS Version: iPhone OS 8.3 (12F70)Kernel Version: Darwin Kernel Version 14.0.0: Su
1
0
1.7k
Jun ’15
NSInvalidArgumentException while using NSNetService
HiI am developing an app on the same lines as the witap ios sample application. While the app works most of the time, the app crashes on NSStreamEventEndEncountered or NSStreamEventErrorOccurred in the input-output stream handler.When device reconnects on to a server restart, the app crashes with the error*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** NSAllocateMemoryPages(18446744073709551615) failed'Could you please help me figure out the reason for the exception?ThanksRaghav
1
0
2.9k
Jun ’15
Reply to New iOS 9 beta 2
I agree, this is a very buggy beta, I have also experienced random Watch disconnects. Also it freezes then Springboard crashes whenever I plug my phone into my Mac to use with Xcode. Also many other little bugs, and quite a few crashes. In fact my phone just randomly went into recovery mode, thankfully I had everything saved in iCloud. The battery life is the main problem for me. My iPhone 6 only lasts about 3 hours, with almost no use. I really do hope they release a new beta today.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Safari=completely broken
no matter what I do it crashes if I try to open a link from another app as a attempted workaround it restarts my phone .does anybody have any advice. I tried to soft reset my phone no change. Also when I try to adjust safaris settings in the settings app it crashes the settings app.
4
0
285
Jun ’15
Xcode quits unexpectedly when i open a new project.
I'm kind of new to this, and I downloaded Xcode today, so I have 6.3.2. I can edit my preferences and leave it open on the Welcome to Xcode page for as long as I want, but if I try to open a new project, it tells me that Xcode quit unexpectedly. Click Reopen to open the application again. Click Report to see more detailed information and send a report to Apple. I can open a playground or workspace and it's fine, but not a project. I am running OS X 10.10.3. Please help me fix this!
0
0
518
Jun ’15
App Background refresh crashing on _updateSnapshotAndStateRestorationArchiveForBackgroundEvent
Our app is experiencing a lot of crashing with the same/similar stack trace (see below)As this stack overflow article suggests, we added code to ensure our background refresh's completion handler was executing on the main thread but, to no avail, we're still having the issue -- arguably worse than ever.http://stackoverflow.com/questions/18974251/app-crashes-after-executing-background-fetch-completionhandlerThe problem seems to be predominiately in iOS 8 devices.Has any one else seen this?Date/Time: 2015-06-08T06:13:36Z OS Version: iPhone OS 8.3 (12F70) Report Version: 104 Exception Type: SIGBUS Exception Codes: BUS_ADRALN at 0x100a78000 Crashed Thread: 0 Thread 0 Crashed: 0 libsystem_platform.dylib 0x0000000197549378 _platform_memmove + 296 1 Foundation 0x00000001863305b0 -[NSData(NSData) getBytes:range:] + 504 2 ImageIO 0x0000000186719b68 CGImageReadGetBytesAtOffset + 568 3 ImageIO 0x000000018671990c CGImageReadSessionGetBytes + 32 4 ImageIO 0x00000001868b96f0 read_fn + 40
1
0
1.3k
Jun ’15
Reply to Playground running for ever in Xcode 7 PreRelease
I had an iOS playground which got corrupted somehow and was causing crashes in SourceKit and crashing Xcode 7 beta 1 when I tried to close the playground. But the problem must have been within Xcode 7, because a copy of the playground seemed to work just fine.Quiting Xcode 7 beta 1 and launching Xcode 6.3.2 (which automatically opened the playground which had been open in 7b1) seems to have fixed it. Once it opened the playground (and had a bunch of errors due to the Swift 2 code in the playground), I was able to save and close the playground. Relaunching XCode 7 beta 1, I was able to open it up and work with it again without problems.Maybe that would work for you?Also, Xcode 7 beta 2 is now available, so you could try and see if that has fixed the issue you were running into.https://developer.apple.com/xcode/downloads/
Jun ’15