Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-268

Prunsrv.exe crashes with Exception code: 0xc0000005

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • jsvc 1.0.15 DR1
    • jsvc
    • None
    • Overwrite files from jboss-eap-native-utils-6.4.18-win6.x86_64.

      EAP 6.4.0 windows service was installed using jboss-eap-native-utils-6.4.0. All the configurations are checked and confirmed to be correct. When stop window service is triggered, prunsrv.exe crashes with the following in the event viewer

      Faulting application name: prunsrv.exe, version: 1.0.15.0, time stamp: 0x51824c56
      Faulting module name: ntdll.dll, version: 6.3.9600.18233, time stamp: 0x56bb4ebb
      Exception code: 0xc0000005
      Fault offset: 0x0000000000035690
      Faulting process id: 0xe78
      Faulting application start time: 0x01d276a101aae086
      Faulting application path: C:\jboss-eap-6.4.0\modules\system\layers\base\native\sbin\prunsrv.exe
      Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
      Report Id: 16d5998c-e319-11e6-8136-005056b981af
      Faulting package full name:
      Faulting package-relative application ID:

      Window's service dialog showing 1053 error. However, the logs for EAP showing the server is shutting down successfully. Using procmon, we have noticed even though java.exe is marked as process exiting, it does not exit, it remains at exiting state, when using jstack to take thread dump, we get "Access Denied".

      In addition, Procmon shows
      java.exe – Exit Status: 0
      cmd.exe – Exit Status: 19660392
      prunsrv.exe – Exit Status: -1073741819

      This only happens on client site, they have two environments with the same issue. One of them is the production server.

        1. prunsrv_error.png
          prunsrv_error.png
          68 kB
        2. prunsrv_error.gif
          prunsrv_error.gif
          141 kB
        3. prunsrv-1.0.16.2.diff
          13 kB
        4. prunsrv_error.gif
          prunsrv_error.gif
          100 kB
        5. service.2017-10-05.log
          0.7 kB
        6. standalone.xml
          17 kB
        7. prunsrv-1.0.16.3.diff
          3 kB
        8. prunsrv-1.0.16.3-x64.zip
          190 kB
        9. prunsrv-1.0.16.3-x86.zip
          191 kB
        10. jakarta-commons-daemon-1.0.15-6.win6.x86_64.zip
          116 kB
        11. jakarta-commons-daemon-1.0.15-6.win6.i686.zip
          99 kB
        12. image001.jpg
          image001.jpg
          0.3 kB
        13. image002.png
          image002.png
          0.8 kB
        14. image003.gif
          image003.gif
          0.2 kB

              rhn-support-leiyu Lei Yu (Inactive)
              rhn-support-leiyu Lei Yu (Inactive)
              Peter Mackay Peter Mackay
              Votes:
              1 Vote for this issue
              Watchers:
              20 Start watching this issue

                Created:
                Updated:
                Resolved: