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

Exception: java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "process reaper" since 3.40.1.0 version #1042

Open
NGirchev opened this issue Dec 21, 2023 · 2 comments

Comments

@NGirchev
Copy link

Description

When I run my java code with sqlite inside RStudio, using R console(rjava), I see the next text: Exception: java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "process reaper" on
DriverManager.getConnection("jdbc:sqlite:/tmp/sample.db", config.toProperties());

I tried several versions of java, rjava, rtudio, sqlite.

Reproduce

Bug reproduces only with next conditions:

  • rjava call
  • ubuntu has not serial (one thread) openblas library (like libopenblas0-pthread)
  • using sqlite >3.40.1.0
    I prepare docker image for reproducing it:
    https://github.com/NGirchev/debugsqlite
    pls, read README.md

https://github.com/NGirchev/debugsqlite/blob/main/with_exception.txt

Environment (please complete the following information):

@gotson
Copy link
Collaborator

gotson commented Dec 22, 2023

you have to perform some investigation by yourself. This doesn't even contain a stack trace to look at. We don't have time nor willingness to debug your own issues.

@NGirchev
Copy link
Author

NGirchev commented Dec 22, 2023

@gotson
Sorry, I can't catch and print stacktrace inside rstudio via rjava call, I used flag with .jinit(parameters="-DrJava.debug=true"), and got stacktrace from rjava env that I added as txt. I prepared docker image for reproducing this problem.

@caesar0301 JFI, bc it's relevant for your product.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants