lua-users home
lua-l archive

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


Good news, I have found and killed all three bugs (grab the CVS for the fixes), again much thanks for the report. Version 2.0.2 will soon follow, along with rockspecs for building/installing with LuaRocks (the cvs rockspec is attached).

--
Fabio Mascarenhas

On Mon, May 19, 2008 at 2:40 PM, Fabio Mascarenhas <mascarenhas@acm.org> wrote:
Hi, Shmuel,

I have reproduced the segfaults, and I am working on pinpointing what is going wrong. Thanks for the report.

--
Fabio Mascarenhas


On Mon, May 19, 2008 at 10:39 AM, Shmuel Zeigerman <shmuz@actcom.co.il> wrote:
Fabio Mascarenhas wrote:
You seem to be running under Windows, can you give me the complete info (what Lua executable you are using, if you compiled it yourself and with which compiler/C runtime; same for the LuaProfiler DLL). This has all the signs of a runtime mismatch.

Yes, I explicitly said I was under Windows (in the 1-st message).

I don't think this is a compiler mismatch.

First, the downloaded DLL and the self-compiled DLL behave identically.

Second, I repeated the tests under Linux. The profiler.so, built with the supplied Makefile.linux didn't work ("bad ELF header").
Then I tried:
 gcc -shared -o profiler.so *.o
This time it did work, but the results were the same as they were under Windows, with the exception that the 3-rd test required 1022 iterations before the crash (under Windows: 510).

Under Windows, I build with MinGW/gcc: lua.exe, lua5.1.dll and profiler.dll.
The default (for MinGW) runtime was used: msvcrt.dll

(I'm fully aware I may be doing something awfully wrong.)
--
Shmuel


Attachment: luaprofiler-cvs-1.rockspec
Description: Binary data