Closed GoogleCodeExporter closed 9 years ago
Ah, good find. Do you have a proposed fix? I wonder why this hasn't bitten us
before. Maybe we don't typically fatal-log in global destructors?
Original comment by csilv...@gmail.com
on 2 Nov 2011 at 1:30
Looks like the fix is to not call exit from any terminal check. So pretty much
convert all calls to exit in logging.h to _exit.
Original comment by chapp...@gmail.com
on 2 Nov 2011 at 3:26
Makes sense. I can't think of any downside to this, though that doesn't mean
there aren't any. Would you like to draw up a patch? (btw, I can't remember
if you've signed the CLA already or not.)
Original comment by csilv...@gmail.com
on 2 Nov 2011 at 3:39
Original comment by csilv...@gmail.com
on 4 Nov 2011 at 9:35
This should be fixed in perftools 1.9, just released. I changed the code to
call abort() everywhere, rather than abort() in some places and exit() in
others. I think the exit() calls were just errors.
Original comment by csilv...@gmail.com
on 23 Dec 2011 at 12:50
Original issue reported on code.google.com by
chapp...@gmail.com
on 1 Nov 2011 at 5:09