[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: luasocket crash on win32
- From: "Brett Kapilik" <brett@...>
- Date: Wed, 1 Dec 2004 08:57:24 -0600
Do you have a tool like Bounds Checker or Insure++ that you can run it through? Sometimes that will help with memory issues.
> -----Original Message-----
> From: Adam D. Moss [mailto:email@example.com]
> Sent: Tuesday, November 30, 2004 3:38 PM
> To: Lua list
> Subject: Re: luasocket crash on win32
> Brett Kapilik wrote:
> > 2. Rewrite the memory allocation functions in the static
> Lua library to use HeapAlloc, HeapReAlloc and HeapFree in
> lmem.c. Then link this version of the Lua library in with
> both your application and the luasocket library. Both
> libraries muct be using this static version of the library
> for it to work. We implemented this method and it has worked
> great with Lua 5.0 for over a year now in production apps.
> Hi Brett.
> I tried this now, out of desparation, but unfortunately it
> didn't help (didn't think it would since my lua-app pointers
> aren't crossing a DLL barrier, but it was worth a try).
> Thanks for the suggestion though.
> Adam D. Moss . ,,^^ firstname.lastname@example.org http://www.foxbox.org/ co:3