Regression: SIGILL crashing JVM when loading spatial module in DuckDB 2.0.1.0
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 55/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- C++
- Estrelas
- 129
- Forks
- 90
- Merge médio
- 5h 34min
- PRs com merge (30d)
- 56
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de duckdb/duckdb-java
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
duckdb/duckdb-java#837 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
executeBatch()` on a prepared INSERT runs s are ~1–2 orders of magnitude slower than the AppenderAberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 42/100
duckdb/duckdb-java#815 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
capi_v2
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
duckdb/duckdb-java#806 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Optimizer incorrectly rewrites window plans involving arrow scan inputs to self-joins with multiple refs to the scanTalvez já em andamento @randalloveson assumiu há 165 dias. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
duckdb/duckdb-java#713 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 52/100
duckdb/duckdb-java#679 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de duckdb/duckdb-java
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
component: tabs platform: macOS
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
zen-browser/desktop#16860 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
windirstat/windirstat#776 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
godotengine/godot#125913 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100