Configure sofia-sip with --enable-ndebug
What is the best way to pass --enable-ndebug option (without editing FS files) to sofia-sip configure script? I'm getting FS crashes from time to time because of assertion failure in soa lib.
Why are you doing this? /b On Apr 21, 2010, at 1:14 PM, Sergey Okhapkin wrote:
What is the best way to pass --enable-ndebug option (without editing FS files) to sofia-sip configure script?
I'm getting FS crashes from time to time because of assertion failure in soa lib.
--enable-ndebug configure option will turn off assert() macros in sofia lib. On Wednesday 21 April 2010, Brian West wrote:
Why are you doing this?
/b
On Apr 21, 2010, at 1:14 PM, Sergey Okhapkin wrote:
What is the best way to pass --enable-ndebug option (without editing FS files) to sofia-sip configure script?
I'm getting FS crashes from time to time because of assertion failure in soa lib.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
If you're hitting an assert you're hitting it for a reason... can you elaborate what exactly you'e doing that is asserting? /b On Apr 21, 2010, at 1:34 PM, Sergey Okhapkin wrote:
--enable-ndebug configure option will turn off assert() macros in sofia lib.
On Wednesday 21 April 2010, Brian West wrote:
Why are you doing this?
/b
Assertion is fired in soa/soa_static.c, line 1036. for (j = 0, um = user->sdp_media; j != s2u[i]; um = um->m_next, j++) assert(um); if (um == NULL) { if (dryrun) return 1; According to gdb dryrun is 1, um could be 0. Seems like happens on reinvites. May be on fallback from t38 back to G711u. BTW, windows build is done with -DNDENUG, asserts are disabled. On Wednesday 21 April 2010, Brian West wrote:
If you're hitting an assert you're hitting it for a reason... can you elaborate what exactly you'e doing that is asserting?
/b
On Apr 21, 2010, at 1:34 PM, Sergey Okhapkin wrote:
--enable-ndebug configure option will turn off assert() macros in sofia lib.
On Wednesday 21 April 2010, Brian West wrote:
Why are you doing this?
/b
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Can you get me the sip traffic that causes this? /b On Apr 21, 2010, at 1:56 PM, Sergey Okhapkin wrote:
Assertion is fired in soa/soa_static.c, line 1036.
for (j = 0, um = user->sdp_media; j != s2u[i]; um = um->m_next, j++) assert(um); if (um == NULL) { if (dryrun) return 1;
According to gdb dryrun is 1, um could be 0. Seems like happens on reinvites. May be on fallback from t38 back to G711u.
BTW, windows build is done with -DNDENUG, asserts are disabled.
participants (2)
-
Brian West
-
Sergey Okhapkin