http://bugs.winehq.org/show_bug.cgi?id=14798
Summary: ETax 2008 cannot verify Product: Wine Version: 1.1.2 Platform: PC-x86-64 URL: http://ato.gov.au/etax OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: hewus.owns@gmail.com
ETax 2008 verification does not work. Clicking 'Ok' on the popup at the verification stage causes the next screen to appear blank, and navigation buttons to be greyed out.
I have attached a log of my output while running this part of ETax 2008.
The first four lines of the log are known configuration issues on my end and can be ignored.
The 88d969c0-f192-11d4-a65f-0040963251e5 errors appear when 'Yes' is chosen in the pre-filling section. There is no apparent loss of functionality here.
The 76a64158-cb41-11d1-8b02-00600806d9b6 errors appear when 'Ok' is chosen in the popup at the verification stage. This is where the program effectively breaks. This is the subject of this bug report.
This issue has been confirmed in a couple of posts on AppDB and elsewhere. To reproduce this issue in testing, the TFN 123456782 can be used.
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #1 from Hew hewus.owns@gmail.com 2008-08-08 03:03:32 --- Created an attachment (id=15345) --> (http://bugs.winehq.org/attachment.cgi?id=15345) Output of Wine running ETax 2008
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #2 from Lei Zhang thestig@google.com 2008-08-08 13:14:44 --- How do you get to the verification stage? Do you have to fill out an entire tax form first?
http://bugs.winehq.org/show_bug.cgi?id=14798
Hew hewus.owns@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #3 from Hew hewus.owns@gmail.com 2008-08-09 00:02:37 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #4 from Hew hewus.owns@gmail.com 2008-08-09 00:04:41 --- Verification appears early on in the process. The exact procedure to reproduce is:
next; fill in details and next; next x4; fill in details and next; next; yes (first error appears from output; next (popup appears); ok (second error appears, etax is blank).
Hope this helps!
http://bugs.winehq.org/show_bug.cgi?id=14798
James Andrewartha trs80@ucc.asn.au changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |trs80@ucc.asn.au
--- Comment #5 from James Andrewartha trs80@ucc.asn.au 2008-08-14 10:34:01 --- Searching for 76a64158-cb41-11d1-8b02-00600806d9b6 shows it's some sort of network diagnostic tool - http://technet.microsoft.com/en-us/library/cc723458.aspx has examples using it.
Trying with a wineprefix that has IE6 installed gives the following:
WINEPREFIX=~/.ies4linux/ie6 wine etax2008 23:29 err:service:RPC_Init RpcServerUseProtseq failed with error 1703 err:wineboot:start_services_process Unexpected termination of services.exe - exit code 1703 err:module:attach_process_dlls "rpcrt4.dll" failed to initialize, aborting err:module:LdrInitializeThunk Main exe initialization for L"c:\windows\system32\explorer.exe" failed, status c0000005 err:module:find_forwarded_export function not found for forward 'secur32.DecryptMessage' used by L"c:\windows\system32\security.dll". If you are using builtin L"security.dll", try using the native one instead. fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
The only line that occurs after pressing OK in the verification dialog is the last one, but it stops working in the same way as a prefix without IE.
http://bugs.winehq.org/show_bug.cgi?id=14798
David Griffith dgriffith@internode.on.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dgriffith@internode.on.net
--- Comment #6 from David Griffith dgriffith@internode.on.net 2008-08-28 05:33:10 --- It appears that the class 76a64158-cb41-11d1-8b02-00600806d9b6 interfaces with windows' WMI layer (Windows Management Interface). Google the class ID and WMI for more info.
I suspect the app wants to find it's local (or public-internet) IP address for some reason. Why? I don't know. Why via WMI? I don't know that either. I'm just a guy looking to do his tax. :-p
But I do know that disabling the WMI service under XP causes exactly the same issue (failure of ID verification, and subsequent failure of prefill/tax lodgement), as I used a cut-down XP under virtualBox to do my tax this year when I couldn't submit my return under wine.
Basically, the verification stage needs to work to establish your bona-fides with the Tax Office, so they can issue you with a passkey for later submission of your return electronically. Testers should be able to get to the verification page (either at the lodgement stage at the end, or the prefill stage near the beginning) - it will ask for some personal details and some details from correspondence that the Tax Office has sent you previously. Obviously if you don't have those details you cannot continue, but the presence of a non-blank page with some fields to fill in is all you need to confirm operation.
http://bugs.winehq.org/show_bug.cgi?id=14798
Sean Burford unix.gurus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |unix.gurus@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14798
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #7 from Dan Kegel dank@kegel.com 2008-09-01 17:33:47 --- Sounds like a good summer of code / intern project. Any volunteers? :-)
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #8 from Austin English austinenglish@gmail.com 2009-03-10 15:02:39 --- Is this still an issue in current (1.1.16 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14798
Hew McLachlan hew@ubuntu.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hew@ubuntu.com
--- Comment #9 from Hew McLachlan hew@ubuntu.com 2009-03-11 00:12:04 --- Just tested and the problem still exists with 1.1.16
I don't think many people will still be using this. Probably best to check back on this bug for e-tax 2009.
http://bugs.winehq.org/show_bug.cgi?id=14798
John Pye john@curioussymbols.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |john@curioussymbols.com
--- Comment #10 from John Pye john@curioussymbols.com 2009-04-17 22:02:25 --- Some very, very bad people will still be using this software. They will still see errors when attempting to use the "pre-fill" feature (screen 31).
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #11 from John Pye john@curioussymbols.com 2009-04-17 22:03:17 --- Some very, very bad people will still be using this software. They will still see errors when attempting to use the "pre-fill" feature (screen 31) if they use Wine 1.1.19 on Ubuntu 8.10.
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #12 from Austin English austinenglish@gmail.com 2009-10-29 14:24:30 --- Probably still present.
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #13 from Austin English austinenglish@gmail.com 2010-05-26 15:40:16 --- Still present.
http://bugs.winehq.org/show_bug.cgi?id=14798
Robert Backhaus robbak@robbak.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |robbak@robbak.com
--- Comment #14 from Robert Backhaus robbak@robbak.com 2010-07-04 23:35:04 --- Still existing in etax2010. The program handles this error more gracefully now - providing a help-less error notice stating "1030: a problem has occurred. Please Try again. (code:8818)" Etax helpdesk staff have indicated that code 1030 indicates connection problems. The following errors appear at program load. The only other console output is fixme:win:LockWindowUpdate partial stub messages.
err:ole:CoGetClassObject class {76a64158-cb41-11d1-8b02-00600806d9b6} not registered err:ole:create_server class {76a64158-cb41-11d1-8b02-00600806d9b6} not registered err:ole:CoGetClassObject no class object {76a64158-cb41-11d1-8b02-00600806d9b6} could be created for context 0x5
http://bugs.winehq.org/show_bug.cgi?id=14798
Cihan Altinay wine@altinay.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine@altinay.de
http://bugs.winehq.org/show_bug.cgi?id=14798
andrew@magneticbooks.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@magneticbooks.com.au
--- Comment #15 from andrew@magneticbooks.com.au 2011-06-08 19:54:44 CDT --- I created a stub compiled with mingw32 on Ubuntu which implements the basic 76a64158-cb41-11d1-8b02-00600806d9b6.
I have some debugging with OutputDebugString(). DllGetClassObject() is called but ConnectServer(), the only function in that interface, is never called.
Now the following is logged: fixme:crypt:CertFindCertificateInStore find type 00070004 unimplemented fixme:crypt:CertFindCertificateInStore find type 00070004 unimplemented fixme:win:LockWindowUpdate (0x200ee), partial stub! fixme:win:LockWindowUpdate ((nil)), partial stub!
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #16 from andrew@magneticbooks.com.au 2011-06-08 20:03:02 CDT --- Created an attachment (id=35074) --> (http://bugs.winehq.org/attachment.cgi?id=35074) Stub to implement interface {76a64158-cb41-11d1-8b02-00600806d9b6}
This code is based on the article/code here: http://www.codeproject.com/KB/COM/com_in_c1.aspx
License is here: http://www.codeproject.com/info/cpol10.aspx tl;dr: bsd-like license
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #17 from andrew@magneticbooks.com.au 2011-06-08 20:16:27 CDT --- The get certificate code means: CERT_COMPARE_PUBLIC_KEY and CERT_INFO_ISSUER_FLAG
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #18 from andrew@magneticbooks.com.au 2011-06-08 20:18:34 CDT --- Sorry made a mistake. The relevant CERT_FIND is as follows: #define CERT_FIND_ISSUER_STR_A \ (CERT_COMPARE_NAME_STR_A << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG)
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #19 from Juan Lang juan_lang@yahoo.com 2011-06-08 20:24:10 CDT --- Created an attachment (id=35075) --> (http://bugs.winehq.org/attachment.cgi?id=35075) Patch: Support CERT_COMPARE_NAME_STR_A in CertFindCertificateInStore
Does this patch help?
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #20 from andrew@magneticbooks.com.au 2011-06-09 02:01:53 CDT --- With the CERT_COMPARE_NAME_STR_A patch it gets much further. It now detects that it needs a new version. Unfortunately the installer crashed for some reason - I probably need to download the new version from the website.
The installer is not successful. This could be because etax2010 is no longer supported.
I will try to contact the ATO and get a test version of etax2011 or I can try etax2011 when it comes out.
http://bugs.winehq.org/show_bug.cgi?id=14798
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #35075|0 |1 is obsolete| |
--- Comment #21 from Juan Lang juan_lang@yahoo.com 2011-06-09 13:30:51 CDT --- (From update of attachment 35075) Patch was committed in commit f1be598efacde1c6faa4c471e6bad23d319ef842.
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #22 from andrew@magneticbooks.com.au 2011-06-28 00:41:30 CDT --- I have tested pre-fill using etax 2011. It gives an Error 5011. I am not sure whether this is because pre-fill is not yet available (I am testing on the 28th of June)
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #23 from andrew@magneticbooks.com.au 2011-06-28 01:00:43 CDT --- Running etax2011 in a VM (on 28th of June) does not give the 5011 error. On the positive side I can see the etax application making a HTTPS request to etaxservices.ato.gov.au with wireshark
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #24 from andrew@magneticbooks.com.au 2011-06-28 20:58:13 CDT --- Remote server is etaxservices11.etax.ato.gov.au
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #25 from andrew@magneticbooks.com.au 2011-06-30 00:25:25 CDT --- Created an attachment (id=35368) --> (http://bugs.winehq.org/attachment.cgi?id=35368) Output of etax 2011 with wmi stub and certificate patch. WINEDEBUG=warn+all
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #26 from Juan Lang juan_lang@yahoo.com 2011-06-30 11:46:11 CDT --- (In reply to comment #25) warn:chain:CRYPT_KeyUsageValid keyCertSign not asserted on a CA cert
What happens if you change line 1775 of chain.c (in dlls/crypt32) to "ret = TRUE;" instead? That's the line right below the warning you see here.
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #27 from andrew@magneticbooks.com.au 2011-07-01 00:58:40 CDT --- Thanks for your help - unfortunately changing chain.c has no effect. I believe that the problem is occurring at a higher level.
Error 5011 often occurs due to data formatting issues. One example that often happens on windows is when regional settings are set for a US date (mm/dd/yyyy) rather than the Australian date (dd/mm/yyyy)
I think the next step is to fire up a debugger and break on the SSL functions used to send data to the tax office server.
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #28 from andrew@magneticbooks.com.au 2011-07-09 17:44:20 CDT --- Created an attachment (id=35499) --> (http://bugs.winehq.org/attachment.cgi?id=35499) etax2011-ssl-correct-1.dump
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #29 from andrew@magneticbooks.com.au 2011-07-09 17:44:53 CDT --- Created an attachment (id=35500) --> (http://bugs.winehq.org/attachment.cgi?id=35500) \etax2011-ssl-correct-2.dump
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #30 from andrew@magneticbooks.com.au 2011-07-09 17:45:16 CDT --- Created an attachment (id=35501) --> (http://bugs.winehq.org/attachment.cgi?id=35501) etax2011-ssl-correct-2a.dump
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #31 from andrew@magneticbooks.com.au 2011-07-09 17:59:18 CDT --- Attached some memory dumps from SSL_write() calls when running in a Windows 7 VM. Used winapioverride32 (like ltrace) for dumps.
TODO: dump wine SSL_write() calls, compare.
Unfortunately I could not get winapioverride32 to work with etax in wine. I will probably use winedbg then decode the stack and do a memory dump by hand.
I suspect it may be a date related problem - now that there is a new version of etax it keeps on reporting that a new version even if that new version is install. One of the fields in the SOAP request is "InstalledDate" - presumably this is what is used to detect the latest version.
Also note that the previously mentioned Error 5011 is usually also date related.
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #32 from andrew@magneticbooks.com.au 2011-07-26 20:46:31 CDT --- I have finished dumping Windows / Wine versions and compared the results.
The SOAP request in the Wine version is missing ASID and ESID. There is also a question mark around FileHash and MC.
Copying and pasting from the successful Windows request to the unsuccessful Wine request then running through openssl does not seem to work - it reports a 5001 error.
http://bugs.winehq.org/show_bug.cgi?id=14798
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #33 from Austin English austinenglish@gmail.com 2013-12-09 17:25:55 CST --- I found http://www.garner.com.au/etaxdownloads, which has an archive of old e-tax downloads, including the 2008 version: http://www.garner.com.au/etax2008_1.exe?attredirects=0
didn't try testing it though.
http://bugs.winehq.org/show_bug.cgi?id=14798
--- Comment #34 from Austin English austinenglish@gmail.com 2013-12-09 17:26:22 CST --- austin@aw25 ~/oldbugs/14798 $ sha1sum etax2008_1.exe 7966cce81b7c8e0ceb58e8de42e1d70fe22b5235 etax2008_1.exe austin@aw25 ~/oldbugs/14798 $ du -h etax2008_1.exe 7.9M etax2008_1.exe
http://bugs.winehq.org/show_bug.cgi?id=14798
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL|http://ato.gov.au/etax |http://www.garner.com.au/et | |ax2008_1.exe
--- Comment #35 from Austin English austinenglish@gmail.com 2013-12-09 22:34:35 CST --- (In reply to comment #34)
austin@aw25 ~/oldbugs/14798 $ sha1sum etax2008_1.exe 7966cce81b7c8e0ceb58e8de42e1d70fe22b5235 etax2008_1.exe austin@aw25 ~/oldbugs/14798 $ du -h etax2008_1.exe 7.9M etax2008_1.exe
Tried it on my fedora laptop with 1.7.8. The original problem remains.
https://bugs.winehq.org/show_bug.cgi?id=14798
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht@gmx.net Component|-unknown |wmi&wbemprox Resolution|--- |DUPLICATE Summary|ETax 2008 cannot verify |ETax 2008 fails to verify | |online security
--- Comment #36 from Anastasius Focht focht@gmx.net --- Hello folks,
dupe of bug 35076
For testing I used tax file number "123 456 782" (http://bioinf.wehi.edu.au/folders/fred/tfn.html)
--- snip --- $ pwd /home/focht/.wine/drive_c/etax2008
$ WINEDEBUG=+tid,+seh,+relay,+wbemprox wine ./etax2008.exe >>log.txt 2>&1 ... 0027:Call gdi32.GetTextExtentPoint32A(00420078,00facdd0 "Ensure your online security",0000001b,0033e4e4) ret=004379e7 ... 0027:Call ole32.CoCreateInstance(008e0148,00000000,00000005,004c7a54,0033eabc) ret=004c79b0 ... 0027:Call KERNEL32.LoadLibraryExW(0033e60e L"C:\windows\system32\wbem\wbemdisp.dll",00000000,00000008) ret=7eb776cb ... 0027:Ret KERNEL32.LoadLibraryExW() retval=7c900000 ret=7eb776cb ... 0027:Call wbemdisp.DllGetClassObject(008e0148,7ec6734c,0033e988) ret=7eb79cd8 0027:Ret wbemdisp.DllGetClassObject() retval=00000000 ret=7eb79cd8 0027:Call advapi32.RegCloseKey(000000cc) ret=7eb7d76b 0027:Ret advapi32.RegCloseKey() retval=00000000 ret=7eb7d76b 0027:Call ntdll.RtlAllocateHeap(00110000,00000000,00000008) ret=7c907a03 0027:Ret ntdll.RtlAllocateHeap() retval=0016a5a8 ret=7c907a03 0027:Ret ole32.CoCreateInstance() retval=00000000 ret=004c79b0 0027:fixme:wbemdisp:locator_ConnectServer 0x16a5a8, (null), L"root\cimv2", (null), (nil), (null), (null), 0x00000000, (nil), 0x33eb10 0027:Call ole32.GetErrorInfo(00000000,0033eaac) ret=004c7d76 0027:Ret ole32.GetErrorInfo() retval=00000001 ret=004c7d76 0027:Call KERNEL32.FormatMessageA(00003200,00000000,80004001,00000000,0033e8f0,00000100,00000000) ret=004117b8 0027:Ret KERNEL32.FormatMessageA() retval=00000000 ret=004117b8 0027:Call user32.LoadStringA(00400000,0000feb4,0033d9e8,00001000) ret=0040867f 0027:Ret user32.LoadStringA() retval=0000000e ret=0040867f 0027:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0033ea60) ret=007621a7 0027:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b83a97b ip=7b83a97b tid=0027 0027:trace:seh:raise_exception info[0]=007621a7 0027:trace:seh:raise_exception info[1]=00fbb4f0 0027:trace:seh:raise_exception info[2]=80004001 0027:trace:seh:raise_exception info[3]=007621a7 0027:trace:seh:raise_exception info[4]=0033ee34 0027:trace:seh:raise_exception info[5]=0033eab0 0027:trace:seh:raise_exception info[6]=0033ea7c 0027:trace:seh:raise_exception eax=7b8269e1 ebx=7b8bb000 ecx=007621a7 edx=0033e9b4 esi=0033ea60 edi=0033ea20 0027:trace:seh:raise_exception ebp=0033e9f8 esp=0033e994 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200283 0027:trace:seh:call_stack_handlers calling handler at 0x4c7e30 code=eedfade flags=1 0027:trace:seh:call_stack_handlers handler at 0x4c7e30 returned 1 ... --- snip ---
$ sha1sum etax2008_1.exe 7966cce81b7c8e0ceb58e8de42e1d70fe22b5235 etax2008_1.exe
$ du -sh etax2008_1.exe 7.9M etax2008_1.exe
$ wine --version wine-1.7.13-118-g0eb6265
Regards
*** This bug has been marked as a duplicate of bug 35076 ***
https://bugs.winehq.org/show_bug.cgi?id=14798
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #37 from Ken Sharp imwellcushtymelike@gmail.com --- Closing bugs marked as duplicate.