Search results for

LLDB crash

29,559 results found

Post

Replies

Boosts

Views

Activity

Reply to Serializing generic structs
Well, it's a bit voluminous, and getting the generic creation function to compile was a bit strange, but this is what I ended up with:protocol SerializableType { static var serializableName: String { get } var serializableProperties: [String: Any] { get } init (serializedProperties: [String: Any]) } extension Int: SerializableType { static var serializableName: String { return Int } var serializableProperties: [String: Any] { return [value: self] } init (serializedProperties: [String: Any]) { self = serializedProperties [value] as! Int } } extension String: SerializableType { static var serializableName: String { return String } var serializableProperties: [String: Any] { return [value: self] } init (serializedProperties: [String: Any]) { self = serializedProperties [value] as! String } } struct A: SerializableType { static var serializableName: String { return A } var serializableProperties: [String: Any] { return [a1: a1, a2: a2] } init (a1: Int, a2: String) { self.a1 = a1 self.a2 = a2 } init (serializedPro
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
iPhone crashing when running app from Xcode
Hello, I've been having some issues with an iPhone 6 that I use for development.Many times when I run an app from Xcode I will get an error from Xcode: failed to receive handshake reply. The app will not load onto the phone and the app will not run when I get this error. After receiving the error, when I go to delete the app from my phone I hit the 'X' on the app icon and the phone crashes (goes to a blue screen and restarts). Then when I attempt to run the app on the phone again, I get a process launch failed timed out trying to launch app error from Xcode. I have found with this error, the app will load onto the phone but will not run and I cannot open the app to run it (it crashes immdeiately). However, if I delete the app from the phone and wait a few minutes, the app magically appears on the phone and I can run it through Xcode.It is worth noting that this issue is not exclulsive to one phone, one computer or one app, it has happened on my personal phone as well as a company phone (both
0
0
331
Jun ’15
Reply to Segues?
Hi,I have a big problem, I made a very heavy application with multiple images, my problem is that the application will automatically crash after a number of open UIPageController.I made the different link ( segue ) via the Storyboard but I am unable to empty the stack UIPageController open and empty the cache.ps: I can not use the default of a UINavigationController not meet the specifications . Have you an idea on how to clear a stack and thus to have no problem (memory warning )thank you Regards,BilelSome code- (IBAction)btns1:(id)sender { NSLog(@btnS1); Chapter1Controller *chapter1 = [[Chapter1Controller alloc]initWithNibName:@Chapter1Controller bundle:nil]; UIStoryboardSegue *chapter1sm1 = [[UIStoryboardSegue alloc] initWithIdentifier:@chapter1sm1 source:self destination:chapter1]; [self performSegueWithIdentifier:@chapter1sm1 sender:self]; }
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Reply to Segue issue with iOS 9
Hi,I have a big problem, I made a very heavy application with multiple images, my problem is that the application will automatically crash after a number of open UIPageController.I made the different link ( segue ) via the Storyboard but I am unable to empty the stack UIPageController open and empty the cache.ps: I can not use the default of a UINavigationController not meet the specifications . Have you an idea on how to clear a stack and thus to have no problem (memory warning )thank you Regards,BilelSome code- (IBAction)btns1:(id)sender { NSLog(@btnS1); Chapter1Controller *chapter1 = [[Chapter1Controller alloc]initWithNibName:@Chapter1Controller bundle:nil]; UIStoryboardSegue *chapter1sm1 = [[UIStoryboardSegue alloc] initWithIdentifier:@chapter1sm1 source:self destination:chapter1]; [self performSegueWithIdentifier:@chapter1sm1 sender:self]; }
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to How do you contstrain types within tuples?
Yeah, pairverted is a pretty good description of my code... :-)Moving the constraints to the method signature seems promising. I'm not sure I understand the function of the custom sequence and generator, though - are they there just to ensure that the types are actually used in the signature?This seems like it should work on its own:extension SequenceType { func pairvert<Key, Value: Hashable where Generator.Element == (Key, Value)>() -> [Value: Key] { var pairverted = [Value: Key]() for (key, value) in self { // Error: 'Self.Generator.Element' is not convertible to '(Self, Self)' pairverted[value] = key } return pairverted } }And it mostly seems to, except for the indicated error, which I don't understand. Hard to say for sure, though, since Swift still seems to have error shadowing issues.The version below with an explicit cast just crashes the compiler. I filed a bug.// Crashes compiler extension SequenceType { func pairvert<Key, Value: Hashable where Generator.Element == (Key,
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Symbolicate keyboard extension crash log
Hi,Are there any special steps that need to be taken to get a keyboard extension crashlog symbolicated? I have a build on my device that I built and ran five minutes before, in debug mode with full symbols available, then I stop it from XCode, restart it from the device, get a crash and a log, and when the log comes to XCode all I get is hexadecimal addresses.Thanks in advance.
0
0
405
Jun ’15
Reply to CALayer filters not working on OS X 10.11
I am also having CALayer w/filter issues in 10.11 beta 2. Specifically with AVPlayerLayer I am getting a cryptic error log message and terrible video framerate unless I trigger the view's setNeedsLayout:YES in which it updates immediately. It doesn't crash the app though! Have you filed a radar?-[CIContext initWithCGLContext:pixelFormat:colorSpace:options:] was called with a non-nil pixelFormat that is ignored.[12:38:01.202] <<<< IQ-CA >>>> piqca_setUsePreQueue: (0x10296d200) rejecting report of layer being serviced - IQ has not yet begun to update[12:38:01.203] <<<< IQ-CA >>>> piqca_setUsePreQueue: (0x10296da00) rejecting report of layer being serviced - IQ has not yet begun to update[12:38:01.205] CMSampleBufferGetImageBuffer signalled err=-12744 (kCMSampleBufferError_Invalidated) (sbuf invalidated) at /Library/Caches/com.apple.xbs/Sources/CoreMedia_frameworks/CoreMedia-1693/Sources/Core/FigSampleBuffer/FigSampleBuffer.c line 23950 CoreMedia 0x00007ff
Topic: Media Technologies SubTopic: General Tags:
Jun ’15
Reply to Xcode 7 possible bug - SourceKitService
+1 This fault happens ~80% of the time.Process: SourceKitService [88642] Path: /Xcode//Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/sourcekitd.framework/Versions/A/XPCServices/SourceKitService.xpc/Contents/MacOS/SourceKitService Identifier: SourceKitService Version: 1.0 (700.0.42.3) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [88591] User ID: 502 Date/Time: 2015-07-01 06:56:16.746 +0200 OS Version: Mac OS X 10.10.3 (14D136) Report Version: 11 Anonymous UUID: 85DF8F01-C036-BABB-C01A-14EB25054544 Sleep/Wake UUID: CB5F0B17-CF88-4E3D-B766-71B43FBA1AE9 Time Awake Since Boot: 130000 seconds Crashed Thread: 13 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000080 VM Regions Near 0x80: --> __TEXT 000000010022e000-000000010239e000 [ 33.4M] r-x/rwx SM=COW /Xcode//Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/sourcekitd.framework/Versions/A/XPCServices/SourceKitService.xpc
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
xcode 7 beta 2 unable to launch iOS 9 simulators
It happens both in beta 1 and beta 2.After installing xcode 7 beta, I see no simulators at all.When navigation to Xcode -> open developer tool -> SimluatorI get the following error Simulator cannot be opened because of a problem.:(reinstalling xcode beta didn't work. xcode 6.4 works fine)Process: Simulator [1541] Path: /Applications/Xcode-beta.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator Identifier: com.apple.iphonesimulator Version: ??? Build Info: Indigo-605000000000000~23 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Simulator [1541] User ID: 502 Date/Time: 2015-07-01 12:16:11.842 +0300 OS Version: Mac OS X 10.10.4 (14E46) Report Version: 11 Anonymous UUID: F963D212-569A-07E6-358A-853EBB0129B1 Time Awake Since Boot: 3400 seconds Crashed Thread: 0 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Library
5
0
5.3k
Jul ’15
Watchkit App slow install during debugging
Is anyone else experiencing glacially slow install times when running their WK2 apps on actual hardware?I'm talking like 4 minutes from Build/Run to it being available on the watch itself.I found this:http://www.sneakycrab.com/blog/2015/5/28/speeding-up-slow-install-times-when-debugging-on-a-real-apple-watch...but the process they outline looks to be more trouble than just waiting. Essentially you disable BlueTooth on the phone, which I guess tricks it into installing over WiFi? Also, XCode crashed when I tried it.I was hoping that someone knows what's going on, or if it's just something we should all be filing radars about.It can't possibly be about app size; it's just a WKInterfaceTimer that starts counting up from the current date. There are no assets or anything like that. Just a few lines of Swift code.I'm running the latest build of the Xcode 7 beta (as of July 1)
2
0
1.1k
Jul ’15
Reply to Lync
Lync 14.0.11 crashes for me to under Beta 1 and Beta 2 after logging inConsole shows the following:01/07/15 14:34:33,376 Microsoft Error Reporting[3256]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.0 instead of 10.11.0. This is not a bug in Gestalt -- it is a documented limitation. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.Call location:
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
What is mediaserverd actually responsible for?
I'm working on an app that uses the Video Toolbox for 264 decoding and uses OpenGL for presentation of the frames. Most of the time, everything works fine. But occassionally, the app will get killed for being out of memory. Watching the app in Instruments, it's pretty clear that the memory usage of the app itself is fine (around 10MB, pretty consistently). In fact, everything looks fine up until everything being jetisoned. In the crash log, the app itself looks okay memory wise (still around 10MB), but mediaserverd has jumped from it's normal 5-6MB of RAM to almost 100MB. According to the report, it has the largest footprint in memory. If I then reconnect Instruments afterwards, mediaserverd has dropped back down to it's normal 5-6MB range again.So what I'm wondering is this -- is there some connection between my usage of Video Toolbox, OpenGL or some other API and the memory usage in mediaserverd? Is there some error condition that I might not be handling correctly that would lead to something like
3
0
17k
Jul ’15
method_setImplementation problem
Hi everyone!In my applciation I have a class with method:- (void)someMethod { //Code of implementation. }This class I use a a base class to another class. Where this method has implementation like this:- (void)someMethod { [super someMethod] //Code of implementation. }As you can see second method has a call of method from based class. The problem is when I try to use runtime method_setImplementation to add dynamic code to this method I have a crash with recursion. But when I comment the line:[super someMethod]in second class all works fine.How I can fix this without comment line? Thanks for the help.
0
0
178
Jul ’15
Initializing a variable causes crash
Hi, I've got a very strange issue that I can't resolve: in one piece of code only (the one I'm working on, which worked fine previously), any varible that's initialized at the top of my InterfaceController.swift (Apple Watch Extension) file throws a EXC_BAD_ACCESS (Code = 2....) error. This started with the following line, but even if I take it out, any variable that is initialized at the start throws the same error:var locManager = CLLocationManager()As I said, this used to work fine, and I've even tested other apps that I'm working on, and they all work fine. I've tried deleting the app in the simulator, and cleaning the build folder, but I get the same error--and like I said if I remove that line from my code, any other variable that is initialized throws the same error. Hopefully someone has seen this before and can help!
8
0
2.6k
Jul ’15