Lua-cURLv3
Lua-cURLv3 copied to clipboard
segmentation fault on android with termux
Tested with Lua 5.1/5.2/5.3/5.4 how?
curl = require "cURL"
-- HTTP Get
curl.easy{
url = 'http://httpbin.org/get',
httpheader = {
"X-Test-Header1: Header-Data1",
"X-Test-Header2: Header-Data2",
},
writefunction = io.stderr -- use io.stderr:write()
}
:perform()
:close()
Have you fixed this?
now even more
libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x753a41aec4 in tid 10995 (lua), pid 10995 (lua) Segmentation fault
~ $ lua -e 'require "cURL"'
libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7575249ec4 in tid 32557 (lua), pid 32557 (lua)
Segmentation fault