From: pug Date: Tue, 7 Jun 2011 14:02:19 +0000 (+0000) Subject: Removed additional backtrace information in FIFORunner at watchdog Error event. X-Git-Url: http://g0dil.de/git?p=senf.git;a=commitdiff_plain;h=838c26a04f4ff76694a67c7726ad4b6b626982e7 Removed additional backtrace information in FIFORunner at watchdog Error event. This leads to segmentation faults when short watchdog timeouts are used and is reproduceable (see netbed Bug #180 for additional infos and coredump). This is a temporary fix and has to be evaluated later. Might even be a Bug in glibc exception backtrace. git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1791 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Scheduler/FIFORunner.cc b/senf/Scheduler/FIFORunner.cc index 295e10e..03a5777 100644 --- a/senf/Scheduler/FIFORunner.cc +++ b/senf/Scheduler/FIFORunner.cc @@ -289,7 +289,7 @@ prefix_ void senf::scheduler::detail::FIFORunner::watchdogError() senf::IGNORE( write(1, pid, 6) ); senf::IGNORE( write(1, "): ", 3) ); senf::IGNORE( write(1, runningName_.c_str(), runningName_.size()) ); - senf::IGNORE( write(1, " at\n ", 3) ); +/* senf::IGNORE( write(1, " at\n ", 3) ); #ifdef SENF_BACKTRACE static char const hex[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; @@ -303,7 +303,7 @@ prefix_ void senf::scheduler::detail::FIFORunner::watchdogError() senf::IGNORE( write(1, &(hex[ (v ) & 0x0f ]), 1) ); } } -#endif +#endif*/ senf::IGNORE( write(1, "\n", 1) ); #ifdef SENF_BACKTRACE