https://bugs.winehq.org/show_bug.cgi?id=42314
Bug ID: 42314 Summary: Unimplemented function usp10.dll.ScriptBreak Product: Wine Version: 2.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: usp10 Assignee: wine-bugs@winehq.org Reporter: jeremielapuree@yahoo.fr Distribution: ---
The demo of Ankh needs the function usp10.dll.ScriptBreak when used with renderer Opengl (change the renderer in the file /bin/Release/plugin.cfg)
err:module:load_builtin_dll failed to load .so lib for builtin L"usp10.dll": /opt/wine-devel/bin/../lib/wine/usp10.dll.so: échec d'adressage (mapping) du segment de l'objet partagé err:module:DelayLoadFailureHook failed to delay load usp10.dll.ScriptBreak wine: Call from 0x7b43e3d2 to unimplemented function usp10.dll.ScriptBreak, aborting err:module:load_builtin_dll failed to load .so lib for builtin L"usp10.dll": /opt/wine-devel/bin/../lib/wine/usp10.dll.so: échec d'adressage (mapping) du segment de l'objet partagé err:module:DelayLoadFailureHook failed to delay load usp10.dll.ScriptBreak wine: Call from 0x7b43e3d2 to unimplemented function usp10.dll.ScriptBreak, aborting wine: Unimplemented function usp10.dll.ScriptBreak called at address 0x7b43e3d2 (thread 0009), starting debugger...
https://bugs.winehq.org/show_bug.cgi?id=42314
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.gamershell.com/d | |ownload_12202.shtml
https://bugs.winehq.org/show_bug.cgi?id=42314
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Unimplemented function |Failed to delay load |usp10.dll.ScriptBreak |usp10.dll.ScriptBreak
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Function is implemented of course, there's something else that's broken.
https://bugs.winehq.org/show_bug.cgi?id=42314
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|usp10 |-unknown
https://bugs.winehq.org/show_bug.cgi?id=42314
tbl0605@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tbl0605@gmail.com
--- Comment #2 from tbl0605@gmail.com --- Hi, I have exactly same problem (and traces) when trying to launch a "custom dungeon" in "Legend of Grimrock 2". I'm using wine 2.13. Should I open a different bug report?
Thierry.
https://bugs.winehq.org/show_bug.cgi?id=42314
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.gamershell.com/d |https://www.gamewatcher.com |ownload_12202.shtml |/downloads/ankh-download/an | |kh-english-demo CC| |austinenglish@gmail.com
--- Comment #3 from Austin English austinenglish@gmail.com --- That link is dead, but https://www.gamewatcher.com/downloads/ankh-download/ankh-english-demo is available.
It installs, but fails to run in d3d9 or OpenGL mode, reporting a lot of errors like: Error loading texture treasure_map_fullscreen.tga. Texture layer will be blank. Loading the texture failed with the following exception: An exception has been thrown!
----------------------------------- Details: ----------------------------------- Error #: 8 Function: ResourceGroupManager::openResource Description: Cannot locate resource treasure_map_fullscreen.tga in resource group General.. File: #work\ExternalProjects\ogrenew\OgreMain\src\OgreResourceGroupManager.cpp Line: 499 Stack unwinding: Image::load(..) <- <<beginning of stack>> Error loading texture treasure_map_fullscreen.tga. Texture layer will be blank. Loading the texture failed with the following exception: An exception has been thrown!
austin@austin2:~$ du -sh ankh-demo-setup-eng.exe 64M ankh-demo-setup-eng.exe austin@austin2:~$ sha256sum ankh-demo-setup-eng.exe 49def3ceb39cc455fd9217ebb28d59c3f333f96eb054c3f3c9ff5fd29b4af391 ankh-demo-setup-eng.exe
https://bugs.winehq.org/show_bug.cgi?id=42314
--- Comment #4 from Austin English austinenglish@gmail.com --- Created attachment 59154 --> https://bugs.winehq.org/attachment.cgi?id=59154 hotpatch ScriptBreak
Could someone that is affected by this please test this patch?
https://bugs.winehq.org/show_bug.cgi?id=42314
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ahyattdev@icloud.com
--- Comment #5 from Austin English austinenglish@gmail.com --- *** Bug 42167 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=42314
--- Comment #6 from tbl0605@gmail.com --- (In reply to Austin English from comment #4)
Created attachment 59154 [details] hotpatch ScriptBreak
Could someone that is affected by this please test this patch?
Hi Austin, thank you very much for trying to solve this bug :) Sadly the patch doesn't help:
err:module:load_builtin_dll failed to load .so lib for builtin L"usp10.dll": /opt/wine-builds/usr/bin/bin/../lib/wine/usp10.dll.so: échec d'adressage (mapping) du segment de l'objet partagé err:module:DelayLoadFailureHook failed to delay load usp10.dll.ScriptBreak wine: Call from 0x7b43c29c to unimplemented function usp10.dll.ScriptBreak, aborting wine: Unimplemented function usp10.dll.ScriptBreak called at address 0x4bfb0023:0x7b43c29c (thread 0009), starting debugger...
https://bugs.winehq.org/show_bug.cgi?id=42314
--- Comment #7 from tbl0605@gmail.com --- Hi, with wine 3.0-rc5, previous error disappeared (good news!) and I have different logs now:
[...] 0009:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. 0009:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. 0009:fixme:d3dx:D3DXCreateVolumeTextureFromFileInMemoryEx Generation of mipmaps for volume textures is not implemented yet. 0009:fixme:d3dx:D3DXCreateVolumeTextureFromFileInMemoryEx Generation of mipmaps for volume textures is not implemented yet. 0009:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. 0009:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. 0009:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. [...]
but after that, the game stops and I get a popup from the game telling me that I don't have enough memory and that I should send some feedback to "Almost Human" :/
In all cases, performances with wine 3.0-rc5 seem more fluid, the Wine team did a very good job, thank you very much :)
Thierry.
https://bugs.winehq.org/show_bug.cgi?id=42314
--- Comment #8 from tbl0605@gmail.com --- Sorry, forget about the conclusion from my previous comment, the problem is still there.
It disappeared only after I mistakenly removed libpulse0:i386 (and libasyncns0:i386, libjson-c2:i386, libwrap0:i386) from my system (yes, I then had no sound) :/ But restoring libpulse0:i386 also "restored" the usp10.dll.so bug :/
Thierry.
https://bugs.winehq.org/show_bug.cgi?id=42314
--- Comment #9 from tbl0605@gmail.com --- Hi, I wanted just to update my comments to tell that now all "custom dungeons" I tried in game "Legend of Grimrock 2" are working with wine 3.2. I lowered graphical options (to avoid GL_OUT_OF_MEMORY on some game mods) and installed all missing libraries recommended on Ubuntu by looking at the propositions of command "apt-get install --install-recommends winehq-devel".
Thank you again for this great software,
Thierry.
https://bugs.winehq.org/show_bug.cgi?id=42314
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Failed to delay load |Ankh demo fails on startup |usp10.dll.ScriptBreak |with "Failed to delay load | |usp10.dll.ScriptBreak" | |(failed to map segment from | |shared object | |'usp10.dll.so' for builtin | |'usp10.dll') Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID CC| |focht@gmx.net
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
--- snip --- err:module:load_builtin_dll failed to load .so lib for builtin L"usp10.dll": /opt/wine-devel/bin/../lib/wine/usp10.dll.so: échec d'adressage (mapping) du segment de l'objet partagé --- snip ---
translated: "failed to map segment from shared object"
Dependency trigged by:
SDL -> dinput -> comctl32 -> usp10
'dinput.dll':
--- snip --- IMPORTS = dxguid uuid comctl32 ole32 user32 advapi32 --- snip ---
'comctl32.dll':
--- snip --- IMPORTS = uuid user32 gdi32 advapi32 usp10 imm32 DELAYIMPORTS = winmm uxtheme --- snip ---
'user32.dll': -> delay import
--- snip --- EXTRADEFS = -D_USER32_ -D_WINABLE_ MODULE = user32.dll IMPORTLIB = user32 IMPORTS = gdi32 version advapi32 EXTRAINCL = $(PNG_CFLAGS) DELAYIMPORTS = imm32 usp10 --- snip ---
Similar one https://forum.winehq.org/viewtopic.php?f=2&t=28488
--- snip --- Unhandled exception: unimplemented function usp10.dll.ScriptBreak called in 64-bit code (0x000000007b450ca7). Register dump: rip:000000007b450ca7 rsp:0000000000239460 rbp:00000000002395d0 eflags:00000206 ( - -- I - -P- ) rax:0000000000239480 rbx:00007f6375310d9b rcx:0000000000239480 rdx:00000000002394a0 rsi:0000000000239610 rdi:00000000002394b0 r8:0000000000000002 r9:0000000000239600 r10:0000000000000073 r11:0000000000000000 r12:00007f6375310d02 r13:0000000000000108 r14:00000000000c77d0 r15:0000000000108250 Stack dump: 0x0000000000239460: 0000000000239480 0000000000000020 0x0000000000239470: 000000007b4ba44a 0000000000000001 0x0000000000239480: 0000000180000100 0000000000000000 0x0000000000239490: 000000007b450ca7 0000000000000002 0x00000000002394a0: 00007f6375310d02 00007f6375310d9b 0x00000000002394b0: 000000007b818460 000000007b4ba520 0x00000000002394c0: 000000007b4ba44a 00000000000c77d0 0x00000000002394d0: 0000000000108250 00007f6376f1cbfc 0x00000000002394e0: 0000003000000030 00000000002395e0 0x00000000002394f0: 0000000000239500 23c75957616f4600 0x0000000000239500: 0000000000000000 456e695700657479 0x0000000000239510: 36776f5700636578 23c75957616f4600 Backtrace: =>0 0x000000007b450ca7 in kernel32 (+0x30ca7) (0x00000000002395d0) 1 0x000000007b47505b DelayLoadFailureHook+0xaa() in kernel32 (0x00000000002396e0) 2 0x00007f63750babd4 in user32 (+0xbabd3) (0x0000000000239730) 3 0x00007f6375014fe2 in user32 (+0x14fe1) (0x000000000023a250) 4 0x00007f6375099cae DrawTextExW+0xfad() in user32 (0x000000000023a250) 5 0x00007f637509af37 DrawTextW+0xa6() in user32 (0x000000000023a370) 6 0x00007f637507e7e5 in user32 (+0x7e7e4) (0x000000000023a410) 7 0x00007f637507f0a4 in user32 (+0x7f0a3) (0x000000000023afb0) 8 0x00007f63750b44cf in user32 (+0xb44ce) (0x00007f637507eeb0) 9 0x00007f63750b6f3f in user32 (+0xb6f3e) (0x000000000023b160) 10 0x00007f63750350da DefDlgProcW+0xb9() in user32 (0x000000000023b160) 11 0x00007f63750b42ec in user32 (+0xb42eb) (0x00000000000d0122) 12 0x00007f63750b6c03 CallWindowProcW+0x92() in user32 (0x000000000023b2b0) 13 0x00007f6375428e07 in comctl32 (+0x78e06) (0x0000000000000110) --- snip ---
DrawTextExW -> TEXT_NextLineW -> TEXT_WordBreak -> ScriptBreak (delay import).
There can be various reasons:
* ulimit on virtual memory * damaged/corrupted shared object * SELinux setting * noexec mounts * broken multilib * broken WINEPREFIX
I think there is no point in keeping this one open. Similar bug reports have been closed in the past as 'INVALID'. Resolving here.
Regards
https://bugs.winehq.org/show_bug.cgi?id=42314
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv@dawncrow.de
--- Comment #11 from André H. nerv@dawncrow.de --- closing invalid