Skip to content

[Bug]: SIGSEGV: Address boundary error when trying to view table data #4110

Open

Description

@Renari

What did you do?

When opening the following database, going to the browse data tab and then selecting poolType from the dropdown, DB Browser for SQLite segfaults.

protorig.db.zip

What did you expect to see?

The table data.

What did you see instead?

SIGSEGV

DB4S Version

3.13.99 (nightly)

What OS are you seeing the problem on?

Linux

OS version

CachyOS

Relevant log output

❯ sqlitebrowser
fish: Job 1, 'sqlitebrowser' terminated by signal SIGSEGV (Address boundary error)

Prevention against duplicate issues

  • I have searched for similar issues

Activity

  1. mgrojo commented on Mar 28, 2026

    @mgrojo
    Member

    How did you get to that schema. It's rather unusual, although sqlite3 accepts it.

    type name sql tbl_name
    table pooltype CREATE TABLE poolType (id TEXT PRIMARY KEY, pity6 INTEGER, pity5 INTEGER) pooltype

    Note that the stored name is pooltype but the stored create statement uses poolType.

    I couldn't reproduce creating a database like that:

    $ sqlite3 test.db
    SQLite version 3.47.0 2024-10-21 16:30:22
    Enter ".help" for usage hints.
    sqlite> CREATE TABLE poolType (id TEXT PRIMARY KEY, pity6 INTEGER, pity5 INTEGER);
    sqlite> SELECT * FROM "main".sqlite_master;
    table|poolType|poolType|2|CREATE TABLE poolType (id TEXT PRIMARY KEY, pity6 INTEGER, pity5 INTEGER)
    index|sqlite_autoindex_poolType_1|poolType|3|
    sqlite> 
    

    In my case, the stored name is poolType.

  2. self-assigned this
    on Mar 28, 2026
  3. Renari commented on Mar 28, 2026

    @Renari
    Author

    It was created using turso https://github.com/tursodatabase/turso I have since worked around this by migrating to having all my table names be snake case.

  4. mgrojo commented on Mar 28, 2026

    @mgrojo
    Member

    OK, that explains the situation. Turso is not emulating SQLite on that regard, but as sqlite3 cli tool supported that DB, I've also made sure we can manage it. I'll publish the patch shortly.

  5. added 2 commits that reference this issue on Apr 1, 2026
    9bc0dc4
    f6242b6
  6. added a commit that references this issue on Oct 4, 2026
    ac41738
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions