fillPolygon causing crash within SWT Native Code [message #1859132] |
Sun, 14 May 2023 03:47 |
Tom Kratzke Messages: 4 Registered: June 2011 |
Junior Member |
|
|
Hello,
I have crash in some easy code and was wondering if anyone could suggest where I should be looking for the
error. The crash occurred in gc.fillPolygon(xAndYs) and xAndYs was: [969 520 976 514 978 519].
This is a pretty benign triangle of points and by shifting some code around, I can get it to crash elsewhere,
so I doubt that it's this particular call to fillPolygon. It doesn't seem to be a memory issue since when I
changed from -Xmx2000M to -Xmx4000M, the crash occurred at the same place.
From this dump file, can someone make a suggestion? Perhaps how to increase the amount of debug information?
Thanks!
Tom
I'm using:
Eclipse:
Version: 2023-03 (4.27.0)
Build id: 20230309-1520
SWT from Maven: 3.123.0
My execution environment is JavaSE-19, provided by jdk-20.
This happens with either the debug or run configurations.
I edited the command line to get rid of what I'm pretty sure are irrelevant options and classpath entries to get:
C:\Program Files\Java\jdk-20\bin\javaw.exe
-ea
-Xmx2000M
-Xms200M "...
-Dfile.encoding=UTF-8
-classpath "
... C:\Users\tmk\.m2\repository\org\eclipse\platform\org.eclipse.swt.win32.win32.x86_64\3.123.0\org.eclipse.swt.win32.win32.x86_64-3.123.0.jar;
C:\Users\tmk\.m2\repository\org\eclipse\platform\org.eclipse.swt\3.123.0\org.eclipse.swt-3.123.0.jar;
C:\Users\tmk\.m2\repository\junit\junit\4.11\junit-4.11.jar;
C:\Users\tmk\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar"
-XX:+ShowCodeDetailsInExceptionMessages"
com.tmk.MyMainClass
[Updated on: Sun, 14 May 2023 12:51] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03278 seconds