-
Notifications
You must be signed in to change notification settings - Fork 577
write(FH) on closed FH cuases segv #2977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From @mjdominusCreated by @mjdominusThe write() itself doesn't cause the segv; it's just silently I tried to fix it, but it turned out to be more complicated than I --- t/op/misc.t 2000/12/10 19:48:23 1.1 Perl Info
|
From [Unknown Contact. See original ticket]<mjd@plover.com> writes:
Having just visited the format code to make it utf8 aware I am not It is just possible that it got fixed as a result of what I did, Thanks for the test though.
|
From @mjdominus
I really doubt it. It has to do with perl getting a NULL stream if (IoLINES_LEFT(io) >= 0 && IoPAGE(io) > 0) I tried guarding this with a test for null 'ofp': if (IoLINES_LEFT(io) >= 0 && IoPAGE(io) > 0) but that wasn't enough; there's something else going on also. I Anyway, I don't think it was your fault, and just to be sure, I |
From [Unknown Contact. See original ticket]Mark-Jason Dominus <mjd@plover.com> writes:
I guessed as much - which is why I think it may be fixed ;-)
I am sure it wasn't my fault - I have never been near that code before ... :-) |
From @mjdominus
Sorry; I somehow read 'broken' where you had 'fixed'. The rest of my |
From @jhiOn Mon, Dec 11, 2000 at 10:39:35AM -0500, Mark-Jason Dominus wrote:
I tried it out and it doesn't seem to be fixed yet... |
From @cpansproutThe crash was fixed in 7ef822c, but ticket #17099 says there is -- Father Chrysostomos |
Migrated from rt.perl.org#4893 (status was 'resolved')
Searchable as RT4893$
The text was updated successfully, but these errors were encountered: