This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building Lua with dynamic linking on cygwin platform


I tried building Lua from source by issuing "make linux". All the tests
passed. But from the Lua interpreter when I "require" a shared library
it appears to load the library, by Lua scripts work fine, but when I
exit Lua I get a segmentation fault.

Any experiences trying to build Lua on cygwin with dynamic loading
enable? (and it working?)

Below is the stackdump.

- Mike

Exception: STATUS_ACCESS_VIOLATION at eip=610C29F4
eax=186A18C0 ebx=186A18C0 ecx=61106B28 edx=00680000 esi=186A18C0
edi=186A18B8
ebp=0022CBE8 esp=0022CB90 program=C:\Documents and
Settings\meb\lua-5.1.1\src\lua.exe, pid 3992, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022CBE8  610C29F4  (00000000, 186A18C0, 00000020, 00000000)
0022CC18  0040B343  (006801B8, 186A18C0, 00000020, 00000000)
0022CC38  0040A97A  (006801B8, 00687258, 0022CC78, 0040874E)
0022CC68  00406FCB  (FFFFFFFD, 00000000, 00680230, 006801B8)
0022CC88  00407196  (006801B8, 00680400, 00000000, 610049BE)
0022CCA8  00402034  (006801B8, 00401820, 0022CCD0, 00401D48)
0022CCE8  00401D8C  (00000001, 6116B1F0, 00680090, 0022CC70)
0022CD98  61006148  (00000000, 0022CDD0, 610054C0, 0022CDD0)
610054C0  61004416  (0000009C, A02404C7, E8611001, FFFFFF48)
      4 [main] lua 3992 _cygtls::handle_exceptions: Error while dumping
state (probably corrupted stack)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]