1
OneMan OP 自顶一个
|
2
wysnylc 2020-03-27 18:16:44 +08:00
是不是在放大图像?
|
3
vanton 2020-03-27 18:18:30 +08:00
前面的信息是啥,app specific info 是啥?
|
4
Chaidu 2020-03-27 18:19:28 +08:00
赏金多少?
|
7
OneMan OP 详细 crash report 在: https://www.v2ex.com/notes/40843
|
8
OneMan OP |
9
OneMan OP 自顶一个
|
12
OneMan OP |
13
across 2020-03-27 18:48:35 +08:00
系统随机崩溃,八成是内存问题。
oc/cpp 写的?这么看不如翻代码提交记录查起来快。 |
17
bookit 2020-03-27 19:16:44 +08:00
内存写越界了。如果是自己写的程序,在写内存的附近多加断点,lldb 调试之
|
18
bookit 2020-03-27 19:20:05 +08:00
看了 log,
感觉是 fileURLWithPath 这里,你传入的路径字符串是不是有问题,然后这里挂了? 打断点,仔细看内存 |
20
OneMan OP 另外一个 log
Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 CoreFoundation 0x00000001954eb4cc -[CFPrefsPlistSource synchronize] + 20 1 CoreFoundation 0x00000001954f0324 -[__NSFrozenDictionaryM __apply:context:] + 128 2 CoreFoundation 0x00000001954db108 -[_CFXPreferences synchronizeEverything] + 148 3 CoreFoundation 0x000000019562e86c _CFPrefsSynchronizeForProcessTermination + 84 4 Foundation 0x00000001958aea5c -[NSUserDefaults+ 31324 (NSUserDefaults) synchronize] + 64 5 theapp 0x000000010540dd58 0x104eac000 + 5643608 6 theapp 0x000000010540eba4 0x104eac000 + 5647268 7 theapp 0x00000001052e1b18 0x104eac000 + 4414232 8 theapp 0x00000001052c429c 0x104eac000 + 4293276 9 theapp 0x0000000104fbea28 0x104eac000 + 1124904 10 theapp 0x0000000104fbe6c8 0x104eac000 + 1124040 11 theapp 0x0000000104fbe3ac 0x104eac000 + 1123244 12 theapp 0x0000000105995388 0x104eac000 + 11441032 13 Foundation 0x00000001959e0028 __NSFireTimer + 64 14 CoreFoundation 0x000000019557503c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28 15 CoreFoundation 0x0000000195574d78 __CFRunLoopDoTimer + 880 16 CoreFoundation 0x0000000195574448 __CFRunLoopDoTimers + 276 17 CoreFoundation 0x000000019556f584 __CFRunLoopRun + 1920 18 CoreFoundation 0x000000019556eadc CFRunLoopRunSpecific + 464 19 GraphicsServices 0x000000019f50f328 GSEventRunModal + 104 20 UIKitCore 0x000000019967c63c UIApplicationMain + 1936 21 theapp 0x00000001052c4688 0x104eac000 + 4294280 22 libdyld.dylib 0x00000001953f8360 start + 4 |
21
bookit 2020-03-27 21:05:03 +08:00
在自己写的重要函数开头结尾都加 log,打印进出信息,
在字符串操作上下都打印出字符串,然后再运行 |
22
Hamniba 2020-03-28 00:18:42 +08:00
建议重启 /换一台开发测试 iPhone
|
23
DCELL 2020-03-28 10:25:20 +08:00
先拿符号标,转化下;你这个堆栈只有真大神才搞的明白
|
24
xsen 2020-03-28 12:48:53 +08:00 1
其实就是内存访问问题,
1. 多线程,资源没做好同步 2. 越界 |