Assertion failure in today's SVN 20080407

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

 



Hello list,

An Mon, Apr 07, 2008, Benny PRIJONO schrieb:
>On Mon, Apr 7, 2008 at 11:28 AM, Michael CHRISTOPHER wrote:
>>  Here's another assertion failure that I found when running pjsua
>>  with PJ_CONFIG_MINIMAL_SIZE either set or not. In the source file
>>  pjlib/src/pj/ioqueue_common_abs.c:1200:
>>
>>   PJ_ASSERT_RETURN(allow || PJ_IOQUEUE_HAS_SAFE_UNREG, PJ_EINVAL);
>>
>>  ...prints 'pj_ioqueue_set_concurrency: Assertion `allow || 0' failed'
>>
>> [...]
>
>I think you must have PJ_IOQUEUE_HAS_SAFE_UNREG set to zero somewhere.
>This probably is not a good idea for now, so don't change the default
>value in your config_site.h.
>
I'm not setting PJ_IOQUEUE_HAS_SAFE_UNREG anywhere, just including
the config_site_sample.h according to the online getting started
example. My config_site.h (really all of it) is:

  #define PJ_CONFIG_MINIMAL_SIZE
  #include <pj/config_site_sample.h>

>I've just removed the PJ_IOQUEUE_HAS_SAFE_UNREG=0 setting in
>config_site_sample.h so that it doesn't cause problems.
>
That solved the assertion problem but hopefully doesn't
introduce some other limitation for which setting the identifier
to 0 would be useful. Thanks to Benny for the help with this one,
as I don't understand it that well.

Now the current SVN build runs again on Linux/ARM, but only without
TLS. See my next message for details.

Regards,
Michael



[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