http://bugs.winehq.org/show_bug.cgi?id=21494
Summary: wine(64) regedit foo.reg fails Product: Wine Version: 1.1.37 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Backtrace: =>0 0x00007f0b7ab3cce1 read_i+0x20b() [/home/austin/64-wine-git/dlls/msvcrt/file.c:1779] in msvcrt (0x00007f0b7b3bee30) 1 0x000000000000002c (0x00007f0b7b3bee30) 2 0x00007f0b7da01660 in ld-linux-x86-64.so.2 (+0xd6660) (0x00007f0b7b3bee30) 3 0x0000000000000200 (0x00007f0b7b3bee30) 4 0x00007f0b7b3bee1c (0x00007f0b7b3bee30) 0x00007f0b7ab3cce1 read_i+0x20b [/home/austin/64-wine-git/dlls/msvcrt/file.c:1779] in msvcrt: Disasm NIY
1779 if (bufstart[num_read-1] == '\r')
Changing num_read to DWORD_PTR fixes the crash, but that causes compiler warnings. Probably an easy fix, but my brain is tired...
P.S., easy to test with: $ WINE=/path/to/64bit/wine sh winetricks nocrashdialog