ENIGMA Forums

Outsourcing saves money => Issues Help Desk => Topic started by: onpon on November 04, 2014, 07:29:08 am

Title: LateralGM seems to have just... stopped compiling?
Post by: onpon on November 04, 2014, 07:29:08 am
I'm trying to compile this with ENIGMA:

http://nintendocfc.com/uploads/userbooths/74/smgs_enginedemo_newcontrols.zip

But at some point, it seems to have just... stopped. No error or anything, it's just been sitting here supposedly doing something for an hour. I've tried three times with the same result.

This is the tail end of the output:

http://pastebin.com/fmGanyhi

There was also some stuff that didn't get sent to the text file I sent output to:

Code: [Select]
Gtk-Message: Failed to load module "canberra-gtk-module"
java.lang.IllegalArgumentException: Can't seek to 16,494 from 17006, position already passed (required skip: -512)
at org.lateralgm.file.StreamDecoder.seek(StreamDecoder.java:172)
at org.lateralgm.file.iconio.ICOFile.fillDescriptor(ICOFile.java:213)
at org.lateralgm.file.iconio.ICOFile.fillDescriptors(ICOFile.java:198)
at org.lateralgm.file.iconio.ICOFile.read(ICOFile.java:164)
at org.lateralgm.file.iconio.ICOFile.<init>(ICOFile.java:129)
at org.lateralgm.file.iconio.ICOFile.<init>(ICOFile.java:113)
at org.lateralgm.file.GmFileReader.readSettings(GmFileReader.java:429)
at org.lateralgm.file.GmFileReader.readProjectFile(GmFileReader.java:225)
at org.lateralgm.file.GmFileReader.readProjectFile(GmFileReader.java:165)
at org.lateralgm.main.FileChooser$ProjectReader.read(FileChooser.java:387)
at org.lateralgm.main.FileChooser$1.run(FileChooser.java:564)
at java.lang.Thread.run(Thread.java:745)

So, any thoughts? I'm not sure how to interpret this.
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: Goombert on November 04, 2014, 02:22:57 pm
Oh wow onpon, it looks like you've managed to do something nobody else has done in years, encounter a GMK loading exception :P

I went back and tested lgm16b4 and the issue existed there as well. I have filed a support ticket for you so that I can get feedback from IsmAvatar.
https://github.com/IsmAvatar/LateralGM/issues/163
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: Goombert on November 04, 2014, 03:40:03 pm
We've had issues before with our icon reading but sorlok fixed them. It's failing to load the icon, can I ask how you made the icon?

I've managed to extract the icon from the GMK and can confirm that it is the real problem, nothing to do with your project at all, Studio and GM8.1 seem to handle this icon fine.
https://github.com/IsmAvatar/LateralGM/issues/163

Until I figure out why LGM can't handle this icon you could do the following:
1) Open your project in GM8.1
2) Go to game settings and replace the icon with one that will work in ENIGMA
3) Save As a copy of your project to be used with ENIGMA for the time being
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: onpon on November 04, 2014, 07:56:22 pm
I should point out that I didn't make this game. Someone else did (Gato (http://forum.nintendocfc.com/member.php?action=profile&uid=1372)). I'm just trying to compile it.
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: Goombert on November 04, 2014, 08:04:42 pm
Ahhh, is it possible to ask him/her how they created the ico? For now just do what I said about GM8.1 and change the icon before loading it in ENIGMA, if you want I can replace the icon for you and upload it, just say so.
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: onpon on November 04, 2014, 08:13:33 pm
I don't have or want GM8.1, and I wouldn't feel right asking you to use it. If I can't replace the icon in LateralGM, I can wait.
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: Goombert on November 04, 2014, 08:18:55 pm
Haha, don't worry about it I have to use GM8.1 for testing purposes, after using GM8.1 to replace the icon the file loads perfectly fine in ENIGMA.
https://www.dropbox.com/s/fpcfdumzgw6f4rj/smgs%282%29working_enigma.gm81?dl=0

I'm working on figuring out why the original icon doesn't work.  (Y)
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: onpon on November 04, 2014, 08:35:20 pm
That file doesn't behave differently, for me.
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: Goombert on November 04, 2014, 08:43:48 pm
Ahhh yes it is still failing to compile, but this time it is straight up segfaulting when collecting variables. You aren't getting an error about the icon anymore are you? You should at least not have the icon error but instead...
Quote from: Output
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005)
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: onpon on November 04, 2014, 10:21:20 pm
Indeed, that error is gone, but I don't have a new error. It's now just this:

http://pastebin.com/y0eXi3hk
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: Goombert on November 04, 2014, 10:41:50 pm
Hmm this is interesting, it was behaving completely different for me. What OS are you on?

I believe I may have a clue, it appears when I load this file and open game settings, changes are automatically detected for DESCRIPTION. I no longer get the fatal error message in my output even with the original, so that must have been a fluke.

It seems there are multiple issues with this project.

Edit: Scratch that, it was an unrelated bug which I just fixed and posted to the other topic.
http://enigma-dev.org/forums/index.php?topic=2269.msg23702#msg23702

So after that it just seems to be compiler issues with the project. Most likely the result of its heavy use of parenting, I bet that's where it's crashing.
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: onpon on November 05, 2014, 03:19:26 am
Hmm this is interesting, it was behaving completely different for me. What OS are you on?

I'm on Trisquel 6, a GNU/Linux system, and using OpenJDK 7.
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: Josh @ Dreamland on November 05, 2014, 10:08:23 pm
We don't support compiling for Triscuits. Or any other cracker, for that matter.

64Bit? What are the byte sizes of int, long, and size_t?
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: Goombert on November 09, 2014, 12:49:43 am
Just an update here onpon, sorlok has fixed the ico reader to be able to properly handle the icon in that game now. You can get the new LGM from my other topic.
http://enigma-dev.org/forums/index.php?topic=2269.msg23792#new

The GitHub ticket will be automatically closed December 7th if no new issues arise in the interim.
https://github.com/IsmAvatar/LateralGM/issues/163
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: IsmAvatar on November 09, 2014, 02:21:42 pm
Since when did LateralGM start compiling?
Title: Re: LateralGM seems to have just... stopped compiling?
Post by: Goombert on November 09, 2014, 04:31:25 pm
Since never lol, I usually try to make a clear distinction between problems in the plugin and LateralGM. The ico file issue was LGM, the segfault/crash happened when it got to the plugin because some data was corrupted.