https://bugs.winehq.org/show_bug.cgi?id=41065
Bug ID: 41065 Summary: Crash with development version of WinUAE Product: Wine Version: 1.9.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: markk@clara.co.uk Distribution: ---
Created attachment 55246 --> https://bugs.winehq.org/attachment.cgi?id=55246 +module log
I'm using Wine 1.9.15 on Lubuntu 16.04 x86-64 installed from the wine-builds PPA. Packages installed: wine-devel, wine-devel-amd64, wine-devel-dbg, wine-devel-i386:i386, winehq-devel
I get a crash on running a development version of WinUAE. I got a +module log (attached), but am not sure how informative that is.
To reproduce: - Download and install WinUAE 3.3 from http://www.winuae.net/files/InstallWinUAE3300.msi - Replace the installed winuae.exe with the one from http://www.mediafire.com/download/jcx919u6a5pgs9t/winuae_2016-08-03_1236.7z
Run winuae.exe. When the WinUAE Properties window appears, click Expansions in the tree-view control on the left. The program crashes.
https://bugs.winehq.org/show_bug.cgi?id=41065
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.mediafire.com/do | |wnload/jcx919u6a5pgs9t/winu | |ae_2016-08-03_1236.7z CC| |markk@clara.co.uk Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=41065
--- Comment #1 from Mark K markk@clara.co.uk --- The development winuae.exe is compiled with MSVC "15" preview 3.
https://bugs.winehq.org/show_bug.cgi?id=41065
--- Comment #2 from Mark K markk@clara.co.uk --- You can probably just download and run winuae.exe, no need to run the MSI installer file.
https://bugs.winehq.org/show_bug.cgi?id=41065
--- Comment #3 from Mark K markk@clara.co.uk --- The WinUAE developer was kind enough to compile a version with more logging. http://www.winuae.net/files/b/winuae.7z
Running that and clicking Expansions, it seems the crash occurs in a call to SetDlgItemText(). The last log message is "x3", from this code:
write_log(_T("x2\n"));
int mem_size = 0; switch (workprefs.cpuboardmem1_size) { case 0x00000000: mem_size = 0; break; case 0x00100000: mem_size = 1; break; case 0x00200000: mem_size = 2; break; case 0x00400000: mem_size = 3; break; case 0x00800000: mem_size = 4; break; case 0x01000000: mem_size = 5; break; case 0x02000000: mem_size = 6; break; case 0x04000000: mem_size = 7; break; case 0x08000000: mem_size = 8; break; case 0x10000000: mem_size = 9; break; } SendDlgItemMessage (hDlg, IDC_CPUBOARDMEM, TBM_SETPOS, TRUE, mem_size);
write_log(_T("x3\n"));
SetDlgItemText (hDlg, IDC_CPUBOARDRAM, memsize_names[msi_cpuboard[mem_size]]);
write_log(_T("x4\n"));
https://bugs.winehq.org/show_bug.cgi?id=41065
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.mediafire.com/do |http://www.mediafire.com/do |wnload/jcx919u6a5pgs9t/winu |wnload/fv30n2a5666q4f9/winu |ae_2016-08-03_1236.7z |ae_2016-08-04_1729.7z
--- Comment #4 from Mark K markk@clara.co.uk --- Later build mirrored to http://www.mediafire.com/download/fv30n2a5666q4f9/winuae_2016-08-04_1729.7z and bug URL field updated.
https://bugs.winehq.org/show_bug.cgi?id=41065
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Crash with development |Crash with development |version of WinUAE |version of WinUAE, possibly | |in SetDlgItemText()
https://bugs.winehq.org/show_bug.cgi?id=41065
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- I checked that WM_SETTEXT on Edit crashes same way on Windows, and also SetDlgItemText() crashes too. I didn't check if application is using comctl32 v6 Edit control instead, it could behave differently. When running on Windows, moving slider to leftmost position does not send WM_SETTEXT at to this Edit at all, letting it keep it's previous text.
Where can I find source code used for this particular build? Is it usual sources only built with different tools version?
https://bugs.winehq.org/show_bug.cgi?id=41065
--- Comment #6 from Mark K markk@clara.co.uk --- There are apparently quite a few changes in the development build vs the previous 3.3.0 release version, not only a change of compiler.
The program didn't crash for me when clicking Expansions, on Windows 10 x86-64 or Windows 7 x86.
https://bugs.winehq.org/show_bug.cgi?id=41065
--- Comment #7 from Mark K markk@clara.co.uk --- Current source should be downloadable via https://github.com/tonioni/WinUAE/commits/master
https://bugs.winehq.org/show_bug.cgi?id=41065
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #8 from Mark K markk@clara.co.uk --- It turns out the crash was actually due to a bug in WinUAE, not Wine. The WinUAE developer reported: "It seems to happen because memsize_names[0] gets corrupted. I can duplicate the crash under VM Windows XP. (But not under 10) So nothing to do with wine most likely."
(The WinUAE git repository now has a fix for that.)
So I'll close this bug as resolved invalid.
https://bugs.winehq.org/show_bug.cgi?id=41065
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Frédéric Delanoy frederic.delanoy@gmail.com --- Closing INVALID bugs.