I'm trying to use Xamarin HotRestart with Visual Studio 2019 16.9.0 Preview 2.
The target device is an iPhone 7 Plus running iOS 14.3
I'm using Xamarin Forms 4.8.0.1687.
I've already removed the Splash Screen from info.plist, but this does not solve the problem.
Here is the stack trace:
=================================================================
Got a segv while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Native Crash Reporting
=================================================================
=================================================================
Native stacktrace:
=================================================================
0x100c28120 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_dump_native_crash_info
0x100c2ba60 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_sigsegv_signal_handler_debug
0x1c8b96d90 - /usr/lib/system/libsystem_platform.dylib : <redacted>
0x100c1ecbc - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_handle_native_crash
0x100dd2e90 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : do_transform_method
0x100de7758 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_interp_transform_method
0x100dc6ef4 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_interp_get_imethod
0x100de4ef0 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : generate_code
0x100dca354 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : interp_exec_method_full
0x100dcd03c - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : interp_exec_method_full
0x100dc8028 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : interp_runtime_invoke
0x100cdeaf4 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_runtime_try_invoke
0x100c2ed3c - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_jit_runtime_invoke
0x100c39e54 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : suspend_current
0x100c405bc - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : process_event
0x100c37268 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : debugger_agent_breakpoint_from_context
0x100be71d4 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : sdb_breakpoint_trampoline
0x100c3a928 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : do_invoke_method
0x100dd3044 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : do_debugger_tramp
0x100dd1390 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : interp_exec_method_full
0x100c386d4 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : process_breakpoint_events
0x100c52390 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_de_process_breakpoint
0x100dc8028 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : interp_runtime_invoke
0x100ce3974 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_runtime_try_invoke_array
0x100c2ed3c - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_jit_runtime_invoke
0x100cdd2c0 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_runtime_invoke_checked
0x100c8b9c4 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : ves_icall_InternalInvoke
0x100dd4a74 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : do_icall
0x100dd3188 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : do_icall_wrapper
0x100dc8028 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : interp_runtime_invoke
0x100c9bb68 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : ves_icall_InternalInvoke_raw
0x100bdbbc8 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : main
0x1800ca568 - /usr/lib/system/libdyld.dylib : <redacted>
=================================================================
Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x100dc6f00):
0x100ce2564 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_runtime_exec_main_checked
0x100c138f4 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_jit_exec
0x100dc9c04 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : interp_exec_method_full
fa 97 f6 03 00 aa 14 00 00 f9 17 58 00 f9 4............X..
0x100dc6f00 08 13 40 79 08 68
0x100dc6f20 e8 17 9f
0x100dc5afc - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : xamarin_main
1a 09
0f 40 b9 08 59 16 53 ..#y.h....#..Y.S
0x100dc6f10 08 6c 00 b9 08 0f 40 b9 08 15 10 12 1f 41 41 71 .l....#......AAq
b9
90
40 39 29 79 1e 12 28 05
0x100dc6ef0 34 db
00
08
0x100c2ed3c - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_jit_runtime_invoke
0x100cdd2c0 - /private/var/containers/Bundle/Application/27648452-5A13-43A8-9E9F-B8EF1544DAF4/GeoFleet.iOS.app/Xamarin.PreBuilt.iOS : mono_runtime_invoke_checked
at Xamarin.HotReload.Forms.FormsAgent:InitializeAgentAsync <0x001d0>
at <InitAgents>d__28:MoveNext <0x0023a>
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start <0x00052>
at Xamarin.HotReload.HotReloadAgent:InitAgents <0x0003e>
at Xamarin.HotReload.HotReloadAgent:.ctor <0x00096>
at Xamarin.HotReload.HotReloadAgent:GetInstance <0x0001e>
at <Module>:runtime_invoke_direct_HotReloadAgent_uint_bool_string <0x00064>
at <unknown> <0xffffffff>
at GeoFleet.iOS.Application:Main <0x00004>
at <Module>:runtime_invoke_direct_void_string[] <0x0008c>
at <unknown> <0xffffffff>
at System.Reflection.RuntimeMethodInfo:InternalInvoke <0x00030>
at System.Reflection.RuntimeMethodInfo:Invoke <0x000fc>
at System.Reflection.MethodBase:Invoke <0x0001a>
at Xamarin.PreBuilt.iOS.Applications:Main <0x00254>
at <Module>:runtime_invoke_direct_void_string[] <0x00092>
=================================================================
08 2a ......#9)y..(..*
=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at <unknown> <0xffffffff>
at Xamarin.HotReload.Forms.VisualTreeService.DiagnosticVisualTreeService:Initialize <0x00140>
at Xamarin.HotReload.Forms.FormsAgent:SetupAgent <0x000a8>
The app has been terminated.
Related
Here is the bug report. I think it's a bug of watchOS 6 something related to apple Text to Speech service.
When i not use tts, it's go away.
Incident Identifier: 3C86B3F2-0565-464C-921C-A0ECB63237EB
CrashReporter Key: 9de6d125d2514512fa87c39b4cc898e09cf8d8cc
Hardware Model: Watch4,4
Process: LeanWatchApp Extension [367]
Path: /private/var/containers/Bundle/Application/D8EC0163-C8EA-4375-B556-3C751744EEE3/LeanWatchApp.app/PlugIns/LeanWatchApp Extension.appex/LeanWatchApp Extension
Identifier: hltek.Lean.watchkitapp.watchkitextension
Version: 4 (1.15)
Code Type: ARM (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: hltek.Lean.watchkitapp.watchkitextension [473]
Date/Time: 2019-10-08 08:45:38.1157 +0800
Launch Time: 2019-10-08 08:42:38.0000 +0800
OS Version: Watch OS 6.0.1 (17R605)
Release Type: User
Baseband Version:
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000195eb0c0
VM Region Info: 0x195eb0c0 is not in any region. Bytes after previous region: 553153 Bytes before following region: 104714048
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
Stack 194dc000-19564000 [ 544K] rw-/rwx SM=COW thread 5
---> GAP OF 0x6464000 BYTES
unused shlib __TEXT 1f9c8000-1f9ee000 [ 152K] r-x/r-x SM=COW ... this process
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [367]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_pthread.dylib 0x1fd6a670 pthread_get_qos_class_np + 8
1 Foundation 0x20adf988 -[NSThread qualityOfService] + 80
2 Foundation 0x20aa24e8 -[NSObject+ 271592 (NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 272
3 Foundation 0x20aa43f4 -[NSObject+ 279540 (NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:] + 116
4 libAXSpeechManager.dylib 0x437a88f0 -[AXSpeechManager isSpeaking] + 112
5 libAXSpeechManager.dylib 0x437a3c38 -[AXSpeechManager _didBeginInterruption] + 52
6 libAXSpeechManager.dylib 0x437a3fec -[AXSpeechManager _handleAudioInterruption:] + 500
7 CoreFoundation 0x200bb1d0 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
8 CoreFoundation 0x200bb218 ___CFXRegistrationPost1_block_invoke + 64
9 CoreFoundation 0x200ba580 _CFXRegistrationPost1 + 368
10 CoreFoundation 0x200ba24c ___CFXNotificationPost_block_invoke + 104
11 CoreFoundation 0x20037fec -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1392
12 CoreFoundation 0x200b9bc8 _CFXNotificationPost + 1188
13 Foundation 0x20a694c0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 60
14 AVFAudio 0x2ac2048c -[AVAudioSession privateInterruptionWithInfo:] + 992
15 AVFAudio 0x2ac22c30 (anonymous namespace)::HandlePropertyListenerCallback+ 597040 (unsigned int, objc_selector*, NSObject*) + 72
16 libdispatch.dylib 0x1fb333a0 _dispatch_call_block_and_release + 24
17 libdispatch.dylib 0x1fb34730 _dispatch_client_callout + 16
18 libdispatch.dylib 0x1fb405a8 _dispatch_main_queue_callback_4CF + 992
19 CoreFoundation 0x200dbe6c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
20 CoreFoundation 0x200d6a10 __CFRunLoopRun + 740
21 CoreFoundation 0x200d6420 CFRunLoopRunSpecific + 464
22 GraphicsServices 0x236462ec GSEventRunModal + 100
23 UIKitCore 0x3ca1f784 UIApplicationMain + 1760
24 libxpc.dylib 0x1fdc4aa4 _xpc_objc_main.cold.3 + 208
25 libxpc.dylib 0x1fdb0a90 _xpc_objc_main + 212
26 libxpc.dylib 0x1fdb33e4 xpc_main + 152
27 Foundation 0x20aa663c +[NSXPCListener serviceListener] + 0
28 PlugInKit 0x298462f8 0x2982d000 + 103160
29 WatchKit 0x325c4f94 WKExtensionMain + 60
30 WatchKit 0x325c4fb8 main + 12
31 libdyld.dylib 0x1fb70a38 start + 4
It's very similar to this:
App is getting crashed on app launch in iOS 13 beta version
When make wrist down , the watch screen off ,It always crash. but my app is Workout app, it can work in background before watchOS 6.
I'm trying to implement push notification in my Xamarin app on iOS. Using example from docs, I have:
if (_hub == null)
{
string connectionString = "Endpoint=<whatever>";
string hubName = "<hub name>";
_hub = new SBNotificationHub(connectionString, hubName);
}
For some reason I got an exception: "Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** -[__NSDictionaryM setObject:forKey:]: key cannot be nil Native stack trace:"
Any ideas or direction where to look are appreciated. More about error:
1 libobjc.A.dylib 0x00000001988ea9f8 objc_exception_throw + 56
2 CoreFoundation 0x0000000199688f8c _CFArgv + 0
3 CoreFoundation 0x00000001995fe2b4 <redacted> + 904
4 TennisUmpireXamariniOS 0x0000000102355038 -[SBLocalStorage readContent] + 508
5 TennisUmpireXamariniOS 0x000000010235472c -[SBLocalStorage initWithNotificationHubPath:] + 296
6 TennisUmpireXamariniOS 0x000000010234dbe4 -[SBNotificationHub initWithConnectionString:notificationHubPath:] + 420
7 TennisUmpireXamariniOS 0x0000000104530a7c wrapper_managed_to_native_ApiDefinition_Messaging_IntPtr_objc_msgSend_IntPtr_IntPtr_intptr_intptr_intptr_intptr + 236
8 TennisUmpireXamariniOS 0x0000000104521038 WindowsAzure_Messaging_SBNotificationHub__ctor_string_string + 792
9 TennisUmpireXamariniOS 0x0000000102418a00 TennisUmpireXamarin_iOS_AppDelegate_RegisteredForRemoteNotifications_UIKit_UIApplication_Foundation_NSData + 480
10 TennisUmpireXamariniOS 0x000000010271d998 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 248
11 TennisUmpireXamariniOS 0x0000000104d30e80 mono_jit_runtime_invoke + 948
12 TennisUmpireXamariniOS 0x0000000104db54e8 mono_runtime_invoke_checked + 144
13 TennisUmpireXamariniOS 0x0000000104db8d90 mono_runtime_invoke + 80
14 TennisUmpireXamariniOS 0x00000001023ccf3c _ZL31native_to_managed_trampoline_23P11objc_objectP13objc_selectorPP11_MonoMethodP13UIApplicationP6NSDataj + 680
15 TennisUmpireXamariniOS 0x00000001023ccc88 -[AppDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:] + 64
16 libdispatch.dylib 0x000000019914fa38 <redacted> + 24
17 libdispatch.dylib 0x00000001991507d4 <redacted> + 16
18 libdispatch.dylib 0x00000001990fe004 <redacted> + 1068
19 CoreFoundation 0x00000001996a0ec0 <redacted> + 12
20 CoreFoundation 0x000000019969bdf8 <redacted> + 1924
21 CoreFoundation 0x000000019969b354 CFRunLoopRunSpecific + 436
22 GraphicsServices 0x000000019b89b79c GSEventRunModal + 104
23 UIKitCore 0x00000001c5897b68 UIApplicationMain + 212
24 TennisUmpireXamariniOS 0x00000001031962c8 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 328
25 TennisUmpireXamariniOS 0x00000001030f723c UIKit_UIApplication_Main_string___intptr_intptr + 44
26 TennisUmpireXamariniOS 0x00000001030f71fc UIKit_UIApplication_Main_string___string_string + 172
27 TennisUmpireXamariniOS 0x00000001024178c0 TennisUmpireXamarin_iOS_Application_Main_string__ + 128
28 TennisUmpireXamariniOS 0x000000010271d998 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 248
29 TennisUmpireXamariniOS 0x0000000104d30e80 mono_jit_runtime_invoke + 948
30 TennisUmpireXamariniOS 0x0000000104db54e8 mono_runtime_invoke_checked + 144
31 TennisUmpireXamariniOS 0x0000000104dbb320 mono_runtime_exec_main_checked + 120
32 TennisUmpireXamariniOS 0x0000000104d1141c mono_jit_exec + 268
33 TennisUmpireXamariniOS 0x0000000104ea94d4 xamarin_main + 2184
34 TennisUmpireXamariniOS 0x00000001024177b8 main + 96
35 libdyld.dylib 0x00000001991618e0 <redacted> + 4
Nobody seems to encounter this problem, but I think I figured out what was happening and want to put it in writing.
SBNotificationHub component preserves the state in the storage. When constructor is called, this state is restored. And my parameters to constructor were just fine, the first call went without any errors.
However, when I tried to call RegisterTemplate method, I passed invalid parameters, which resulted in 400 error from the notification hub. The problem is that even with this invalid parameters, the state was updated.
The next call to SBNotificationHub constructor tried to restore this inconsistent state and threw the error I posted in my question.
Now I would be stuck until app removed. This is with version https://www.nuget.org/packages/Xamarin.Azure.NotificationHubs.iOS/ (1.2.5.2). The problem is that I used package https://www.nuget.org/packages/Xamarin.Azure.NotificationHubs.iOS-updated/, which is forked version that stores state in KeyChain. As we know, even if app is uninstalled, the values in KeyChain remain, so even after I re-installed my app, I got stuck, until I actually wiped out device.
So, I switched to version 1.2.5.2 to at least be able to have clean start after uninstalling the app, and then troubleshooted what was wrong with my RegisterTemplate call.
The proper behavior, I think, would be to not update state if RegisterTemplate call wasn't successful. In addition to that, it would be nice to be able to clear the state in storage (Keychain or not) if it's corrupted. Or, why constructor even need to restore the state?
I am trying to play a WAV file in the browser. This particular WAV file plays just fine in all browsers except IE and Edge. IE is to be expected -- it doesn't support WAV. However, it looks like it should work in Edge. I've studied the header of the file, and it looks like it is well-formed to me.
This error is printed to the console:
WEBAUDIO17014: Decoding error: The stream provided is corrupt or unsupported.
Here is the header:
52 49 46 46 : "RIFF"
24 30 0C 00 : file size (798,756 bytes)
57 41 56 45 : "WAVE"
66 6D 74 20 : "fmt "
10 00 00 00 : length of format (16 bytes)
01 00 : type of format
01 00 : Number of channels (1)
22 56 00 00 : Sample rate (22050)
88 58 01 00 : (Sample Rate * BitsPerSample * Channels) / 8.
02 00 : (BitsPerSample * Channels) / 8.1 - 8 bit mono2 - 8 bit stereo/16 bit mono4 - 16 bit stereo
10 00 : bits per sample (16)
64 61 74 61 : "data"
00 30 0C 00 : size of data (798,720 bytes)
So, the two unusual things I see are:
1) It uses a sample rate of 22050. Is that supported in Edge?
2) It is a mono file. Is that supported in Edge?
I tried to look up WEBAUDIO17014 but I didn't get any relevant answers. Is there a way to get a more specific error message about what is going wrong?
Edit:
By request, here is the HTML of the page:
<audio src="/path/to/file.wav" preload></audio>
Can anyone give me information on which standard contains MAP Tags - sm-RP-UI?
04 1a - sm-RP-UI
24 - TP-RP/UDHI/SRI/MMS/MTI
0b - length
91 26 18 18 55 32 f7 - TP-Originating-Address
00 - TP-PID
00 - TP-DCS
90 40 02 91 61 42 82 - TP-Service-Centre-Time-Stamp
07 - TP-User-Data-Length: (7) depends on Data-Coding-Scheme
ca f0 3a 2c a7 87 01 - TP-User-Data
The details are needed for coding and I'd like to know which standard they are in. I have been looking in GSM 29.002, GSM 23.040, and GSM 24.011 and I haven't found them.
Any help would be greatly appreciated,
Thank you.
The SMTL PDUs are defined in 3GPP TS 23.040 - Technical realization of the Short Message Service (SMS)
More specifically:
04 1a
This is ASN.1 tag a length (OCTET STRING). Since you say this is sm-RP-UI
it would be the SignalInfo ASN.1 type defined in 3GPP TS 29.002
used with labels sm-RP-UI on different MAP operations.
24
First thing to look here are the last two bits (TP-Message-Type-Indicator: 9.2.3.1 of 23.040)
Since you have H'24 -> B'00100100. This is an SMS-DELIVER (SC to MS)
SMS-DELIVER (9.2.2.1) contains
TP-Message-Type-Indicator (TP-MTI on 9.2.3.1) (bit 0-1 --> 00)
TP-More-Messages-To-Send (TP-MMS on 9.2.3.2) (bit 2 --> 1: "No more messages are waiting for the MS in this SC
TP-Status-Report-Indication (TP-SRI on 9.2.3.4) (bit 5 --> 1: "A status report shall be returned to the SME")
TP-User-Data_Header-Indicator (TP-UDHI on 9.2.3.23) (bit 6 -> 0: "The TP-UD field contains only the short message")
TP-Reply-Path (TP-RP on 9.2.3.17) (bit 7 -> 0: "Not set")
0b 91 26 18 18 55 32 f7
TP-Originating-Address (TP-OA 9.2.3.7 - Address fields in 9.1.2.5) that works:
** Address-Length: H'B = D'11 (not this is in semi-octets)
** Type-of-Address: H'91=B'10010001 with Type-of-Nuymber (B'001: International number) and Numbering-Plan (B'0001: ISDN/E.164)
** Address-Value: BCD: 62818155327 (F is filler)
00
TP-Protocol-Identifier (TP-PID 9.2.3.9)
00
TP-Data-Coding-Scheme (TP-DCS 9.2.3.10)
90 40 02 91 61 42 82
TP-Service-Centre-Time-Stamp (TP-SCTS 9.2.3.11) 2009/04/20 19:16:24
07
TP-User-Data-Length (TP-UDL 9.2.3.16)
ca f0 3a 2c a7 87 01
* TP-User-Data (TP-UD 9.2.3.24)
google analytics out of memory in ios?
My project was to apply the google Analytic 3.03 version.
id<GAITracker> tracker = [[GAI sharedInstance] defaultTracker];
// This screen name value will remain set on the tracker and sent with
// hits until it is set to a new value or to nil.
// page is string param
[tracker set:kGAIScreenName value:page];
[tracker send:[[GAIDictionaryBuilder createAppView] build]];
this is image...
http://i41.tinypic.com/25rnuh4.jpg
because of last line method
[tracker send:[[GAIDictionaryBuilder createAppView] build]];
this log message :
malloc: * mmap(size=1291476992) failed (error code=12)
WARNING: GoogleAnalytics 3.03 void GAIUncaughtExceptionHandler(NSException *) (GAIUncaughtExceptionHandler.m:49): Uncaught exception: Out of memory. We suggest restarting the application. If you have an unsaved document, create a backup copy in Finder, then try to save.
VERBOSE: GoogleAnalytics 3.03 -[GAIRequestBuilder requestGetUrl:payload:] (GAIRequestBuilder.m:177): building URLRequest for https://ssl.google-analytics.com/collect
VERBOSE: GoogleAnalytics 3.03 -[GAIBatchingDispatcher dispatch] (GAIBatchingDispatcher.m:503): Sending hit(s)
INFO: GoogleAnalytics 3.03 -[GAIBatchingDispatcher didSendHits:response:data:error:] (GAIBatchingDispatcher.m:157): Hit(s) dispatched: HTTP status 200
INFO: GoogleAnalytics 3.03 -[GAIBatchingDispatcher deleteHits:] (GAIBatchingDispatcher.m:430): hit(s) Successfully dispatched
INFO: GoogleAnalytics 3.03 -[GAIBatchingDispatcher didSendHits:] (GAIBatchingDispatcher.m:167): 1 hit(s) sent
* Terminating app due to uncaught exception 'NSMallocException', reason: 'Out of memory. We suggest restarting the application. If you have an unsaved document, create a backup copy in Finder, then try to save.'
* First throw call stack:
(
0 CoreFoundation 0x044585e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x039b18b6 objc_exception_throw + 44
2 Foundation 0x0368a4a1 _NSOutOfMemoryErrorHandler + 72
3 CoreFoundation 0x043d9488 __CFStringChangeSizeMultiple + 1704
4 CoreFoundation 0x043dc4ae CFStringAppend + 318
5 CoreFoundation 0x043d6e03 __CFStringAppendFormatCore + 8611
6 CoreFoundation 0x0447a1d5 _CFStringAppendFormatAndArgumentsAux + 69
7 CoreFoundation 0x0447a179 -[__NSCFString appendFormat:] + 89
8 MyApp 0x000d1a4a -[NSDictionary(Description) descriptionWithLocale:indent:] + 762
9 libobjc.A.dylib 0x039c3874 -[NSObject performSelector:withObject:withObject:] + 77
10 MyApp 0x0000be1d -[NSObject(Description) descriptionForObject:locale:indent:] + 397
11 MyApp 0x000d1a0b -[NSDictionary(Description) descriptionWithLocale:indent:] + 699
12 CoreFoundation 0x04453ce0 -[NSDictionary descriptionWithLocale:] + 48
13 Foundation 0x035ce785 _NSDescriptionWithLocaleFunc + 93
14 CoreFoundation 0x043d6dc6 __CFStringAppendFormatCore + 8550
15 CoreFoundation 0x04417944 _CFStringCreateWithFormatAndArgumentsAux + 116
16 Foundation 0x035cd690 -[NSPlaceholderString initWithFormat:locale:arguments:] + 143
17 Foundation 0x035ce70d +[NSString stringWithFormat:] + 88
18 Myapp 0x00295b64 -[GAIBatchingDispatcher persist:] + 342
19 MyApp 0x00296f9a -[GAIBatchingDispatcher queueDispatch:] + 538
20 MyApp 0x00296d68 -[GAIBatchingDispatcher queueModel:] + 146
21 libobjc.A.dylib 0x039c381f -[NSObject performSelector:withObject:] + 70
22 Foundation 0x036069d8 __NSThreadPerformPerform + 285
23 CoreFoundation 0x043e183f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
24 CoreFoundation 0x043e11cb __CFRunLoopDoSources0 + 235
25 CoreFoundation 0x043fe29e __CFRunLoopRun + 910
26 CoreFoundation 0x043fdac3 CFRunLoopRunSpecific + 467
27 CoreFoundation 0x043fd8db CFRunLoopRunInMode + 123
28 Foundation 0x0360e9c5 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 284
29 Foundation 0x035aa8d1 -[NSRunLoop(NSRunLoop) run] + 82
30 MyApp 0x00287164 +[GAI threadMain:] + 70
31 Foundation 0x03609597 -[NSThread main] + 76
32 Foundation 0x036094f6 __NSThread__main__ + 1275
33 libsystem_c.dylib 0x040015b7 _pthread_start + 344
34 libsystem_c.dylib 0x03febdce thread_start + 34
)
What's the problem?