Skip to content

[BUG] Crash when click on "Modify Table" #16

@AliM1988

Description

@AliM1988

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Crash when click on "Modify Table".

Expected Behavior

Open Modify Table window.

Steps To Reproduce

  1. Create database
  2. Create Table
  3. Write Changes
  4. Click on Modify Table

Environment

- OS: Ubuntu 20.04
- How docker service was installed:distro's packagemanager

CPU architecture

x86-64

Docker creation

---
services:
  # https://github.com/linuxserver/docker-sqlitebrowser
  # Based on DB Browser for SQLite
  sqlitebrowser:
    image: lscr.io/linuxserver/sqlitebrowser:latest
    container_name: sqlitebrowser
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=0          # use 0 for root (run command id in terminal)
      - PGID=0          # use 0 for root (run command id in terminal)
      - TZ=Etc/UTC      # use Etc/UTC for GMT +00:00
      - PASSWORD=xxx
      - SUBFOLDER=/mysqlite/    # need both slashes IE /subfolder/ (in here and also in using in URL)
    volumes:
      - /root/xxx:/config
    ports:
      # To enable interacting with clipboard, connection must be https.
      # The clipboard can only be accessed by secure contexts (HTTPS)
      # So, it's better use HTTPS port (3001). Container has a self-signed certificate.
      # Also, you can use CDN like Cloudflare to override browser warning (certificate is not valid)
      - 2095:3000   # HTTP (2095 is a http port in Cloudflare)
      - 8443:3001   # HTTPS (8443 is a https port in Cloudflare)
    restart: unless-stopped

Container logs

sqlitebrowser  | [migrations] started
sqlitebrowser  | [migrations] no migrations found
sqlitebrowser  | ───────────────────────────────────────
sqlitebrowser  | 
sqlitebrowser  |       ██╗     ███████╗██╗ ██████╗
sqlitebrowser  |       ██║     ██╔════╝██║██╔═══██╗
sqlitebrowser  |       ██║     ███████╗██║██║   ██║
sqlitebrowser  |       ██║     ╚════██║██║██║   ██║
sqlitebrowser  |       ███████╗███████║██║╚██████╔╝
sqlitebrowser  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
sqlitebrowser  | 
sqlitebrowser  |    Brought to you by linuxserver.io
sqlitebrowser  | ───────────────────────────────────────
sqlitebrowser  | 
sqlitebrowser  | To support the app dev(s) visit:
sqlitebrowser  | DB Browser for SQLite: https://www.patreon.com/db4s
sqlitebrowser  | 
sqlitebrowser  | To support LSIO projects visit:
sqlitebrowser  | https://www.linuxserver.io/donate/
sqlitebrowser  | 
sqlitebrowser  | ───────────────────────────────────────
sqlitebrowser  | GID/UID
sqlitebrowser  | ───────────────────────────────────────
sqlitebrowser  | 
sqlitebrowser  | User UID:    0
sqlitebrowser  | User GID:    0
sqlitebrowser  | ───────────────────────────────────────
sqlitebrowser  | [custom-init] No custom files found, skipping...
sqlitebrowser  | 
sqlitebrowser  | Xvnc KasmVNC 1.3.3 - built Nov 20 2024 19:38:25
sqlitebrowser  | Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
sqlitebrowser  | See http://kasmweb.com for information on KasmVNC.
sqlitebrowser  | Underlying X server release 12014000, The X.Org Foundation
sqlitebrowser  | 
sqlitebrowser  | [ls.io-init] done.
sqlitebrowser  | Obt-Message: Xinerama extension is not present on the server
sqlitebrowser  | 19
sqlitebrowser  | QStandardPaths: runtime directory '/config/.XDG' is not owned by UID 0, but a directory permissions 0755 owned by UID 1000 GID 1000
sqlitebrowser  | MESA: error: ZINK: failed to choose pdev
sqlitebrowser  | glx: failed to create drisw screen
sqlitebrowser  |  2024-12-05 23:50:24,410 [INFO] websocket 0: got client connection from 127.0.0.1
sqlitebrowser  |  2024-12-05 23:50:24,442 [PRIO] Connections: accepted: @2a09:bac5:2f19:1b4b::2b8:2_1733430024.419299::websocket
sqlitebrowser  | /usr/include/c++/13.2.1/bits/basic_string.h:1329: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::front() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; const_reference = const char&]: Assertion '!empty()' failed.
sqlitebrowser  | Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions