99x / 99x/serverless-dynamodb-local

Crashing after update to MacOS 14.5

Open
#304 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
621
Forks
232
PR merge metrics
No merged PRs in 30d

Description

**Actual Behaviour**

DynamoDB local will crash as soon as local serverless starts

**Expected Behaviour**

It was not crashing before macOS 14.5

**Steps to reproduce it**

Update to macOS 14.5

**LogCat for the issue**
`var/dynamodb_local/hs_err_pid1.log`
`#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (synchronizer.cpp:1453), pid=1, tid=0x00007fffe1f4c700
# guarantee(obj->mark() == markOopDesc::encode(mid)) failed: invariant
#
# JRE version: OpenJDK Runtime Environment (8.0_272-b10) (build 1.8.0_272-b10)
# Java VM: OpenJDK 64-Bit Server VM (25.272-b10 mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#

--------------- T H R E A D ---------------

Current thread (0x00007ffff81e9000): VMThread [stack: 0x00007fffe1e4d000,0x00007fffe1f4d000] [id=17]

Stack: [0x00007fffe1e4d000,0x00007fffe1f4d000], sp=0x00007fffe1f4b740, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xad572d] VMError::report_and_die()+0x15d
V [libjvm.so+0x4f0be2] report_vm_error(char const*, int, char const*, char const*)+0x62
V [libjvm.so+0xa42086] ObjectSynchronizer::deflate_monitor(ObjectMonitor*, oopDesc*, ObjectMonitor**, ObjectMonitor**)+0x56
V [libjvm.so+0xa426ce] ObjectSynchronizer::deflate_idle_monitors()+0x35e
V [libjvm.so+0x9ca0f3] SafepointSynchronize::do_cleanup_tasks()+0x63
V [libjvm.so+0x9cba54] SafepointSynchronize::begin()+0x864
V [libjvm.so+0xaddf0f] VMThread::loop()+0x1ef
V [libjvm.so+0xade3d3] VMThread::run()+0x83
V [libjvm.so+0x934d32] java_start(Thread*)+0x132

VM_Operation (0x00007fffe1d495b0): RevokeBias, mode: safepoint, requested by thread 0x00007ffff81f7000
`

Contributor guide

Open the contributing guide

Research direction

Start with var/dynamodb_local/hs_err_pid1.log and the reported OpenJDK 8.0.272 crash details, then reproduce by starting the local serverless DynamoDB service on macOS 14.5. Done means the local service starts and remains running without the reported Java runtime crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript, macos
Domain
backend, databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.