pjsua on iOS stalls after pjsua_init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I guess you are doing too much work on the main thread, which causes the GUI to hang and be unresponsive.
Unresponsive apps are "not allowed" by Apple, and iOS will kill such apps after being unresponsive for too long.

Best regards,
Even Andr?

On 28. juni 2011, at 15.57, Alexey Tkachenko wrote:

> Hi! I'am trying to use pjsip source in one iOS project. When I am testing it on my devices all works fine. But when I sended it to review they get some troubles. 
> Application stalls when I call pjsua_init. And now I can't find reasons of such behavior. Here is part of crashlog:
> 
> Applicat failed to resume in time
> 
> Elapsed total CPU time (seconds): 11.230 (user 7.560, system 3.670), 56% CPU 
> Elapsed application CPU time (seconds): 9.140, 46% CPU
> 
> Thread 0 name:  Dispatch queue: com.apple.main-thread
> Thread 0:
> 0   libsystem_c.dylib             	0x32cca708 _spin_lock$VARIANT$wfe + 44
> 1   libsystem_c.dylib             	0x32c934e8 pthread_mutex_destroy + 16
> 2   Applicat                      		0x00028208 pj_mutex_destroy + 24
> 3   Applicat                      		0x000282d8 pj_thread_destroy + 20
> 4   Applicat                      		0x000ac710 pjsua_destroy + 72
> 5   Applicat                      		0x000ad074 pjsua_init + 936
> 
> Thanks!
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 






[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux