1

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

This is shown when i unlock the screen

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

Max
  • 2,269
  • 4
  • 24
  • 49
  • This is going to be very difficult to troubleshoot without knowing more about your application. What debugging steps have you tried? – sherb Dec 22 '14 at 06:20
  • @sherb I will tell you whatever you want to know. My app is opentok based video calling app which working fine and also fine in background foreground state by home button. but causes this when i lock the screen when app is running and then unlock it. – Max Dec 22 '14 at 06:24

2 Answers2

2

Does the same behavior happens when you use the HelloWorld sdk app? If not is your app writing to a broken pipe/socket? Try How to prevent SIGPIPEs (or handle them properly) Look at the full stack trace also for any clues.

Community
  • 1
  • 1
Jaideep Shah
  • 146
  • 3
2

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.

Max
  • 2,269
  • 4
  • 24
  • 49