My Objective-C application crashes randomly and shows a WebKit Legacy issue there in a stack trace. Can you please identify the problem?
#0. Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x18ecc8150 objc_msgSend + 16
1 WebKitLegacy 0x195fe0808 <redacted> + 132
2 CoreFoundation 0x190256d54 <redacted> + 404
3 CoreFoundation 0x190152d4c _CF_forwarding_prep_0 + 92
4 CoreFoundation 0x190258e80 <redacted> + 144
5 CoreFoundation 0x19014e2c4 <redacted> + 292
6 WebCore 0x194e28be8 <redacted> + 108
7 CoreFoundation 0x19020142c <redacted> + 24
8 CoreFoundation 0x190200d04 <redacted> + 388
9 CoreFoundation 0x1901fe9a8 <redacted> + 744
10 CoreFoundation 0x19012eda4 CFRunLoopRunSpecific + 424
11 UIFoundation 0x19632c134 <redacted> + 1764
12 Foundation 0x190d464cc <redacted> + 340
13 CoreFoundation 0x19020142c <redacted> + 24
14 CoreFoundation 0x190200d04 <redacted> + 388
15 CoreFoundation 0x1901fe9a8 <redacted> + 744
16 CoreFoundation 0x19012eda4 CFRunLoopRunSpecific + 424
17 GraphicsServices 0x191b98074 GSEventRunModal + 100
18 UIKit 0x1963e9058 UIApplicationMain + 208
19 NewsHog 0x1000d71a0 main (main.m:16)
20 libdyld.dylib 0x18f13d59c <redacted> + 4
Related
Trying to get Tomahawk music player to work, but i get this error message every minute:
Exception Name: NSInvalidArgumentException
Description: -[SPMediaKeyTap grab]: unrecognized selector sent to instance 0x610000094f00
User Info: (null)
0 CoreFoundation 0x00007fffccc8e52b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffe1366cad objc_exception_throw + 48
2 CoreFoundation 0x00007fffccd0fd34 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fffccc00bf5 ___forwarding___ + 1061
4 CoreFoundation 0x00007fffccc00748 _CF_forwarding_prep_0 + 120
5 Tomahawk 0x0000000105f2d746 -[SPMediaKeyTap setShouldInterceptMediaKeyEvents:] + 102
6 Tomahawk 0x0000000105f2d8d3 -[SPMediaKeyTap mediaKeyAppListChanged] + 147
7 Tomahawk 0x0000000105f2d9ca -[SPMediaKeyTap appIsNowFrontmost:] + 234
8 Tomahawk 0x0000000105f2d1b0 appSwitched + 48
9 HIToolbox 0x00007fffcc17e0d5 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1708
10 HIToolbox 0x00007fffcc17d346 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 428
11 HIToolbox 0x00007fffcc17d18f SendEventToEventTargetWithOptions + 43
12 HIToolbox 0x00007fffcc20f43e HIToolboxLSNotificationCallbackAllASNsFunc + 571
13 LaunchServices 0x00007fffcddb5715 ___LSScheduleNotificationFunction_block_invoke_2 + 51
14 CoreFoundation 0x00007fffccc243ac __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
15 CoreFoundation 0x00007fffccc05424 __CFRunLoopDoBlocks + 356
16 CoreFoundation 0x00007fffccc04f66 __CFRunLoopRun + 1878
17 CoreFoundation 0x00007fffccc045b4 CFRunLoopRunSpecific + 420
18 HIToolbox 0x00007fffcc1a5f6c RunCurrentEventLoopInMode + 240
19 HIToolbox 0x00007fffcc1a5da1 ReceiveNextEventCommon + 432
20 HIToolbox 0x00007fffcc1a5bd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
21 AppKit 0x00007fffca89c5f5 _DPSNextEvent + 1093
22 AppKit 0x00007fffcafac8eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
23 AppKit 0x00007fffca890fbd -[NSApplication run] + 926
24 QtGui 0x0000000109f277b7 _ZN19QEventDispatcherMac13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 515
25 QtCore 0x00000001097a4695 _ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE + 79
26 QtCore 0x00000001097a47f3 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 341
27 QtCore 0x00000001097a7487 _ZN16QCoreApplication4execEv + 199
28 Tomahawk 0x0000000105ebc01f main + 431
29 Tomahawk 0x0000000105ea3d64 start + 52
30 ??? 0x0000000000000002 0x0 + 2
How do i stop the error message from showing?
I don't want the error window to show up every minute. I am far from a computer expert and don't know what is causing it. I have tried to configure Tomahawk music player, but the message won't leave me alone. I have already googled and looked it up, but can't find an answer to my question. I am thankful for replies that can help solve this problem.
I am using core plot library Release 2.0 downloaded from https://github.com/core-plot/core-plot/releases in MAC application to generate the bar graphs. When i install application on OSX 10.8 and 10.7 application crashes. It works well above 10.8.3. The linker flags is -ObjC and -all_load is already set in build settings.
I am getting below issue in logs. Can any one please look the issue and help me to resolve.
-[NSColorSpaceColor CGColor]: unrecognized selector sent to instance 0x7ff4caa6e0c0
-[NSColorSpaceColor CGColor]: unrecognized selector sent to instance 0x7ff4caa6e0c0
2016-05-10 11:39:17.072 [375:807] (
0 CoreFoundation 0x00007fff8f781d16 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff96a329ea objc_exception_throw + 43
2 CoreFoundation 0x00007fff8f80ccfe -[NSObject doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff8f76f073 ___forwarding___ + 371
4 CoreFoundation 0x00007fff8f76ee88 _CF_forwarding_prep_0 + 232
5 CorePlot 0x0000000101720cbf +[CPTTextStyle(CPTPlatformSpecificTextStyleExtensions) textStyleWithAttributes:] + 191
6 CorePlot 0x000000010170e3ee -[CPTTextLayer initWithAttributedText:] + 62
7 CorePlot 0x00000001017083b8 -[CPTAxis updateAxisLabelsAtLocations:inRange:useMajorAxisLabels:] + 1880
8 CorePlot 0x00000001017089cc -[CPTAxis relabel] + 700
9 CorePlot 0x000000010170985a -[CPTAxis layoutSublayers] + 42
10 QuartzCore 0x00007fff9378e9aa _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 312
11 QuartzCore 0x00007fff9378deec _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 308
12 QuartzCore 0x00007fff9378dc74 _ZN2CA11Transaction6commitEv + 274
13 QuartzCore 0x00007fff9378d275 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 63
14 CoreFoundation 0x00007fff8f741f37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
15 CoreFoundation 0x00007fff8f741e96 __CFRunLoopDoObservers + 374
16 CoreFoundation 0x00007fff8f7168e2 CFRunLoopRunSpecific + 258
17 HIToolbox 0x00007fff951b6c57 RunCurrentEventLoopInMode + 277
18 HIToolbox 0x00007fff951be33d ReceiveNextEventCommon + 355
19 HIToolbox 0x00007fff951be1ca BlockUntilNextEventMatchingListInMode + 62
20 AppKit 0x00007fff903b73e9 _DPSNextEvent + 659
21 AppKit 0x00007fff903b6cf0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
22 AppKit 0x00007fff903b368d -[NSApplication run] + 456
23 AppKit 0x00007fff90630cfb NSApplicationMain + 860
)
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Attempted to perform another operation with a fetch already in progress'
First time my application working fine..but then after every time my app is crashed due to the above error and its only happened in iOS6 version devices. but my app is working fine in iOS7 or upper version devices.
The below is stack trace:
(
0 CoreFoundation 0x32e5b2bb <redacted> + 186
1 libobjc.A.dylib 0x3aadb97f objc_exception_throw + 30
2 CoreData 0x32bf5207 <redacted> + 94
3 CoreData 0x32bf591d <redacted> + 92
4 CoreData 0x32c06387 <redacted> + 58
5 CoreData 0x32c04d19 <redacted> + 624
6 CoreData 0x32bfe089 <redacted> + 312
7 CoreData 0x32bfd73f <redacted> + 682
8 CoreData 0x32bfd205 <redacted> + 468
9 CoreData 0x32bfc61d <redacted> + 1644
10 CoreData 0x32bfaf17 <redacted> + 646
11 WhatDidIWear 0x000b1875 -[WDIWDatabase(Years) years] + 848
12 WhatDidIWear 0x000a9b2d -[WDIWCalendar years] + 56
13 WhatDidIWear 0x00095c8f -[YearsViewController initWithNibName:bundle:] + 382
14 WhatDidIWear 0x000945bb -[TemplateViewController initWithDefaultNibName] + 62
15 WhatDidIWear 0x00093567 -[TabBarController yearsVC] + 134
16 WhatDidIWear 0x00093713 -[TabBarController homeViewControllers] + 46
17 WhatDidIWear 0x0008f49b -[TabBarController viewDidLoad] + 510
18 UIKit 0x34cf82d5 <redacted> + 228
19 WhatDidIWear 0x0008e927 -[AppDelegate tabBarController] + 134
20 WhatDidIWear 0x0008de65 -[AppDelegate application:didFinishLaunchingWithOptions:] + 980
21 UIKit 0x34cc3ad9 <redacted> + 252
22 UIKit 0x34cc3663 <redacted> + 1190
23 UIKit 0x34cbb84b <redacted> + 698
24 UIKit 0x34c63c39 <redacted> + 1004
25 UIKit 0x34c636cd <redacted> + 72
26 UIKit 0x34c6311b <redacted> + 6154
27 GraphicsServices 0x369555a3 <redacted> + 590
28 GraphicsServices 0x369551d3 <redacted> + 34
29 CoreFoundation 0x32e30173 <redacted> + 34
30 CoreFoundation 0x32e30117 <redacted> + 138
31 CoreFoundation 0x32e2ef99 <redacted> + 1384
32 CoreFoundation 0x32da1ebd CFRunLoopRunSpecific + 356
33 CoreFoundation 0x32da1d49 CFRunLoopRunInMode + 104
34 UIKit 0x34cba485 <redacted> + 668
35 UIKit 0x34cb7301 UIApplicationMain + 1120
36 WhatDidIWear 0x0008d97f main + 230
37 libdyld.dylib 0x3af12b20 <redacted> + 0
)
I am frustrated now for not solving the above error.
Please give me an idea to solve the above stuff.
EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0xa151830c
Triggered by Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x3b766b26 objc_msgSend + 6
1 Foundation 0x31e31386 __NSFireDelayedPerform + 410
2 CoreFoundation 0x314220dc __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 12
3 CoreFoundation 0x31421cf2 __CFRunLoopDoTimer + 778
4 CoreFoundation 0x3142008e __CFRunLoopRun + 1206
5 CoreFoundation 0x3138ac22 CFRunLoopRunSpecific + 518
6 CoreFoundation 0x3138aa06 CFRunLoopRunInMode + 102
7 GraphicsServices 0x3607a27e GSEventRunModal + 134
8 UIKit 0x33c2e044 UIApplicationMain + 1132
9 deBodas 0x000d5c6e main (main.m:16)
10 deBodas 0x000c53fc ___lldb_unnamed_function1$$deBodas + 36
This is crash log when i install the build .It is happend when install the build adhoc not a debug build
When i install build through system it is not happend.Any body knows please help me
I am struck this issue last three days.
I only replace the video files in my existing code, but if i replace all the video files my application will crash in iphone. it is an universal application but Ipad support all the new video files and crash on iphone. the following warning occur:
[NSCFType setLength:]: unrecognized selector sent to instance
0x19d790 2012-02-29 15:13:49.932[584:307] * Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFType
setLength:]: unrecognized selector sent to instance 0x19d790'
* Call stack at first throw: ( 0 CoreFoundation 0x3759dc7b __exceptionPreprocess + 114 1 libobjc.A.dylib
0x32d9bee8 objc_exception_throw + 40 2 CoreFoundation
0x3759f3e3 -[NSObject(NSObject) doesNotRecognizeSelector:] + 98 3
CoreFoundation 0x37544467 __forwarding + 506
4 CoreFoundation 0x37544220
_CF_forwarding_prep_0 + 48 5 Visionaries 0x00005179 -[Visionaries_ViewController
connection:didReceiveResponse:] + 56 6 Foundation
0x35183cd5 -[NSURLConnection(NSURLConnectionReallyInternal)
sendDidReceiveResponse:] + 92 7 Foundation
0x35183c3b _NSURLConnectionDidReceiveResponse + 86 8 CFNetwork
0x302941b4
_ZN19URLConnectionClient29_clientSendDidReceiveResponseEP14_CFURLResponsePNS_26ClientConnectionEventQueueE
+ 64 9 CFNetwork 0x30284bc8 _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl
+ 332 10 CFNetwork 0x30284d84 _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl
+ 776 11 CFNetwork 0x30284984 _ZN19URLConnectionClient13processEventsEv + 100 12 CFNetwork 0x3028484c _ZN17MultiplexerSource7performEv + 192 13 CFNetwork
0x30284788 _ZN17MultiplexerSource8_performEPv + 12 14 CoreFoundation
0x375518d1 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
+ 14 15 CoreFoundation 0x37521ecd __CFRunLoopDoSources0 + 384 16 CoreFoundation 0x375216f9 __CFRunLoopRun + 264 17 CoreFoundation
0x3752150b CFRunLoopRunSpecific + 226 18 CoreFoundation
0x37521419 CFRunLoopRunInMode + 60 19 GraphicsServices
0x33e76d24 GSEventRunModal + 196 20 UIKit
0x3591d57c -[UIApplication _run] + 588 21 UIKit
0x3591a558 UIApplicationMain + 972 22 Visionaries
0x00002391 main + 80 23 Visionaries
0x0000233c start + 40 ) terminate called after throwing an instance of
'NSException'
Somebody has an idea, please help.
By the crash log we see that, inside -[Visionaries_ViewController connection:didReceiveResponse:], you are calling the method setLength: on an object that does not have that method.
Can be a memory or logic problem. Please provide more info.