Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Perl Crash attempting to run Tcl code (depends.exe)

by Anonymous Monk
on May 21, 2013 at 02:14 UTC ( [id://1034443]=note: print w/replies, xml ) Need Help??


in reply to Perl Crash attempting to run Tcl code

Any ideas?

try depends.exe Ctrl+O perl.exe , F7 ...foo.pl to see a LoadLibrary trace, might have more info

or from commandline depends.exe /c /f:1 /pb /ot:temp.txt ...perl.exe foo.pl

Or try the same thing (windbg) with WinDbg

Usually you can pinpoint the module name (dll) and or function where the crash happens

  • Comment on Re: Perl Crash attempting to run Tcl code (depends.exe)

Replies are listed 'Best First'.
Re^2: Perl Crash attempting to run Tcl code (depends.exe)
by bkobs39 (Acolyte) on May 21, 2013 at 12:25 UTC

    Thanks for the tip on running depends.exe, here is the error:
    Second chance exception 0xC0000005 (Access Violation) occurred at address 0x7425C9F1. Exited "PERL.EXE" (process 0x186C) with code 255 (0xFF).

    Does that mean anything or should I post the entire output of depends.exe?

      Just found this in the depends.exe output as well: LoadLibraryExW("Tools/dp42.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x69100000.
      GetProcAddress(0x69100000 DP42.DLL, "Dp_Init") called from "TKKIT.DLL" at address 0x0076FB21 and returned 0x69104930.
      GetProcAddress(0x69100000 DP42.DLL, "Dp_SafeInit") called from "TKKIT.DLL" at address 0x0076FB21 and returned 0x69104A50.
      GetProcAddress(0x69100000 DP42.DLL, "Dp_Unload") called from "TKKIT.DLL" at address 0x0076FB21 and returned NULL. Error: The specified procedure could not be found (127).
      GetProcAddress(0x69100000 DP42.DLL, "_Dp_Unload") called from "TKKIT.DLL" at address 0x0076FB54 and returned NULL. Error: The specified procedure could not be found (127).
      GetProcAddress(0x69100000 DP42.DLL, "Dp_SafeUnload") called from "TKKIT.DLL" at address 0x0076FB21 and returned NULL. Error: The specified procedure could not be found (127).
      GetProcAddress(0x69100000 DP42.DLL, "_Dp_SafeUnload") called from "TKKIT.DLL" at address 0x0076FB54 and returned NULL. Error: The specified procedure could not be found (127).

      Do I need to add the package to the tkkit.dll file?

        I was able to solve the problem by setting the environment variable:
        set PERL_TCL_DL_PATH=C:\Tcl\bin\tcl85.dll

        Thanks all for the help!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-24 03:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found