Skip to content

CREATE INDEX on some columns cause SIGSEGV in 1.3.0+ (regression from 1.2.2) #18190

@MeTooTheG

Description

@MeTooTheG

What happens?

When creating an index on a specific column in DuckDB 1.3.0, 1.3.1 or 1.3.2, the process crashes with a segmentation fault (SIGSEGV). This issue is column-specific. Creating indexes on other columns in the same table works fine.

The same operation worked without issues in DuckDB 1.2.2 and earlier versions.

Threading behavior:

With multiple threads (default): Results in segmentation fault
With SET threads = 1: Results in INTERNAL Error: node without metadata in ARTOperator::Insert

To Reproduce

Script
Database - https://drive.google.com/file/d/1XWA6lAb4rGRI8j91JtThZ7opss-5CX0F/view?usp=sharing

SET threads = 1;
CREATE INDEX IF NOT EXISTS recommendations_app_id_idx ON recommendations (app_id);
INTERNAL Error:
node without metadata in ARTOperator::Insert

Output -> 1.2.2

DuckDB version: 1.2.2
DuckDB setup complete. Recommendations table created and indexed.
DuckDB connection closed.

Output -> 1.3.0+

DuckDB version: 1.3.0
zsh: segmentation fault

Output -> 1.3.0 (db.execute("SET threads = 1"))

DuckDB version: 1.3.0
Error during DuckDB setup: INTERNAL Error: node without metadata in ARTOperator::Insert

OS:

macOS 15.5

DuckDB Version:

1.3.0

DuckDB Client:

Python

Hardware:

No response

Full Name:

Meg Gallagher

Affiliation:

meibel-ai

What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.

I have tested with a stable release

Did you include all relevant data sets for reproducing the issue?

Yes

Did you include all code required to reproduce the issue?

  • Yes, I have

Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?

  • Yes, I have

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions