Ethereal-dev: Re: [Ethereal-dev] lua.dll link error

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Fri, 3 Mar 2006 17:20:11 +0100
is HAVE_LUA_5_1 defined?
if not -DHAVE_LUA_5_1 has to be added to CFLAGS coded into config.h.win32?

Luis

On 3/3/06, Anders Broman (AL/EAB) <anders.broman@xxxxxxxxxxxx> wrote:
> Hi,
> With MSVC debugger it starts at:
> Elua.c
> 233     ELUA_INIT(L);
>         LUA! luaopen_io
>         LUA! Lua_replace
>         LUA! Lua_remove
> 048ACD2C   cmp         ecx,0FFFFD8F0h
> 048ACD32   je          _lua_remove+0C8h (048acd58)
> 048ACD34   mov         eax,dword ptr [esp+4]
> 048ACD38   mov         edx,dword ptr [eax+14h]
> 048ACD3B   mov         eax,dword ptr [edx+4]
> 048ACD3E   mov         edx,dword ptr [eax]
> 048ACD40   mov         eax,0FFFFD8EEh
> 048ACD45   sub         eax,ecx
> 048ACD47   xor         ecx,ecx
> 048ACD49   mov         cl,byte ptr [edx+7]
> 048ACD4C   cmp         eax,ecx
> 048ACD4E   jg          _lua_remove+71h (048acd01)
> 048ACD50   shl         eax,4
> 048ACD53   lea         eax,[eax+edx+8]
> 048ACD57   ret
> 048ACD58   mov         edx,dword ptr [esp+4]
> 048ACD5C   mov         eax,dword ptr [edx+10h]
> 048ACD5F   add         eax,60h
> 048ACD62   ret
> 048ACD63   mov         ecx,dword ptr [esp+4]
> 048ACD67   lea         eax,[ecx+58h]
> 048ACD6A   mov         ecx,dword ptr [ecx+14h]
> 048ACD6D   mov         edx,dword ptr [ecx+4]
> 048ACD70   mov         ecx,dword ptr [edx]
> 048ACD72   mov         edx,dword ptr [ecx+0Ch]
>
> Brg
> Anders
> -----Original Message-----
> From: ethereal-dev-bounces@xxxxxxxxxxxx
> [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Gisle Vanem
> Sent: den 3 mars 2006 12:38
> To: Ethereal development
> Subject: Re: [Ethereal-dev] lua.dll link error
>
> "Anders Broman" <a.broman@xxxxxxxxx> wrote:
>
> > Actualy doing:
> > Nmake -f makefile.nmake setup
> > nmake -f makefile.nmake distclean
> > nmake -f makefile.nmake
> > nmake -f makefile.nmake install-deps
> > ethereal-gtk2
> >
> > Ethereal crashes on startup (in lua) I haven't had the time to try the
>
> > installer today.
>
> I noticed the same thing. From DrMingW crash report after startup:
>
> ethereal.exe caused an Access Violation at location 7c9111de in module
> ntdll.dll Reading from location 00000001.
>
> Registers:
> eax=00000001 ebx=00d20000 ecx=01132700 edx=00d20478 esi=011326f8
> edi=00d204a0
> eip=7c9111de esp=0022e42c ebp=0022e64c iopl=0         nv up ei pl nz ac
> pe nc
> cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000
> efl=00200212
>
> Call stack:
> 7C9111DE  ntdll.dll:7C9111DE  wcsncpy
> 77C1C3C9  msvcrt.dll:77C1C3C9  free
> 77C1C3E7  msvcrt.dll:77C1C3E7  free
> 77C1C42E  msvcrt.dll:77C1C42E  malloc
> 00798CB0  libcairo-2.dll:00798CB0  cairo_font_options_get_hint_metrics
> 00792BF3  libcairo-2.dll:00792BF3  cairo_show_glyphs
> 003F1CC7  libpangocairo-1.0-0.dll:003F1CC7  pango_cairo_update_layout
> 007F51C2  libpango-1.0-0.dll:007F51C2  pango_renderer_draw_glyphs
> 003F21FA  libpangocairo-1.0-0.dll:003F21FA
> pango_cairo_show_glyph_string
> 006899D4  libgdk-win32-2.0-0.dll:006899D4  gdk_pango_renderer_get_type
> 007F51C2  libpango-1.0-0.dll:007F51C2  pango_renderer_draw_glyphs
> 007F5010  libpango-1.0-0.dll:007F5010  pango_renderer_draw_layout_line
> 007F494E  libpango-1.0-0.dll:007F494E  pango_renderer_draw_layout
> 0068AE7F  libgdk-win32-2.0-0.dll:0068AE7F  gdk_draw_layout_with_colors
> 0068B0C3  libgdk-win32-2.0-0.dll:0068B0C3  gdk_draw_layout
> 00868974  libgtk-win32-2.0-0.dll:00868974  gtk_clist_undo_selection
> 00868C2D  libgtk-win32-2.0-0.dll:00868C2D  gtk_clist_undo_selection
> 00868D84  libgtk-win32-2.0-0.dll:00868D84  gtk_clist_undo_selection
> 0085E76E  libgtk-win32-2.0-0.dll:0085E76E  gtk_clist_thaw
> 00416E53  ethereal.exe:00416E53
> 004116A0  ethereal.exe:004116A0
> 00406841  ethereal.exe:00406841
> 004011E7  ethereal.exe:004011E7
> 00401258  ethereal.exe:00401258
> 7C816D4F  kernel32.dll:7C816D4F  RegisterWaitForInputIdle
>
> I don't see how it is related to lua.dll, but deleting lua.dll and
> running ethereal.exe again, everything is fine.
>
> --gv
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>


--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan