|
Josh @ Dreamland
|
|
Reply #16 Posted on: May 14, 2010, 10:01:44 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
That doesn't help the shit-my-entire-computer-is-frozen-because-java-killed-X problem.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
freezway
|
|
Reply #17 Posted on: May 14, 2010, 10:54:25 pm |
|
|
Joined: Dec 2009
Posts: 220
|
do u know why LGM makes java kill it?
|
|
|
Logged
|
if you drop a cat with buttered toast strapped to its back, which side lands down? joshdreamland: our languages are based on the idea that it's going to end up FUBAR /kick retep998
|
|
|
Josh @ Dreamland
|
|
Reply #18 Posted on: May 14, 2010, 11:11:49 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
It's some Java bug (Ism says it's actually an X bug, but I blame Java as well since nothing else kills X) invoked when a drag and drop tile is released.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
|
IsmAvatar
|
|
Reply #21 Posted on: May 15, 2010, 04:08:33 pm |
|
|
LateralGM Developer
Location: Pennsylvania/USA Joined: Apr 2008
Posts: 877
|
http://www.ismavatar.com/lgm/forum/index.php?t=11LGM forum already had a bug filed on this. We realized that it's not a bug with LGM, but seems to be Java-end. The bug is reproduced by having any program with D&D, with a splash screen, running on a specific set of versions of X with specific graphics cards, and only seems to take effect if the program is a JAR. The problem can be worked around either by not using D&D or disabling the splash screen (which can be achieved by modifying the manifest, a text file inside the jar). Once we realized it wasn't an LGM bug, we moved it from Bugs to Help. It has been an argument between Java and X to figure out whose fault it is. I suspect X.
|
|
|
Logged
|
|
|
|
|
freezway
|
|
Reply #23 Posted on: May 16, 2010, 12:04:06 pm |
|
|
Joined: Dec 2009
Posts: 220
|
so.... whats the plan? wait for a bugfix? buy josh a new puter?
|
|
|
Logged
|
if you drop a cat with buttered toast strapped to its back, which side lands down? joshdreamland: our languages are based on the idea that it's going to end up FUBAR /kick retep998
|
|
|
IsmAvatar
|
|
Reply #24 Posted on: May 16, 2010, 12:16:02 pm |
|
|
LateralGM Developer
Location: Pennsylvania/USA Joined: Apr 2008
Posts: 877
|
LGM has been working around this by encouraging anyone on Linux who believes they may encounter this bug to remove the splash screen from the Manifest file in the jar. We've also considered distributing a version of LGM without the splash screen. Alternatively, avoid using D&D (consider using alternative functionality, if available), and wait for a bugfix in Java or X. According to one of those pages linked before, a fix is expected in java 6u19 or 6u20. Apparently 6u20 beta still exhibits this problem. A possible workaround is to apply a binary patch if using 6u18. 1) find libsplashscreen.so file (on Debian it is in /usr/lib/jvm/java-6-sun-1.6.0.18/jre/lib/i386/) 2) take your favorite hex editor and starting from 0x70d0 replace 6 bytes to 0x90 0x90 0x90 0x90 0x90 0x90 3) save the file and enjoy. Use at your own risk, obviously.
|
|
« Last Edit: May 16, 2010, 12:23:59 pm by IsmAvatar »
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #25 Posted on: May 16, 2010, 12:21:57 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
The splash screen doesn't display here; I assumed you'd removed it.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
|
|
Josh @ Dreamland
|
|
Reply #29 Posted on: May 16, 2010, 02:07:11 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
As a matter of fact, Linux is the only OS they work on at the moment, because Windows can't call make. ^_^ System() can't parse the program name from the arguments. CreateProcess() can't find mingw32-make. So really, it only works on Linux at the moment.
Makefile is given priority over makefile; other than that, either is fine.
Only one makefile should be outputting an exe, and it's the one under SHELL. Windows will only run EXE, Linux will run anything given --e permissions. So I used exe.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|