[Bug 51924] New: KEmulator crashes on start: "SWTException: Graphic is disposed"
https://bugs.winehq.org/show_bug.cgi?id=51924 Bug ID: 51924 Summary: KEmulator crashes on start: "SWTException: Graphic is disposed" Product: Wine Version: 6.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs(a)winehq.org Reporter: joseskvolpe(a)gmail.com Distribution: ArchLinux Created attachment 70888 --> https://bugs.winehq.org/attachment.cgi?id=70888 SWTException output Sometimes, KEmulator hangs up on start with the message "KEmulator v1.0.3 Running..." or it just crashes upon start (probably related) The output is obtainable if it crashes. It occurs very randomly. Sometimes it just works normally, but sometimes this issue appears and you have to wait for some days to try again and open it successfully. Rebooting the system usually doesn't solve this. This bug was also found in Wine 6.19 Other Linux users from Kahvibreak project have identified this issue too, and a MacOS user has also reported it on the forums recently: https://forum.winehq.org/viewtopic.php?f=9&t=35717 Procedure: Run through WineCMD: java -jar KEmulator-1.0.3.jar -jar MIDlet.jar You can use almost any J2ME application (MIDlet) to do this procedure, format must be .jar, .jad is not supported. I'll attach a MIDlet so you can try it without the need to search for it Download KEmulator v1.0.3: https://archive.org/details/KEmulator103 SHA1: 23f339e4b2ae39828cbbbd415d00616b1858e167 Note: add "zip.dll" as "native, builtin" in Libraries tab in Winecfg -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 --- Comment #1 from Josesk Volpe <joseskvolpe(a)gmail.com> --- Created attachment 70889 --> https://bugs.winehq.org/attachment.cgi?id=70889 MIDlet You can try this MIDlet if you wish -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 --- Comment #2 from Josesk Volpe <joseskvolpe(a)gmail.com> --- I forgot to say... As this issue occurs very randomly, i guess you have to repeat the procedure many times until it crash. You have a bigger chance to have this issue if you open (with the MIDlet in) and close it many times. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Component|gdiplus |-unknown URL| |https://archive.org/details | |/KEmulator103 Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 --- Comment #3 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- What version of Java are you using? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 --- Comment #4 from Josesk Volpe <joseskvolpe(a)gmail.com> --- (In reply to Ken Sharp from comment #3)
What version of Java are you using?
I'm using Java Runtime Environment 6u45 32-Bits for Windows -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor --- Comment #5 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Ran in a loop over 50 times via `winecmd java...` and `wine java...` with Wine 6.20 and I could not recreate this bug. It sometimes hangs when exiting and has to be killed (I'll test on Windows). Is there a reason you're running Java directly through winecmd? Running KEmulator.exe seems to be the easiest way to run the program. Can you try again with Wine 6.20 and see if it still occurs? If so, what graphics card and driver are you using? Also, please attach the full console log. https://wiki.winehq.org/FAQ#How_can_I_get_a_debugging_log_.28a.k.a._terminal...
You can try this MIDlet if you wish Is this file free to redistribute?
23f339e4b2ae39828cbbbd415d00616b1858e167 KEmulator 1.0.3 modded.zip(In reply to Josesk Volpe from comment #0)
Note: add "zip.dll" as "native, builtin" in Libraries tab in Winecfg Why is this needed? It doesn't seem to have any effect.
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 --- Comment #6 from Josesk Volpe <joseskvolpe(a)gmail.com> --- (In reply to Ken Sharp from comment #5)
Ran in a loop over 50 times via `winecmd java...` and `wine java...` with Wine 6.20 and I could not recreate this bug. It sometimes hangs when exiting and has to be killed (I'll test on Windows). Now that doesn't appears with me, it always exits normally when it's not freeze... It only occurs when this bug can be reproduced and it doesn't just close on me
Is there a reason you're running Java directly through winecmd? Running KEmulator.exe seems to be the easiest way to run the program. Oh, that's because i was reproducing with the files from the Kahvibreak project, wich included both versions (0.9.8 and 1.0.3), but it didn't had the .exe. It is the same software with the same files and same checksums, however. You can use the .exe instead.
Can you try again with Wine 6.20 and see if it still occurs? If so, what graphics card and driver are you using? Also, please attach the full console log. https://wiki.winehq.org/FAQ#How_can_I_get_a_debugging_log_.28a.k.a. _terminal_output.29.3F Now, that's something very weird i would like to tell now... I've tried the .exe file from the archive i've sent to you on Wine 6.20. I could reproduce that bug at first and it freeze on me. So i went in and used that command from the Wiki to get the full console log to a file, opening the MIDlet and the bug has been gone. I tried it over and over to reproduce the bug again and i couldn't. As i've said, it's a very very weird bug... It only appears sometimes and very randomly, looks like it chooses the time it wants to appear and the time it doesn't. Guess i'll have to wait for this bug to appear again to send you the logs. About the graphics card, i'm using Intel HD Graphics 620 with open-source Mesa driver.
You can try this MIDlet if you wish Is this file free to redistribute? I'm not sure. It was a free-to-play game distributed by Inlogic Games. This one is a modded version. There's also a Android and Blacknut versions of this game. However, as most of J2ME games and applications, it was deleted from the official website and is now only distributed on archives such as archive.org, Kahvibreak project, Dedomil etc.
23f339e4b2ae39828cbbbd415d00616b1858e167 KEmulator 1.0.3 modded.zip(In reply to Josesk Volpe from comment #0)
Note: add "zip.dll" as "native, builtin" in Libraries tab in Winecfg Why is this needed? It doesn't seem to have any effect.
It was needed back on Wine 6.16 and Wine 6.18. I've recently updated to Wine 6.20 and removed that from the libraries configuration after the bug has been "gone" and it now works out-of-the-box. So ZIP.dll issue has recently been resolved. Back in Wine 6.16, the program would refuse to work without this configuration saying "Unable to load ZIP library: zip.dll" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 --- Comment #7 from Josesk Volpe <joseskvolpe(a)gmail.com> --- Created attachment 71006 --> https://bugs.winehq.org/attachment.cgi?id=71006 logs So, after some prolonged tests, i confirm that (maybe) the SWTException bug is gone on Wine 6.20 from the startup. I don't get that crash randomly anymore However, i've found out that it crashes by quickly zooming-in in the right corner of the display, holding '+' key in the numeric keyboard. The applications returns to function normally by opening it again. ¿Is the crash related to it maybe? Let's take a case that the application launches right out of the screen bounds. I couldn't try that for now. I'm attaching the logs as requested -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 Josesk Volpe <joseskvolpe(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #71006|0 |1 is obsolete| | --- Comment #8 from Josesk Volpe <joseskvolpe(a)gmail.com> --- Created attachment 71070 --> https://bugs.winehq.org/attachment.cgi?id=71070 Crash after startup ok, i've got the crash after startup now It occurred after i disconnected my second monitor and opened the application, the emulator UI opened out-of-the-bounds and freeze if using a command to open a game. After i plugged in my second monitor back, it has open in my second monitor but still froze and crash after opening a game I'm attaching the logs -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 --- Comment #9 from Josesk Volpe <joseskvolpe(a)gmail.com> --- I've found out it's MIDlet-dependent. Currently this is happening in Rescraft 2.02, wich was working before. So, trying with multiple MIDlets is a must to reproduce this bug Rescraft is free and you can get it here: https://galzuris.ru/p/rescraft_java -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 --- Comment #10 from Josesk Volpe <joseskvolpe(a)gmail.com> --- Erasing RMS records fixed this issue on Rescraft -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 --- Comment #11 from Josesk Volpe <joseskvolpe(a)gmail.com> --- Seems like it was fixed. All the steps to reproduce the crash doesn't crashes anymore. By holding '+' in the right-bottom corner of the screen to quickly zoom-in, it stills works as it should do. Java 6u45 and God of War Betrayal was used on the test -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 --- Comment #12 from Josesk Volpe <joseskvolpe(a)gmail.com> --- This bug occurs when KEmulator tries to start while it's windows touches out of bounds. I've found an workaround when this happens: 1 - Open winecfg > Graphics and turn virtual desktop on 2 - Set resolution higher as possible, greater than 800x600 3 - Apply and close winecfg and open KEmulator.exe 4 - Move KEmulator to the top-left screen corner 5 - Close it, and now you can turn off virtual desktop and re-run KEmulator :3 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51924 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW --- Comment #13 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- In Wine 8.12 the app loads but then exits silently. No crash but I'd say the result is the same. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla