perlstart_08 has asked for the wisdom of the Perl Monks concerning the following question:
We are running Perl 5.8.8 on Windows 2008
We have a c++ application which uses perlembed to run perl scripts within C++ application. The code is proprietary so can't share the stack trace below Perl_call_sv.
The hang is seen below. Can you please help with any pointers to see why the thread is hung and any tracing mechanism to see the file name.
I tried to use PERLIO_DEBUG=test.txt but the problem is we are a multi threaded application; each thread is running different perl script and only the below thread is hung. test.txt contains traces from all the threads making debugging it more difficult.
ntdll!NtReadFile+0xa KERNELBASE!ReadFile+0x7a kernel32!ReadFile+0x59 msvcr80!putch+0x33b msvcr80!read+0x10e msvcr80!filbuf+0x8e msvcr80!fread_nolock_s+0x1ea msvcr80!fread_s+0x90 msvcr80!fread+0x18 libperl!PerlIO_setpos+0x38e libperl!Perl_reentrant_size+ libperl!Perl_runops_standard libperl!Perl_call_sv+0x780
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl 5.8.8 on Windows, Hang in I/O operations using perlembed
by BrowserUk (Patriarch) on Feb 15, 2014 at 18:43 UTC | |
|
Re: Perl 5.8.8 on Windows, Hang in I/O operations using perlembed (input)
by tye (Sage) on Feb 15, 2014 at 17:12 UTC | |
by tye (Sage) on Feb 15, 2014 at 17:46 UTC | |
|
Re: Perl 5.8.8 on Windows, Hang in I/O operations using perlembed
by bulk88 (Priest) on Feb 17, 2014 at 02:39 UTC | |
by perlstart_08 (Initiate) on Feb 17, 2014 at 18:47 UTC |