Skip to content

SIGSEGV in java application while attempting to c2 compile ApiCallAttemptTimeoutTrackingStage #5965

Open
@roysti10

Description

@roysti10

Describe the bug

We are running java application with java version 1.8.0_72 b15 and sdk version of

<dependency>
  <groupId>software.amazon.awssdk</groupId>
  <artifactId>dynamodb</artifactId>
  <version>2.27.18</version>
</dependency>

SIGSEGV stack trace:
Stack: [0x00007f8bbc5dd000,0x00007f8bbc6dd000], sp=0x00007f8bbc6d9ca0, free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xa22fc1] Symbol::increment_refcount()+0x1
V [libjvm.so+0x440c4d] ciBytecodeStream::get_method(bool&, ciSignature**)+0x44d
V [libjvm.so+0x5699f8] Parse::do_call()+0x58
V [libjvm.so+0x95184a] Parse::do_one_bytecode()+0x330a
V [libjvm.so+0x943ab8] Parse::do_one_block()+0x178
V [libjvm.so+0x943d37] Parse::do_all_blocks()+0x127
V [libjvm.so+0x948259] Parse::Parse(JVMState*, ciMethod*, float)+0x7f9
V [libjvm.so+0x3f1e38] ParseGenerator::generate(JVMState*)+0x88
V [libjvm.so+0x4a2d3a] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0x127a
V [libjvm.so+0x3f0808] C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x198
V [libjvm.so+0x4ad37a] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xc9a
V [libjvm.so+0x4ae326] CompileBroker::compiler_thread_loop()+0x5d6
V [libjvm.so+0xa69dcf] JavaThread::thread_main_inner()+0xdf
V [libjvm.so+0xa69efc] JavaThread::run()+0x11c
V [libjvm.so+0x91d9d8] java_start(Thread*)+0x108
C [libpthread.so.0+0x744b] start_thread+0xdb

Current CompileTask:
C2:149433579 31924 ! 4 software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptTimeoutTrackingStage::execute (104 bytes)

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Current Behavior

Reproduction Steps

This happens randomly and has no fixed pattern

Possible Solution

No response

Additional Information/Context

No response

AWS Java SDK version used

2.27.18

JDK version used

1.8.0_72 b15

Operating System and version

Linux 4.14.326-245.539.amzn2.x86_64

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.closing-soonThis issue will close in 4 days unless further comments are made.p2This is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions