[MacPorts] #45343: LuaJIT @2.0.3 distribution broken by MacPorts: "Segmentation fault: 11"
#45343: LuaJIT @2.0.3 distribution broken by MacPorts: "Segmentation fault: 11" -----------------------------------+-------------------------------- Reporter: macports.jgonggrijp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: luajit -----------------------------------+-------------------------------- OS X 10.9.5, Xcode 6.0.1 While trying to run my project Euler solutions (that I wrote in Lua), I found that MacPorts-installed LuaJIT 2.0.3 crashes on nearly all scripts with "Segmentation fault: 11". Only two, extremely trivial scripts run as expected. I will attach two example scripts: 052.lua (project Euler spoiler alert), which crashes, and loops.lua, which doesn't. I have verified that the fault is with MacPorts by downloading LuaJIT 2.0.3 directly from luajit.org and running the plain vanilla installation with make && make install. The resulting executable (installed under /usr/local/bin) runs all scripts perfectly fine. Uninstalling, cleaning and reinstalling the port does not help. The problem persists. The LuaJIT installation page contains some instructions for distribution maintainer (see bottom of http://luajit.org/install.html), which seem to indicate that the software can be easily broken by changing too much about the installation procedure. -- Ticket URL: <https://trac.macports.org/ticket/45343> MacPorts <http://www.macports.org/> Ports system for OS X
#45343: LuaJIT @2.0.3 distribution broken by MacPorts: "Segmentation fault: 11" ------------------------------------+-------------------------------- Reporter: macports.jgonggrijp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: luajit | ------------------------------------+-------------------------------- Comment (by ryandesign@…): I can confirm that 052.lua crashes for me too. But I'm not sure what we should do. We're not doing anything strange in [browser:trunk/dports/lang/luajit/Portfile the luajit portfile] that I can see. I looked over the aforementioned Admonishments for Distribution Maintainers and I don't think we're violating any of those directives. We are making the `amalg` target; we aren't patching Makefiles or luaconf.h. On my system the crash log shows the crash is in libunwind.dylib, in `libunwind::CompactUnwinder_x86_64`. That's a bit weird. -- Ticket URL: <https://trac.macports.org/ticket/45343#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts