Skip to content

[CSV] INTERNAL Error: Attempted to dereference unique_ptr that is NULL! #14626

@pkoppstein

Description

@pkoppstein

What happens?

INTERNAL Error: Attempted to dereference unique_ptr that is NULL!
This error signals an assertion failure within DuckDB. This usually occurs due to unexpected conditions or errors in the program's logic.
For more information, see https://duckdb.org/docs/dev/internal_errors

===csv2tsv.csv===

a,"
a,"b"

To Reproduce

select version();
create or replace table t as
from read_csv('csv2tsv.csv',
   header=false,
   quote='"',
   escape = '"',
   sep=',',
   ignore_errors=true);

OS:

MacOS

DuckDB Version:

v1.1.3-dev119

DuckDB Client:

CLI

Hardware:

No response

Full Name:

Peter Koppstein

Affiliation:

Princeton University

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

I have tested with a nightly build

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