KEmulator launches then crashes right away

Questions about Wine on macOS.
Locked
Moonwave
Level 2
Level 2
Posts: 27
Joined: Mon Jan 20, 2020 3:12 pm

KEmulator launches then crashes right away

Post by Moonwave »

I'm attempting to run the Java J2ME emulator called KEmulator. An older version has a platinum rating on the App DB, however it crashes for me as soon as I see the software window.

Here is the log:

Code: Select all

001d:err:plugplay:process_IOService_Device object 0x4103
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x3b07
001d:err:plugplay:process_IOService_Device object 0x4003
0025:fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
002b:fixme:uxtheme:BufferedPaintInit Stub ()
002b:err:module:load_so_dll failed to load .so lib "/Users/Javin/Applications/Tibia.app/Contents/Frameworks/wswine.bundle/lib/wine/l3codeca.acm.so": dlopen(/Users/Javin/Applications/Tibia.app/Contents/Frameworks/wswine.bundle/lib/wine/l3codeca.acm.so, 258): Library not loaded: @rpath/libmpg123.0.dylib
  Referenced from: /Users/Javin/Applications/Tibia.app/Contents/Frameworks/wswine.bundle/lib/wine/l3c
002b:fixme:dinput:IDirectInputDevice2AImpl_EnumEffects 0x1bf668)->(0x14871c80,0xc3f348,0x00000000): stub!
002b:fixme:dinput:IDirectInputDevice2AImpl_EnumEffects 0x1bfbd0)->(0x14871c80,0xc3f348,0x00000000): stub!
KEmulator v1.0.3 Running...
002b:fixme:dwmapi:DwmIsCompositionEnabled 00C3F2A0
0038:err:winediag:wined3d_get_user_override_gpu_description Invalid GPU override 1002:6821 specified, ignoring.
0038:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1c8d28, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0038:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1c8d28, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
002b:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv6 not supported in this platform
Exception in thread "main" org.eclipse.swt.SWTException: Graphic is disposed
	at org.eclipse.swt.SWT.error(Unknown Source)
	at org.eclipse.swt.SWT.error(Unknown Source)
	at org.eclipse.swt.SWT.error(Unknown Source)
	at org.eclipse.swt.graphics.GC.getFontMetrics(Unknown Source)
	at org.eclipse.swt.custom.CLabel.onPaint(Unknown Source)
	at org.eclipse.swt.custom.CLabel$1.paintControl(Unknown Source)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
	at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
	at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
	at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
	at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
	at org.eclipse.swt.widgets.Composite.WM_PAINT(Unknown Source)
	at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
	at org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source)
	at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
	at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
	at org.eclipse.swt.widgets.Decorations.setVisible(Unknown Source)
	at org.eclipse.swt.widgets.Shell.setVisible(Unknown Source)
	at org.eclipse.swt.widgets.Shell.open(Unknown Source)
	at emulator.ui.swt.ah.a(Unknown Source)
	at emulator.Emulator.main(Unknown Source)
0025:fixme:msvcrt:__clean_type_info_names_internal (0x7007d7c4) stub
0025:fixme:msvcrt:__clean_type_info_names_internal (0x157bc40c) stub
0025:fixme:msvcrt:__clean_type_info_names_internal (0x157a2564) stub
0025:fixme:msvcrt:__clean_type_info_names_internal (0x14f44f74) stub
0025:fixme:msvcrt:__clean_type_info_names_internal (0x14caecdc) stub
0025:fixme:msvcrt:__clean_type_info_names_internal (0xc603cc) stub
0025:fixme:msvcrt:__clean_type_info_names_internal (0x3ad3cc) stub
0025:fixme:msvcrt:__clean_type_info_names_internal (0x38940c) stub
0025:fixme:msvcrt:__clean_type_info_names_internal (0xaf9e74) stub
Any help would be appreciated! The download can be found here: https://archive.org/details/KEmulator103
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 103
Joined: Sat Sep 04, 2021 9:35 pm

Re: KEmulator launches then crashes right away

Post by JoseskVolpe »

It happens to me aswell on Manjaro Linux. I don't know why. But it has days it works and days it doesn't. It's like it randomly choose when it wants to work and when it doesn't. The error message it shows is the same.
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 103
Joined: Sat Sep 04, 2021 9:35 pm

Re: KEmulator launches then crashes right away

Post by JoseskVolpe »

I've been informed that 32-Bits Java Runtime Environment 1.4.2 works better than newer Java versions
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 103
Joined: Sat Sep 04, 2021 9:35 pm

Re: KEmulator launches then crashes right away

Post by JoseskVolpe »

User avatar
JoseskVolpe
Level 4
Level 4
Posts: 103
Joined: Sat Sep 04, 2021 9:35 pm

Re: KEmulator launches then crashes right away

Post by JoseskVolpe »

¿Does it works in Wine 6.20 for you?
I'm making some prolonged tests on Manjaro Linux with this versions and it seems to be much stable now. I don't have problems with zip.dll anymore and i didn't had SWTException crash makes some time... ¿So maybe it's fixed now?

It has to be prolonged because it occurs randomly, depending on the day and the time, so i'm not much sure if this bug still happens or not. But since GDI has been worked on the lastest versions and it had regressions in these older development versions wich was fixed recently, it might been patched.

¿Can you make some prolonged tests on MacOS too? Trying it in multiple operating systems is great to find out about this bug. Do it in the lastest Wine version (Wine 6.21 or Wine 6.20. 6.21 preferable)
Then please, submit a report about your results after making some tests: https://appdb.winehq.org/objectManager. ... &iId=16322
Locked