in reply to Re^4: Perl_croak_xs_usage problem
in thread Perl_croak_xs_usage problem
Well, print "hello\n" is enough to create the error msg
Really?
C:\test>perl -e"print qq[Hello world\n]" Hello world
Hm. No error message. What did I do wrong.
What perl did you have installed when you packaged the .par file? Is is possible that as a part of that packaging the .par file, you packaged up one or more dlls that are incompatible with your current Perl installation? And therefore when you run that .par, it unpacks that incompatible dll in such a way that it is found in preference to the equivalent dll that shipped with the installed version of perl?
In response to my explanation of how to discover which dll is the cause of the error, you told us
Just come from re-installing... No change! :-(
What did you reinstall?
Where to go from here ?
My suggestion would be to grab Process Explorer. Then re-run the .par file and when the error dialog with the error message is on-screen, switch to ProcExp and select "view->Lower Pane View->dlls", and "View->Show Lower Pane".
Then select the perl process running the .par file and click in the lower pane. Scroll the pane to the bottom and you will see all of the dlls being used by that process. If you mouse over perl510.dll you will get a tooltip showing you the full path to the dll that is failing to fulfill the Perl_croak_xs_usage() entrypoint.
I suspect that this will show that the perl510.dll in question is being unpacked from the .par file and is being loaded in preference to the perl510.dll that comes with your AS distribution. This is guesswork, but is the only thing I can think of (in the absence of the .par file and your installation), that might produce the symptoms you are describing.
You need to put some effort in and do some investigation. Saying print "hello\n" is enough to reproduce the problem belies the fact **THAT I HAVE AN ENTIRLEY DIFFERENT SET UP TO YOU AND THERFORE IT DOES NOT REPRODUCE ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Perl_croak_xs_usage problem
by markuhs (Scribe) on Oct 02, 2009 at 06:07 UTC | |
by BrowserUk (Patriarch) on Oct 02, 2009 at 07:55 UTC | |
by markuhs (Scribe) on Oct 02, 2009 at 08:31 UTC | |
by BrowserUk (Patriarch) on Oct 02, 2009 at 10:16 UTC | |
by markuhs (Scribe) on Oct 02, 2009 at 10:40 UTC | |
by markuhs (Scribe) on Oct 02, 2009 at 10:36 UTC | |
| |
by Anonymous Monk on Oct 02, 2009 at 08:30 UTC |