[Bug 51387] New: Critical Section timeout between "dlls/user32/user_main.c: user_section" and "dlls/winex11.drv/window.c: win_data_section"

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jul 3 11:25:25 CDT 2021


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

            Bug ID: 51387
           Summary: Critical Section timeout between
                    "dlls/user32/user_main.c: user_section"  and
                    "dlls/winex11.drv/window.c: win_data_section"
           Product: Wine
           Version: 4.0.2
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: l.arzeni at iname.com
      Distribution: ---

Created attachment 70242
  --> https://bugs.winehq.org/attachment.cgi?id=70242
application logs

Environment: GNU Debian Linux, kernel 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1
(2021-03-19), Wine 4.0.2, but I tested it and I can reproduce the issue under
every release of wine32, from release 1.5 to release 5.0.3, 

I'm running an old windows application. It works showing a list of records from
an ODBC connection, then when a record is clicked, it opens a form for editing
the record. It's similar to MS Access, but the application is written in a 4GL
db language called clarion. I can share the sources, if needed.

The application works fine under "native" windows (tested in all releases of
windows, from windows XP to Windows 10).

The application looks fine, but hangs after a while, if I run it under wine:

env WINEPREFIX=/home/user1/.wine32 wine /srv/data/shared/LicenseManager.exe

The log shows that there is a timeout in a critical section, may be a deadlock
between:

"dlls/user32/user_main.c: user_section"

and 

"dlls/winex11.drv/window.c: win_data_section"

This is the relevant lines of the logs:

0024:err:ntdll:RtlpWaitForCriticalSection section 6EDB7C80
"dlls/user32/user_main.c: user_section" wait timed out in thread 0024, blocked
by 0114, retrying (60 sec)
0114:err:ntdll:RtlpWaitForCriticalSection section 7DB04220
"dlls/winex11.drv/window.c: win_data_section" wait timed out in thread 0114,
blocked by 0024, retrying (60 sec)

To solve the issue, I run it with "taskset --cpu-list 0 ", that is:

env WINEPREFIX=/home/user1/.wine32 taskset --cpu-list 0 wine
/srv/data/shared/LicenseManager.exe

But, if I user the taskset, the application GUI artifacts became "dirty" , and
I need to close and reopen the window to redraw them properly.

Is there any clue to solve this issue, or, at least, to avoid the garbage on
the user interface when running under the "taskset" command?

Please note: the issue is not "application specific" but, afaik, instead the
bug affects all application generated with "clarion"

Regards, Luca

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