Regression: SIGILL crashing JVM when loading spatial module in DuckDB 2.0.1.0
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start by reproducing the crash with the provided Java program and DuckDB JDBC 2.0.1.0 on Ubuntu 26.04, then inspect the attached hs_err log for the native crash details. Compare the same spatial extension load with a 1.x driver to narrow down the regression; done means loading spatial no longer triggers SIGILL in the reported setup.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Create this simple Java program:
import java.sql.*;
void main() throws Exception {
try (
Connection c = DriverManager.getConnection("jdbc:duckdb:~/duckdb.db");
Statement s = c.createStatement();
) {
s.executeUpdate("install spatial");
s.executeUpdate("load spatial");
}
}
Now run it like so:
java -cp duckdb_jdbc-2.0.1.0.jar Test.java
This produces the following crash output:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00007c79efe15026, pid=136403, tid=136404
#
# JRE version: OpenJDK Runtime Environment (25.0.5.1+2) (build 25.0.5.1+2-1-26.04.1-Ubuntu)
# Java VM: OpenJDK 64-Bit Server VM (25.0.5.1+2-1-26.04.1-Ubuntu, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [spatial.duckdb_extension+0x1215026] _GLOBAL__sub_I_spatial_join_optimizer.cpp+0x66
#
# Core dump will be written. Default location: Determined by the following: "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -F%F -- %E" (alternatively, falling back to /home/lukaseder/core.136403)
#
# An error report file with more information is saved as:
# /home/lukaseder/hs_err_pid136403.log
#
# If you would like to submit a bug report, please visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-25
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped) java -cp duckdb_jdbc-2.0.1.0.jar Test.java
Attached the core dump: hs_err_pid136403.log
I'm running on this Linux distribution:
lukaseder@dg-test-26:~$ lsb_release -irc
Distributor ID: Ubuntu
Release: 26.04
Codename: resolute
This is a 2.x regression as the issue didn't appear with 1.x
- Lenguaje dominante
- C++
- Estrellas
- 129
- Forks
- 90
- Merge medio
- 5 h 34 min
- PR fusionados (30 d)
- 56
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de duckdb/duckdb-java
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
duckdb/duckdb-java#837 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
executeBatch()` on a prepared INSERT runs s are ~1–2 orders of magnitude slower than the AppenderAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 42/100
duckdb/duckdb-java#815 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
capi_v2
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
duckdb/duckdb-java#806 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Optimizer incorrectly rewrites window plans involving arrow scan inputs to self-joins with multiple refs to the scanPosiblemente ocupada @randalloveson la tomó hace 165 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
duckdb/duckdb-java#713 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
duckdb/duckdb-java#679 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de duckdb/duckdb-java
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
godotengine/godot#125913 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
-
期待增加虚线线条样式Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 94/100
vllm-project/vllm#70568 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
mw00/project-maya#1368 ·
Los mantenedores suelen responder en 2 días