https://bugs.winehq.org/show_bug.cgi?id=48204
Bug ID: 48204 Summary: Wineconsole running Far File Manager 3 crashes as soon as you try to resize its window Product: Wine Version: 4.21 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: aros@gmx.com Distribution: ---
Steps to reproduce:
1) Import console settings from https://bugs.winehq.org/show_bug.cgi?id=48203 2) Run Far "wineconsole --backend=user Far.exe" 3) Try to resize its window using mouse
Unhandled exception: page fault on write access to 0x001b0024 in 32-bit code (0x7bc7ae78). 0052:fixme:dbghelp:elf_search_auxv can't find symbol in module Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7bc7ae78 ESP:0032e100 EBP:0032e188 EFLAGS:00010202( R- -- I - - - ) EAX:00187c60 EBX:00001f40 ECX:001944c0 EDX:001b0020 ESI:00006d60 EDI:00192580 Stack dump: 0x0032e100: 00110060 0032e110 00000000 00163f90 0x0032e110: 00000000 00000000 7e1d8006 f7d8da62 0x0032e120: 7d667af0 7d66e420 0032e210 7e16509d 0x0032e130: 7e275430 0032e1fc 00000000 00001f40 0x0032e140: 00001f40 00192578 00000000 0000000a 0x0032e150: 00110000 00192580 00110000 00006d60 Backtrace: =>0 0x7bc7ae78 RtlReAllocateHeap+0x388() in ntdll (0x0032e188) 1 0x7eb4e1cb WINECON_GrabChanges+0x54a() in wineconsole (0x0032ec78) 2 0x7eb4ee9e WINECON_SetConfig.part+0x56d() in wineconsole (0x0032ed48) 3 0x7eb4f379 WINECON_ResizeWithContainer+0x98() in wineconsole (0x0032ee48) 4 0x7eb4b670 WCUSER_Proc+0x5df() in wineconsole (0x0032efb8) 5 0x7e8eaeec WINPROC_wrapper+0x1b() in user32 (0x0032eff8) 6 0x7e8eb593 call_window_proc+0x62() in user32 (0x0032f058) 7 0x7e8ed936 WINPROC_call_window+0x1f5() in user32 (0x0032f0a8) 8 0x7e8a2128 call_window_proc+0x87() in user32 (0x0032f118) 9 0x7e8a9171 send_message+0x250() in user32 (0x0032f198) 10 0x7e8a93d1 SendMessageW+0x50() in user32 (0x0032f1d8) 11 0x7e868742 DEFWND_DefWinProc+0xff1() in user32 (0x0032f278) 12 0x7e8692b6 DefWindowProcW+0x145() in user32 (0x0032f2e8) 13 0x7eb4b88a WCUSER_Proc+0x7f9() in wineconsole (0x0032f468) 14 0x7e8eaeec WINPROC_wrapper+0x1b() in user32 (0x0032f4a8) 15 0x7e8eb593 call_window_proc+0x62() in user32 (0x0032f508) 16 0x7e8ed936 WINPROC_call_window+0x1f5() in user32 (0x0032f558) 17 0x7e8a2128 call_window_proc+0x87() in user32 (0x0032f5c8) 18 0x7e8a9171 send_message+0x250() in user32 (0x0032f648) 19 0x7e8a93d1 SendMessageW+0x50() in user32 (0x0032f688) 20 0x7e8e8947 USER_SetWindowPos+0x716() in user32 (0x0032f7c8) 21 0x7e8e6945 SetWindowPos+0xb4() in user32 (0x0032f848) 22 0x7e2eb030 X11DRV_ConfigureNotify+0x20f() in winex11 (0x0032f8f8) 23 0x7e2ec245 process_events.constprop+0x864() in winex11 (0x0032fa38) 24 0x7e2ed08a X11DRV_MsgWaitForMultipleObjectsEx+0x109() in winex11 (0x0032fa88) 25 0x7e8eb8a9 wait_message+0x38() in user32 (0x0032fae8) 26 0x7e8a225d wait_objects+0xbc() in user32 (0x0032fba8) 27 0x7e8ac277 MsgWaitForMultipleObjectsEx+0x66() in user32 (0x0032fcd8) 28 0x7e8ac349 MsgWaitForMultipleObjects+0x48() in user32 (0x0032fd18) 29 0x7eb4aac0 WCUSER_MainLoop+0x6f() in wineconsole (0x0032fd88) 30 0x7eb4ffd6 WinMain+0x575() in wineconsole (0x0032fe58) 31 0x7eb43160 main+0xbf() in wineconsole (0x0032fee8) 32 0x7eb51426 __wine_spec_exe_entry+0x65() in wineconsole (0x0032ff18) 33 0x7b4618b2 call_process_entry+0x11() in kernel32 (0x0032ff38) 34 0x7b461d35 start_process+0x104() in kernel32 (0x0032ffd8) 35 0x7b4618be start_process_wrapper+0x9() in kernel32 (0x0032ffec) 0x7bc7ae78 RtlReAllocateHeap+0x388 in ntdll: movl %eax,0x4(%edx) Modules: Module Address Debug info Name (54 modules) ELF 7b400000-7b6b4000 Dwarf kernel32<elf> -PE 7b420000-7b6b4000 \ kernel32 ELF 7bc00000-7bec4000 Dwarf ntdll<elf> -PE 7bc30000-7bec4000 \ ntdll ELF 7c000000-7c005000 Deferred <wine-loader> ELF 7df69000-7df71000 Deferred libxfixes.so.3 ELF 7df71000-7df7e000 Deferred libxcursor.so.1 ELF 7df7e000-7df93000 Deferred libxi.so.6 ELF 7df93000-7df98000 Deferred libxcomposite.so.1 ELF 7df98000-7dfa7000 Deferred libxrandr.so.2 ELF 7dfa7000-7dfb5000 Deferred libxrender.so.1 ELF 7dfb5000-7dfbd000 Deferred libxxf86vm.so.1 ELF 7dfbd000-7dfc2000 Deferred libxinerama.so.1 ELF 7dfc2000-7e066000 Deferred rpcrt4<elf> -PE 7dfe0000-7e066000 \ rpcrt4 ELF 7e066000-7e0ed000 Deferred setupapi<elf> -PE 7e080000-7e0ed000 \ setupapi ELF 7e0ed000-7e0f3000 Deferred libxau.so.6 ELF 7e0f3000-7e122000 Deferred libxcb.so.1 ELF 7e122000-7e279000 Deferred libx11.so.6 ELF 7e279000-7e290000 Deferred libxext.so.6 ELF 7e2ae000-7e373000 Dwarf winex11<elf> -PE 7e2d0000-7e373000 \ winex11 ELF 7e373000-7e39b000 Deferred imm32<elf> -PE 7e380000-7e39b000 \ imm32 ELF 7e3f8000-7e424000 Deferred libexpat.so.1 ELF 7e424000-7e472000 Deferred libfontconfig.so.1 ELF 7e472000-7e48c000 Deferred libz.so.1 ELF 7e48c000-7e4ca000 Deferred libpng16.so.16 ELF 7e4ca000-7e4dd000 Deferred libbz2.so.1 ELF 7e4dd000-7e5a3000 Deferred libfreetype.so.6 ELF 7e5c1000-7e69d000 Deferred msvcrt<elf> -PE 7e5f0000-7e69d000 \ msvcrt ELF 7e69d000-7e802000 Deferred gdi32<elf> -PE 7e6c0000-7e802000 \ gdi32 ELF 7e802000-7ea4a000 Dwarf user32<elf> -PE 7e830000-7ea4a000 \ user32 ELF 7ea4a000-7ea75000 Deferred libtinfo.so.6 ELF 7ea75000-7eaa5000 Deferred libncurses.so.6 ELF 7eaa5000-7eb2e000 Deferred advapi32<elf> -PE 7eac0000-7eb2e000 \ advapi32 ELF 7eb2e000-7eb6a000 Dwarf wineconsole<elf> -PE 7eb40000-7eb6a000 \ wineconsole ELF 7ede2000-7eea8000 Deferred kernelbase<elf> -PE 7ee00000-7eea8000 \ kernelbase ELF 7eefb000-7ef10000 Deferred libnss_files.so.2 ELF 7ef10000-7efe2000 Deferred libm.so.6 ELF 7efe8000-7f000000 Deferred version<elf> -PE 7eff0000-7f000000 \ version ELF f7bca000-f7bd0000 Deferred libdl.so.2 ELF f7bd0000-f7d81000 Deferred libc.so.6 ELF f7d81000-f7da4000 Deferred libpthread.so.0 ELF f7dc2000-f7f77000 Dwarf libwine.so.1 ELF f7f79000-f7fa4000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 00000008 regedit.exe 0000003d 0 00000009 0 0000000e services.exe 00000021 0 0000001a 0 00000013 0 00000010 0 0000000f 0 00000011 plugplay.exe 00000017 0 00000016 0 00000012 0 00000018 winedevice.exe 0000001e 0 0000001d 0 0000001c 0 0000001b 0 00000019 0 0000001f winedevice.exe 00000023 0 00000022 0 00000020 0 00000024 explorer.exe 00000028 0 00000027 0 00000026 0 00000025 0 00000040 (D) C:\windows\system32\wineconsole.exe 00000053 0 00000041 0 <== 00000042 Far.exe 00000050 0 0000004f 0 0000004c 0 0000004b 0 0000004a 0 00000046 0 00000045 0 00000044 0 00000043 0 System information: Wine build: wine-4.21 Platform: i386 Version: Windows 7 Host system: Linux Host version: 5.3.11-az2
https://bugs.winehq.org/show_bug.cgi?id=48204
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression, | |source URL| |https://www.farmanager.com/ | |files/Far30b5511.x86.201911 | |20.7z
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #1 from Artem S. Tashkinov aros@gmx.com --- Created attachment 65841 --> https://bugs.winehq.org/attachment.cgi?id=65841 Console settings (reg)
To save time I'm attaching the console settings here as well (REGEDIT4 file).
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #2 from Artem S. Tashkinov aros@gmx.com --- Using a custom TTF font is not necessary - the bug occurs regardless.
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- I can't reproduce this.
If it's a regression, what's the last working version? Can you do a bisect?
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #4 from Artem S. Tashkinov aros@gmx.com --- (In reply to Alexandre Julliard from comment #3)
I can't reproduce this.
If it's a regression, what's the last working version? Can you do a bisect?
Steps to reproduce are here:
https://bugs.winehq.org/show_bug.cgi?id=48203#c5
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- (In reply to Artem S. Tashkinov from comment #4)
(In reply to Alexandre Julliard from comment #3)
I can't reproduce this.
If it's a regression, what's the last working version? Can you do a bisect?
Steps to reproduce are here:
Yes I've done that, but it's not crashing for me.
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #6 from Artem S. Tashkinov aros@gmx.com --- (In reply to Alexandre Julliard from comment #5)
(In reply to Artem S. Tashkinov from comment #4)
(In reply to Alexandre Julliard from comment #3)
I can't reproduce this.
If it's a regression, what's the last working version? Can you do a bisect?
Steps to reproduce are here:
Yes I've done that, but it's not crashing for me.
It's definitely crashing when you're resizing the Far window.
It might not crash immediately. Try resizing, release, resize again. It does crash occasionally.
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #7 from Artem S. Tashkinov aros@gmx.com --- Resizing to increase the window size is a sure way to make it crash.
0009:fixme:dbghelp:elf_search_auxv can't find symbol in module Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7bc7a699 ESP:0032dfa0 EBP:0032e008 EFLAGS:00010206( R- -- I - -P- ) EAX:00110298 EBX:00000002 ECX:3f3f3f3f EDX:00000428 ESI:00110000 EDI:001b0018 Stack dump: 0x0032dfa0: 00110060 001c003f 0032dff8 7e6c245e 0x0032dfb0: 001c003f 0032dfde ffff3fff 7ef391c4 0x0032dfc0: 05440023 0032dfd0 ffff002b 7e73e700 0x0032dfd0: 00110000 00000000 00000428 00000428 0x0032dfe0: 0000000c 00000010 00000000 00110014 0x0032dff0: 004fa3b8 004fa238 0032e020 001c003f Backtrace: =>0 0x7bc7a699 RtlAllocateHeap+0xa9() in ntdll (0x0032e008) 1 0x7e71b6d6 ExtTextOutW+0x8d5() in gdi32 (0x0032e2b8) 2 0x7eb2867d WCUSER_FillMemDC+0x1cc() in wineconsole (0x0032e348) 3 0x7eb2c1e6 WINECON_GrabChanges+0x565() in wineconsole (0x0032ee28) 4 0x7eb2ce9e WINECON_SetConfig.part+0x56d() in wineconsole (0x0032eef8) 5 0x7eb2d379 WINECON_ResizeWithContainer+0x98() in wineconsole (0x0032eff8) 6 0x7eb29670 WCUSER_Proc+0x5df() in wineconsole (0x0032f168) 7 0x7e8d73dc WINPROC_wrapper+0x1b() in user32 (0x0032f1a8) 8 0x7e8d7a83 call_window_proc+0x62() in user32 (0x0032f208) 9 0x7e8d9e26 WINPROC_call_window+0x1f5() in user32 (0x0032f258) 10 0x7e88e628 call_window_proc+0x87() in user32 (0x0032f2c8) 11 0x7e895671 send_message+0x250() in user32 (0x0032f348) 12 0x7e8958d1 SendMessageW+0x50() in user32 (0x0032f388) 13 0x7e855992 DEFWND_DefWinProc+0xff1() in user32 (0x0032f428) 14 0x7e856506 DefWindowProcW+0x145() in user32 (0x0032f498) 15 0x7eb2988a WCUSER_Proc+0x7f9() in wineconsole (0x0032f618) 16 0x7e8d73dc WINPROC_wrapper+0x1b() in user32 (0x0032f658) 17 0x7e8d7a83 call_window_proc+0x62() in user32 (0x0032f6b8) 18 0x7e8d9e26 WINPROC_call_window+0x1f5() in user32 (0x0032f708) 19 0x7e88e628 call_window_proc+0x87() in user32 (0x0032f778) 20 0x7e895671 send_message+0x250() in user32 (0x0032f7f8) 21 0x7e8958d1 SendMessageW+0x50() in user32 (0x0032f838) 22 0x7e8d4e37 USER_SetWindowPos+0x716() in user32 (0x0032f978) 23 0x7e8d2e35 SetWindowPos+0xb4() in user32 (0x0032f9f8) 24 0x7e2d3100 X11DRV_ConfigureNotify+0x20f() in winex11 (0x0032faa8) 25 0x7e2d4315 process_events.constprop+0x864() in winex11 (0x0032fbe8) 26 0x7e2d50af X11DRV_MsgWaitForMultipleObjectsEx+0x5e() in winex11 (0x0032fc38) 27 0x7e8d7d99 wait_message+0x38() in user32 (0x0032fc98) 28 0x7e8976fc PeekMessageW+0x8b() in user32 (0x0032fcf8) 29 0x7eb28b59 WCUSER_MainLoop+0x108() in wineconsole (0x0032fd58) 30 0x7eb2dfd6 WinMain+0x575() in wineconsole (0x0032fe28) 31 0x7eb21160 main+0xbf() in wineconsole (0x0032feb8) 32 0x7eb2f543 __wine_spec_exe_entry+0x182() in wineconsole (0x0032ff18) 33 0x7b457f52 call_process_entry+0x11() in kernel32 (0x0032ff38) 34 0x7b4583d5 start_process+0x104() in kernel32 (0x0032ffd8) 35 0x7b457f5e __wine_start_process+0x9() in kernel32 (0x0032ffec) 0x7bc7a699 RtlAllocateHeap+0xa9 in ntdll: movl %eax,0x4(%ecx)
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #8 from Artem S. Tashkinov aros@gmx.com --- Rarely you can catch this message (but not always):
0037:err:wineconsole:WINECON_Fatal OOM
https://bugs.winehq.org/show_bug.cgi?id=48204
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |48203
--- Comment #9 from Artem S. Tashkinov aros@gmx.com --- Actually this bug must depend on bug 48203 because with default Wine and default Far I cannot reproduce it.
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #10 from Artem S. Tashkinov aros@gmx.com --- For future reference:
diff -u console-default.reg console.reg --- console-default.reg 2019-12-26 14:08:13.925083821 +0000 +++ console.reg 2019-12-26 14:09:41.168143145 +0000 @@ -20,7 +20,7 @@ "CursorSize"=dword:00000019 "CursorVisible"=dword:00000001 "EditionMode"=dword:00000000 -"ExitOnDie"=dword:00000001 +"ExitOnDie"=dword:00000000 "FaceName"="Courier New" "FontPitchFamily"=dword:00000001 "FontSize"=dword:00100008 @@ -28,10 +28,10 @@ "HistoryBufferSize"=dword:00000032 "HistoryNoDup"=dword:00000000 "InsertMode"=dword:00000001 -"MenuMask"=dword:00000000 +"MenuMask"=dword:00000008 "PopupColors"=dword:000000f5 "QuickEdit"=dword:00000000 -"ScreenBufferSize"=dword:00190050 +"ScreenBufferSize"=dword:0032008c "ScreenColors"=dword:0000000f -"WindowSize"=dword:00190050 +"WindowSize"=dword:0032008c
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #11 from Artem S. Tashkinov aros@gmx.com --- I've narrowed this bug report down to:
[HKEY_CURRENT_USER\Console] "ScreenBufferSize"=dword:0032008c "WindowSize"=dword:0032008c
And just these three settings in Far ( Application Data/Far Manager/Profile/generalconfig.db ):
INSERT INTO general_config VALUES('System','WindowMode',0); INSERT INTO general_config VALUES('System','WindowMode.StickyX',1); INSERT INTO general_config VALUES('System','WindowMode.StickyY',0);
At this point you can use any Far release at:
https://www.farmanager.com/download.php?l=en
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- It looks like some heap corruption. Is this really a regression?
https://bugs.winehq.org/show_bug.cgi?id=48204
--- Comment #13 from Artem S. Tashkinov aros@gmx.com --- (In reply to Alexandre Julliard from comment #12)
It looks like some heap corruption. Is this really a regression?
I'm not 100% sure.
It might be that I'd never actually used the feature (i.e. resizing the main window) and recently tried it and thought it was a regression.
https://bugs.winehq.org/show_bug.cgi?id=48204
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression |
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- OK, please don't add regression keyword unless you can verify that it was working in an earlier version.
https://bugs.winehq.org/show_bug.cgi?id=48204 Bug 48204 depends on bug 48203, which changed state.
Bug 48203 Summary: Far Manager 3 broken appearance https://bugs.winehq.org/show_bug.cgi?id=48203
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=48204
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #15 from Artem S. Tashkinov aros@gmx.com --- Can't reproduce it any longer.
https://bugs.winehq.org/show_bug.cgi?id=48204
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.21.