<div><br></div><div dir="auto"><br></div><div dir="auto">Have you tried 11.0.16.1? It fixes a C2 regression. </div><div dir="auto"><br><div dir="auto"><a href="https://bugs.openjdk.org/browse/JDK-8292260">https://bugs.openjdk.org/browse/JDK-8292260</a></div></div><div dir="auto"> </div><div dir="auto"><br></div><div dir="auto">Best regards</div><div dir="auto"> Sten</div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri 7. Oct 2022 at 16.00 Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com">thiago.sayao@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This specific crash (that I can always reproduce with java-11) does not happen with java-17.<div><br></div><div>Java 17:</div><div>openjdk 17.0.4 2022-07-19<br>OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-120.04)<br>OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-120.04, mixed mode, sharing)<br></div><div><br></div><div>Java 11:</div><div>openjdk 11.0.16 2022-07-19<br>OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu120.04)<br>OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui., 6 de out. de 2022 às 22:22, Kevin Rushforth <<a href="mailto:kevin.rushforth@oracle.com" target="_blank">kevin.rushforth@oracle.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
That seems odd, since it looks like a hotspot bug to me. It isn't
100% out of the question that something changed by that patch is
causing a memory corruption problem, but it's a very simple patch,
and I can't see anything in it that would explain this. Most likely,
this is a hotspot problem that is just being provoked, possibly one
that has been fixed. Have you tried it with JDK 19?<br>
<br>
-- Kevin<br>
<br>
<br>
<div>On 10/6/2022 11:29 AM, Johan Vos wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>That is a bit unexpected indeed, but not totally. We know
that there are things in the glass-gtk code that are subject
to improvement. To me, this seems one more reason to pick up
the work you started on <a href="https://github.com/openjdk/jfx/pull/367" target="_blank">https://github.com/openjdk/jfx/pull/367</a>
-- I'm willing to help with this.</div>
<div><br>
</div>
<div>- Johan</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Oct 6, 2022 at 8:11 PM
Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com" target="_blank">thiago.sayao@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi,<br>
<div><br>
</div>
<div>I found the offensor:</div>
<div><a href="https://github.com/openjdk/jfx/pull/598" target="_blank">https://github.com/openjdk/jfx/pull/598</a><br>
</div>
<div><br>
Reverting this patch stops the crash with java11.</div>
<div><br>
</div>
<div>It does not make any sense to me.</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Em qua., 5 de out. de 2022
às 17:10, Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com" target="_blank">thiago.sayao@gmail.com</a>>
escreveu:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I'm still experiencing crashes with javafx 19.</div>
<div><br>
</div>
<div>It happens with openjdk 11.0.16, and it's not
reproducible with openjdk 17 (but it does rarely
crash).<br>
</div>
<div><br>
</div>
<div>I cannot convince the team that it's not a
javafx-19 bug because downgrading back to javafx-16
stops the crash from happening.</div>
<div><br>
</div>
<div>I can reproduce by selecting an item on a TableView
that's inside a Dialog which is called by
showAndWait() and pressing ENTER</div>
<div> - this triggers the Dialog to close and return the
selected item. It does not crash when using the mouse
double-click.</div>
<div><br>
</div>
<div>Oddly enough it does not happen on JavaFX, but this
line causes the crash:</div>
<div><br>
</div>
<div>UUID cdVendaProduto =
Generators.timeBasedGenerator().generate(); //<a href="https://mvnrepository.com/artifact/com.fasterxml.uuid/java-uuid-generator" target="_blank">https://mvnrepository.com/artifact/com.fasterxml.uuid/java-uuid-generator</a></div>
<div><br>
</div>
<div>This line (unrelated to JavaFX) crashes with
JavaFX-19 and does not crash with JavaFX-16.</div>
<div><br>
</div>
<div>I Know this is very odd - and does not seem like a
JavaFX bug.</div>
<div><br>
</div>
<div>Running on IntelliJ idea (CRASHES - note that it
adds -XX:TieredStopAtLevel=1 -Xverify:none):</div>
<div>Command Line:
-agentlib:jdwp=transport=dt_socket,address=<a href="http://127.0.0.1:46069" target="_blank">127.0.0.1:46069</a>,suspend=y,server=n
-Xmx500m -Xms135m
-Djava.library.path=./libs/client/linux/x64:./libs/client/linux/x64/tef_simulado:/usr/local/lib
-Djavax.net.ssl.trustStore=./configuracoes/cacerts
-Djavax.net.ssl.trustStorePassword=changeit
-Dsun.awt.disablegrab=true -XX:TieredStopAtLevel=1
-Xverify:none -Dspring.output.ansi.enabled=always
-Dcom.sun.management.jmxremote
-Dspring.jmx.enabled=true
-Dspring.liveBeansView.mbeanDomain
-Dspring.application.admin.enabled=true
-javaagent:/home/tsayao/idea-IU-212.4746.92/plugins/java/lib/rt/debugger-agent.jar
-Dfile.encoding=UTF-8 br.com.clamed.frontend.Launcher<br>
</div>
<div><br>
</div>
<div>Running the jar:</div>
<div><br>
</div>
<div>#<br>
# A fatal error has been detected by the Java Runtime
Environment:<br>
#<br>
# SIGSEGV (0xb) at pc=0x00007f85cd377a8f,
pid=2049284, tid=2049339<br>
#<br>
# JRE version: OpenJDK Runtime Environment (11.0.16+8)
(build 11.0.16+8-post-Ubuntu-0ubuntu120.04)<br>
# Java VM: OpenJDK 64-Bit Server VM
(11.0.16+8-post-Ubuntu-0ubuntu120.04, mixed mode,
tiered, compressed oops, g1 gc, linux-amd64)<br>
# Problematic frame:<br>
# V [libjvm.so+0x5c5a8f]
ClassLoaderData::ChunkedHandleList::oops_do(OopClosure*)+0x5f<br>
#<br>
# Core dump will be written. Default location: Core
dumps may be processed with "/usr/share/apport/apport
-p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping
to
/home/tsayao/IdeaProjects/clamed-sistema-loja/core.2049284)<br>
#<br>
# If you would like to submit a bug report, please
visit:<br>
# <a href="https://bugs.launchpad.net/ubuntu/+source/openjdk-lts" target="_blank">https://bugs.launchpad.net/ubuntu/+source/openjdk-lts</a><br>
#<br>
<br>
--------------- S U M M A R Y ------------<br>
<br>
Command Line: -Xmx350m -Xms128m
-Djava.net.preferIPv4Stack=true
-Dsun.awt.disablegrab=true
-Djavax.net.ssl.trustStore=./configuracoes/cacerts
-Djavax.net.ssl.trustStorePassword=changeit
-Djava.library.path=/home/tsayao/IdeaProjects/clamed-sistema-loja/libs/client/linux/x64:/home/tsayao/IdeaProjects/clamed-sistema-loja/libs/client/linux/x64/tef_simulado
--add-modules=javafx.controls,javafx.fxml,javafx.web,javafx.swing,javafx.media
roda-na-loja/clamed-frontend-loja/target/fl.jar<br>
<br>
Host: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 8
cores, 7G, Ubuntu 20.04.4 LTS<br>
Time: Wed Oct 5 15:31:25 2022 -03 elapsed time:
106.086065 seconds (0d 0h 1m 46s)<br>
<br>
--------------- T H R E A D ---------------<br>
<br>
Current thread (0x00007f85980bd800): GCTaskThread "GC
Thread#3" [stack:
0x00007f85073a0000,0x00007f85074a0000] [id=2049339]<br>
<br>
Stack: [0x00007f85073a0000,0x00007f85074a0000],
sp=0x00007f850749ead0, free space=1018k<br>
Native frames: (J=compiled Java code, A=aot compiled
Java code, j=interpreted, Vv=VM code, C=native code)<br>
V [libjvm.so+0x5c5a8f]
ClassLoaderData::ChunkedHandleList::oops_do(OopClosure*)+0x5f<br>
V [libjvm.so+0x793999]
G1CLDScanClosure::do_cld(ClassLoaderData*)+0x39<br>
V [libjvm.so+0x5c8371]
ClassLoaderDataGraph::roots_cld_do(CLDClosure*,
CLDClosure*)+0x41<br>
V [libjvm.so+0x7b382b]
G1RootProcessor::process_java_roots(G1RootClosures*,
G1GCPhaseTimes*, unsigned int)+0x6b<br>
V [libjvm.so+0x7b3ebb]
G1RootProcessor::evacuate_roots(G1ParScanThreadState*,
unsigned int)+0x6b<br>
V [libjvm.so+0x75b5dc] G1ParTask::work(unsigned
int)+0xec<br>
V [libjvm.so+0xec387d] GangWorker::loop()+0x4d<br>
V [libjvm.so+0xe2a0f0] Thread::call_run()+0x140<br>
V [libjvm.so+0xbe7c6e]
thread_native_entry(Thread*)+0xee<br>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote></div>
</blockquote></div></div>