https://bugs.winehq.org/show_bug.cgi?id=42103
Bug ID: 42103 Summary: VSCode.exe v1.8.1 crash Product: Wine Version: 1.8.6 Hardware: x86 OS: FreeBSD Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: igeo.cu@gmail.com
Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x03486f49). Register dump: CS:0033 SS:003b DS:003b ES:003b FS:0013 GS:001b EIP:03486f49 ESP:0032fda0 EBP:0032fdcc EFLAGS:00010246( R- -- I Z- -P- ) EAX:00000000 EBX:62956770 ECX:00000000 EDX:0032fdc0 ESI:00000000 EDI:0013d498 Stack dump: 0x0032fda0: 62956770 00000003 00000002 0013d498 0x0032fdb0: 0013d4ac 0013d4ac 004b3989 00000000 0x0032fdc0: 00000000 00000000 00000014 0032fde4 0x0032fdd0: 03486e75 00000094 00000003 00000094 0x0032fde0: 00000094 0032fe00 034863ce 0013cef0 0x0032fdf0: 0032fe88 00000000 628f0000 00000007 Backtrace: =>0 0x03486f49 in code (+0x3086f49) (0x0032fdcc) 1 0x03486e75 in code (+0x3086e74) (0x0032fde4) 2 0x034863ce in code (+0x30863cd) (0x0032fe00) 3 0x01c88df6 in code (+0x1888df5) (0x0032fe14) 4 0x00472539 in code (+0x72538) (0x0032fea4) 5 0x02a823d2 in code (+0x26823d1) (0x0032fef0) 6 0x6293d32c call_process_entry+0xb() in kernel32 (0x0032ff08) 7 0x6293ff8b start_process+0xaa() in kernel32 (0x0032ff40) 8 0x6287f270 call_thread_func_wrapper+0xb() in ntdll (0x0032ff50) 9 0x628814b9 call_thread_func+0x78() in ntdll (0x0032ffb4) 10 0x6287f24e call_thread_entry_point+0x11() in ntdll (0x0032ffd4) 11 0x6285843c start_process+0x2b() in ntdll (0x0032ffe8) 12 0x6202dd2d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000) 13 0x6202ddec wine_switch_to_stack+0x2b() in libwine.so.1 (0xffffc398) 14 0x6285717f LdrInitializeThunk+0x2ce() in ntdll (0xffffc3e8) 15 0x6293f3de __wine_kernel_init+0x208d() in kernel32 (0xffffd2f0) 16 0x62858e7b __wine_process_init+0x59a() in ntdll (0xffffd3f8) 17 0x6202cdd0 wine_init+0x36f() in libwine.so.1 (0xffffd458) 18 0x60000ccb main+0x7a() in <wine-loader> (0xffffd894) 19 0x60000b9a _start1+0x139() in <wine-loader> (0xffffd8b8) 20 0x60000a58 _start+0x17() in <wine-loader> (0xffffd8dc) 0x03486f49: cmpw 0x4(%ecx),%ax Modules: Module Address Debug info Name (104 modules) PE 400000- 4126000 Export code PE 4130000- 42e5000 Deferred ffmpeg PE 10000000-10ca9000 Deferred node PE 537d0000-537f8000 Deferred uiautomationcore ELF 60000000-60002000 Dwarf <wine-loader> ELF 62001000-6201d000 Deferred ld-elf32.so.1 ELF 62026000-621d9000 Dwarf libwine.so.1 ELF 621d9000-621fd000 Deferred libthr.so.3 ELF 621fd000-62373000 Deferred libc.so.7 ELF 62387000-623b2000 Deferred libm.so.5 ELF 623c6000-623d9000 Deferred psapi<elf> -PE 623d0000-623d9000 \ psapi ELF 623d9000-623f1000 Deferred version<elf> -PE 623e0000-623f1000 \ version ELF 623f1000-623fb000 Deferred libprocstat.so.1 ELF 62800000-628da000 Dwarf ntdll<elf> -PE 62810000-628da000 \ ntdll ELF 628da000-629e7000 Dwarf kernel32<elf> -PE 628f0000-629e7000 \ kernel32 ELF 629e7000-62a23000 Deferred ws2_32<elf> -PE 629f0000-62a23000 \ ws2_32 ELF 62a23000-62b2e000 Deferred gdi32<elf> -PE 62a30000-62b2e000 \ gdi32 ELF 62b2e000-62b9a000 Deferred advapi32<elf> -PE 62b40000-62b9a000 \ advapi32 ELF 62b9a000-62cd7000 Deferred user32<elf> -PE 62bb0000-62cd7000 \ user32 ELF 62cd7000-62cfc000 Deferred iphlpapi<elf> -PE 62ce0000-62cfc000 \ iphlpapi ELF 62cfc000-62d14000 Deferred libelf.so.2 ELF 62d14000-62d23000 Deferred libkvm.so.7 ELF 62d23000-62d35000 Deferred libutil.so.9 ELF 62d35000-62d4c000 Deferred userenv<elf> -PE 62d40000-62d4c000 \ userenv ELF 62d4c000-62d96000 Deferred winmm<elf> -PE 62d50000-62d96000 \ winmm ELF 62d96000-62eac000 Deferred ole32<elf> -PE 62db0000-62eac000 \ ole32 ELF 62eac000-62f23000 Deferred rpcrt4<elf> -PE 62ec0000-62f23000 \ rpcrt4 ELF 62f23000-62f45000 Deferred msacm32<elf> -PE 62f30000-62f45000 \ msacm32 ELF 62f45000-63035000 Deferred comctl32<elf> -PE 62f50000-63035000 \ comctl32 ELF 63035000-63095000 Deferred comdlg32<elf> -PE 63040000-63095000 \ comdlg32 ELF 63095000-6326a000 Deferred shell32<elf> -PE 630a0000-6326a000 \ shell32 ELF 6326a000-632d5000 Deferred shlwapi<elf> -PE 63280000-632d5000 \ shlwapi ELF 632d5000-6330e000 Deferred winspool<elf> -PE 632e0000-6330e000 \ winspool ELF 63317000-63378000 Deferred wininet<elf> -PE 63320000-63378000 \ wininet ELF 63378000-6338d000 Deferred libz.so.6 ELF 6338d000-633ac000 Deferred mpr<elf> -PE 63390000-633ac000 \ mpr ELF 633ac000-6345c000 Deferred msvcrt<elf> -PE 633c0000-6345c000 \ msvcrt ELF 6345c000-63576000 Deferred oleaut32<elf> -PE 63470000-63576000 \ oleaut32 ELF 63576000-635b2000 Deferred oleacc<elf> -PE 63580000-635b2000 \ oleacc ELF 635b2000-63612000 Deferred dbghelp<elf> -PE 635c0000-63612000 \ dbghelp ELF 63612000-63627000 Deferred dwmapi<elf> -PE 63620000-63627000 \ dwmapi ELF 63627000-63668000 Deferred usp10<elf> -PE 63630000-63668000 \ usp10 ELF 63668000-6368a000 Deferred imm32<elf> -PE 63670000-6368a000 \ imm32 ELF 6368a000-636cc000 Deferred libncurses.so.8 ELF 636cc000-6375e000 Deferred libfreetype.so.6 ELF 6375e000-63770000 Deferred libbz2.so.4 ELF 63770000-637b0000 Deferred libfontconfig.so.1 ELF 637b0000-637d3000 Deferred libexpat.so.1 ELF 638de000-638f1000 Deferred api-ms-win-core-synch-l1-2-0<elf PE 638e0000-638f1000 Deferred api-ms-win-core-synch-l1-2-0 ELF 638f1000-63904000 Deferred api-ms-win-core-fibers-l1-1-1<el PE 63900000-63904000 Deferred api-ms-win-core-fibers-l1-1-1 PE 63904000-63917000 Deferred api-ms-win-core-localization-l1- PE 63910000-63917000 Deferred api-ms-win-core-localization-l1-C:\windows\system32\api-ms-win-core-localization-l1-2-1.dll ELF 63917000-639a2000 Deferred winex11<elf> -PE 63920000-639a2000 \ winex11 ELF 639a2000-639b1000 Deferred libxext.so.6 ELF 639b1000-63acf000 Deferred libx11.so.6 ELF 63acf000-63aef000 Deferred libxcb.so.1 ELF 63aef000-63af2000 Deferred libxau.so.6 ELF 63af2000-63af4000 Deferred libpthread-stubs.so.0 ELF 63af4000-63af9000 Deferred libxdmcp.so.6 ELF 63af9000-63afc000 Deferred libxinerama.so.1 ELF 63afc000-63b01000 Deferred libxxf86vm.so.1 ELF 63b01000-63b09000 Deferred libxrender.so.1 ELF 63b09000-63b12000 Deferred libxrandr.so.2 ELF 63b12000-63b15000 Deferred libxcomposite.so.1 ELF 63b15000-63b23000 Deferred libxi.so.6 ELF 63b23000-63b2d000 Deferred libxcursor.so.1 ELF 63b2d000-63b32000 Deferred libxfixes.so.3 ELF 63b34000-63b69000 Deferred uxtheme<elf> -PE 63b40000-63b69000 \ uxtheme ELF 63b69000-63b7c000 Deferred api-ms-win-core-string-l1-1-0<el PE 63b70000-63b7c000 Deferred api-ms-win-core-string-l1-1-0 ELF 63b7c000-63b8f000 Deferred api-ms-win-core-datetime-l1-1-1< PE 63b80000-63b8f000 Deferred api-ms-win-core-datetime-l1-1-1 Threads: process tid prio (all id:s are in hex) 00000008 (D) C:\Program Files\Microsoft VS Code\Code.exe 00000009 0 <== 0000000e services.exe 00000023 0 00000022 0 0000001c 0 00000014 0 00000010 0 0000000f 0 00000012 winedevice.exe 00000019 0 00000018 0 00000013 0 0000001a plugplay.exe 0000001f 0 0000001e 0 0000001b 0 00000020 winedevice.exe 00000025 0 00000024 0 00000021 0 00000028 explorer.exe 0000002c 0 0000002b 0 0000002a 0 00000029 0 System information: Wine build: wine-1.8.6 Platform: i386 Version: Windows 10 Host system: FreeBSD Host version: 11.0-RELEASE-p2
https://bugs.winehq.org/show_bug.cgi?id=42103
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Is this still relevant with a more recent version of wine?
https://bugs.winehq.org/show_bug.cgi?id=42103
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- I remember i tested this a few weeks ago, still have the download.
In plain wine still present (note: used native uiautomationcore.dll),
in wine-staging it gets further (no native uiautomationcore needed, wine-staging has an enough implementation of it)
The crash from comment 1 is dupe of bug 42014 which is fixed in wine-staging. In wine-staging now crashes with:
Error: listen EINVAL \.\pipe\Code-5f1679-1.8.1-sock at Object.exports._errnoException (util.js:1026:11) at exports._exceptionWithHostPort (util.js:1049:20) at Server._listen2 (net.js:1253:14) at listen (net.js:1289:10) at Server.listen (net.js:1378:5) at C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:7:12825 at new n.Class.derive._oncancel (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:6:16378) at Object.u [as serve] (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:7:12755) at o (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:12:27820) at ee (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:12:28891)
https://bugs.winehq.org/show_bug.cgi?id=42103
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://az764295.vo.msecnd. | |net/stable/ee428b0eead68bf0 | |fb99ab5fdc4439be227b6281/VS | |CodeSetup-1.8.1.exe Keywords| |download
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- added downloadlink
https://bugs.winehq.org/show_bug.cgi?id=42103
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- Still present in current wine/staging (Note: I used ninite installer to install: https://ninite.com/ , just tick the checkbox for Visual Studio Code)
Bug is probably related to following, as with a stupid hack*** I was able to start the application
0009:Call KERNEL32.MultiByteToWideChar(0000fde9,00000000,0032e964 "\\.\pipe\551bc4942757be3176709ec51b50e9ef-1.18.1-main-sock",ffffffff,10f01418,0000003b ) ret=10912015 0009:Ret KERNEL32.MultiByteToWideChar() retval=0000003b ret=10912015 0009:Call KERNEL32.CreateNamedPipeW(10f01418 L"\\.\pipe\551bc4942757be3176709ec51b50e9ef-1.18.1-main-sock",40080003,00000000,000000ff,00010000,00010000,0 0000000,00000000) ret=10912039 0009:Ret KERNEL32.CreateNamedPipeW() retval=000002bc ret=10912039 0009:Call KERNEL32.SetNamedPipeHandleState(000002bc,0032e904,00000000,00000000) ret=10913af5 0009:Ret KERNEL32.SetNamedPipeHandleState() retval=00000001 ret=10913af5 0009:Call ntdll.NtQueryInformationFile(000002bc,0032e8fc,0032e918,00000004,00000010) ret=10913b47 0009:Ret ntdll.NtQueryInformationFile() retval=c00000b3 ret=10913b47
***stupid hack: diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index ca2afa0..465044e 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -2221,7 +2221,7 @@ static NTSTATUS fill_name_info( const ANSI_STRING *unix_name, FILE_NAME_INFORMAT */ NTSTATUS WINAPI NtQueryInformationFile( HANDLE hFile, PIO_STATUS_BLOCK io, PVOID ptr, LONG len, FILE_INFORMATION_CLASS class ) -{ +{ if(class == 0x10) return 0; static const size_t info_sizes[] = { 0,
https://bugs.winehq.org/show_bug.cgi?id=42103
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- Retesting some apps i have in an old wineprefix i had lying on my disk.
This starts fine for me in current git. My comment from comment 4 might have been a red herring i think. winetricks corefonts required. When you set version to win10 you run into missing directmanipulation bug.
As there`s no response from reporter since opening I`ll resolve this as fixed, because the crash is gone.
sha1sum Code.exe dee018de0adb9fe9daa58f40a457e0e7595aaa35 Code.exe
"Version 1.8.1 Commit ee428b0eead68bf0fb99ab5fdc4439be227b6281 2016-12-19T14:49:23.350Z"
https://bugs.winehq.org/show_bug.cgi?id=42103
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.6.
https://bugs.winehq.org/show_bug.cgi?id=42103
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2adfa93a7f643341765d80af83c | |e99a9c6b23b72 CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=42103
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://az764295.vo.msecnd. |https://web.archive.org/web |net/stable/ee428b0eead68bf0 |/20170220063106if_/https:// |fb99ab5fdc4439be227b6281/VS |az764295.vo.msecnd.net/stab |CodeSetup-1.8.1.exe |le/ee428b0eead68bf0fb99ab5f | |dc4439be227b6281/VSCodeSetu | |p-1.8.1.exe