未知异常:在锁定屏幕后解锁设备时发出信号SIGPIPE崩溃(Unknown Exception : signal SIGPIPE with crash when device is unlocked

编程入门 行业动态 更新时间:2024-10-28 10:23:05
未知异常:在锁定屏幕后解锁设备时发出信号SIGPIPE崩溃(Unknown Exception : signal SIGPIPE with crash when device is unlocked after locked screen)

我的ios应用程序中存在严重问题。 我无法理解这是什么以及如何解决这个问题。 我也不知道这次崩溃发生在哪个代码上,所以我现在无法提供代码。 如果我从锁定状态解锁设备,我的应用程序崩溃了。 它显示以下报告。

libsystem_kernel.dylib`mach_msg_trap: 0x34842504: mov r12, sp 0x34842508: push {r4, r5, r6, r8} 0x3484250c: ldm r12, {r4, r5, r6} 0x34842510: mvn r12, #0x1e 0x34842514: svc #0x80 0x34842518: pop {r4, r5, r6, r8} //Thread 1: signal SIGPIPE 0x3484251c: bx lr

我不知道这个。 我的应用程序兼容ios 7及更高版本。 任何帮助将不胜感激。 谢谢。

I have serious problem for this in my ios app. I can't understand what is this and how to solve this. I also don't know by which code this crash occurred so i can't provide code here right now. My app crashed if i unlocked device from locked situation. It shows following report.

libsystem_kernel.dylib`mach_msg_trap: 0x34842504: mov r12, sp 0x34842508: push {r4, r5, r6, r8} 0x3484250c: ldm r12, {r4, r5, r6} 0x34842510: mvn r12, #0x1e 0x34842514: svc #0x80 0x34842518: pop {r4, r5, r6, r8} //Thread 1: signal SIGPIPE 0x3484251c: bx lr

I have no idea about this. My app is compatible for ios 7 and above. Any help will be appreciated. Thanks.

最满意答案

使用HelloWorld sdk应用程序时是否会发生相同的行为? 如果不是您的应用程序写入损坏的管道/插座? 尝试如何防止SIGPIPE(或正确处理它们)查看完整的堆栈跟踪以获取任何线索。

I have found solution of this problem. It is signal which cause in debugger only. If I debug the code with device then it cause this and pause the app and if I resume then app is working perfectly. Then I have checked this by removing device and run the app without debugging then there is no any pause and app is working perfectly as it is normal. It is issue of just hit play/resume in the debugger.

更多推荐

本文发布于:2023-07-07 09:09:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1061444.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:解锁   信号   异常   屏幕   设备

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!