Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guayadeque-0.6.2 crashes on Fedora 41 with new version of wxsqlite3-4.10.0 #120

Closed
martinkg opened this issue Jan 3, 2025 · 2 comments
Closed

Comments

@martinkg
Copy link

martinkg commented Jan 3, 2025

Hi,

I have compiled and installed wxsqlite3-4.10.0 for Fedora 41. I have also recompiled and installed guayadeque-0.6.2.
Now guayadeque crashes and a guayadeque.xml with the following content is created.

<?xml version="1.0" encoding="UTF-8"?>
<report version="1.0" kind="exception">
  <system description="Linux 6.12.7-200.fc41.x86_64 x86_64"/>
  <modules>
    <module path="[heap]" address="0x5565e4f70000" size="0x7b1000"/>
    <module path="/memfd:gdk-wayland" address="0x7fd6bc106000" size="0x87000"/>
    <module path="/memfd:wayland-cursor" address="0x7fd6cc9bb000" size="0x90000"/>
    <module path="/run/user/1000/dconf/user" address="0x7fd6d39da000" size="0x1000"/>
    <module path="[vvar]" address="0x7fd6d39fc000" size="0x4000"/>
    <module path="[stack]" address="0x7ffc2e09c000" size="0x21000"/>
  </modules>
  <stack>
    <frame level="0" offset="0x89409" address="0x5565bb989409" module="guayadeque"/>
    <frame level="1" offset="0x135574" address="0x7fd6d3735574" module="/lib64/libwx_baseu-3.2.so.0"/>
    <frame level="2" offset="0x1a090" address="0x7fd6d1626090" module="/lib64/libc.so.6"/>
    <frame level="3" offset="0x194394" address="0x7fd6d2394394" module="/lib64/libwxcode_gtk3u_wxsqlite3-3.2.so.0"/>
    <frame level="4" offset="0xc8569" address="0x7fd6d22c8569" module="/lib64/libwxcode_gtk3u_wxsqlite3-3.2.so.0"/>
    <frame level="5" function="wxSQLite3Database::Open(wxString const&amp;, wxMemoryBuffer const&amp;, int, wxString const&amp;)" offset="0x253" address="0x7fd6d237cee3" module="/lib64/libwxcode_gtk3u_wxsqlite3-3.2.so.0"/>
    <frame level="6" function="wxSQLite3Database::Open(wxString const&amp;, wxString const&amp;, int, wxString const&amp;)" offset="0x1ff" address="0x7fd6d237d63f" module="/lib64/libwxcode_gtk3u_wxsqlite3-3.2.so.0"/>
    <frame level="7" offset="0xafdee" address="0x5565bb9afdee" module="guayadeque"/>
    <frame level="8" offset="0xb0071" address="0x5565bb9b0071" module="guayadeque"/>
    <frame level="9" offset="0x8b4d0" address="0x5565bb98b4d0" module="guayadeque"/>
    <frame level="10" function="wxEntry(int&amp;, wchar_t**)" offset="0x92" address="0x7fd6d369bcd2" module="/lib64/libwx_baseu-3.2.so.0"/>
    <frame level="11" offset="0x7b4de" address="0x5565bb97b4de" module="guayadeque"/>
    <frame level="12" offset="0x3248" address="0x7fd6d160f248" module="/lib64/libc.so.6"/>
    <frame level="13" function="__libc_start_main" offset="0x8b" address="0x7fd6d160f30b" module="/lib64/libc.so.6"/>
    <frame level="14" offset="0x7f2a5" address="0x5565bb97f2a5" module="guayadeque"/>
  </stack>
</report>

gdb backtrace:

Thread 1 "guayadeque" received signal SIGILL, Illegal instruction.
0x00007ffff6994394 in sqlite3mcInitCipherTables () at src/sqlite3mc_amalgamation.c:353689
353689	    globalCodecDescriptorTable[n] = mcSentinelDescriptor;
(gdb) bt
#0  0x00007ffff6994394 in sqlite3mcInitCipherTables () at src/sqlite3mc_amalgamation.c:353689
#1  sqlite3mc_initialize.constprop.0 (arg=0x0) at src/sqlite3mc_amalgamation.c:353725
#2  0x00007ffff68c8569 in openDatabase (zFilename=0x5555562ac0b0 "/home/martin/.guayadeque/cache.db", ppDb=0x7fffffffae40, flags=<optimized out>, zVfs=0x0) at src/sqlite3mc_amalgamation.c:184536
#3  0x00007ffff697cee3 in wxSQLite3Database::Open (this=this@entry=0x5555561bbad0, fileName=..., key=..., flags=flags@entry=6, vfs=...) at src/wxsqlite3.cpp:2683
#4  0x00007ffff697d63f in wxSQLite3Database::Open (this=this@entry=0x5555561bbad0, fileName=..., key=..., flags=flags@entry=6, vfs=...) at src/wxsqlite3.cpp:2672
#5  0x0000555555603dee in Guayadeque::guDb::Open (this=this@entry=0x55555613e220, dbname=...) at /usr/src/debug/guayadeque-0.6.2-1.fc41.x86_64/src/db/Db.cpp:61
#6  0x0000555555604071 in Guayadeque::guDb::guDb (this=0x55555613e220, dbname=..., this=<optimized out>, dbname=<optimized out>) at /usr/src/debug/guayadeque-0.6.2-1.fc41.x86_64/src/db/Db.cpp:42
#7  0x00005555555df4d0 in Guayadeque::guDbCache::guDbCache (this=0x55555613e220, dbname=...) at /usr/src/debug/guayadeque-0.6.2-1.fc41.x86_64/src/db/DbCache.cpp:31
#8  Guayadeque::guMainApp::OnInit (this=0x555555c03790) at /usr/src/debug/guayadeque-0.6.2-1.fc41.x86_64/src/MainApp.cpp:452
#9  0x00007ffff7c9bcd2 in wxEntry (argc=@0x7ffff7e475a4: 1, argv=<optimized out>) at ../src/common/init.cpp:481
#10 0x00007ffff7c9bd43 in wxEntry (argc=<optimized out>, argv=<optimized out>) at ../src/common/init.cpp:509
#11 0x00005555555cf4de in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/guayadeque-0.6.2-1.fc41.x86_64/src/MainApp.cpp:39
(gdb)

Regards
Martin

@utelle
Copy link
Owner

utelle commented Jan 4, 2025

See thothix/guayadeque#34 for further information.

utelle added a commit that referenced this issue Jan 6, 2025
- Upgrade to SQLite3 Multiple Ciphers version 2.0.1 (SQLite version 3.47.2)
- Fixed issue #120 - crashes on some Linux systems due to _illegal instruction_ exceptions related to the code of the new cipher scheme _AEGIS_
@utelle
Copy link
Owner

utelle commented Jan 6, 2025

Release 4.10.1 fixes the issue.

@utelle utelle closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants