`Assertion '!empty()' failed.`

A rebuild of this package may be necessary, because when trying to Modify Table, the application crashes with the following error:

/usr/include/c++/12.2.0/bits/basic_string.h:1292: 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.

journal entry:

Jul 06 17:26:46 Meicoo-Manjaro systemd-coredump[76173]: [🡕] Process 76151 (sqlitebrowser) of user 1000 dumped core.
                                                        
                                                        Stack trace of thread 2:
                                                        #0  0x00007fa680291184 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x91184)
                                                        #1  0x00007fa68023f00e n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x3f00e)
                                                        #2  0x00007fa6802287fc n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x287fc)
                                                        #3  0x00007fa6806e1f9d n/a (/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30 + 0xe1f9d)
                                                        #4  0x0000565332ae428f n/a (/app/bin/sqlitebrowser + 0x1aa28f)
                                                        #5  0x0000565332aea50f n/a (/app/bin/sqlitebrowser + 0x1b050f)
                                                        #6  0x0000565332b3936b n/a (/app/bin/sqlitebrowser + 0x1ff36b)
                                                        #7  0x00007fa680d0627c n/a (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.10 + 0x30627c)
                                                        #8  0x00007fa6819747b2 n/a (/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.10 + 0x1747b2)
                                                        ELF object binary architecture: AMD x86-64

the system build from manjaro community/sqlitebrowser 3.12.2-3 and appimage DB_Browser_for_SQLite-v3.12.2-x86_64.AppImage do not have this problem

installed:

DB Browser for SQLite                         org.sqlitebrowser.sqlitebrowser               3.12.2                  stable             system

Repro:

  • create a new database (either via sqlitebrowser or external)
  • run CREATE TABLE test (t INTEGER)
  • try to Modify Table (under tab Database Structure
  • observe crash