The crash happens inside void CallJavaNode::copy_call_debug_info(PhaseIterGVN* phase, SafePointNode* sfpt) because the vector addition operation produces invalid offsets in JVMState: ---- # guarantee((jvms->locoff() == locoff ) && (jvms->stkoff() == stkoff && stkoff >= 0) && (jvms->monoff() == monoff && locoff >= 0) && (jvms->scloff() == scloff && scloff >=0) && (jvms->endoff() == endoff && endoff >=0) && (jvms->locoff() <= jvms->stkoff() && jvms->stkoff() <= jvms->monoff() && jvms->monoff() <= jvms->scloff() && jvms->scloff() <= jvms->endoff() )) failed: Vector addition did not work: locoff 10 stkoff 21 monoff 21 scloff 21 endoff 21 adj -4 result: locoff 6 stkoff 17 monoff 19 scloff 17 endoff 17
f() <= jvms->endoff() )) failed:: locoff 10 stkoff 30 monoff 30 scloff 30 endoff 30 adj -4 result: locoff 6 stkoff 26 monoff 33 scloff 26 endoff 26 # guarantee((jvms->locoff() == locoff ) && (jvms->stkoff() == stkoff && stkoff >= 0) && (jvms->monoff() == monoff && locoff >= 0) && (jvms->scloff() == scloff && scloff >=0) && (jvms->endoff() == endoff && endoff >=0) && (jvms->locoff() <= jvms->stkoff() && jvms->stkoff() <= jvms->monoff() && jvms->monoff() <= jvms->scloff() && jvms->scloff() <= jvms->endoff() )) failed: Vector addition did not work: locoff 10 stkoff 13 monoff 19 scloff 19 endoff 19 adj -4 result: locoff 6 stkoff 9 monoff 13 scloff 15 endoff 15 --- Recompiling function with -fno-slp-tree-vectorize resolves this particular issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2095441 Title: S390x build of openjdk crashes with the segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2095441/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
