https://bz.apache.org/bugzilla/show_bug.cgi?id=69180

            Bug ID: 69180
           Summary: Windows Tomcat service crashes in certain cases
           Product: Tomcat 10
           Version: 10.1.25
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Packaging
          Assignee: dev@tomcat.apache.org
          Reporter: qoo...@gmail.com
  Target Milestone: ------

Created attachment 39799
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39799&action=edit
Maven project demonstrating how to cause the  problem

Tomcat service in Windows crashes when certain java code is executed. This may
be related to Commons Daemon in conjunction with specific java code. The
problem does not only occur when the code attached is executed, but this is the
only simple way I found to recreate it.

The same code works with Tomcat 10.1.24 (which uses Commons Daemon 1.3.4, if
I'm not wrong).

Environment:

- Windows 11 (but also occurs with Windows Server 2019)
- JRE: IBM Semeru Runtime Open Edition (JDK) 17.0.7+7 (also occurs with
17.0.11+9)

Steps to reproduce:

1. Download 10.1.25 Windows Installer from
https://tomcat.apache.org/download-10.cgi and install it.
2. Uncompress and build the attached maven project (helloworldsvg.zip).
3. Deploy the war file generated in step 2 onto the Tomcat installed in 1.
4. Visit http://localhost:8080/helloworldsvg

No significant messages are written in the log files, and the error shown in
the even viewer is as follows:

Faulting application name: Tomcat10125.exe, version: 1.4.0.0, time stamp:
0x664770c7
Faulting module name: ntdll.dll, version: 10.0.22621.3733, time stamp:
0x67ca8829
Exception code: 0xc0000409
Fault offset: 0x000000000006d915
Faulting process id: 0x0xCF60
Faulting application start time: 0x0x1DAD29C07116CFB
Faulting application path: C:\Program Files\Apache Software Foundation\Tomcat
10.1_Tomcat10125\bin\Tomcat10125.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 59f71851-e580-428b-84ce-d1ac220970f4
Faulting package full name: 
Faulting package-relative application ID:

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to