-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
This is just a question, not an issue...
I'm trying to use this extension with a Lua module, here base58. I've installed the module using luarocks install base58. I then loaded the extension, and then
SELECT createlua('b58_encode', 'return base58.encode_base58(arg[1])');
Segmentation fault (core dumped)
Would you have any idea whether this should in principle work?
Here are a few details about the segfault:
SegvAnalysis:
Segfault happened at: 0x7fa3c0665b64 <lua_settop+52>: movl $0x0,-0x8(%rax)
PC (0x7fa3c0665b64) ok
source "$0x0" ok
destination "-0x8(%rax)" (0x00000008) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
SourcePackage: sqlite3
Stacktrace:
#0 0x00007fa3c0665b64 in lua_settop () from /lib/x86_64-linux-gnu/liblua5.3.so.0
No symbol table info available.
#1 0x00007fa3c184b0bd in sql_createlua () from /home/eugen/git/sqlite-lua/lua.so
No symbol table info available.
#2 0x000055d3bce0debf in ?? ()
No symbol table info available.
Metadata
Metadata
Assignees
Labels
No labels