question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe the bug When performing the execute-statement request, I get the following error:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f7168a9d0f9, pid=74, tid=0x00007f71707e4b88
#
# JRE version: OpenJDK Runtime Environment (8.0_222-b10) (build 1.8.0_222-b10)
# Java VM: OpenJDK 64-Bit Server VM (25.222-b10 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 3.13.0
# Distribution: Custom build (Tue Oct  1 11:00:28 UTC 2019)
# Problematic frame:
# C  [_jpype.cpython-37m-x86_64-linux-gnu.so+0x430f9]  JPJavaEnv::NewLocalRef(_jobject*)+0x9
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /app/hs_err_pid74.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://icedtea.classpath.org/bugzilla
#

To Reproduce

  1. Start the docker image: run --rm -it --name my-data-api -p 8080:80 -e MYSQL_HOST=127.0.0.1 -e MYSQL_PORT=3306 -e MYSQL_USER=root -e MYSQL_PASSWORD= -e RESOURCE_ARN=arn:aws:rds:us-east-1:123456789012:cluster:dummy -e SECRET_ARN=arn:aws:secretsmanager:us-east-1:123456789012:secret:dummy koxudaxi/local-data-api
  2. Perform a request: aws --endpoint-url http://127.0.0.1:8080 rds-data execute-statement --resource-arn "arn:aws:rds:us-east-1:123456789012:cluster:dummy" --sql "show databases" --secret-arn "arn:aws:secretsmanager:us-east-1:123456789012:secret:dummy" --database 'test'

Expected behavior The Local Data API should return some data. Does anyone have any idea what could be the root cause of this issue?

Desktop (please complete the following information):

  • OS: iOS

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
chriscommented, Feb 26, 2020

@koxudaxi happy to help - thanks so much for making this in the first place!

2reactions
mimattancommented, Nov 18, 2019

Hi @koxudaxi

I also have this issue on a Mac.

Read more comments on GitHub >

github_iconTop Results From Across the Web

6 Crashing JVM - Oracle Help Center
A JVM crash could be caused by a programming error in the JRockit JVM or by errors in third-party library code. Identifying and...
Read more >
How To Diagnose And Prevent Java (JVM) Crashes - Xperti
If Java crashes while generating a code, the most common reason could be an error during method compilation. If the JVM does not...
Read more >
How do I investigate the cause of a JVM crash? - Stack Overflow
Generally, JVM crashes are pretty hard to diagnose. They could happen due to a bug in some JNI code or in the JRE...
Read more >
How We Diagnosed a JVM Crash - New Relic
When all the JVMs in our distributed application quit unexpectedly one day, the New Relic Browser team diagnosed a JVM crash.
Read more >
Diagnosing a JVM Crash! - The Java Advent Calendar
JVM crash is one of the toughest problem professional Java developers face. In case of a JVM crash, the operating system creates a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found