gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intentionally crashed my Web development kit, got this gem.


From: Ivan Vučica
Subject: Re: Intentionally crashed my Web development kit, got this gem.
Date: Sat, 05 Dec 2015 19:49:31 +0000

北宗,

Your enthusiasm is commendable, but it is not important for GNUstep where Cocoa's NSException symbol lives. As long as it is available when you link with Foundation, the exact executable image in which it is distributed is Cocoa's implementation detail.

This was already discussed in previous instances where you outlined implementation details of Cocoa which are not required for correct functionality of GS.

Similarly, Cocoa's Core Animation happens to be largely implemented in C++. Does it matter that GNUstep's is implemented in Objective-C, or is it gaps in functionality that are actually important?

On Sat, Dec 5, 2015 at 6:08 PM 陈北宗 <address@hidden> wrote:
Testing for robustness of my Web development kit, and the default exception handler caught this gem:

System Crash: NSException

Name: NSInternalInconsistencyException

Reason: [CGIAppDelegate application:handleContext:] (/Users/……/Developer/CGIKit/CGIHello/CGIAppDelegate.m:44): This is just a test, don't panic.

User information:

KeyValue
(none)

Call stack:

0   CoreFoundation                      0x00007fff8aed1ae2 __exceptionPreprocess + 178
1   libobjc.A.dylib                     0x00007fff99b8c73c objc_exception_throw + 48
2   CoreFoundation                      0x00007fff8aed198d +[NSException raise:format:] + 205
3   CGIHello                            0x0000000100002650 -[CGIAppDelegate application:handleContext:] + 2640
4   CGIKit                              0x000000010002706d -[CGIApplication(CGIDelegatedMethods) handleContext:] + 93
5   CGIKit                              0x000000010002000d -[CGIContext run] + 109
6   Foundation                          0x00007fff8a411d4b __NSThreadPerformPerform + 279
7   CoreFoundation                      0x00007fff8ade15c1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
8   CoreFoundation                      0x00007fff8add341c __CFRunLoopDoSources0 + 556
9   CoreFoundation                      0x00007fff8add293f __CFRunLoopRun + 927
10  CoreFoundation                      0x00007fff8add2338 CFRunLoopRunSpecific + 296
11  Foundation                          0x00007fff8a40fe61 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
12  CGIKit                              0x000000010002679f -[CGIApplication run] + 463
13  CGIKit                              0x0000000100027238 CGIApplicationMain + 248
14  CGIHello                            0x0000000100001b6b main + 91
15  libdyld.dylib                       0x00007fff98dac5ad start + 1


So NSException is defined in CoreFoundation… Maybe I should generate more crashes to probe OS X a bit...
_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev

reply via email to

[Prev in Thread] Current Thread [Next in Thread]