[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
Sat Sep 15 01:45:46 CDT 2012


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

Joshua <wine at placesthroughtime.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|FIXED                       |

--- Comment #44 from Joshua <wine at placesthroughtime.com> 2012-09-15 01:45:46 CDT ---
That hasn't resolved the issue it was started for that exists in the League of
Legends launcher, lol.launcher.exe.  I'll attach a new +relay log file of
executing it, below is the back trace information.
-----------------------
wine-git --version
wine-1.5.13-1-g719a319
-----------------------
 err:ntdll:RtlpWaitForCriticalSection section 0x541000 "?" wait timed out in
thread 002c, blocked by 0033, retrying (60 sec)

-----------------------
Wine-dbg>info process
 pid      threads  parent   executable (all id:s are in hex)
 0000000e 10       0000000a 'services.exe'
 0000001d 4        0000000e 'winedevice.exe'
 00000023 3        0000000e 'plugplay.exe'
 0000002a 8        00000008 'rads_user_kernel.exe'
 0000002d 1        0000002a 'explorer.exe'

-----------------------
Wine-dbg>attach 0x002a
0xf77dd42e __kernel_vsyscall+0xe in [vdso].so: int    $0x80

-----------------------
Wine-dbg>info thread
process  tid      prio (all id:s are in hex)
0000000e services.exe
    00000028    0
    00000027    0
    00000020    0
    0000001c    0
    0000001b    0
    0000001a    0
    00000018    0
    00000017    0
    00000010    0
    0000000f    0
0000001d winedevice.exe
    00000025    0
    00000022    0
    0000001f    0
    0000001e    0
00000023 plugplay.exe
    00000029    0
    00000026    0
    00000024    0
0000002a (D) G:\League of Legends\RADS\system\rads_user_kernel.exe
    00000036    0
    00000035    0
    00000034    0
    00000033    0
    00000031    0
    00000030    0
    0000002c    0
    0000002b    0 <==
0000002d explorer.exe
    0000002e    0

-----------------------
Wine-dbg>bt
Backtrace:
=>0 0xf77dd42e __kernel_vsyscall+0xe() in [vdso].so (0x0033f828)
  1 0xf764a71b __libc_read+0x4a() in libpthread.so.0 (0x0033f828)
  2 0x7bc7ae58 wait_reply+0x57(cookie=0x33fa2c)
[/media/src/wine/git-build-x86_64/dlls/ntdll/../../../git/dlls/ntdll/sync.c:807]
in ntdll (0x0033f828)
  3 0x7bc7d218 NTDLL_wait_for_multiple_objects+0x227(count=0x1,
handles=0x33fab8, flags=0x4, timeout=(nil), signal_object=<is not available>)
[/media/src/wine/git-build-x86_64/dlls/ntdll/../../../git/dlls/ntdll/sync.c:1122]
in ntdll (0x0033fa48)
  4 0x7bc7d301 NtWaitForMultipleObjects+0x50(count=0x1, handles=0x33fab8,
wait_all=0, alertable=0, timeout=(nil))
[/media/src/wine/git-build-x86_64/dlls/ntdll/../../../git/dlls/ntdll/sync.c:1160]
in ntdll (0x0033fa78)
  5 0x7b86f03a WaitForMultipleObjectsEx.part+0xe9() in kernel32 (0x0033fbd8)
  6 0x7b86f254 WaitForMultipleObjectsEx+0x43() in kernel32 (0x0033fbf8)
  7 0x7b86f33c WaitForSingleObject+0x3b(handle=0x98, timeout=0xffffffff)
[/media/src/wine/git-build-x86_64/dlls/kernel32/../../../git/dlls/kernel32/sync.c:128]
in kernel32 (0x0033fc28)

-----------------------
Wine-dbg>bt 0x002c
Backtrace:
=>0 0xf77dd430 __kernel_vsyscall+0x10() in [vdso].so (0x00000000)
  1 0xf75af767 syscall+0x26() in libc.so.6 (0x00000000)
  2 0x7bc3776e RtlpWaitForCriticalSection+0x15d(crit=0x541000)
[/media/src/wine/git-build-x86_64/dlls/ntdll/../../../git/dlls/ntdll/critsection.c:69]
in ntdll (0x0085e9ec)
  3 0x7bc38175 RtlEnterCriticalSection+0x44(crit=0x541000)
[/media/src/wine/git-build-x86_64/dlls/ntdll/../../../git/dlls/ntdll/critsection.c:555]
in ntdll (0x0085ea1c)
  4 0x0049b8c9 in rads_user_kernel (+0x9b8c8) (0x0085ea40)
  5 0x0049b99a in rads_user_kernel (+0x9b999) (0x0085ea58)
  6 0x7bc78fcd call_thread_func+0x7c(entry=0x49b990, arg=0x540fd0,
frame=0x85eb48)
[/media/src/wine/git-build-x86_64/dlls/ntdll/../../../git/dlls/ntdll/signal_i386.c:2522]
in ntdll (0x0085eb28)
  7 0x7bc7629e call_thread_entry_point+0x11() in ntdll (0x0085eb48)
  8 0x7bc7ec4d start_thread+0xdc(info=0x7ffd4fb8)
[/media/src/wine/git-build-x86_64/dlls/ntdll/../../../git/dlls/ntdll/thread.c:408]
in ntdll (0x0085f398)
  9 0xf7642c39 start_thread+0xc8(arg=0x85fb70)
[/home/aurel32/eglibc/eglibc-2.13/nptl/pthread_create.c:304] in libpthread.so.0
(0x0085f498)

-----------------------
Wine-dbg>bt 0x0033
Backtrace:
=>0 0xf77dd42e __kernel_vsyscall+0xe() in [vdso].so (0x0095d528)
  1 0xf764a71b __libc_read+0x4a() in libpthread.so.0 (0x0095d528)
  2 0x7bc7ae58 wait_reply+0x57(cookie=0x95d72c)
[/media/src/wine/git-build-x86_64/dlls/ntdll/../../../git/dlls/ntdll/sync.c:807]
in ntdll (0x0095d528)
  3 0x7bc7d218 NTDLL_wait_for_multiple_objects+0x227(count=0x1,
handles=0x95d7b8, flags=0x4, timeout=(nil), signal_object=<is not available>)
[/media/src/wine/git-build-x86_64/dlls/ntdll/../../../git/dlls/ntdll/sync.c:1122]
in ntdll (0x0095d748)
  4 0x7bc7d301 NtWaitForMultipleObjects+0x50(count=0x1, handles=0x95d7b8,
wait_all=0, alertable=0, timeout=(nil))
[/media/src/wine/git-build-x86_64/dlls/ntdll/../../../git/dlls/ntdll/sync.c:1160]
in ntdll (0x0095d778)
  5 0x7b86f03a WaitForMultipleObjectsEx.part+0xe9() in kernel32 (0x0095d8d8)
  6 0x7b86f254 WaitForMultipleObjectsEx+0x43() in kernel32 (0x0095d8f8)
  7 0x7e0c41c5 X11DRV_MsgWaitForMultipleObjectsEx+0xf4(count=0x1,
handles=0x95da3c, timeout=0xffffffff, mask=0x40, flags=0)
[/media/src/wine/git-build-x86_64/dlls/winex11.drv/../../../git/dlls/winex11.drv/event.c:468]
in winex11 (0x0095d938)
  8 0x7ed4ad14 wait_message+0x53() in user32 (0x0095d978)
  9 0x7ed13574 wait_message_reply+0xf3(flags=0)
[/media/src/wine/git-build-x86_64/dlls/user32/../../../git/dlls/user32/message.c:3015]
in user32 (0x0095da58)
  10 0x7ed135e7 send_inter_thread_message+0x56(info=0x95db50, res_ptr=0x95db1c)
[/media/src/wine/git-build-x86_64/dlls/user32/../../../git/dlls/user32/message.c:3156]
in user32 (0x0095dac8)
  11 0x7ed137e2 send_message+0x161() in user32 (0x0095db38)
  12 0x7ed13cec SendMessageW+0x4b(hwnd=0x10052, msg=0x7f, wparam=0x1, lparam=0)
[/media/src/wine/git-build-x86_64/dlls/user32/../../../git/dlls/user32/message.c:3396]
in user32 (0x0095db88)
  13 0x7e0e6fe2 set_icon_hints+0x2d1(display=0x7de8d238, data=0x12c5d0,
icon_big=(nil), icon_small=(nil))
[/media/src/wine/git-build-x86_64/dlls/winex11.drv/../../../git/dlls/winex11.drv/window.c:589]
in winex11 (0x0095dc18)
  14 0x7e0e7fed set_initial_wm_hints+0x1ec(display=0x7de8d238, data=0x12c5d0)
[/media/src/wine/git-build-x86_64/dlls/winex11.drv/../../../git/dlls/winex11.drv/window.c:806]
in winex11 (0x0095dc98)
  15 0x7e0e8e75 create_whole_window+0x1f4(display=0x7de8d238, data=0x12c5d0)
[/media/src/wine/git-build-x86_64/dlls/winex11.drv/../../../git/dlls/winex11.drv/window.c:1339]
in winex11 (0x0095e558)
  16 0x7e0ea137 X11DRV_WindowPosChanging+0x216(hwnd=0x10052,
insert_after=(nil), swp_flags=0x14, window_rect=0x95e7b0, client_rect=0x95e7c0,
visible_rect=0x95e70c, surface=0x95e74c)
[/media/src/wine/git-build-x86_64/dlls/winex11.drv/../../../git/dlls/winex11.drv/window.c:1633]
in winex11 (0x0095e648)
  17 0x7ed45274 set_window_pos+0x73(hwnd=0x10052, insert_after=(nil),
swp_flags=0x14, window_rect=0x95e7b0, client_rect=0x95e7c0, valid_rects=(nil))
[/media/src/wine/git-build-x86_64/dlls/user32/../../../git/dlls/user32/winpos.c:1958]
in user32 (0x0095e768)
  18 0x7ed3fe03 UpdateLayeredWindowIndirect+0x182(hwnd=0x10052, info=0x95e808)
[/media/src/wine/git-build-x86_64/dlls/user32/../../../git/dlls/user32/win.c:3628]
in user32 (0x0095e7e8)
  19 0x7ed400f2 UpdateLayeredWindow+0x61(hwnd=0x10052, hdcDst=0x360,
pptDst=0x95e88c, psize=0x95e87c, hdcSrc=0x384, pptSrc=0x95e884, crKey=0,
pblend=0x95e874, dwFlags=0x2)
[/media/src/wine/git-build-x86_64/dlls/user32/../../../git/dlls/user32/win.c:3685]
in user32 (0x0095e838)

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