Hi,

 There is something wrong with your system configuration.

 The gdb problem could indicate that you may be using a different MingW4
installation than the one generated the pre-compiled binaries.

 Here, I used the pre-compiled binaries with a Lua5.1 executable build by
MingW4 and the samples matrix.wlua and pplot.wlua, both worked fine.

  Then I rebuild everything using the IUP and CD from CVS, and the same
situation, both worked fine.

Best,
Scuri

> -----Original Message-----
> From: Victor Bombi [mailto:[email protected]]
> Sent: quarta-feira, 4 de junho de 2014 12:04
> To: IUP discussion list.
> Subject: Re: [Iup-users] building with mingw
> 
> I was trying to debug with gdb but got SIGSEV
> then I took dlls from iup-3.10.1_Win32_dllw4_lib (binaries provided)
> and script:
> ------------testiup.lua
> require"iuplua"
> io.read"*l"
> -----------------
> also got SIGSEV and backtrace:
> 
> Starting program: C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua.exe -l
> init C:\LUA\lua-5.1.5set\build482posixdwrf\Projec
> \lua\vicutils\testiup.lua
> [New Thread 3828.0xe98]
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x775e46ac in ntdll!RtlImageNtHeaderEx () from
> C:\Windows\system32\ntdll.dll
> (gdb) thread apply all bt
> 
> Thread 1 (Thread 3828.0xe98):
> #0  0x775e46ac in ntdll!RtlImageNtHeaderEx () from
> C:\Windows\system32\ntdll.dll
> #1  0x770b3691 in TF_CheckThreadInputIdle () from
> C:\Windows\system32\msctf.dll
> #2  0x775e0eac in ntdll!RtlImageNtHeader () from
> C:\Windows\system32\ntdll.dll
> #3  0x76100a23 in USER32!IsWindowInDestroy () from
> C:\Windows\system32\user32.dll
> #4  0x760fd800 in USER32!SetProcessWindowStation () from
> C:\Windows\system32\user32.dll
> #5  0x75b30000 in ?? ()
> #6  0x0022f700 in ?? ()
> #7  0x760fe1e6 in USER32!RegisterClassW () from
> C:\Windows\system32\user32.dll
> #8  0x6bc40d23 in winDialogRegisterClass () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\libmodules\iup.dll
> #9  0x6bc4233f in iupdrvDialogInitClass () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\libmodules\iup.dll
> #10 0x6bc0ff96 in iupDialogNewClass () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\libmodules\iup.dll
> #11 0x6bc09b38 in iupRegisterInternalClasses () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\libmodules\iup.dll
> #12 0x6bc34e43 in IupOpen () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\libmodules\iup.dll
> #13 0x69881770 in il_open () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\libmodules\iuplua51.dll
> #14 0x6988344b in iuplua_open () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\libmodules\iuplua51.dll
> #15 0x66d8fbc2 in luaD_precall () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #16 0x66d9029f in luaD_call () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #17 0x66d84289 in lua_call () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #18 0x66d97e3e in ll_require () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #19 0x66d8fbc2 in luaD_precall () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #20 0x66da6966 in luaV_execute () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #21 0x66d902e0 in luaD_call () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #22 0x66d815d0 in f_call () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #23 0x66d8f316 in luaD_rawrunprotected () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #24 0x66d9052c in luaD_pcall () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #25 0x66d84303 in lua_pcall () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #26 0x0040291a in pmain ()
> #27 0x66d8fbc2 in luaD_precall () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #28 0x66d9029f in luaD_call () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #29 0x66d81658 in f_Ccall () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #30 0x66d8f316 in luaD_rawrunprotected () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #31 0x66d9052c in luaD_pcall () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #32 0x66d84431 in lua_cpcall () from
> C:\LUA\lua-5.1.5set\build482posixdwrf\Project\lua51.dll
> #33 0x00403d87 in main ()
> (gdb)
> 
> I think that this should be fixed before trying anything else
> 
> best
> victor
> 
> 
>
----------------------------------------------------------------------------
--
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to