Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Perl_croak_xs_usage problem

by markuhs (Scribe)
on Oct 01, 2009 at 15:44 UTC ( #798675=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl_croak_xs_usage problem
in thread Perl_croak_xs_usage problem

Just come from re-installing...
No change! :-(

Why should PAR work until last week and today it does not anymore?


Comment on Re^2: Perl_croak_xs_usage problem
Re^3: Perl_croak_xs_usage problem
by Anonymous Monk on Oct 01, 2009 at 17:03 UTC
    I'm seeing exactly the same problem, your not alone on this one :(
Re^3: Perl_croak_xs_usage problem
by BrowserUk (Pope) on Oct 01, 2009 at 17:10 UTC

    At the risk of stating the obvious, something changed!

    Without access to the .par in question and your system, diagnosis is impossible. Ie. You're the only one who can work out what is going on.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Well, print "hello\n" is enough to create the error msg I would send the .par if I could figure out how to stick it in here! pp --version Set up gcc environment - 3.4.5 (mingw-vista special r3) PAR Packager, version 0.991 (PAR version 0.994) perl -v This is perl, v5.10.1 built for MSWin32-x86-multi-thread Where to go from here ?
        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?

        1. The same version of Perl--why would that make things change?
        2. The same pre-packaged .par file--ditto!
        3. Both?
        4. The OS?
        5. The carburetor on your motorbike?
        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 ...


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://798675]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2014-07-23 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (139 votes), past polls