microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.4k stars 29.33k forks source link

VSCode hangs after pressing F11 key #85465

Closed macropas closed 4 years ago

macropas commented 4 years ago

Issue Type: Bug

VSCode and even all OS user interface hang (mouse cursor hangs too) after pressing F11 key (Full Screen ) in Visual Studio Code. Operational system: Fedora Linux 31, Gnome

VS Code version: Code 1.40.1 (8795a9889db74563ddd43eb0a897a2384129a619, 2019-11-13T16:49:30.162Z) OS version: Linux x64 5.3.11-300.fc31.x86_64

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM)2 CPU 4400 @ 2.00GHz (2 x 1997)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: disabled_off
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: unavailable_off
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|1, 1, 1| |Memory (System)|3.84GB (0.18GB free)| |Process Argv|--no-sandbox --unity-launch| |Screen Reader|no| |VM|0%|
Extensions (4) Extension|Author (truncated)|Version ---|---|--- xml|Dot|2.5.0 compareit|in4|0.0.2 bash-ide-vscode|mad|1.3.3 csharp|ms-|1.21.8
egamma commented 4 years ago

/needsMoreInfo

@macropas can you reproduce this when you have alle extensions disabled?

vscodebot[bot] commented 4 years ago

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

macropas commented 4 years ago

@egamma I disabled all vscode extensions, then restarted vscode, pressed F11 and... my desktop hung :)

winitop commented 4 years ago

My editor freezes when I open console in chrome browser. About a minute. Hangup appeared after last update of VSCode.

deepak1556 commented 4 years ago

I am unable to repro this on Fedora 30, can you attach the logs from vscode by opening command palette and run open logs folder.

macropas commented 4 years ago

Unfortunately I have to wait until the weekend when I go to my country house. On weekdays I work on a more modern computer and, surprisingly, I don't find such an effect on the same Fedora 31 & VSCode 1.40.1. Two options are possible here: either this bug has disappeared due to the fresh Fedora updates, or this is due to the work on the old hardware (video card, etc.) ¯\(ツ)

macropas commented 4 years ago

The problem continues on my old computer even after installing the latest updates. Fedora 31 desktop hangs after pressing F11 in VSCode. All extensions in VSCode are disabled.

VSCode system info: ``` CPUs Intel(R) Core(TM)2 CPU 4400 @ 2.00GHz (2 x 2009) GPU Status 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled metal: disabled_off multiple_raster_threads: disabled_off oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: disabled_software skia_renderer: disabled_off surface_control: disabled_off surface_synchronization: enabled_on video_decode: unavailable_off viz_display_compositor: enabled_on viz_hit_test_surface_layer: disabled_off webgl: enabled webgl2: enabled Load (avg) 0, 0, 0 Memory (System) 3.84GB (0.40GB free) Process Argv --no-sandbox --unity-launch Screen Reader no VM 0% ```
OS hardware info: ``` $ sudo lshw localhost.localdomain description: Desktop Computer product: 965GM-S2 vendor: Gigabyte Technology Co., Ltd. width: 64 bits capabilities: smbios-2.4 dmi-2.4 smp vsyscall32 configuration: boot=normal chassis=desktop uuid=00000000-0000-0000-0000-0016E68AA871 *-core description: Motherboard product: 965GM-S2 vendor: Gigabyte Technology Co., Ltd. physical id: 0 *-firmware description: BIOS vendor: Award Software International, Inc. physical id: 0 version: F8F date: 01/06/2009 size: 128KiB capacity: 1MiB capabilities: pci pnp apm upgrade shadowing cdboot bootselect edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification *-cpu description: CPU product: Intel(R) Core(TM)2 CPU 4400 @ 2.00GHz vendor: Intel Corp. physical id: 4 bus info: cpu@0 version: Intel(R) Core(TM)2 CPU 4400 slot: Socket 775 size: 1541MHz capacity: 4GHz width: 64 bits clock: 200MHz capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti dtherm cpufreq *-cache:0 description: L1 cache physical id: a slot: Internal Cache size: 64KiB capacity: 64KiB capabilities: synchronous internal write-back configuration: level=1 *-cache:1 description: L2 cache physical id: b slot: External Cache size: 2MiB capacity: 2MiB capabilities: synchronous internal write-back configuration: level=2 *-memory description: System Memory physical id: 1b slot: System board or motherboard size: 4GiB *-bank:0 description: DIMM 800 MHz (1.2 ns) physical id: 0 slot: A0 size: 1GiB width: 64 bits clock: 800MHz (1.2ns) *-bank:1 description: DIMM 800 MHz (1.2 ns) physical id: 1 slot: A1 size: 1GiB width: 64 bits clock: 800MHz (1.2ns) *-bank:2 description: DIMM 800 MHz (1.2 ns) physical id: 2 slot: A2 size: 1GiB width: 64 bits clock: 800MHz (1.2ns) *-bank:3 description: DIMM 800 MHz (1.2 ns) physical id: 3 slot: A3 size: 1GiB width: 64 bits clock: 800MHz (1.2ns) *-pci description: Host bridge product: 82P965/G965 Memory Controller Hub vendor: Intel Corporation physical id: 100 bus info: pci@0000:00:00.0 version: 02 width: 32 bits clock: 33MHz *-display description: VGA compatible controller product: 82G965 Integrated Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 02 width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:16 memory:f2000000-f20fffff memory:e0000000-efffffff ioport:b400(size=8) memory:c0000-dffff *-usb:0 description: USB controller product: 82801H (ICH8 Family) USB UHCI Controller #4 vendor: Intel Corporation physical id: 1a bus info: pci@0000:00:1a.0 version: 02 width: 32 bits clock: 33MHz capabilities: uhci bus_master configuration: driver=uhci_hcd latency=0 resources: irq:16 ioport:b800(size=32) *-usbhost product: UHCI Host Controller vendor: Linux 5.3.12-300.fc31.x86_64 uhci_hcd physical id: 1 bus info: usb@3 logical name: usb3 version: 5.03 capabilities: usb-1.10 configuration: driver=hub slots=2 speed=12Mbit/s *-usb:1 description: USB controller product: 82801H (ICH8 Family) USB UHCI Controller #5 vendor: Intel Corporation physical id: 1a.1 bus info: pci@0000:00:1a.1 version: 02 width: 32 bits clock: 33MHz capabilities: uhci bus_master configuration: driver=uhci_hcd latency=0 resources: irq:21 ioport:b000(size=32) *-usbhost product: UHCI Host Controller vendor: Linux 5.3.12-300.fc31.x86_64 uhci_hcd physical id: 1 bus info: usb@4 logical name: usb4 version: 5.03 capabilities: usb-1.10 configuration: driver=hub slots=2 speed=12Mbit/s *-usb:2 description: USB controller product: 82801H (ICH8 Family) USB2 EHCI Controller #2 vendor: Intel Corporation physical id: 1a.7 bus info: pci@0000:00:1a.7 version: 02 width: 32 bits clock: 33MHz capabilities: pm ehci bus_master cap_list configuration: driver=ehci-pci latency=0 resources: irq:18 memory:f2305000-f23053ff *-usbhost product: EHCI Host Controller vendor: Linux 5.3.12-300.fc31.x86_64 ehci_hcd physical id: 1 bus info: usb@1 logical name: usb1 version: 5.03 capabilities: usb-2.00 configuration: driver=hub slots=4 speed=480Mbit/s *-multimedia description: Audio device product: 82801H (ICH8 Family) HD Audio Controller vendor: Intel Corporation physical id: 1b bus info: pci@0000:00:1b.0 version: 02 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=snd_hda_intel latency=0 resources: irq:28 memory:f2300000-f2303fff *-pci:0 description: PCI bridge product: 82801H (ICH8 Family) PCI Express Port 1 vendor: Intel Corporation physical id: 1c bus info: pci@0000:00:1c.0 version: 02 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:24 ioport:7000(size=4096) memory:f2400000-f25fffff ioport:f2600000(size=2097152) *-pci:1 description: PCI bridge product: 82801H (ICH8 Family) PCI Express Port 2 vendor: Intel Corporation physical id: 1c.1 bus info: pci@0000:00:1c.1 version: 02 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:25 ioport:8000(size=4096) memory:f0000000-f1ffffff ioport:f2800000(size=2097152) *-network description: Ethernet interface product: 88E8056 PCI-E Gigabit Ethernet Controller vendor: Marvell Technology Group Ltd. physical id: 0 bus info: pci@0000:02:00.0 logical name: enp2s0 version: 12 serial: 00:16:e6:8a:a8:71 size: 100Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 duplex=full ip=192.168.0.106 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s resources: irq:27 memory:f1000000-f1003fff ioport:8000(size=256) memory:f0000000-f001ffff *-pci:2 description: PCI bridge product: 82801H (ICH8 Family) PCI Express Port 3 vendor: Intel Corporation physical id: 1c.2 bus info: pci@0000:00:1c.2 version: 02 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:26 ioport:9000(size=8192) memory:f2100000-f21fffff ioport:f2a00000(size=2097152) *-sata description: SATA controller product: JMB363 SATA/IDE Controller vendor: JMicron Technology Corp. physical id: 0 bus info: pci@0000:03:00.0 version: 02 width: 32 bits clock: 33MHz capabilities: sata pm pciexpress ahci_1.0 bus_master cap_list configuration: driver=ahci latency=0 resources: irq:18 memory:f2100000-f2101fff *-ide description: IDE interface product: JMB363 SATA/IDE Controller vendor: JMicron Technology Corp. physical id: 0.1 bus info: pci@0000:03:00.1 version: 02 width: 32 bits clock: 33MHz capabilities: ide pm pci_native_mode bus_master cap_list configuration: driver=pata_jmicron latency=0 resources: irq:19 ioport:9000(size=8) ioport:9400(size=4) ioport:9800(size=8) ioport:9c00(size=4) ioport:a000(size=16) *-usb:3 description: USB controller product: 82801H (ICH8 Family) USB UHCI Controller #1 vendor: Intel Corporation physical id: 1d bus info: pci@0000:00:1d.0 version: 02 width: 32 bits clock: 33MHz capabilities: uhci bus_master configuration: driver=uhci_hcd latency=0 resources: irq:23 ioport:bc00(size=32) *-usbhost product: UHCI Host Controller vendor: Linux 5.3.12-300.fc31.x86_64 uhci_hcd physical id: 1 bus info: usb@5 logical name: usb5 version: 5.03 capabilities: usb-1.10 configuration: driver=hub slots=2 speed=12Mbit/s *-usb:4 description: USB controller product: 82801H (ICH8 Family) USB UHCI Controller #2 vendor: Intel Corporation physical id: 1d.1 bus info: pci@0000:00:1d.1 version: 02 width: 32 bits clock: 33MHz capabilities: uhci bus_master configuration: driver=uhci_hcd latency=0 resources: irq:19 ioport:c000(size=32) *-usbhost product: UHCI Host Controller vendor: Linux 5.3.12-300.fc31.x86_64 uhci_hcd physical id: 1 bus info: usb@6 logical name: usb6 version: 5.03 capabilities: usb-1.10 configuration: driver=hub slots=2 speed=12Mbit/s *-usb:5 description: USB controller product: 82801H (ICH8 Family) USB UHCI Controller #3 vendor: Intel Corporation physical id: 1d.2 bus info: pci@0000:00:1d.2 version: 02 width: 32 bits clock: 33MHz capabilities: uhci bus_master configuration: driver=uhci_hcd latency=0 resources: irq:18 ioport:c400(size=32) *-usbhost product: UHCI Host Controller vendor: Linux 5.3.12-300.fc31.x86_64 uhci_hcd physical id: 1 bus info: usb@7 logical name: usb7 version: 5.03 capabilities: usb-1.10 configuration: driver=hub slots=2 speed=12Mbit/s *-usb description: Mouse product: USB OPTICAL MOUSE vendor: PIXART physical id: 1 bus info: usb@7:1 version: 1.00 capabilities: usb-1.10 configuration: driver=usbhid maxpower=100mA speed=2Mbit/s *-usb:6 description: USB controller product: 82801H (ICH8 Family) USB2 EHCI Controller #1 vendor: Intel Corporation physical id: 1d.7 bus info: pci@0000:00:1d.7 version: 02 width: 32 bits clock: 33MHz capabilities: pm ehci bus_master cap_list configuration: driver=ehci-pci latency=0 resources: irq:23 memory:f2304000-f23043ff *-usbhost product: EHCI Host Controller vendor: Linux 5.3.12-300.fc31.x86_64 ehci_hcd physical id: 1 bus info: usb@2 logical name: usb2 version: 5.03 capabilities: usb-2.00 configuration: driver=hub slots=6 speed=480Mbit/s *-pci:3 description: PCI bridge product: 82801 PCI Bridge vendor: Intel Corporation physical id: 1e bus info: pci@0000:00:1e.0 version: f2 width: 32 bits clock: 33MHz capabilities: pci subtractive_decode bus_master cap_list resources: memory:f2200000-f22fffff *-firewire description: FireWire (IEEE 1394) product: TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) vendor: Texas Instruments physical id: 7 bus info: pci@0000:04:07.0 version: 00 width: 32 bits clock: 33MHz capabilities: pm ohci bus_master cap_list configuration: driver=firewire_ohci latency=32 maxlatency=4 mingnt=2 resources: irq:23 memory:f2204000-f22047ff memory:f2200000-f2203fff *-isa description: ISA bridge product: 82801HB/HR (ICH8/R) LPC Interface Controller vendor: Intel Corporation physical id: 1f bus info: pci@0000:00:1f.0 version: 02 width: 32 bits clock: 33MHz capabilities: isa bus_master cap_list configuration: driver=lpc_ich latency=0 resources: irq:0 *-ide:0 description: IDE interface product: 82801H (ICH8 Family) 4 port SATA Controller [IDE mode] vendor: Intel Corporation physical id: 1f.2 bus info: pci@0000:00:1f.2 logical name: scsi3 version: 02 width: 32 bits clock: 66MHz capabilities: ide pm isa_compat_mode pci_native_mode bus_master cap_list emulated configuration: driver=ata_piix latency=0 resources: irq:19 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:f000(size=16) ioport:fc00(size=16) *-cdrom description: DVD-RAM writer product: DVD RW AD-7173S vendor: Optiarc physical id: 0.0.0 bus info: scsi@3:0.0.0 logical name: /dev/cdrom logical name: /dev/sr0 version: 1-00 serial: [ capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram configuration: ansiversion=5 status=nodisc *-serial description: SMBus product: 82801H (ICH8 Family) SMBus Controller vendor: Intel Corporation physical id: 1f.3 bus info: pci@0000:00:1f.3 version: 02 width: 32 bits clock: 33MHz configuration: driver=i801_smbus latency=0 resources: irq:18 memory:f2306000-f23060ff ioport:500(size=32) *-ide:1 description: IDE interface product: 82801HR/HO/HH (ICH8R/DO/DH) 2 port SATA Controller [IDE mode] vendor: Intel Corporation physical id: 1f.5 bus info: pci@0000:00:1f.5 logical name: scsi5 version: 02 width: 32 bits clock: 66MHz capabilities: ide pm pci_native_mode bus_master cap_list emulated configuration: driver=ata_piix latency=0 resources: irq:19 ioport:cc00(size=8) ioport:d000(size=4) ioport:d400(size=8) ioport:d800(size=4) ioport:dc00(size=16) ioport:e000(size=16) *-disk description: ATA Disk product: Samsung SSD 860 physical id: 0.0.0 bus info: scsi@5:0.0.0 logical name: /dev/sda version: 3B6Q serial: S4BFNF1M836228F size: 232GiB (250GB) capabilities: partitioned partitioned:dos configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=f665cbbb *-volume:0 description: EXT4 volume vendor: Linux physical id: 1 bus info: scsi@5:0.0.0,1 logical name: /dev/sda1 logical name: /boot version: 1.0 serial: d46817fa-8f97-4ab4-b946-d9a4b9af728b size: 1GiB capacity: 1GiB capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink 64bit extents ext4 ext2 initialized configuration: created=2019-11-09 01:15:42 filesystem=ext4 lastmountpoint=/boot modified=2019-11-29 23:52:19 mount.fstype=ext4 mount.options=rw,relatime mounted=2019-11-29 23:41:39 state=mounted *-volume:1 description: Linux LVM Physical Volume partition physical id: 2 bus info: scsi@5:0.0.0,2 logical name: /dev/sda2 serial: gCdPeO-88yz-MS9P-FH7f-jJ7A-WDZS-gTg5Xs size: 231GiB capacity: 231GiB capabilities: primary multi lvm2 *-pnp00:00 product: PnP device PNP0c02 physical id: 1 capabilities: pnp configuration: driver=system *-pnp00:01 product: PnP device PNP0b00 physical id: 2 capabilities: pnp configuration: driver=rtc_cmos *-pnp00:02 product: PnP device PNP0501 physical id: 3 capabilities: pnp configuration: driver=serial *-pnp00:03 product: PnP device PNP0501 physical id: 5 capabilities: pnp configuration: driver=serial *-pnp00:04 product: PnP device PNP0400 physical id: 6 capabilities: pnp configuration: driver=parport_pc *-pnp00:05 product: PnP device PNP0303 physical id: 7 capabilities: pnp configuration: driver=i8042 kbd *-pnp00:06 product: PnP device PNP0c02 physical id: 8 capabilities: pnp configuration: driver=system *-pnp00:07 product: PnP device PNP0c02 physical id: 9 capabilities: pnp configuration: driver=system *-pnp00:08 product: PnP device PNP0c01 physical id: a capabilities: pnp configuration: driver=system *-network:0 DISABLED description: Ethernet interface physical id: 1 logical name: virbr0-nic serial: 52:54:00:83:88:53 size: 10Mbit/s capabilities: ethernet physical configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s *-network:1 description: Ethernet interface physical id: 2 logical name: virbr0 serial: 52:54:00:83:88:53 capabilities: ethernet physical configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.122.1 link=no multicast=yes ```
deepak1556 commented 4 years ago

@macropas can you launch with code --verbose and attach the output from it or the logs from https://github.com/microsoft/vscode/issues/85465#issuecomment-558357874

macropas commented 4 years ago

@deepak1556 open-logs-folder.zip

deepak1556 commented 4 years ago

Hmm the logs are empty, not so useful. @macropas a couple of things can you use gdb and attach to the process, get a backtrace when it hangs ?

Also can you give the exploration build a try and see if the issue still continues https://az764295.vo.msecnd.net/exploration/22c3db00ec057fecf0144c4c7f8c6bc6cb60e5d6/code-exploration-1575406103.tar.gz

macropas commented 4 years ago

@deepak1556 Unfortunately I cannot debug vscode myself. I don’t even know which one of the 7 vscode processes I should attach to.

I started your exploration build. After pressing F11 key the whole Fedora 31 destop still hangs.

github-actions[bot] commented 4 years ago

Hey @deepak1556, this issue might need further attention.

@macropas, you can help us out by closing this issue if the problem no longer exists, or adding more information.

macropas commented 4 years ago

this issue no longer exists