https://bugs.winehq.org/show_bug.cgi?id=42426
Bug ID: 42426 Summary: Upgrade to 2.1 leads to crash with "unimplemented function wlanapi.dll.WlanRegisterNotification called in 32-bit code" Product: Wine Version: 2.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: paul@uni-bonn.de Distribution: ---
Created attachment 57252 --> https://bugs.winehq.org/attachment.cgi?id=57252 backtrace report
After upgrading to the last version of wine-devel the software crashes when started (see backtrace). It used to run fine before.
https://bugs.winehq.org/show_bug.cgi?id=42426
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #1 from fjfrackiewicz@gmail.com --- (In reply to Paul W. Elsinghorst from comment #0)
Created attachment 57252 [details] backtrace report
After upgrading to the last version of wine-devel the software crashes when started (see backtrace). It used to run fine before.
Hi,
This function is actually being worked on : http://source.winehq.org/patches/data/129955
Also, it's not a blocker since it doesn't affect all of Wine, just one application so the importance should be set to "normal" :)
https://bugs.winehq.org/show_bug.cgi?id=42426
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |focht@gmx.net URL| |https://www.steuertipps.de/ | |softwaregateway/demo/22/Ste | |uerSparErklaerung/SteuerSpa | |rErklaerung_22.26.59.zip Summary|Upgrade to 2.1 leads to |ReportTool, part of |crash with "unimplemented |SteuerSparErklaerung 2017 |function |(german tax app) crashes on |wlanapi.dll.WlanRegisterNot |unimplemented function |ification called in 32-bit |wlanapi.dll.WlanRegisterNot |code" |ification Keywords| |download Severity|blocker |normal Component|kernel32 |-unknown Status|UNCONFIRMED |NEW
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
please always specify the application, version and download for reproduce. Also not a blocker, see https://wiki.winehq.org/Bugs on how to report bugs.
I've corrected and completed some fields based on information I guessed from the backtrace.
The application seems to be "SteuerSparErklärung 2017"
https://www.steuertipps.de/steuererklaerung-finanzamt/themen/testversion-der...
Direct download: https://www.steuertipps.de/softwaregateway/demo/22/SteuerSparErklaerung/Steu...
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Akademische Arbeitsgemeinschaft/SteuerSparErklaerung 2017
$ wine ./ReportTool.exe ... wine: Call from 0x7b445e53 to unimplemented function wlanapi.dll.WlanRegisterNotification, aborting wine: Unimplemented function wlanapi.dll.WlanRegisterNotification called at address 0x7b445e53 (thread 0009), starting debugger... --- snip ---
$ sha1sum SteuerSparErklaerung_22.26.59.zip 6f7fbe183b78d9d9489b1aeb635d11bf17a1ab88 SteuerSparErklaerung_22.26.59.zip
$ du -sh SteuerSparErklaerung_22.26.59.zip 297M SteuerSparErklaerung_22.26.59.zip
$ wine --version wine-2.1-126-g06c5a9a
Regards
https://bugs.winehq.org/show_bug.cgi?id=42426
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |00cpxxx@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=42426
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wlanapi
https://bugs.winehq.org/show_bug.cgi?id=42426
Olav Seyfarth olav.seyfarth@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |olav.seyfarth@web.de
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #3 from Olav Seyfarth olav.seyfarth@web.de --- How may I add the App to the "AppDB: Show Apps affected by this bug"-entry in this bug's header?
https://appdb.winehq.org/objectManager.php?sClass=version&iId=34662 (I need to use it, it crashes) IS affected. https://appdb.winehq.org/objectManager.php?sClass=version&iId=32855 (I tested SSE2016, and probably earlier versions) are NOT affected.
https://bugs.winehq.org/show_bug.cgi?id=42426
Jens Reyer jre.winesim@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jre.winesim@gmail.com
--- Comment #4 from Jens Reyer jre.winesim@gmail.com --- @Olav: You add the link in the AppDB, not here. In the AppDB you'll also find a workaround (just added). Please follow up there for any further user questions.
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- Should be fixed by http://source.winehq.org/git/wine.git/commitdiff/55649dfa4a1b733df90dc78f981...
Please retest in wine-git.
https://bugs.winehq.org/show_bug.cgi?id=42426
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #6 from winetest@luukku.com --- (In reply to Bruno Jesus from comment #5)
Should be fixed by http://source.winehq.org/git/wine.git/commitdiff/ 55649dfa4a1b733df90dc78f9817e9b1701d59b5
Please retest in wine-git.
It's fixed in wine 2.2, but fails in wine-staging 2.1, since it doesnt have the patch yet.
Can be marked as fixed.
With wine it prints this
fixme:wlanapi:WlanRegisterNotification (0x1, 65535, 1, 0x21f2810, 0x1d39290, (nil), (nil)) stub
https://bugs.winehq.org/show_bug.cgi?id=42426
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=42426
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |55649dfa4a1b733df90dc78f981 | |7e9b1701d59b5 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com --- Assuming fixed as per previous comment.
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #8 from Olav Seyfarth olav.seyfarth@web.de --- Created attachment 57429 --> https://bugs.winehq.org/attachment.cgi?id=57429 Programs debug log using recent version on wine 2.2 devel
25.02.2017 17:26:03.241: Exception: Microsoft C++ Exception at :0x7b43c26c 25.02.2017 17:26:03.242: PageFile: 0.00 MB WorkingSetSize: 0.00 MB 25.02.2017 17:26:03.242: Writing Minidump: 25.02.2017 17:26:04.133: Saved dump file to 'C:\users\olav\Temp__Akad__Crash_01.dmp' 25.02.2017 17:26:04.133: Version: 22, 0, 22119, 0 25.02.2017 17:26:04.133: Build: Build-22119
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #9 from Olav Seyfarth olav.seyfarth@web.de --- The wlanapi.dll.WlanRegisterNotification issue seems to be solved.
However, I now get this different crash. I'm not sure whether wine 2.2-related, since I also get it when I downgrade to wine 2.0 now.
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #10 from Olav Seyfarth olav.seyfarth@web.de --- Created attachment 57430 --> https://bugs.winehq.org/attachment.cgi?id=57430 STDERR on calling "wine SSE.exe"
The workaround "WINEDLLOVERRIDES="wlanapi=n" wine StartCenter.exe" is no longer necessary, "wine StartCenter.exe" starts just fine.
However, starting an actual PROGRAM (not just the starter), in my case "GewinnErfassung 2017" using "wine SSE.exe", then selecting "GewinnErfassung 2017" crashes with the above mentioned exception. Here are the traces that I see on the terminal.
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #11 from fjfrackiewicz@gmail.com --- (In reply to Olav Seyfarth from comment #9)
The wlanapi.dll.WlanRegisterNotification issue seems to be solved.
However, I now get this different crash. I'm not sure whether wine 2.2-related, since I also get it when I downgrade to wine 2.0 now.
You may want to file a new bug report for the new crash.
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #12 from Olav Seyfarth olav.seyfarth@web.de --- Sure, I'll do.
However, I installed wine-devel from scratch and got it working. However, the RegisterWlan issue seems to be fixed in a way that doesn't crash the application any more, but also does not allow to use the program's update function since it does not succeed in enumerating wlan devices.
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #13 from Olav Seyfarth olav.seyfarth@web.de --- Created attachment 57432 --> https://bugs.winehq.org/attachment.cgi?id=57432 Update hangs (during initial setup)
--I deleted all repeated lines-- err:shell:SHGetFileInfoW pidl is null! err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. fixme:win:WINNLSEnableIME hwnd 0x1011a enable 0: stub! fixme:win:WINNLSEnableIME hwnd 0x1011a enable -1: stub! fixme:ver:GetCurrentPackageId (0x33f698 (nil)): stub fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:ntdll:NtLockFile I/O completion on lock not implemented yet fixme:cacls:main This is dummy cacls, not performing ACL manipulations fixme:cacls:main stub: "C:\windows\system32\cacls.exe" "C:\users\Public\Application Data\AAV" "/T" "/E" "/C" "/G" "Everyone:F" err:richedit:ReadStyleSheet skipping optional destination err:richedit:ReadColorTbl malformed entry err:richedit:ReadStyleSheet skipping optional destination fixme:win:WINNLSEnableIME hwnd 0x101fe enable 0: stub! fixme:win:WINNLSEnableIME hwnd 0x101fe enable -1: stub! fixme:shell:BrsFolder_OnCreate flags BIF_NEWDIALOGSTYLE partially implemented fixme:win:WINNLSEnableIME hwnd 0x2021c enable 0: stub! fixme:win:WINNLSEnableIME hwnd 0x2021c enable -1: stub! err:richedit:ReadStyleSheet skipping optional destination fixme:win:WINNLSEnableIME hwnd 0x20228 enable 0: stub! fixme:win:WINNLSEnableIME hwnd 0x20228 enable -1: stub! fixme:win:WINNLSEnableIME hwnd 0x2022a enable 0: stub! fixme:win:WINNLSEnableIME hwnd 0x2022a enable -1: stub! fixme:win:WINNLSEnableIME hwnd 0x20220 enable 0: stub! fixme:win:WINNLSEnableIME hwnd 0x20220 enable -1: stub!
--Update starts here-- fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:system:SetProcessDPIAware stub! fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"! fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:ver:GetCurrentPackageId (0x18ae9a8 (nil)): stub fixme:wlanapi:WlanRegisterNotification (0x1, 65535, 1, 0x18b2810, 0xf70a90, (nil), (nil)) stub fixme:wlanapi:WlanEnumInterfaces (0x1, (nil), 0x18ac7b8) semi-stub fixme:wlanapi:WlanEnumInterfaces (0x1, (nil), 0x18ac278) semi-stub fixme:wlanapi:WlanEnumInterfaces (0x1, (nil), 0x33f2fc) semi-stub fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot fixme:toolhelp:Heap32ListFirst : stub fixme:wlanapi:WlanEnumInterfaces (0x1, (nil), 0x33d024) semi-stub fixme:wlanapi:WlanEnumInterfaces (0x1, (nil), 0x18ac218) semi-stub fixme:wlanapi:WlanEnumInterfaces (0x1, (nil), 0x18ac1d0) semi-stub --the last two lines repeat every feq secs, so I aborted the process (using the GUI "Stop" button)--
fixme:msvcrt:__clean_type_info_names_internal (0x1901178) stub fixme:msvcrt:__clean_type_info_names_internal (0x1a293b8) stub
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Olav Seyfarth from comment #12)
However, I installed wine-devel from scratch and got it working. However, the RegisterWlan issue seems to be fixed in a way that doesn't crash the application any more, but also does not allow to use the program's update function since it does not succeed in enumerating wlan devices.
It wouldn't make sense for the application to not update because it can't list the wireless networks. This DLL is not even used to connect/transfer data, it is used to list and configure wireless networks.
Can this be reproduced with the file in the download field?
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #15 from Olav Seyfarth olav.seyfarth@web.de --- Yes, I'm sure it can be. Please see the installation steps I took in the "test data" in https://appdb.winehq.org/objectManager.php?sClass=version&iId=34662 I just sent (but which is not yet reviewed, thus still invisible):
System: Mint 18.1 remove all previous wine installation (packages and ~/.wine) add ppa, install wine-devel and winehq-devel, get recent winetricks, apply winetricks vcredist2015 mspatcha, get installation file https://www.steuertipps.de/softwaregateway/demo/22/SteuerSparErklaerung/Steu..., install it: "wine SteuerSparErklaerung_22.26.59.exe", select "Custom install", unselect Multimedia, Don't participate in survey, DO UPDATE.
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #16 from Bruno Jesus 00cpxxx@gmail.com --- I installed the application in Windows 8 and Wine 2.2. I receive the same messagebox in German when checking for updates:
Ihre version ist auf dem aktuellen stand.
It can be a random failure that it fails to check for update but I don't think it is wlanapi related anymore.
https://bugs.winehq.org/show_bug.cgi?id=42426
--- Comment #17 from Olav Seyfarth olav.seyfarth@web.de --- Thanks for testing, I can confirm that. Only had it when I tried to check for updates at the end of the installation and since it looped then I deducted it may be related to not getting expected results from WlanRegister.
Update from within the already installed app also gives me "Aktueller Stand" now. I'll add a comment to both AppDB and this bug after the first update available.
Thanks for all your efforts!!
https://bugs.winehq.org/show_bug.cgi?id=42426
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.3.