[Bug 47288] New: Gaea 1.0.19 (.NET 4.7 WPF app) diagnostic tool ' Watson.exe' crashes due to 'kernel32.SetConsoleScreenBufferInfoEx' stub
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue May 28 18:42:28 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=47288
Bug ID: 47288
Summary: Gaea 1.0.19 (.NET 4.7 WPF app) diagnostic tool
'Watson.exe' crashes due to
'kernel32.SetConsoleScreenBufferInfoEx' stub
Product: Wine
Version: 4.9
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs at winehq.org
Reporter: focht at gmx.net
Distribution: ---
Hello folks,
as it says. The tool is mentioned here:
https://medium.com/quadspinner/gaea-eap-2480-e8e295bd1bfa ("Gaea EAP 2480")
--- quote ---
Starting with this build, Gaea ships with QuadSpinner Watson, a diagnostics
tool that can ferret out problems our crash recovery module cannot. If you
experience a bad crash, unexpected behavior, or need to provide diagnostics
data to Technical Support for help, just run Watson, and send us the ZIP file
it generates on your desktop.
--- quote ---
Prerequisite: 'winetricks -q dotnet472'
--- snip ---
$ pwd
/home/focht/.wine/drive_c/users/focht/Local Settings/Application
Data/QuadSpinner/Gaea
$ WINEDEBUG=+seh,+relay wineconsole ./Watson.exe >>log.txt 2>&1
...
0038:Call KERNEL32.GetProcAddress(7b420000,1ab9f4ca
"SetConsoleScreenBufferInfoEx") ret=009ffc00
0038:Ret KERNEL32.GetProcAddress() retval=7b4342f8 ret=009ffc00
0038:Call KERNEL32.FlushInstructionCache(ffffffffffffffff,1a9a7c58,00000010)
ret=008729ae
0038:Ret KERNEL32.FlushInstructionCache() retval=00000001 ret=008729ae
0038:Call KERNEL32.SetConsoleScreenBufferInfoEx(0000006f,0052d4c8) ret=1a9a9b2f
0038:fixme:console:SetConsoleScreenBufferInfoEx (0x6f 0x52d4c8): stub!
0038:Ret KERNEL32.SetConsoleScreenBufferInfoEx() retval=00000000 ret=1a9a9b2f
...
0038:Call KERNEL32.RaiseException(e0434352,00000001,00000005,0052d3c8)
ret=00929a0a
0038:trace:seh:NtRaiseException code=e0434352 flags=1 addr=0x7b45323c
ip=7b45323c tid=0038
0038:trace:seh:NtRaiseException info[0]=ffffffff80131500
0038:trace:seh:NtRaiseException info[1]=0000000000000000
0038:trace:seh:NtRaiseException info[2]=0000000000000000
0038:trace:seh:NtRaiseException info[3]=0000000000000000
0038:trace:seh:NtRaiseException info[4]=0000000000860000
0038:trace:seh:NtRaiseException rax=000000000052d200 rbx=0000000000000001
rcx=000000000052d200 rdx=000000000052d220
0038:trace:seh:NtRaiseException rsi=000000000052d3f0 rdi=000000000052d248
rbp=000000000052d2b0 rsp=000000000052d1e0
0038:trace:seh:NtRaiseException r8=0000000000000005 r9=000000000052d3c8
r10=0000000000000000 r11=0000000000000000
0038:trace:seh:NtRaiseException r12=0000000000004000 r13=0000000000097878
r14=00000000e0434352 r15=0000000000000004
0038:trace:seh:call_vectored_handlers calling handler at 0x929250 code=e0434352
flags=1
...
0038:Call version.GetFileVersionInfoW(000f20b0 L"C:\\users\\focht\\Local
Settings\\Application
Data\\QuadSpinner\\Gaea\\Colorful.Console.dll",00000000,000006f4,0052b920)
ret=00970944
...
0038:err:eventlog:ReportEventW L"Application: Watson.exe\nFramework Version:
v4.0.30319\nDescription: The process was terminated due to an unhandled
exception.\nException Info: Colorful.ColorMappingException\n at
Colorful.ColorMapper.SetBufferInfo(IntPtr, CONSOLE_SCREEN_BUFFER_INFO_EX)\n
at Colorful.ColorMapper.SetBa"...
--- snip ---
Source of 3rd party .NET component:
https://github.com/tomakita/Colorful.Console/blob/master/src/Colorful.Console/ColorMapper.cs#L223
--- snip ---
private void SetBufferInfo(IntPtr hConsoleOutput,
CONSOLE_SCREEN_BUFFER_INFO_EX csbe)
{
csbe.srWindow.Bottom++;
csbe.srWindow.Right++;
bool brc = SetConsoleScreenBufferInfoEx(hConsoleOutput, ref csbe);
if (!brc)
{
throw CreateException(Marshal.GetLastWin32Error());
}
}
--- snip ---
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/kernel32/console.c#l3408
--- snip ---
3408 BOOL WINAPI SetConsoleScreenBufferInfoEx(HANDLE hConsole,
CONSOLE_SCREEN_BUFFER_INFOEX *csbix)
3409 {
3410 FIXME("(%p %p): stub!\n", hConsole, csbix);
3411 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
3412 return FALSE;
3413 }
--- snip ---
$ sha1sum Gaea-1.0.19.exe
29ddfa3e404148babbae479153e438097077fb13 Gaea-1.0.19.exe
$ du -sh Gaea-1.0.19.exe
41M Gaea-1.0.19.exe
$ wine --version
wine-4.9-95-g6d05fae6f7
Regards
--
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