https://bugs.winehq.org/show_bug.cgi?id=43119
Bug ID: 43119 Summary: SORCERY JOKERS (Trial) doesn't run (due to lack of virtual memory) Product: Wine Version: 2.8 Hardware: x86-64 URL: http://trial.getchu.com/836703/sjs_trial.exe OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: sagawa.aki+winebugs@gmail.com Distribution: ---
SORCERY JOKERS (Trial) is a demo version of Japanese visual novel game. It doesn't run due to lack of virtual memory. When I start the application, it shows "DirectDraw Error".
Console output shows: wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
Of course, I have libGL.so.1 in /usr/lib/i386-linux-gnu/mesa.
strace(1) give me a hint: open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 16 fstat64(16, {st_mode=S_IFREG|0644, st_size=151363, ...}) = 0 mmap2(NULL, 151363, PROT_READ, MAP_PRIVATE, 16, 0) = -1 ENOMEM (Cannot allocate memory)
Therefore, the process can't find out libGL.so.1.
https://bugs.winehq.org/show_bug.cgi?id=43119
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com ---
From WINEDEBUG=virtual,globalmem trace, this application repeatedly calls
VirtualAllocate() and GlobalMemoryStatusEx(). Currently, wine doesn't report real virtual memory usage in ullAvailVirtual member in MEMORYSTATUSEX structure returned by GlobalMemoryStatusEx(). So, I guess more accurate ullAvailVirtual value is needed for this application.
https://bugs.winehq.org/show_bug.cgi?id=43119
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=43119
--- Comment #2 from Sagawa sagawa.aki+winebugs@gmail.com --- Created attachment 58353 --> https://bugs.winehq.org/attachment.cgi?id=58353 Trace log that shows "Failed to load libGL: libGL.so.1"
WINEDEBUG=relay,tid,timestamp,globalmem,virtual
https://bugs.winehq.org/show_bug.cgi?id=43119
--- Comment #3 from Sagawa sagawa.aki+winebugs@gmail.com --- I sent proposed patch[1]. However, it doesn't run yet.
[1] https://source.winehq.org/patches/data/134524
https://bugs.winehq.org/show_bug.cgi?id=43119
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com
--- Comment #4 from Alex Henrie alexhenrie24@gmail.com --- The download link is dead. Is there another place to download the free trial?
https://bugs.winehq.org/show_bug.cgi?id=43119
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://trial.getchu.com/836 |http://suezou.dyndns.org/dl |703/sjs_trial.exe |2015/3rdeye/sorcery/sjs_tri | |al.exe
--- Comment #5 from Sagawa sagawa.aki+winebugs@gmail.com --- Update download URL. If you fail to download, please follow the link on http://3rdeye.jp/products/sorcery/contents_8.html . md5(sjs_trial.exe) = fa19b8e2f872aa61b856fb17051355ca
https://bugs.winehq.org/show_bug.cgi?id=43119
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-8.6? 1.3 Gb download is too much for my slow connection. I will not be able to test by myself.
https://bugs.winehq.org/show_bug.cgi?id=43119
--- Comment #7 from Sagawa sagawa.aki+winebugs@gmail.com --- Created attachment 74469 --> https://bugs.winehq.org/attachment.cgi?id=74469 Terminal output
The bug still happens in Wine 8.8. I guess the application trys to fill the virtual memory address space up to prevent DLL injection.
https://bugs.winehq.org/show_bug.cgi?id=43119
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #8 from temp82@luukku.com --- The connection has timed out when trying to dl the exe.