Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006464 [Resin] minor always 03-11-22 10:02 07-27-22 21:57
Reporter nam View Status public  
Assigned To nam
Priority normal Resolution no change required  
Status closed   Product Version 4.0.66
Summary 0006464: openssl crash EXCEPTION_ACCESS_VIOLATION on windows 10
Description (rep by Nerine)

Crashes on Windows 10 but not on Windows 7.

#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000027a12802313, pid=2340, tid=0x0000000000001bac
#
# JRE version: OpenJDK Runtime Environment (8.0_322-b06) (build 1.8.0_322-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.322-b06 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [resinssl.dll+0x2313]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.caucho.vfs.OpenSSLFactory.setVerify(JLjava/lang/String;I)V+0
j com.caucho.vfs.OpenSSLFactory.initConfig()V+247
j com.caucho.vfs.OpenSSLFactory.create(Ljava/net/InetAddress;I)Lcom/caucho/vfs/QServerSocket;+30
j com.caucho.network.listen.TcpPort.bind()V+296
j com.caucho.cloud.network.NetworkListenSystem.start()V+55
j com.caucho.env.service.ResinSystem.startServices()V+93
j com.caucho.env.service.ResinSystem.start()V+316
j com.caucho.server.resin.Resin.start()V+139
j com.caucho.server.resin.Resin.initMain()V+184
j com.caucho.server.resin.Resin.main([Ljava/lang/String;)V+16
v ~StubRoutines::call_stub
Additional Information
Attached Files

- Relationships

- Notes
(0007093)
nam
07-27-22 21:57

The underlying issue is Exploit Protection in Windows Security. Exploit Protection protects against malicious applications but it may cause crashes in older applications. In Windows 10, it had aggressive settings on by default. But in Windows 11, Microsoft turned off some of those settings for compatibility. The settings in question is:

    1. Windows Security
    -> 2. App & Browser control
         -> 3. Exploit Protection
              -> 4a. Force randomization for images (Mandatory ASLR)
              -> 4b. High-entropy ASLR (Bottoms-up ASLR)

To prevent Resin from crashing, you will need to disable 4a or 4b. You may want to do this system-wide or just for the javaw.exe program that Resin uses to start itself up.
 

- Issue History
Date Modified Username Field Change
03-11-22 10:02 nam New Issue
07-27-22 21:57 nam Status new => assigned
07-27-22 21:57 nam Assigned To  => nam
07-27-22 21:57 nam Status assigned => closed
07-27-22 21:57 nam Note Added: 0007093
07-27-22 21:57 nam Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker