rDSN icon indicating copy to clipboard operation
rDSN copied to clipboard

hpc_logger lost last lines when core

Open qinzuoyan opened this issue 9 years ago • 2 comments

when using hpc_logger, if coredump, the last (also the most important) lines will lost because not flushed.

qinzuoyan avatar Jan 13 '16 06:01 qinzuoyan

Windows allows register an exception handler via ::SetUnhandledExceptionFilter(TopLevelFilter); I'm not sure how Linux does this. If you can register a handler which calls ::dsn::tools::sys_exit.execute(SYS_EXIT_EXCEPTION), then the issue should be fixed.

imzhenyu avatar Jan 13 '16 06:01 imzhenyu

So this is fixed and we may close the issue? @shengofsun @qinzuoyan

imzhenyu avatar Feb 19 '16 07:02 imzhenyu