Slick Forums
http://slick.ninjacave.com/forum/

[BUG] User input crashes the program on resize.
http://slick.ninjacave.com/forum/viewtopic.php?f=1&t=5882
Page 1 of 1

Author:  me4502 [ Thu Nov 22, 2012 9:58 am ]
Post subject:  [BUG] User input crashes the program on resize.

link to issue tracker issue:

https://bitbucket.org/kevglass/slick/is ... er-causing

An example of this code is:

GameEngine, https://github.com/me4502/GameEngine

with this test game: http://pastebin.com/YrbqkAiD

This will crash with no debug info... if you first press a key or click the screen, then try to resize it.

Author:  me4502 [ Sun Dec 02, 2012 10:51 pm ]
Post subject:  Re: MouseListener and KeyboardListener causing crash on resi

More info - I'm no longer using MouseListener and KeyboardListener, yet the crashes still occur as listed above.

Author:  TrentonZero [ Mon Dec 03, 2012 3:20 am ]
Post subject:  Re: MouseListener and KeyboardListener causing crash on resi

Have you stepped through the code with a debugger to find out what is crashing?

Author:  me4502 [ Mon Dec 03, 2012 10:45 pm ]
Post subject:  Re: MouseListener and KeyboardListener causing crash on resi

Yes I have, the debugger stops responding when this happens, but doesn't crash. Once it starts reponding again, it just says program stopped. No info or anything. I have a feeling Java is actually crashing, not the code being run inside of it.

edit: I have the exit value, not sure if that's helpful.
<terminated, exit value: -1073740771>C:\Program Files\Java\jre7\bin\javaw.exe (04/12/2012 8:43:27 AM)

Author:  davedes [ Wed Dec 12, 2012 7:11 pm ]
Post subject:  Re: [BUG] User input crashes the program on resize.

To me this sounds like a problem outside of Slick.

Can you post a small test case so I can reproduce the bug?

Author:  me4502 [ Thu Dec 13, 2012 2:22 am ]
Post subject:  Re: [BUG] User input crashes the program on resize.

https://dl.dropbox.com/u/20806998/TestCase.jar

Thats a compile of a test case.

Source is at...

https://github.com/me4502/GameEngine
and
http://pastebin.com/eagds9CV

To produce the issue - Click anywhere on the screen; then try to resize it.

Author:  me4502 [ Mon Jan 21, 2013 6:18 am ]
Post subject:  Re: [BUG] User input crashes the program on resize.

Just a follow up, after building a new computer, I can not reproduce this issue on it. So it may have had to do with the computer/the java version on it.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/