adoptium / adoptium-support

For end-user problems reported with our binary distributions
Apache License 2.0
46 stars 15 forks source link

OSATE2 crash when AADL diagram is opened #613

Closed yahammou closed 1 year ago

yahammou commented 2 years ago

Please provide a brief summary of the bug

I am using OSATE2, when I try to read an AADL diagram file "xxxx.aadl_diagram" the window crashes and ask me to restart to fix the zoom but the restart keep showing the same error

Please provide steps to reproduce where possible

Open OSATE2 latest version

create an AADL project

create an AADL package

then create a minimal xxx.aadl file that could produce a diagram

generate the diagram

open it

Expected Results

I expect to see the diagram opening like the other files and behaving normally

Actual Results

Crash, the OSATE2 page zoom out and I am asked to restart OSATE2 to fix the issue. as long as the diagram is open the crash continues

What Java Version are you using?

openjdk version "11.0.16" 2022-07-19 OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu120.04) OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)

What is your operating system and platform?

Ubuntu x86_64 GNU/Linux

How did you install Java?

used a binary archive tar.gz

Did it work before?

No

Did you test with other Java versions?

/usr/lib/jvm/oracle-java8-jdk-amd64/jre/bin/java

Relevant log output

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fc4afbe98fe, pid=64282, tid=64283
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.3+7 (17.0.3+7) (build 17.0.3+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.3+7 (17.0.3+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgtk-3.so.0+0x39a8fe]
#
# 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/xxxx/core.64282)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -Dosgi.requiredJavaVersion=1.17 -Dosgi.framework.extensions=org.eclipse.fx.osgi -Xms40m -Xmx768m --add-modules=ALL-SYSTEM /home/xxxx/osate2//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /home/xxxx/osate2/osate -name Osate --launcher.library /home/xxxx/osate2//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.400.v20211117-0650/eclipse_11600.so -startup /home/xxxx/osate2//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.overrideVmargs -exitdata 58029 -vm /home/xxxx/osate2//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.3.v20220515-1416/jre/bin/java -vmargs -Dosgi.requiredJavaVersion=1.17 -Dosgi.framework.extensions=org.eclipse.fx.osgi -Xms40m -Xmx768m --add-modules=ALL-SYSTEM -jar /home/xxxx/osate2//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

Host: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz, 16 cores, 31G, Ubuntu 20.04.5 LTS
Time: Sun Oct 30 02:38:55 2022 CEST elapsed time: 22.225946 seconds (0d 0h 0m 22s)

/sys/kernel/mm/transparent_hugepage/enabled: always [madvise] never
/sys/kernel/mm/transparent_hugepage/defrag (defrag/compaction efforts parameter): always defer defer+madvise [madvise] never

Process Memory:
Virtual Size: 8995924K (peak: 9005424K)
Resident Set Size: 934964K (peak: 934964K) (anon: 829232K, file: 99920K, shmem: 5812K)
Swapped out: 0K
C-Heap outstanding allocations: 96354K

/proc/sys/kernel/threads-max (system-wide limit on the number of threads): 254165
/proc/sys/vm/max_map_count (maximum number of memory map areas a process may have): 65530
/proc/sys/kernel/pid_max (system-wide limit on number of process identifiers): 4194304

container (cgroup) information:
container_type: cgroupv1
cpu_cpuset_cpus: 0-15
cpu_memory_nodes: 0
active_processor_count: 16
cpu_quota: no quota
cpu_period: 100000
cpu_shares: no shares
memory_limit_in_bytes: unlimited
memory_and_swap_limit_in_bytes: unlimited
memory_soft_limit_in_bytes: unlimited
memory_usage_in_bytes: 4952559616
memory_max_usage_in_bytes: 8906694656
maximum number of tasks: unlimited
current number of tasks: 553

Steal ticks since vm start: 0
Steal ticks percentage since vm start:  0,000

CPU: total 16 (initial active 16) (8 cores per cpu, 2 threads per core) family 6 model 141 stepping 1 microcode 0x3e, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, avx512f, avx512dq, avx512cd, avx512bw, avx512vl, sha, fma, vzeroupper, avx512_vpopcntdq, avx512_vpclmulqdq, avx512_vaes, avx512_vnni, clflush, clflushopt, clwb, avx512_vbmi2, avx512_vbmi
CPU Model and flags from /proc/cpuinfo:
model name  : 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 invpcid_single cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear flush_l1d arch_capabilities

Online cpus: 0-15
Offline cpus: 
BIOS frequency limitation: <Not Available>
Frequency switch latency (ns): 0
Available cpu frequencies: <Not Available>
Current governor: powersave
Core performance/turbo boost: <Not Available>

Memory: 4k page, physical 32599184k(23796252k free), swap 2097148k(2097148k free)
Page Sizes: 4k

vm_info: OpenJDK 64-Bit Server VM (17.0.3+7) for linux-amd64 JRE (17.0.3+7), built on Apr 19 2022 21:30:15 by "" with gcc 10.3.0

END.
karianna commented 2 years ago

Hi @yahammou You stated you're using ubuntu Java 11.0.16, but the crash log is from Temurin 17.0.3, which I suspect is bundled with the app you are using? You can try to install 17.0.5 from adoptium.net and update the config of your app to use that instead.

github-actions[bot] commented 1 year ago

We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable. It will be closed soon unless the stale label is removed by a committer, or a new comment is made.