https://bugs.winehq.org/show_bug.cgi?id=40156
Bug ID: 40156 Summary: AutoWikiBrowser database scanner fails with "no access to memory location" Product: Wine Version: 1.8 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: rjwilmsi@gmail.com Distribution: ---
Created attachment 53658 --> https://bugs.winehq.org/attachment.cgi?id=53658 System.IO.__Error.WinIOError at System.Xml.XmlReader.ReadToFollowing
Running the AutoWikiBrowser database scanner fails with "no access to memory location" normally within seconds of scan starting.
Occurs on wine wine-1.8.1 and wine-1.7.39
To reproduce: export WINEARCH=win32 winetricks -q msxml3 dotnet35 corefonts gdiplus riched20 ie6
[Probably only dotnet35 is required for this testing]
download AutoWikiBrowser from http://sourceforge.net/projects/autowikibrowser/ choose latest version (5.8.5.1 at time of writing).
unzip AutoWikiBrowser and run wine AutoWikiBrowser.exe
choose Tools -> Database scanner
download a wikipedia database dump file from https://dumps.wikimedia.org/
browse to the database XML file
search based on title contains 'foo' or other option. Press Start.
Wait for scan to progress. Scan normally fails within seconds with "no access to memory location" error (stack trace relating to C# XML reader attached).
The problem only intermittently occurs on smaller XML dump files (e.g. < 100 MB uncompressed) but always occurs on large XML files.
Above process works without error under Mono version 4 on same machine (using 50 GB English wikipedia XML dump file) and of course on native Windows.
Possible further information/speculation:
I have written a simple single threaded console only .NET 2 exe that works under same wine setup without this error on same machine. So I suspect that the issue may be to do with multithreading: the AutoWikiBrowser scanner is multithreaded, versions of the test console exe I wrote failed with same error if I added multithreading.