What steps will reproduce the problem?
1. ClearCase::Argv->ipc(1)
2. fork
3. exit the child, and run hostinfo in the parent
What is the expected output?
xxx: ClearCase 7.0.1.0-IFIX01 (SunOS 5.10 Generic_118833-24 sun4u)
What do you see instead?
Broken Pipe
Please use labels and text to provide additional information.
r301
Overloading fork to double the reference count would work once.
One should then also overload exec to divide it by two.
In any case, after two forks, the count would be wrong somewhere.
One could maybe give the user a function to set the reference count?
Otherwise, the workaround for now is to drop the count down to 0,
with ipc(0) on all the ClearCase::Argv objects plus the class itself.
Original issue reported on code.google.com by marc.girod on 5 May 2009 at 1:33
Original issue reported on code.google.com by
marc.girod
on 5 May 2009 at 1:33