https://bugs.winehq.org/show_bug.cgi?id=41572
Bug ID: 41572 Summary: Windows API crash Product: Wine Version: 1.8.5 Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: critical Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: atraversi@gosierra.com
Hi
Sorry, my english is bad!
I found a problem with a Windows API function "GetTimeZoneInformationForYear": throw an exception. I'm calling with the first two parameters: WYear = 2016 and pdtzi = NULL
Regards, Angel
https://bugs.winehq.org/show_bug.cgi?id=41572
Angel atraversi@gosierra.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Windows API crash |Windows API crash | |(GetTimeZoneInformationForY | |ear)
https://bugs.winehq.org/show_bug.cgi?id=41572
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- What's your wine version?
wine --version?
You supposed to use 1.8 or 1.9 series of wine or wine-staging.
Other versions are really outdated.
Can you provide a simple test program or c-code to demonstrate the problem?
https://bugs.winehq.org/show_bug.cgi?id=41572
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
https://bugs.winehq.org/show_bug.cgi?id=41572
--- Comment #2 from Angel atraversi@gosierra.com --- Created attachment 55921 --> https://bugs.winehq.org/attachment.cgi?id=55921 Windows exec that demonstrate GetTimeZoneInformationForYear bug
This is a Win32 app that demonstrate a bug in Windows API GetTimeZoneInformationForYear
https://bugs.winehq.org/show_bug.cgi?id=41572
--- Comment #3 from Angel atraversi@gosierra.com --- (In reply to winetest from comment #1)
What's your wine version?
wine --version?
You supposed to use 1.8 or 1.9 series of wine or wine-staging.
Other versions are really outdated.
Can you provide a simple test program or c-code to demonstrate the problem?
Thanks for the reply.
I indicated the version of Wine in the combobox "Version" in report header: 1.8.4
I have attached a test program. Clicking on the button, an exception is shown. If the program does not crash, then it displays a text in the label above the button.
https://bugs.winehq.org/show_bug.cgi?id=41572
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #4 from Austin English austinenglish@gmail.com --- Could you attach the source please?
https://bugs.winehq.org/show_bug.cgi?id=41572
--- Comment #5 from Angel atraversi@gosierra.com --- Created attachment 55924 --> https://bugs.winehq.org/attachment.cgi?id=55924 Delphi program that use GetTimeZoneInformationForYear
I attach the Delphi source project (created and compiled in Delphi XE8),
https://bugs.winehq.org/show_bug.cgi?id=41572
--- Comment #6 from Carlo Bramini carlo.bramix@libero.it --- Created attachment 55932 --> https://bugs.winehq.org/attachment.cgi?id=55932 Test on WINE 1.9.20
It works on a recent build.
https://bugs.winehq.org/show_bug.cgi?id=41572
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Target Milestone|--- |1.8.x Fixed by SHA1| |b922b55182ca2b51bf2599369c4 | |71b3920bfb635 Keywords| |source Resolution|--- |FIXED
--- Comment #7 from Austin English austinenglish@gmail.com --- (In reply to Carlo Bramini from comment #6)
Created attachment 55932 [details] Test on WINE 1.9.20
It works on a recent build.
Fixed.
https://bugs.winehq.org/show_bug.cgi?id=41572
--- Comment #8 from Angel atraversi@gosierra.com --- (In reply to Austin English from comment #7)
(In reply to Carlo Bramini from comment #6)
Created attachment 55932 [details] Test on WINE 1.9.20
It works on a recent build.
Fixed.
Thank you very much!!
Regards, Angel
PD: I use an old version of Wine because I use CrossOver.
https://bugs.winehq.org/show_bug.cgi?id=41572
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.22.
https://bugs.winehq.org/show_bug.cgi?id=41572
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #10 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.7.