> No shared streams here, I'm afraid. The shared file open business just > lets you control whether or not other processes can also read and/or > write a file that you've just opened. Sort of like flock(), only > mandatory rather than advisory. > > And in my reply to Yves I showed exactly the same problem crops > up with plain old fopen() too. > > So presumably something is wrong somewhere in PerlIO-land that causes > the refcnt to be decremented too far, and this new croak() is simply > revealing a bug that has probably been there since the year dot? Possibly. Something is causing the refcnt to become out of sync. Have you tried setting $ENV{PERLIO_DEBUG} to point to a file? (The file will be overwritten with PerlIO's internal mumblings.)Thread Previous | Thread Next