xerial / sqlite-jdbc

SQLite JDBC Driver
Apache License 2.0
2.83k stars 619 forks source link

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

Open NGirchev opened 10 months ago

NGirchev commented 10 months ago

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:

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

Environment (please complete the following information):

gotson commented 10 months ago

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 commented 10 months ago

@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.