Assertion on Mac OS X 10.6 Snow Leopard

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

 



This also happens with pjproject built on 10.6. When I plug headphones  
in, everything is fine, I hear sound through them. But when I plug  
them out, I?m getting the assertion.

Alexei

On 2 Sep, 2009, at 0:18, Alexei Kuznetsov wrote:

> Hi,
>
> My application, linked against pjsua-lib 1.0.3, quits on assertion  
> when user plugs or unplugs headphones.
>
> Assertion failed: (thread->signature1 != 0xDEAFBEEF || thread- 
> >signature2 != 0xDEADC0DE || (thread->thread == pthread_self())),  
> function pj_thread_register, file ../src/pj/os_core_unix.c, line 381.
>
> pjsua application, though, behaves like this:
>
> 23:45:51.856   Master/sound  Buffer size adjusted from 1280 to 908  
> (eff_cnt=760)
> 23:45:52.276   Master/sound  Buffer size adjusted from 1228 to 945  
> (eff_cnt=760)
> 23:45:52.596   Master/sound  Buffer size adjusted from 1265 to 897  
> (eff_cnt=760)
> 23:45:52.937   Master/sound  Buffer size adjusted from 1217 to 1021  
> (eff_cnt=730)
> 23:45:53.176   Master/sound  Buffer size adjusted from 1341 to 894  
> (eff_cnt=730)
> 23:45:53.496   Master/sound  Buffer size adjusted from 1214 to 997  
> (eff_cnt=730)
> 23:45:53.880   Master/sound  Buffer size adjusted from 1317 to 993  
> (eff_cnt=730)
> 23:45:54.236   Master/sound  Buffer size adjusted from 1313 to 858  
> (eff_cnt=730)
> 23:45:54.497   Master/sound  Buffer size adjusted from 1178 to 965  
> (eff_cnt=730)
> 23:45:54.758   Master/sound  Buffer size adjusted from 1285 to 996  
> (eff_cnt=730)
> 23:45:55.056   Master/sound  Buffer size adjusted from 1316 to 1103  
> (eff_cnt=707)
>
> This happens on the newly released Mac OS X 10.6, pjproject was  
> built on 10.5. By the way, we had the similar thing on 10.5 back in  
> 2008: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-March/002183.html
>
> Is it possible to do something from pjsua-lib user point of view? If  
> not, how can I help to resolve this issue?
>
> Alexei




[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