[Bug 26924] Calling UpdateLayeredWindowIndirect in multi-threaded apps might lead to freezes (Beta League of Legends Patcher, Tunatic, .NET 3.x/4.x WPF apps)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 3 07:38:51 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=26924

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
                URL|                            |http://amshaegar.de/lol/LoL
                   |                            |RADS_US.zip
                 CC|                            |focht at gmx.net
          Component|-unknown                    |user32
            Summary|Beta League of Legends      |Calling
                   |Patcher locks up.           |UpdateLayeredWindowIndirect
                   |                            |in multi-threaded apps
                   |                            |might lead to freezes (Beta
                   |                            |League of Legends Patcher,
                   |                            |Tunatic, .NET 3.x/4.x WPF
                   |                            |apps)

--- Comment #39 from Anastasius Focht <focht at gmx.net> 2012-05-03 07:38:51 CDT ---
Hello,

refining summary as this affects several apps.
I encountered this problem also for .NET 3.x/4.x WPF based apps (after working
around other bugs):

--- snip ---
Wine-dbg>bt 0x3b
Backtrace:
=>0 0xf77a742e __kernel_vsyscall+0xe() in [vdso].so (0x0303e0c0)
  1 0xf760e85b __libc_read+0x4a() in libpthread.so.0 (0x0303e0c0)
  2 0x7bc7d889 wait_reply+0x33(cookie=0x303e2a4)
[/home/focht/projects/wine/wine-git/dlls/ntdll/sync.c:807] in ntdll
(0x0303e0c0)

  3 0x7bc7e91d NTDLL_wait_for_multiple_objects+0x1e5(count=0x1,
handles=0x303e368, flags=0x4, timeout=(nil), signal_object=0x0(nil))
[/home/focht/projects/wine/wine-git/dlls/ntdll/sync.c:1122] in ntdll
(0x0303e2e0)

  4 0x7bc7ea01 NtWaitForMultipleObjects+0x67(count=0x1, handles=0x303e368,
wait_all=0, alertable=0, timeout=(nil))
[/home/focht/projects/wine/wine-git/dlls/ntdll/sync.c:1160] in ntdll
(0x0303e330)

  5 0x7b871ccc WaitForMultipleObjectsEx+0x137(count=0x1, handles=0x303e598,
wait_all=0, timeout=0xffffffff, alertable=0)
[/home/focht/projects/wine/wine-git/dlls/kernel32/sync.c:188] in kernel32
(0x0303e480)

  6 0x7ea027ea X11DRV_MsgWaitForMultipleObjectsEx+0xed(count=0x1,
handles=0x303e598, timeout=0xffffffff, mask=0x40, flags=0)
[/home/focht/projects/wine/wine-git/dlls/winex11.drv/event.c:472] in winex11
(0x0303e4c0)

  7 0x7ec246da wait_message+0x41(count=0x1, handles=0x303e598,
timeout=0xffffffff, mask=0x40, flags=0)
[/home/focht/projects/wine/wine-git/dlls/user32/winproc.c:1126] in user32
(0x0303e500)

  8 0x7ebe4869 wait_message_reply+0xf9(flags=0)
[/home/focht/projects/wine/wine-git/dlls/user32/message.c:2897] in user32
(0x0303e5c0)

  9 0x7ebe4f7e send_inter_thread_message+0xf2(info=0x303e698,
res_ptr=0x303e654)
[/home/focht/projects/wine/wine-git/dlls/user32/message.c:3038] in user32
(0x0303e620)

  10 0x7ebe522d send_message+0x249(info=0x303e698, res_ptr=0x303e6c4,
unicode=0x1) [/home/focht/projects/wine/wine-git/dlls/user32/message.c:3101] in
user32 (0x0303e680)

  11 0x7ebe571d SendMessageW+0x53(hwnd=0x20076, msg=0x80000001, wparam=0,
lparam=0x303e710)
[/home/focht/projects/wine/wine-git/dlls/user32/message.c:3278] in user32
(0x0303e6d0)

  12 0x7ec1f574 SetWindowPos+0x15d(hwnd=0x20076, hwndInsertAfter=(nil),
x=0x311, y=0x1be, cx=0x15e, cy=0xdc, flags=0x41c)
[/home/focht/projects/wine/wine-git/dlls/user32/winpos.c:2157] in user32
(0x0303e740)

  13 0x7ec18d0d UpdateLayeredWindowIndirect+0x1b5(hwnd=0x20076, info=0x303e80c)
[/home/focht/projects/wine/wine-git/dlls/user32/win.c:3515] in user32
(0x0303e7f0)

  14 0x5329b10e in milcore (+0x10b10d) (0x0303e850)
  15 0x5324e691 in milcore (+0xbe690) (0x0303e8a4)
...
--- snip ---

UI thread vs. renderer thread

Obviously still present.

$ wine --version
wine-1.5.3-101-g9c19ba6

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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