<div dir="ltr">Hi,<br><div><br></div><div>I found the offensor:</div><div><a href="https://github.com/openjdk/jfx/pull/598">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">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>