in reply to Perl 5.8.8 on Windows, Hang in I/O operations using perlembed

Windows's ReadFile() is waiting for data to arrive. It looks like a very mundane situation. You don't say anything about what kind of construct you are trying to read from so nobody is likely to be able to tell you more than just that.

- tye        

  • Comment on Re: Perl 5.8.8 on Windows, Hang in I/O operations using perlembed (input)

Replies are listed 'Best First'.
Re^2: Perl 5.8.8 on Windows, Hang in I/O operations using perlembed (PerlIO_func)
by tye (Sage) on Feb 15, 2014 at 17:46 UTC

    Actually, I take that back. I don't see any correct way for PerlIO_setpos() to end up calling fread().

    My first guess is that the pointers in a PerlIO_func struct got shifted or you are using parts of multiple, incompatible versions of Perl so that an attempt to call the function held in the PerlIO_func.Seek slot actually ends up calling the code that should be pointed at by the PerlIO_func.Read slot.

    - tye