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"));