[Bug 34677] e-carte bleue la banque postale doesn't work at all

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 7 16:50:21 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=34677

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net

--- Comment #6 from Anastasius Focht <focht at gmx.net> 2013-10-07 16:50:21 CDT ---
Hello folks,

confirming.

The app tries to download some XML file from server which is not present,
resulting in malformed file.
Wine's msxml still says "ok" from domdoc_load(), letting the app call
domselection_get_item() which fails, setting out param to NULL which causes app
code to crash. 

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/e-Carte Bleue La Banque Postale

$ WINEDEBUG=+tid,+seh,+relay,+mshtml,+msxml wine ./ecbl-lbp.exe >>log.txt 2>&1

...
0025:Call urlmon.CreateURLMonikerEx(00000000,00151704
L"https://service.e-cartebleue.com/v4/labanquepostale/Version2.2.2.15.100.xml",0033f1e8,00000000)
ret=7d72606f 
...
0025:Call wininet.HttpOpenRequestW(00000002,7d52ac72 L"GET",00152b9c
L"/v4/labanquepostale/Version2.2.2.15.100.xml",00000000,00000000,0033e814,00c00010,001521c0)
ret=7d4d65bb 
...
0025:trace:msxml:bsc_OnStopBinding (0x151a80)->(00000000 (null)) 
...
0025:err:msxml:doparse Start tag expected, '<' not found 
...
0025:trace:msxml:domdoc_load ret (0) 
...
0025:trace:msxml:domdoc_getElementsByTagName (0x151638)->(L"Mandatory",
0x33f27c) 
...
0025:trace:msxml:create_selection (0x7cc23190,
"descendant::*[local-name()='Mandatory']", 0x33f27c)
0025:trace:msxml:xmldoc_add_refs (0x7cc23190)->(2)
0025:trace:msxml:registerNamespaces (0x7cc23288)
0025:trace:msxml:create_selection found 0 matches
0025:trace:msxml:domselection_get_item (0x152128)->(0 0x33f278)
0025:trace:seh:raise_exception code=c0000005 flags=0 addr=0x4144b7 ip=004144b7
tid=0025
0025:trace:seh:raise_exception  info[0]=00000000
0025:trace:seh:raise_exception  info[1]=00000000
0025:trace:seh:raise_exception  eax=00000000 ebx=0044beec ecx=00000000
edx=0033f280 esi=00000001 edi=00000000
0025:trace:seh:raise_exception  ebp=0033f294 esp=0033f24c cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210246 
--- snip ---

Content of the file:

--- snip ---
$ curl
https://service.e-cartebleue.com/v4/labanquepostale/Version2.2.2.15.100.xml
Internal Error
--- snip ---

'winetricks msxml3' works around.

--- snip ---
....
0009:Call KERNEL32.CreateFileW(00167578 L"C:\\users\\focht\\Local
Settings\\Temporary Internet
Files\\Content.IE5\\65XXC2AM\\Version2.2.2.15.100[0]",80000000,00000003,00000000,00000003,00000080,00000000)
ret=7d92281d
0009:Ret  KERNEL32.CreateFileW() retval=00000100 ret=7d92281d
...
0009:Call KERNEL32.ReadFile(00000100,00780280,00000fff,0033ef14,00000000)
ret=7d923194
0009:Ret  KERNEL32.ReadFile() retval=00000001 ret=7d923194 
...
0009:Call oleaut32.SysAllocStringLen(01005330 L"Invalid at the top level of the
document.\r\n",0000002b) ret=69bc46c7
0009:Ret  oleaut32.SysAllocStringLen() retval=00164a34 ret=69bc46c7 
...
0009:Call KERNEL32.RaiseException(e0000001,00000000,00000001,0033ef90)
ret=69b4f5e0
0009:trace:seh:raise_exception code=e0000001 flags=0 addr=0x7b83a8bf
ip=7b83a8bf tid=0009
0009:trace:seh:raise_exception  info[0]=c00ce556
0009:trace:seh:raise_exception  eax=7b8268f1 ebx=7b8ba000 ecx=c00ce556
edx=0033eee4 esi=0033ef84 edi=0033ef50
0009:trace:seh:raise_exception  ebp=0033ef28 esp=0033eec4 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00200287
0009:trace:seh:call_stack_handlers calling handler at 0x69b3987e code=e0000001
flags=0 
...
0009:Call ole32.CreateErrorInfo(0033f1c4) ret=69b4db67
...
0009:Ret  ole32.CreateErrorInfo() retval=00000000 ret=69b4db67 
...
--- snip ---

I guess domdoc_load() fails in first place so no code path is executed that
tries to call further msxml methods.

$ du -sh LBP.EXE 
3.0M    LBP.EXE

$ sha1sum LBP.EXE 
b27d4e812401f96dd683a6b19adb3548aa09328c  LBP.EXE

$ wine --version
wine-1.7.3-269-gcd65c68

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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