Perl CGI Script Crashes app PoolRSS

3 replies

Last post Jul 01, 2020 02:33 AM by Yuk Ding

  • Perl CGI Script Crashes app Pool

    Jun 29, 2020 09:13 PM|hgonzalez@|LINK

    I am trying to run a Perl CGI Script, i am running it on a windows server 2016 using IIS 10.

    when i try to run the script my DefaultApp Pool crashes.

    in the even viewer i get the error report:

    Faulting application name: w3wp.exe, version: 10.0.14393.0, time stamp: 0x57899135
    Faulting module name: cgi.dll, version: 10.0.14393.2758, time stamp: 0x5c304bde
    Exception code: 0xc0000005
    Fault offset: 0x00004d5c
    Faulting process id: 0x1558
    Faulting application start time: 0x01d64e5709155873
    Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
    Faulting module path: C:\Windows\System32\inetsrv\cgi.dll
    Report Id: d0a6daac-62f0-4a9b-bc9f-9d798dbd66ce
    Faulting package full name:
    Faulting package-relative application ID:

    With the following information message:

    Fault bucket , type 0
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0

    Problem signature:
    P1: w3wp.exe
    P2: 10.0.14393.0
    P3: 57899135
    P4: cgi.dll
    P5: 10.0.14393.2758
    P6: 5c304bde
    P7: c0000005
    P8: 00004d5c
    P9:
    P10:

    Attached files:

    These files may be available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_w3wp.exe_4ef4714ff31d9421d2f2b026b432c44a782de559_fd038983_5ace3983

    Analysis symbol:
    Rechecking for solution: 0
    Report Id: d0a6daac-62f0-4a9b-bc9f-9d798dbd66ce
    Report Status: 4100
    Hashed bucket:

    What can be causing my app to crash?

  • Re: Perl CGI Script Crashes app Pool

    Jun 30, 2020 05:15 AM|Yuk Ding|LINK

    Hi hgonzalez,

    I remembered when we deploy pel in IIS, it use script map handler instead of module mapping cgi module.

    • Request path: *.pl
    • Executable: C:\perl\bin\perl.exe “%s” %s (where ‘C:perl’ is the location where you extracted the Perl binaries)
    • Name: Perl-pl

    So did you create handler correctly?

    Besides, have you tried to enable 32-bit application?

    Best Regards,

    Jokies Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.
  • Re: Perl CGI Script Crashes app Pool

    Jun 30, 2020 02:22 PM|hgonzalez@|LINK

    I did create a script map handler for .cgi and one for *.pl and 32- bit applications is set to true.

    The first script that i run is a .cgi script and it works, it is a log in page. but, once i try to log in it goes to a "the site cant be reached page" even stopping my application pool sometimes.

  • Re: Perl CGI Script Crashes app Pool

    Jul 01, 2020 02:33 AM|Yuk Ding|LINK

    Hi hgonzalez,

    It is strange that login return site can't be reached instead of something like 500 error. Did you see any application event that contain the exception? It  is important to know what exception caused this issue.

    Best Regards,

    Jokies Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.