https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=748
Summary: Log race can fill disk
Product: OCL
Version: 1.10.1
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P1
Component: Deployment
AssignedTo: orocos-dev [..] ...
ReportedBy: alex [dot] stark [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
The deployer gets confused or stuck trying to unload a component. It spews
vast numbers of log messages, easily filling a hard disk and potentially
damaging the host system. Messages are of the form:
0.339 [ ERROR ][DeploymentComponent::stopComponents] Could not stop loaded
Component XXXX
...
0.340 [ ERROR ][Activity] Could not unload Component XXXX: still running.
0.340 [ ERROR ][Activity] Could not unload Component XXXX: still running.
0.340 [ ERROR ][Activity] Could not unload Component XXXX: still running.
0.340 [ ERROR ][Activity] Could not unload Component XXXX: still running.
0.340 [ ERROR ][Activity] Could not unload Component XXXX: still running.
...
13.324 [ ERROR ][Activity] Could not unload Component XXXX: still running.
[Bug 748] Log race can fill disk
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=748
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peter [..] ...
Resolution| |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Peter Soetens <peter [..] ...> 2010-01-23 15:52:56 ---
(In reply to comment #0)
> The deployer gets confused or stuck trying to unload a component. It spews
> vast numbers of log messages, easily filling a hard disk and potentially
> damaging the host system. Messages are of the form:
>
> 0.339 [ ERROR ][DeploymentComponent::stopComponents] Could not stop loaded
> Component XXXX
> ...
> 0.340 [ ERROR ][Activity] Could not unload Component XXXX: still running.
> 0.340 [ ERROR ][Activity] Could not unload Component XXXX: still running.
> 0.340 [ ERROR ][Activity] Could not unload Component XXXX: still running.
> 0.340 [ ERROR ][Activity] Could not unload Component XXXX: still running.
> 0.340 [ ERROR ][Activity] Could not unload Component XXXX: still running.
> ...
> 13.324 [ ERROR ][Activity] Could not unload Component XXXX: still running.
Major bug in unloadComponents() not taking a return value in account in a loop.
Fixed on all branches>=1.10
Peter