Crash when unplug headphones mac.

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

 



Hi Mr. Gecko,

Is this before or after r3404? (See ticket #1195:
http://trac.pjsip.org/repos/ticket/1195)

Regards,
Ming

On Tue, Feb 8, 2011 at 3:22 AM, Mr. Gecko <grmrgecko at gmail.com> wrote:
> Ok, So I'm now going through and debugging it. I found that it only crashes when your in a call or after a call. I haven't been able to crash it (recently) when I first start it.
>
> In the debugger, it looks like this thread has been used before for the same thing because the name of the thread is cureaudio when it hasn't set up the name. It crashes when it tries to register in output_renderer on line 907 of coreaudio_dev.c. The crash is of course caused by failed assertion `thread->signature1 != 0xDEAFBEEF || thread->signature2 != 0xDEADC0DE || (thread->thread == pthread_self())'.
> Signature1 is equal to 3736059631
> Signature2 is equal to 3735929054
> I wouldn't know how to convert that to hex, but I'm sure you guys can figure it out. Maybe int something = the value; printf("%x", something); This looks like it's starting a new thread to call output_renderer, I don't know where from as it seems it exited that function by the time it crashed.
>
> 12:48:34.932 ? ? ? MGMSIP.m ?Call 0 disconnected reason 200 (Normal call clearing)
> ../src/pj/os_core_unix.c:405: failed assertion `thread->signature1 != 0xDEAFBEEF || thread->signature2 != 0xDEADC0DE || (thread->thread == pthread_self())'
>
> Hopefully this can help you figure it out. If I need to finish my example project and have it login to an account and start a call for you to figure it out, I can.
> _______________________________________________
> 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