----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3765/#review12609 -----------------------------------------------------------
ast_assert() already outputs a backtrace using ao2_bt() even if DO_CRACH is not enabled. We also seem to have two backtrace generation functions: ao2_bt() ast_log_bactrace() - rmudgett On July 13, 2014, 3:05 p.m., Scott Griepentrog wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviewboard.asterisk.org/r/3765/ > ----------------------------------------------------------- > > (Updated July 13, 2014, 3:05 p.m.) > > > Review request for Asterisk Developers. > > > Repository: Asterisk > > > Description > ------- > > On an invalid refcount, rather than just log the message and continue > executing normally, provide a backtrace and an assert to stop on DO_CRASH. > This can help to catch the first case of an invalid refcount rather than > being distracted from the problem with a flurry additional logs from other > threads encountering already mangled data. > > > Diffs > ----- > > /trunk/main/astobj2.c 418447 > > Diff: https://reviewboard.asterisk.org/r/3765/diff/ > > > Testing > ------- > > > Thanks, > > Scott Griepentrog > >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev