Regression: SIGILL crashing JVM when loading spatial module in DuckDB 2.0.1.0
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C++
- Star
- 129
- Fork
- 90
- Merge trung bình
- 5 giờ 34 phút
- Pull request đã merge (30 ngày)
- 56
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của duckdb/duckdb-java
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
duckdb/duckdb-java#837 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
executeBatch()` on a prepared INSERT runs s are ~1–2 orders of magnitude slower than the AppenderĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 42/100
duckdb/duckdb-java#815 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
capi_v2
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
duckdb/duckdb-java#806 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Optimizer incorrectly rewrites window plans involving arrow scan inputs to self-joins with multiple refs to the scanCó thể đã có người làm @randalloveson đã nhận 165 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
duckdb/duckdb-java#713 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
duckdb/duckdb-java#679 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của duckdb/duckdb-java
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
godotengine/godot#125913 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
期待增加虚线线条样式Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 94/100
vllm-project/vllm#70568 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
mw00/project-maya#1368 ·
Maintainer thường phản hồi trong vòng 2 ngày