Closed bbg closed 6 years ago
I only have access to a OS X 10.10 machine (with Apple LLVM version 7.0.2 (clang-700.1.81)), and I can't reproduce. Being killed with a signal of "9" is weird, since that's SIGKILL. Something is sending that signal to Lwan, which is pretty unexpected.
Let's try troubleshooting:
It runs well on my MacOS. My gcc and cmake version as the same as yours. Do you have any coredump file? @batuhangoksu
@lpereira @LampmanYao
I think I've solved the problem. Lua 5.1.x or LuaJIT 2.x experiencing problems when compiled with Lwan. When compiled without Lua 5.1.x or LuaJIT 2.x running smoothly.
This is pretty curious, as Lua is supposed to be fairly portable. I'll take a look whenever I'm close to the Mac I have access to.
I've had the same problem. It's OK with Lua5.1.5, but will fail to run with LuaJIT2.0.4. I think the problem comes from the dylib of LuaJIT2.0.4.
Then there's another problem: the lwan/lwan doesn't have any lwan_module_NAME symbol.
This seems to be fixed by the commit that fixed #194. Can someone please confirm? (I still don't have access to any Mac.)
Closing as fixed.
Hi,
I'm using MacOS Version 10.11.6, The source code is compiled successfully.
Compiler information.
Cmake version
cmake version 3.6.1
Compilation shape.
I am running after lwan file. "Killed 9" gives the error.