lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Fri, Aug 30, 2013 at 8:24 PM, William Ahern <> wrote:
On Fri, Aug 30, 2013 at 11:54:53AM +0300, Chris Datfung wrote:
> I have a lua script embedded within another program. The script uses
> socket.http from the lua-socket CentOS package installed via yum. When I
> run my program with the lua script enabled the program dies with a
> segfault. I created a backtrace and saw the following:
> #5  0x00397945 in luaopen_socket_core () from
> /usr/lib/lua/5.1/socket/
> No symbol table info available.
> #6  0x003d7d3a in ?? () from /usr/lib/
> No symbol table info available.
> ...
> Am I missing another package that supplies or updates the symbol table? How
> can I fix this?

I'm not familiar with RedHat, but on Debian based systems installing the
"-dev" version of a package will often install unstripped libraries.

Thanks. I tried installing the devel packages as well as manually installing luasocket-2.0.2 from source and still have the same issue. What's strange is that if I run the script manually via the CLI if runs properly.
However, the problem is almost certainly in your application, and you've
unhelpfully elided the trace of your code.

I uploaded the full backtrace log to: