-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Description
What happens?
INTERNAL Error:
Attempted to access index 3 within vector of size 3
Stack Trace:
/home/julian/.duckdb/cli/latest/duckdb() [0x910443]
...
/home/julian/.duckdb/cli/latest/duckdb() [0x716413]
/lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x76588a62a1ca]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x76588a62a28b]
/home/julian/.duckdb/cli/latest/duckdb() [0x719cd7]
-----------------------------------------
Error in watcher: {"exception_type":"FATAL","exception_message":"Failed: database has been invalidated because of a previous fatal error. The database must be restarted prior to being used
again.\nOriginal error: \"Failed: database has been invalidated because of a previous fatal error. The database must be restarted prior to being used again.\nOriginal error: \"Failed: datab
ase has been invalidated because of a previous fatal error. The database must be restarted prior to being used again.\nOriginal error: \"Failed: database has been invalidated because of a pr
evious fatal error. The database must be restarted prior to being used again.\nOriginal error: \"Attempted to access index 3 within vector of size 3\"\"\"\""}
Will now terminate.
libva info: VA-API version 1.20.0
libva info: Trying to open /snap/firefox/5987/gnome-platform/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
D
To Reproduce
/home/julian/.duckdb/cli/latest/duckdb
v1.2.1 8e52ec4395
Enter ".help" for usage hints.
DROP TABLE IF EXISTS FOOTER;
CREATE TABLE FOOTER
(
id INT PRIMARY KEY,
car VARCHAR(20),
length INT,
width INT,
height INT
);
INSERT INTO FOOTER VALUES (1, 'Hyundai Tucson', 15, 6, NULL);
INSERT INTO FOOTER VALUES (2, NULL, NULL, NULL, 20);
INSERT INTO FOOTER VALUES (3, NULL, 12, 8, 15);
INSERT INTO FOOTER VALUES (4, 'Toyota Rav4', NULL, 15, NULL);
INSERT INTO FOOTER VALUES (5, 'Kia Sportage', NULL, NULL, 18);
SELECT
LAST_VALUE(car) over ( ) last_car,
LAST_VALUE(car order by id ignore nulls) over ( ) last_car,
FROM FOOTER; INTERNAL Error:
Attempted to access index 3 within vector of size 3
OS:
ubuntu 24.04 intel x64
DuckDB Version:
1.2.1
DuckDB Client:
CLI
Hardware:
No response
Full Name:
julian colomina
Affiliation:
none
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have not tested with any 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
- [ ]