[Bug 38162] Winemenubuilder occasionally crashes during WINEPREFIX update (race between placeholder icon extraction and placeholder update)
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Mar 18 12:24:22 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=38162
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
haven't see this in a while, although the code hasn't changed so the problem is
potentially still present.
https://source.winehq.org/git/wine.git/history/HEAD:/programs/winemenubuilder/winemenubuilder.c
https://source.winehq.org/git/wine.git/history/HEAD:/programs/wineboot/wineboot.c
I've tried to reproduce with a small script that switches between different
versions before triggering WINEPREFIX updates. Using 'inotify' tool to
capture/watch the updates in real time but no avail. Tried with clean
WINEPREFIX and a more "heavyweight" one with .NET Framework 2.0 and 4.0
installed.
'prefix_update_test.sh'
--- snip ---
#!/bin/bash
update_prefix()
{
version=$1
(
export
PATH=/home/focht/projects/wine/mainline-install-$version-x86_64/bin:$PATH
echo "### triggering prefix update with Wine version $version ###"
# process starts: add +timestamp,+process
WINEDEBUG=-all, wineboot -u && wineserver -w
)
}
let i=0
while :; do
let i++
dt=$(date '+%F %T')
echo -e "\n### $dt loop iteration $i ###"
update_prefix "1.7.43"
update_prefix "3.14"
update_prefix "2.15"
update_prefix "4.3"
done
--- snip ---
--- snip ---
bash test.sh
### 2019-03-18 18:22:38 loop iteration 1 ###
### triggering prefix update with Wine version 1.7.43 ###
wine: configuration in '/home/focht/.wine' has been updated.
wine: configuration in '/home/focht/.wine' has been updated.
### triggering prefix update with Wine version 3.14 ###
wine: configuration in '/home/focht/.wine' has been updated.
wine: configuration in '/home/focht/.wine' has been updated.
### triggering prefix update with Wine version 2.15 ###
wine: configuration in '/home/focht/.wine' has been updated.
wine: configuration in '/home/focht/.wine' has been updated.
### triggering prefix update with Wine version 4.3 ###
wine: configuration in '/home/focht/.wine' has been updated.
wine: configuration in '/home/focht/.wine' has been updated.
### 2019-03-18 18:23:07 loop iteration 2 ###
### triggering prefix update with Wine version 1.7.43 ###
wine: configuration in '/home/focht/.wine' has been updated.
wine: configuration in '/home/focht/.wine' has been updated.
### triggering prefix update with Wine version 3.14 ###
wine: configuration in '/home/focht/.wine' has been updated.
wine: configuration in '/home/focht/.wine' has been updated.
### triggering prefix update with Wine version 2.15 ###
wine: configuration in '/home/focht/.wine' has been updated.
wine: configuration in '/home/focht/.wine' has been updated.
### triggering prefix update with Wine version 4.3 ###
wine: configuration in '/home/focht/.wine' has been updated.
wine: configuration in '/home/focht/.wine' has been updated.
...
--- snip ---
--- snip ---
$ inotifywait -m -r --timefmt '%F %T' --format '%T %e %w%f' .wine/drive_c/
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
...
2019-03-18 18:14:17 OPEN .wine/drive_c/windows/rundll.exe
2019-03-18 18:14:17 ACCESS .wine/drive_c/windows/rundll.exe
2019-03-18 18:14:17 MODIFY .wine/drive_c/windows/rundll.exe
2019-03-18 18:14:17 MODIFY .wine/drive_c/windows/rundll.exe
2019-03-18 18:14:17 CLOSE_WRITE,CLOSE .wine/drive_c/windows/rundll.exe
2019-03-18 18:14:17 OPEN .wine/drive_c/windows/twain.dll
2019-03-18 18:14:17 ACCESS .wine/drive_c/windows/twain.dll
2019-03-18 18:14:17 MODIFY .wine/drive_c/windows/twain.dll
2019-03-18 18:14:17 MODIFY .wine/drive_c/windows/twain.dll
2019-03-18 18:14:17 CLOSE_WRITE,CLOSE .wine/drive_c/windows/twain.dll
2019-03-18 18:14:17 OPEN .wine/drive_c/windows/twain_32.dll
2019-03-18 18:14:17 ACCESS .wine/drive_c/windows/twain_32.dll
2019-03-18 18:14:17 MODIFY .wine/drive_c/windows/twain_32.dll
2019-03-18 18:14:17 MODIFY .wine/drive_c/windows/twain_32.dll
2019-03-18 18:14:17 CLOSE_WRITE,CLOSE .wine/drive_c/windows/twain_32.dll
2019-03-18 18:14:17 OPEN .wine/drive_c/windows/winhelp.exe
2019-03-18 18:14:17 ACCESS .wine/drive_c/windows/winhelp.exe
2019-03-18 18:14:17 MODIFY .wine/drive_c/windows/winhelp.exe
2019-03-18 18:14:17 MODIFY .wine/drive_c/windows/winhelp.exe
2019-03-18 18:14:17 CLOSE_WRITE,CLOSE .wine/drive_c/windows/winhelp.exe
2019-03-18 18:14:17 OPEN .wine/drive_c/windows/winhlp32.exe
2019-03-18 18:14:17 ACCESS .wine/drive_c/windows/winhlp32.exe
2019-03-18 18:14:17 MODIFY .wine/drive_c/windows/winhlp32.exe
2019-03-18 18:14:17 MODIFY .wine/drive_c/windows/winhlp32.exe
2019-03-18 18:14:17 CLOSE_WRITE,CLOSE .wine/drive_c/windows/winhlp32.exe
...
--- snip ---
If you still encounter it, you might reopen. In that case please provide some
more details, i.e. old Wine version (if you remember it), current Wine version,
any specifics to the WINEPREFIX that was updated etc.
$ wine --version
wine-4.4-1-gc29bababef
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