4

アプリがSBJsonで(非常にまれに)見ているクラッシュをデバッグしようとしていますが、例外コードを解読する方法がわかりません。

Date/Time:       2012-12-16 12:21:31.311 -0500
OS Version:      iOS 6.0.1 (10A523)
Report Version:  104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000000000defe
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   CoreFoundation                  0x3a0a92be CFRelease + 18
1   libcache.dylib                  0x369217d2 _entry_remove + 154
2   libcache.dylib                  0x369221d8 _cache_enforce_limits + 168
3   libcache.dylib                  0x3692115e _cache_update_limits + 170
4   libcache.dylib                  0x3692156c cache_set_and_retain + 1028
5   CoreFoundation                  0x3a0fc480 -[NSCache setObject:forKey:cost:] + 52
6   CoreFoundation                  0x3a0fc442 -[NSCache setObject:forKey:] + 38
7   MyApp                       0x000c4226 -[SBJsonStreamWriter writeString:]     (SBJsonStreamWriter.m:315)
8   MyApp                       0x000c3460 -[SBJsonStreamWriter writeObject:] (SBJsonStreamWriter.m:104)
9   MyApp                       0x000c613c -[SBJsonWriter dataWithObject:] (SBJsonWriter.m:93)
10  MyApp                       0x000c5efc -[SBJsonWriter stringWithObject:] (SBJsonWriter.m:61)
11  MyApp                       0x000c14d0 -[NSObject(NSObject_SBJsonWriting) JSONRepresentation] (NSObject+SBJson.m:38)

Appleはここにいくつかのドキュメントを提供しています:

http://developer.apple.com/library/ios/#technotes/tn2151/_index.html

ただし、0x0000000000000001、0x000000000000defe例外コードはリストされていません。より完全なリストをどこで入手できるか知っている人はいますか?

4

1 に答える 1

1

あなたが渡しているjsonは正しいですか?サードパーティで検証してみてください。私はこれを使用します: http://paulisageek.com/json_validator/

于 2012-12-21T06:44:46.523 に答える