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

SIGSEGV in native code of Java HyperAPI library after hyperd was killed unexpectedly #133

Open
jannik-loescher-knime opened this issue Nov 19, 2024 · 0 comments

Comments

@jannik-loescher-knime
Copy link

Java API, Linux 0.0.20027:

Calling com.tableau.hyperapi.Result#nextRow() when the hyperd process is not available anymore causes a segmentation fault SIGSEGV in native code, crashing the whole JVM.
We run the JVM+hyperd in an containerized environment and processes consuming too much memory are getting killed to enforce memory bounds.

How to reproduce:

  1. Open a (reasonably large) Hyper file using the Tableau Java Hyper API
  2. Execute a SELECT * FROM table query on the file
  3. While the query is being read, kill the hyperd process forcefully: kill -9 $(pgrep hyperd)

Expected behavior:
A catchable Java Exception is thrown, similarly to com.tableau.hyperapi.Inserter#execute() ("Failed to insert into table […]:The Hyper server closed the connection unexpectedly.")

Crash report: hs_err_pid1794671.log

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

No branches or pull requests

1 participant