[Asterisk-bsd] Stack size in pthreads

Konstantin Prokazoff asterisk-bsd@lists.digium.com
Tue, 20 Jul 2004 18:06:23 +0300


Welcome everybody!

    Stil working under bugtracks 2068, 2089.
    With normal stack allocation, there are many different problems with RTP
(UDP). In my case VoicemailMain can't playback digits. ;)

BR,
    Oryx
----- Original Message -----
From: "Olle E. Johansson" <oej@edvina.net>
To: <asterisk-bsd@lists.digium.com>
Sent: Tuesday, July 20, 2004 5:36 PM
Subject: [Asterisk-bsd] Stack size in pthreads


> http://bugs.digium.com/bug_view_page.php?bug_id=0002067
>
> Seems like the default stack size for a native thread in FreeBSD is 64k,
> which is not enough for Asterisk. We need to make it higher.
>
> Questions:
> * In how many places of the source do we need to set the thread stacksize?
>
> * Is this needed for other BSD:s as well? What about Mac OS/X?
>
> Again, this is beyond my knowledge of programming, so we need help in
> coming through here. Raising the stack size made my crashes disappear.
>
> Join me in the bug tracker, now :-)
>
> And thank you Oryx, for a great job in providing us with fixes and
information.
>
> /O
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>