|
TheExDeus
|
|
Reply #16 Posted on: May 05, 2015, 10:25:33 am |
|
|
Joined: Apr 2008
Posts: 1860
|
Maybe it's a Windows only bug. I haven't used LGM with Linux that much. Memory wise there shouldn't be a problem, as it crashes also when no project is opened. Just open LGM, add a room and press Run. At about 30% rate it will crash. And when it crashes with a an open project, the project doesn't need to be complicated. Here is a screenshot: You can see it crashes at "Populating communication buffer". Memory is low (200mb) and the project is empty. In this case I had to compile the project 3 times until it crashed. The first two it didn't. On average it takes about three times, but it has happened on the first one as well. It does seem that the memory slightly increases every time I press Compile. Maybe some kind of memory leak? It doesn't allow me to debug in Windows, as the ENIGMA.exe doesn't even run then. And I don't know how to debug .jar's. Maybe on Linux regular wallgrind can do it?
|
|
|
Logged
|
|
|
|
TheExDeus
|
|
Reply #17 Posted on: May 10, 2015, 10:36:23 am |
|
|
Joined: Apr 2008
Posts: 1860
|
I cannot find any information on why it keeps crashing. Sometimes it's so frustrating that it crashes 10 times in a row. It doesn't write any crash dump (maybe windows does?) and I cannot run any of it in some kind of debug mode. I think the problem is in either the JNA or the plugin, as the crashes happen ONLY when using the plugin buttons (Run, Compile etc.). But that means the .jar talks with another .jar and so it makes sense that I cannot debug it. Maybe someone with more Java knowledge can see what is up. Because the crashing is unbearable. edit: The only windows log that is created is this: http://pastebin.com/3GT9hQ2f . I have a .egm that crashes every time on my PC (so I cannot run it at all), but runs fine on my laptop ("fine" meaning it crashes 50% of time, not 100%). When I save a .gmk I can get it to run with the 50% though.
|
|
« Last Edit: May 10, 2015, 11:08:32 am by TheExDeus »
|
Logged
|
|
|
|
|
|
|
Goombert
|
|
Reply #21 Posted on: July 31, 2015, 12:59:36 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Was this merged into the main repo?
I've moved this temporarily down to Function Peer Review as I am not quite sure where it belongs on the board.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
HitCoder
|
|
Reply #23 Posted on: September 05, 2015, 11:50:47 am |
|
|
Location: Oxford, England Joined: Aug 2014
Posts: 157
|
error...
In file included from Universal_System/Extensions/Lua/lua.cpp:1:0: Universal_System/Extensions/Lua/include.h:10:22: fatal error: LuaState.h: No such file or directory #include <LuaState.h> ^ compilation terminated. g++ -std=c++11 -Wall -s -O3 -fno-rtti -fno-exceptions -DPATH_EXT_SET -IPlatforms/xlib/Info -IGraphics_Systems/OpenGL1/Info -IAudio_Systems/OpenAL/Info -ICollision_Systems/Precise/Info -IWidget_Systems/None/Info -INetworking_Systems/None/Info -IUniversal_System/Info -I. -I/home/hitcoder/.enigma/ -Wall -s -O3 -fno-exceptions -fexceptions -MMD -MP -c -o /home/hitcoder/.enigma/.eobjs/Linux/Linux/Run/SHELLmain.o SHELLmain.cpp In file included from /home/hitcoder/.enigma/API_Switchboard.h:48:0, from SHELLmain.cpp:60: ./Universal_System/Extensions/Lua/include.h:10:22: fatal error: LuaState.h: No such file or directory #include <LuaState.h> ^ compilation terminated. make[1]: Leaving directory `/home/hitcoder/enigma-dev/ENIGMAsystem/SHELL' make: *** [Game] Error 2
sorry for large text dump :/
OS: Linux Mint XFCE 17.2
|
|
« Last Edit: September 05, 2015, 11:52:38 am by HitCoder »
|
Logged
|
Computer Scientist, Programmer in C#, C/C++, Java, Python, GML, EDL, and more. Hobbyist musician. DISCORD: HitCoder#4530
|
|
|
|
|
HitCoder
|
|
Reply #26 Posted on: January 11, 2016, 04:43:47 pm |
|
|
Location: Oxford, England Joined: Aug 2014
Posts: 157
|
Been unable to use it as I haven't opened Enigma for weeks, been messing with visual studio, but if I get the opportunity I'll take a look in the next couple of days.
|
|
|
Logged
|
Computer Scientist, Programmer in C#, C/C++, Java, Python, GML, EDL, and more. Hobbyist musician. DISCORD: HitCoder#4530
|
|
|
|
|
|