Skip to content

Segfault when attempting to attach sqlite database while ui is running #43

@jfmontanaro

Description

@jfmontanaro

Hi, thanks for releasing this extension! DuckDB was already super awesome and now it's even more so.

I'm running into a problem with the sqlite extension: attempting to attach to an sqlite database is triggering a segfault every time.

To reproduce:

sqlite3 test.sqlite 'create table test (a, b)'
duckdb -ui

then from either the web UI or the CLI (it doesn't seem to matter which):

install sqlite;
load sqlite;
attach 'test.sqlite' (type sqlite);

For me, this consistently results in a segfault.

I'm running on Ubuntu 22.04.5, kernel 6.1.0-1026-oem on a Framework 13.

FWIW I do see this message printed when I start up the ui:

Gtk-Message: 10:34:20.601: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

Unsure if that's related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionPertaining to the UI extension code, which is in this repository.needs infoMore investigation is required to understand this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions