Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dacapo-sunflow_0_FAILED Segmentation error vmState=0x00051aff #16834

Closed
JasonFengJ9 opened this issue Mar 6, 2023 · 9 comments · Fixed by eclipse/omr#6926
Closed

dacapo-sunflow_0_FAILED Segmentation error vmState=0x00051aff #16834

JasonFengJ9 opened this issue Mar 6, 2023 · 9 comments · Fixed by eclipse/omr#6926
Assignees
Labels
comp:jit segfault Issues that describe segfaults / JVM crashes test failure

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Mar 6, 2023

Failure link

From an internal build(macaarch64rt2):

java version "11.0.19" 2023-04-18
IBM Semeru Runtime Certified Edition 11.0.19+4 (build 11.0.19+4)
Eclipse OpenJ9 VM 11.0.19+4 (build master-ec981665a, JRE 11 Mac OS X aarch64-64-Bit 20230303_230 (JIT enabled, AOT enabled)
OpenJ9   - ec981665a
OMR      - d5af8d16e
JCL      - 66af94dab5 based on jdk-11.0.19+4)

Rerun in Grinder - Change TARGET to run only the failed test targets.

Optional info

Failure output (captured from console output)

[2023-03-04T03:13:43.624Z] variation: NoOptions
[2023-03-04T03:13:43.624Z] JVM_OPTIONS:  

[2023-03-04T03:13:44.189Z] TESTING:
[2023-03-04T03:13:44.189Z] Using scaled threading model. 8 processors detected, 8 threads used to drive the workload, in a possible range of [1,256]
[2023-03-04T03:13:44.599Z] ===== DaCapo 9.12-MR1 sunflow starting =====
[2023-03-04T03:13:45.429Z] Unhandled exception
[2023-03-04T03:13:45.429Z] Type=Segmentation error vmState=0x00051aff
[2023-03-04T03:13:45.429Z] J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000002
[2023-03-04T03:13:45.429Z] Handler1=000000010072E8C4 Handler2=0000000100564FF0 InaccessibleAddress=2E31314D2C302E32
[2023-03-04T03:13:45.429Z] x0=0000000000000004 x1=000000016FFCCBB8 x2=0000000000000000 x3=000000016FFCD060
[2023-03-04T03:13:45.429Z] x4=0000000000000000 x5=000000016FFCCED0 x6=0000000000000032 x7=0000000000000A60
[2023-03-04T03:13:45.429Z] x8=0000000000000000 x9=EC9BD4335C460020 x10=0000000000000200 x11=0000000000000003
[2023-03-04T03:13:45.429Z] x12=0000000000000003 x13=000000016FFCCBB5 x14=0000000101CF9787 x15=0000000000000000
[2023-03-04T03:13:45.429Z] x16=0000000183E08B74 x17=00000001DDE61C58 x18=0000000000000000 x19=2E31314D2C302E32
[2023-03-04T03:13:45.429Z] x20=0000000000000001 x21=000000011308AD34 x22=0000000113000000 x23=000000016FFCCF18
[2023-03-04T03:13:45.429Z] x24=0000000113000000 x25=0000000000000003 x26=00000000FFF80000 x27=00000001130E00C0
[2023-03-04T03:13:45.429Z] x28=000000016FFCE9D8 x29(FP)=000000016FFD58F0 x30(LR)=00000001019382E4 x31(SP)=000000016FFCCED0
[2023-03-04T03:13:45.429Z] PC=00000001019382E4 SP=000000016FFCCED0
[2023-03-04T03:13:45.429Z] v0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.429Z] v1 6c706d6153746567 (f: 1400137088.000000, d: 2.212087e+214)
[2023-03-04T03:13:45.430Z] v2 6c666e75732f6772 (f: 1932486528.000000, d: 1.510306e+214)
[2023-03-04T03:13:45.430Z] v3 53676e6964616853 (f: 1684105344.000000, d: 6.109490e+93)
[2023-03-04T03:13:45.430Z] v4 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v5 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v20 ffffffffffffffff (f: 4294967296.000000, d: nan)
[2023-03-04T03:13:45.430Z] v21 ffffffffffffffff (f: 4294967296.000000, d: nan)
[2023-03-04T03:13:45.430Z] v22 ffffffffffffffff (f: 4294967296.000000, d: nan)
[2023-03-04T03:13:45.430Z] v23 ffffffffffffffff (f: 4294967296.000000, d: nan)
[2023-03-04T03:13:45.430Z] v24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] v31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-03-04T03:13:45.430Z] Module=/Users/jenkins/workspace/Test_openjdk11_j9_extended.perf_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/lib/default/libj9jit29.dylib
[2023-03-04T03:13:45.430Z] Module_base_address=00000001015F0000 Symbol=_ZN2TR11SimpleRegex5matchEPS0_R15TR_ByteCodeInfob
[2023-03-04T03:13:45.430Z] Symbol_address=00000001019380B0
[2023-03-04T03:13:45.430Z] 
[2023-03-04T03:13:45.430Z] Method_being_compiled=org/sunflow/core/light/TriangleMeshLight$TriangleLight.getSamples(Lorg/sunflow/core/ShadingState;)V
[2023-03-04T03:13:45.430Z] Target=2_90_20230303_230 (Mac OS X 12.3.1)
[2023-03-04T03:13:45.430Z] CPU=aarch64 (8 logical CPUs) (0x400000000 RAM)
[2023-03-04T03:13:45.430Z] ----------- Stack Backtrace -----------
[2023-03-04T03:13:45.430Z] ---------------------------------------
[2023-03-04T03:13:45.430Z] JVMDUMP039I Processing dump event "gpf", detail "" at 2023/03/03 22:13:45 - please wait.

[2023-03-04T03:14:09.828Z] dacapo-sunflow_0_FAILED

50x internal grinder - all passed

@pshipton pshipton added the segfault Issues that describe segfaults / JVM crashes label Mar 13, 2023
@pshipton
Copy link
Member

vmState [0x51aff]: {J9VMSTATE_JIT} {escapeAnalysis}

@0xdaryl fyi

@0xdaryl
Copy link
Contributor

0xdaryl commented Mar 14, 2023

@hzongaro : please investigate

@hzongaro
Copy link
Member

It looks like when I introduced the _suppressEA field in OMR::Options, I failed to ensure that the field was initialized to NULL in OMR::Options::init.

The call to SimpleRegex::match should only occur if _suppressEA is non-NULL, so this crash is almost certainly due to the fact that the field is uninitialized.

I'm running a personal build with a fix, and I will then open a pull request. I think the fix should also go into the v0.38.0-release.

@pshipton
Copy link
Member

Reopen until the fix is delivered to the release stream(s).

@pshipton pshipton reopened this Mar 15, 2023
@pshipton
Copy link
Member

@hzongaro do you know the change which introduced the problem?

@pshipton
Copy link
Member

I found eclipse-openj9/openj9-omr@a7a2d03748b.
Looks to affect all current releases, 23_02, 0.37, 0.38.

@hzongaro
Copy link
Member

I found eclipse-openj9/openj9-omr@a7a2d03748b.
Looks to affect all current releases, 23_02, 0.37, 0.38.

Peter @pshipton, that's right. Should I open pull requests against 0.37 and 23_02, in addition to the pull request for 0.38.0 that I've already opened?

@pshipton
Copy link
Member

Yes pls do.

@hzongaro
Copy link
Member

Fixes have been merged on all current branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:jit segfault Issues that describe segfaults / JVM crashes test failure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants