(tomcat) branch main updated (94891e2a56 -> e16bf11fdd)

2024-07-10 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


from 94891e2a56 Fix test configuration
 add e16bf11fdd Expand PRs workflow

No new revisions were added by this update.

Summary of changes:
 .github/workflows/ci.yml | 2 ++
 1 file changed, 2 insertions(+)


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[PR] Add OpenSSL FFM code [tomcat]

2024-07-10 Thread via GitHub


rmaucher opened a new pull request, #740:
URL: https://github.com/apache/tomcat/pull/740

   Also port the TLS testsuite improvements from 10.1.
   APR TLS testing uses only the OpenSSL parameter (and skips JSSE and OpenSSL 
FFM) to avoid looking weird while running only once.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Buildbot success in on tomcat-10.1.x

2024-07-10 Thread buildbot
Build status: Build succeeded!
Worker used: bb_worker2_ubuntu
URL: https://ci2.apache.org/#builders/44/builds/1322
Blamelist: Christopher Schultz , remm 

Build Text: build successful
Status Detected: restored build
Build Source Stamp: [branch 10.1.x] f44f0e6785c7b2b83ff5c8abcc59536231e58f1c


Steps:

  worker_preparation: 0

  git: 0

  shell: 0

  shell_1: 0

  shell_2: 0

  shell_3: 0

  shell_4: 0

  shell_5: 0

  compile: 1

  shell_6: 0

  shell_7: 0

  shell_8: 0

  shell_9: 0

  Rsync docs to nightlies.apache.org: 0

  shell_10: 0

  Rsync RAT to nightlies.apache.org: 0

  compile_1: 1

  shell_11: 0

  Rsync Logs to nightlies.apache.org: 0


-- ASF Buildbot


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



(tomcat) branch 10.1.x updated: Fix test configuration

2024-07-10 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
 new f44f0e6785 Fix test configuration
f44f0e6785 is described below

commit f44f0e6785c7b2b83ff5c8abcc59536231e58f1c
Author: remm 
AuthorDate: Wed Jul 10 20:37:47 2024 +0200

Fix test configuration
---
 test/org/apache/tomcat/util/net/TestSsl.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/org/apache/tomcat/util/net/TestSsl.java 
b/test/org/apache/tomcat/util/net/TestSsl.java
index 29316b0a3b..736f1e1072 100644
--- a/test/org/apache/tomcat/util/net/TestSsl.java
+++ b/test/org/apache/tomcat/util/net/TestSsl.java
@@ -232,6 +232,8 @@ public class TestSsl extends TomcatBaseTest {
 TesterSupport.initSsl(tomcat, TesterSupport.LOCALHOST_KEYPASS_JKS,
   null, TesterSupport.JKS_PASS_FILE, null, 
TesterSupport.JKS_KEY_PASS_FILE);
 
+TesterSupport.configureSSLImplementation(tomcat, 
sslImplementationName, useOpenSSL);
+
 tomcat.start();
 ByteChunk res = getUrl("https://localhost:"; + getPort() +
 "/examples/servlets/servlet/HelloWorldExample");


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



(tomcat) branch main updated: Fix test configuration

2024-07-10 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
 new 94891e2a56 Fix test configuration
94891e2a56 is described below

commit 94891e2a5684e392cc44c9163157f18f3e9c031b
Author: remm 
AuthorDate: Wed Jul 10 20:37:47 2024 +0200

Fix test configuration
---
 test/org/apache/tomcat/util/net/TestSsl.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/org/apache/tomcat/util/net/TestSsl.java 
b/test/org/apache/tomcat/util/net/TestSsl.java
index 29316b0a3b..736f1e1072 100644
--- a/test/org/apache/tomcat/util/net/TestSsl.java
+++ b/test/org/apache/tomcat/util/net/TestSsl.java
@@ -232,6 +232,8 @@ public class TestSsl extends TomcatBaseTest {
 TesterSupport.initSsl(tomcat, TesterSupport.LOCALHOST_KEYPASS_JKS,
   null, TesterSupport.JKS_PASS_FILE, null, 
TesterSupport.JKS_KEY_PASS_FILE);
 
+TesterSupport.configureSSLImplementation(tomcat, 
sslImplementationName, useOpenSSL);
+
 tomcat.start();
 ByteChunk res = getUrl("https://localhost:"; + getPort() +
 "/examples/servlets/servlet/HelloWorldExample");


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 69180] Windows Tomcat service crashes in certain cases

2024-07-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69180

--- Comment #2 from qoo...@gmail.com ---
Does it fail every time? If so, we might be able to get to the bottom of it,
especially if you can run a copy of procrun.exe with debug symbols and get a
proper backtrace.

- With the webapp attached, it does reproduce every time.

- I just built procrun.exe from source with debug information, replaced
Tomcat10.exe by the binary just built, and surprisingly it does not crash (both
1.4.0 tag and master),  so I can't tell. I didn't find the build configuration
you use, so I couldn't recreate the exact replica, though.


Did you get a full backtrace even if it's unreadable?

- How can I get it?

Are you using tcnative?

- Not that I know. This is a default installation using the installer just
downloaded from Tomcat's website, only changing the name of the service.

Have you run memtest86+ on your computer to make sure you don't have a hardware
problem?

- The problem is reproducible in different machines, including a VM, so I don't
think it's related to a hardware malfunction.

-- 
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



[Bug 69180] Windows Tomcat service crashes in certain cases

2024-07-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69180

Christopher Schultz  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #1 from Christopher Schultz  ---
0xc409 is "stack buffer overrun" and ntdll.dll is in the Windows kernel.

So it's possible that procrun is handing bad data to the kernel, but it can't
be very common that happens or we'd have reports of it all the time.

Does it fail every time? If so, we might be able to get to the bottom of it,
especially if you can run a copy of procrun.exe with debug symbols and get a
proper backtrace.

Did you get a full backtrace even if it's unreadable?

Are you using tcnative?

Have you run memtest86+ on your computer to make sure you don't have a hardware
problem?

-- 
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



Re: OpenSSL alternatives using FFM

2024-07-10 Thread Michael Osipov
On 2024/07/04 13:15:26 Rémy Maucherat wrote:
> Hi,
> 
> As an experiment, I tested with LibreSSL and BoringSSL on LInux using
> the FFM code. Both did not need too many API changes to start working,
> so I committed the changes to "add support" for them.
> 
> BoringSSL:

I wouldn't waste any time for BoringSSL: 
https://boringssl.googlesource.com/boringssl

> Although BoringSSL is an open source project, it is not intended for general 
> use, as OpenSSL is. We don't recommend that third parties depend upon it. 
> Doing so is likely to be frustrating because there are no guarantees of API 
> or ABI stability.

>From my PoV only OpenSSL and LibreSSL make sense.

Michael

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 69180] Windows Tomcat service crashes in certain cases

2024-07-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69180

jmalo...@opentext.com changed:

   What|Removed |Added

 OS||All
 CC||jmalo...@opentext.com

-- 
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



[Bug 69180] New: Windows Tomcat service crashes in certain cases

2024-07-10 Thread bugzilla
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: 0xc409
Fault offset: 0x0006d915
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