https://bugs.winehq.org/show_bug.cgi?id=52356
Bug ID: 52356 Summary: Folio Bound Views crashing at winevdm after 6.23 (until 7.0rc2) Product: Wine Version: 7.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gudwin@unicamp.br Distribution: ---
I mostly use Wine for running Folio Bound Views, an old 16 bit Windows application that I must run for accessing some literature that is important in my profession. I used to run Wine 6.21 and it worked without any problem. Now, since version 6.23, the application is crashing at winevdm.exe. The last update of Wine available for Manjaro is 7.0rc2 and the problem is still there. It is important to notice that this problem didn't exist at 6.21. I didn't tested 6.22, so I don't have any clue if the problem was introduced at 6.22 or 6.23, but I can confirm that making a regression to 6.23 didn't worked. Making a regression to 6.21, the application returns to work. I hope you are able to put it working again before 7.0 is finally released. If you need more information in order to track the bug, please let me know how I can help.
Unhandled exception: page fault on read access to 0xffffffff in 16-bit code (07bf:0439). In 16 bit mode. Register dump: CS:07bf SS:08c7 DS:08c7 ES:08c7 FS:0063 GS:006b IP:0439 SP:8b50 BP:8b6c FLAGS:0202( R- -- I - - - ) AX:0001 BX:8b7c CX:0000 DX:0001 SI:0081 DI:0094 Stack dump: 0x08c7:0x8b50: 08c7 0000 0000 0000 20e0 00e3 224d c060 0x08c7:0x8b60: 00e4 8b8e 08c7 0000 0000 0000 8bc8 044b 0x08c7:0x8b70: 011f 8b7c 08c7 0000 0081 0094 e338 0151 0118: sel=08c7 base=00afad30 limit=00009b7f 16-bit rw- Backtrace: =>0 0x07bf:0x0439 (0x08c7:0x8b6c) 1 0x011f:0x044b (0x08c7:0x8bc8) 0x07bf:0x0439: lesw %es:0x0(%bx),%bx Modules: Module Address Debug info Name (30 modules) PE 00400000-00420000 Deferred winevdm PE 00f20000-01054000 Deferred ole32 PE 01570000-01ea8000 Deferred shell32 PE 01eb0000-01f62000 Deferred winspool PE 040e0000-040e8000 Deferred lz32 PE 61740000-61782000 Deferred advapi32 PE 62fc0000-6304d000 Deferred rpcrt4 PE 63480000-6348c000 Deferred version PE 63bc0000-63bda000 Deferred shcore PE 64a40000-64a94000 Deferred shlwapi PE 666c0000-666cf000 Deferred hid PE 66b00000-66b3e000 Deferred win32u PE 68500000-6855a000 Deferred combase PE 69540000-6958e000 Deferred dinput8 PE 6a040000-6a062000 Deferred msacm32 PE 6a280000-6a32c000 Deferred msvcrt PE 6a400000-6a4c6000 Deferred winmm PE 6bc00000-6bc2c000 Deferred sechost PE 6bcc0000-6bd3f000 Deferred setupapi PE 6c9c0000-6ca46000 Deferred gdi32 PE 6cc40000-6cd9c000 Deferred comctl32 PE 6ed00000-6ef3e000 Deferred user32 PE 70940000-7095f000 Deferred mpr PE 70b40000-70c17000 Deferred ucrtbase PE 70d00000-70e08000 Deferred comdlg32 PE 71200000-7121c000 Deferred imm32 PE 7b000000-7b0e9000 Deferred kernelbase PE 7b600000-7b81a000 Deferred kernel32 PE 7bc00000-7bca2000 Deferred ntdll PE 7e100000-7e104000 Deferred winex11 Threads: process tid prio (all id:s are in hex) 00000020 start.exe 00000024 0 00000038 services.exe 0000003c 0 00000040 0 0000004c 0 0000006c 0 00000098 0 000000b0 0 00000104 0 00000044 winedevice.exe 00000048 0 00000054 0 00000058 0 0000005c 0 00000060 0 000000bc 0 00000064 winedevice.exe 00000068 0 00000070 0 00000074 0 00000078 0 00000084 0 00000088 0 0000008c 0 0000007c explorer.exe 00000080 0 000000d8 0 000000ec 0 00000090 plugplay.exe 00000094 0 0000009c 0 000000a0 0 000000a4 0 000000a8 svchost.exe 000000ac 0 000000b4 0 000000b8 0 000000e4 rpcss.exe 000000e8 0 0000010c 0 00000110 0 00000114 0 00000118 0 00000124 0 00000188 (D) C:\windows\syswow64\winevdm.exe 0000018c 0 00000190 0 <== 0000019c 0 System information: Wine build: wine-7.0-rc2 Platform: i386 (WOW64) Version: Windows 7 Host system: Linux Host version: 5.10.84-1-MANJARO
https://bugs.winehq.org/show_bug.cgi?id=52356
Ricardo Gudwin gudwin@unicamp.br changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gudwin@unicamp.br
https://bugs.winehq.org/show_bug.cgi?id=52356
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr --- To increase the chances to see the bug fixed, you should try to perform a regression test.
https://wiki.winehq.org/Regression_Testing
https://bugs.winehq.org/show_bug.cgi?id=52356
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression, win16 Version|7.0-rc2 |6.23 Summary|Folio Bound Views crashing |Folio Bound Views crashes |at winevdm after 6.23 |on start |(until 7.0rc2) |
https://bugs.winehq.org/show_bug.cgi?id=52356
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huw.davies@physics.ox.ac.uk
--- Comment #2 from Huw Davies huw.davies@physics.ox.ac.uk --- Failing a regression analysis, please at least try 6.22 to narrow down the hunt.
Also a +relay,+seh log may be useful, so please attach one while reproducing the failure:
$ WINEDEBUG=+relay,+seh wine app.exe >& /tmp/foo.log
https://bugs.winehq.org/show_bug.cgi?id=52356
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com
--- Comment #3 from Alex Henrie alexhenrie24@gmail.com --- I downloaded and installed Folio Web Retriever 2.1 from http://www.ldsinfobase.net/binaries/webret21.exe, which includes a copy of Folio Bound Views 3.11.2 at C:\Retrieve\BVIEWS.EXE. I can open the program just fine, although it crashes when opening any of the files from http://www.ldsinfobase.net/other_stuff.html.
What version of Folio Bound Views do you have?
https://bugs.winehq.org/show_bug.cgi?id=52356
--- Comment #4 from Ricardo Gudwin gudwin@unicamp.br --- My version of Folio Bound Views is 3.1 As I understand, it always tries to open the last opened file. Maybe this is the reason it crashes as soon as I start it.
https://bugs.winehq.org/show_bug.cgi?id=52356
--- Comment #5 from Ricardo Gudwin gudwin@unicamp.br --- (In reply to Huw Davies from comment #2)
Failing a regression analysis, please at least try 6.22 to narrow down the hunt.
Also a +relay,+seh log may be useful, so please attach one while reproducing the failure:
$ WINEDEBUG=+relay,+seh wine app.exe >& /tmp/foo.log
I might require more instructions for doing that ... I didn't installed it from sources, but from Manjaro packages. For some reason, I have only 6.21 and 6.23 as options. If I need to install from sources, I might need more detailed instructions on how to do that.
https://bugs.winehq.org/show_bug.cgi?id=52356
--- Comment #6 from Huw Davies huw.davies@physics.ox.ac.uk --- (In reply to Ricardo Gudwin from comment #5)
(In reply to Huw Davies from comment #2)
Failing a regression analysis, please at least try 6.22 to narrow down the hunt.
Also a +relay,+seh log may be useful, so please attach one while reproducing the failure:
$ WINEDEBUG=+relay,+seh wine app.exe >& /tmp/foo.log
I might require more instructions for doing that ... I didn't installed it from sources, but from Manjaro packages. For some reason, I have only 6.21 and 6.23 as options. If I need to install from sources, I might need more detailed instructions on how to do that.
See https://wiki.winehq.org/FAQ#General for instructions. Please ask if you get stuck.
https://bugs.winehq.org/show_bug.cgi?id=52356
--- Comment #7 from Huw Davies huw.davies@physics.ox.ac.uk --- (In reply to Alex Henrie from comment #3)
I downloaded and installed Folio Web Retriever 2.1 from http://www.ldsinfobase.net/binaries/webret21.exe, which includes a copy of Folio Bound Views 3.11.2 at C:\Retrieve\BVIEWS.EXE. I can open the program just fine, although it crashes when opening any of the files from http://www.ldsinfobase.net/other_stuff.html.
This looks to be an issue with the 16-bit GetOpenFileName(). The 32-bit OPENFILENAME ptr is getting passed in a hook to the 16-bit code. As such, I think this may be a different issue to that seen by Ricardo.
https://bugs.winehq.org/show_bug.cgi?id=52356
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |1bfae238c861f83e6ccb9e8821d | |5fb0de5a48a61 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #8 from Huw Davies huw.davies@physics.ox.ac.uk --- (In reply to Huw Davies from comment #7)
(In reply to Alex Henrie from comment #3)
I downloaded and installed Folio Web Retriever 2.1 from http://www.ldsinfobase.net/binaries/webret21.exe, which includes a copy of Folio Bound Views 3.11.2 at C:\Retrieve\BVIEWS.EXE. I can open the program just fine, although it crashes when opening any of the files from http://www.ldsinfobase.net/other_stuff.html.
This looks to be an issue with the 16-bit GetOpenFileName(). The 32-bit OPENFILENAME ptr is getting passed in a hook to the 16-bit code. As such, I think this may be a different issue to that seen by Ricardo.
However, if I fix the GetOpenFileName() issue I can reproduce the original bug. The regression is caused by commit 1bfae238c861f83e6ccb9e8821d5fb0de5a48a61.
I've sent in fixes for both problems.
https://bugs.winehq.org/show_bug.cgi?id=52356
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.ldsinfobase.net/ | |binaries/webret21.exe Hardware|x86-64 |x86
--- Comment #9 from Alex Henrie alexhenrie24@gmail.com --- That's great! Thanks Huw! I can confirm that your patches fix both problems.
In case anyone goes looking for this program in the future:
$ sha256sum webret21.exe 2a416dd0a5fc5d04f63b842ade5da9b5ca11537112a310d9349319f8f1603bb6
https://bugs.winehq.org/show_bug.cgi?id=52356
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.ldsinfobase.net/ |https://web.archive.org/web |binaries/webret21.exe |/20150618174702if_/http://w | |ww.ldsinfobase.net/binaries | |/webret21.exe Hardware|x86 |x86-64 Keywords| |download
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- Adding stable download.
$ sha1sum webret21.exe cdef49df7fb4183f5d4273e8b2a1cadd502fb345 webret21.exe
$ du -sh webret21.exe 3.4M webret21.exe
https://bugs.winehq.org/show_bug.cgi?id=52356
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |8e5774eaa6628a5f6a101fadaf1 | |98e9d55ea6984 Resolution|--- |FIXED
--- Comment #11 from Alex Henrie alexhenrie24@gmail.com --- Fixed by:
https://source.winehq.org/git/wine.git/commitdiff/691c7775d11f9f62c363aa419d... https://source.winehq.org/git/wine.git/commitdiff/8e5774eaa6628a5f6a101fadaf...
https://bugs.winehq.org/show_bug.cgi?id=52356
--- Comment #12 from Ricardo Gudwin gudwin@unicamp.br --- I downloaded and compiled the last git version and can confirm that it completely solved the reported problem. Congratulations to the team ! You really impressed me ! Ricardo
https://bugs.winehq.org/show_bug.cgi?id=52356
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc6.
https://bugs.winehq.org/show_bug.cgi?id=52356
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=55715