[Bug 42314] Ankh demo fails on startup with " Failed to delay load usp10.dll.ScriptBreak" ( failed to map segment from shared object 'usp10.dll.so' for builtin ' usp10.dll')

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 30 09:34:04 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=42314

Anastasius Focht <focht at 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 at gmx.net

--- Comment #10 from Anastasius Focht <focht at 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

-- 
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.


More information about the wine-bugs mailing list