Google
  Web www.spinics.net

Is it a good idea to continue after Assertion fail?

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


Hello,

>>>>> 2006/11/14 12:26:28.670 H323 Cleaner    PWLib   Assertion fail:
>>>>> Transmit media thread did not terminate, file channels.cxx, line 708,
>>>>> Error=107
>>>>> 2006/11/14 12:26:28.671 H323 Cleaner    PWLib   Forcing
>>>>> termination of
>>>>> thread 0x2aaaaac250a0
...

-------- src/ptlib/unix/assert.cxx
  // Check for if stdin is not a TTY and just ignore the assert if so.
  if (!isatty(STDIN_FILENO)) {
    inAssert = FALSE;
    return;
  }
--------

IMHO it's better to "_exit(1)" or get default action from environment.

Regards,

Vyacheslav.

------------------------------------------------------------------------
Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To unsubscribe or
change your subscription options, goto
http://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------------------

[Open H.323]     [IETF SIP]     [Gnu Gatekeeper]     [Asterisk PBX]     [Fedora Linux]     [Gimp]     [Yosemite News]     [Yosemite Photos]     [Yosemite Campsites]     [ISDN Cause Codes]

Add to Google Powered by Linux