Skip to content

Code 1.90.1 crashes on startup #215924

Closed

Description

@fr43nk

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.90.1
  • OS Version: 4.18.0-553.5.1.el8_10.x86_64, running in an virtual environment

Steps to Reproduce:

  1. Updated VSCode to the current version 1.90.1
  2. Start with verbose code --verbose
  3. VSCode crashes with the following message:
[0617/085433.786964:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0617/085433.789584:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0617/085433.789605:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[0617/085433.791755:ERROR:directory_reader_posix.cc(43)] opendir /net/machine/home/user/Development/vscode-1.90.1/userdata/Crashpad/attachments/bf6a73bb-efa8-4200-9654-29274ccf1a6c: No such file or directory (2)

Using the version 1.88.1, everything works.

Best regards,
Frank

Activity

  1. Akryum commented on Jun 17, 2024

    @Akryum
    • VS Code Version:
    1.90.1
    611f9bfce64f25108829dd295f54a6894e87339d
    x64
    

    (RPM version)

    • OS Version:

    Fedora 40 (no VM)
    Both occurs in Xorg and Wayland sessions.

    Steps to Reproduce:

    1. Open VS Code
    2. Previous windows are restored
    3. After a few seconds VS Code silently crashes

    Last lines of code --verbose:

    [0617/105902.535789:ERROR:elf_dynamic_array_reader.h(64)] tag not found
    [0617/105902.536587:ERROR:elf_dynamic_array_reader.h(64)] tag not found
    [0617/105902.546173:ERROR:directory_reader_posix.cc(43)] opendir /home/akryum/.config/Code/Crashpad/attachments/bdd1ebfa-8bfe-4934-8076-01003afdc519: No such file or directory (2)
    
  2. Akryum commented on Jun 17, 2024

    @Akryum

    Disabling the custom title bar seems to not cause those crashes anymore, it is maybe related.
    Having the restored windows not maximized seems to also help even with custom title bar.
    Starting VSCode with a new empty window (for example from the dock menu) seems to also help.

  3. fr43nk commented on Jun 19, 2024

    @fr43nk
    Author

    Hi,

    your workaround doesn't help.
    Anyone else who can help with this issue.

    Best regads

  4. added
    info-needed
    on Jun 20, 2024
  5. fr43nk commented on Jun 20, 2024

    @fr43nk
    Author

    Robo (@deepak1556) is it possible to send you the dump directly via email to not publish it here on github?

  6. deepak1556 commented on Jun 20, 2024

    @deepak1556
    Collaborator

    Sure, you can send it to [email protected]

  7. deepak1556 commented on Jun 20, 2024

    @deepak1556
    Collaborator

    Thanks for the crash logs, attaching the symbolicated trace

    Crash reason:  SIGSEGV /SEGV_MAPERR
    Crash address: 0x10
    Process uptime: 0 seconds
    
    Thread 0 (crashed)
     0  code!ui::BuildDisplaysFromXRandRInfo(ui::DisplayConfig const&, unsigned long*) [vector : 595 + 0x0]
        rax = 0x0000000000000000   rdx = 0x00005559e99141c8
        rcx = 0x0000000000000004   rbx = 0x00007ffea20f2500
        rsi = 0x00007ffea20f25e0   rdi = 0x0000000000000000
        rbp = 0x00007ffea20f26e0   rsp = 0x00007ffea20f2100
         r8 = 0x000000000000fffe    r9 = 0x0000000000000080
        r10 = 0x0000000000000010   r11 = 0xaaaaaaaaaaaaaaaa
        r12 = 0x000012b0004b8f20   r13 = 0xaaaaaaaaaaaaaaaa
        r14 = 0x0000000000000008   r15 = 0x000012b000263000
        rip = 0x00005559e601c870
        Found by: given as instruction pointer in context
     1  code!ui::XDisplayManager::FetchDisplayList() [x11_display_manager.cc : 102 + 0x8]
        rbx = 0x00007ffea20f26f8   rbp = 0x00007ffea20f28a0
        rsp = 0x00007ffea20f26f0   r12 = 0x0000000000000000
        r13 = 0xaaaaaaaaaaaaaaaa   r14 = 0x000012b0007a4780
        r15 = 0x00007ffea20f28e0   rip = 0x00005559e601a6e3
        Found by: call frame info
     2  code!ui::XDisplayManager::Init() [x11_display_manager.cc : 48 + 0x8]
        rbx = 0x000012b0007a4780   rbp = 0x00007ffea20f28d0
        rsp = 0x00007ffea20f28b0   r12 = 0x0000000000000000
        r13 = 0xaaaaaaaaaaaaaaaa   r14 = 0x00007ffea20f28b8
        r15 = 0x00007ffea20f28e0   rip = 0x00005559e601a63c
        Found by: call frame info
     3  code!aura::ScreenOzone::ScreenOzone() [screen_ozone.cc : 28 + 0x9]
        rbx = 0x000012b0006efc80   rbp = 0x00007ffea20f2920
        rsp = 0x00007ffea20f28e0   r12 = 0x0000000000000000
        r13 = 0xaaaaaaaaaaaaaaaa   r14 = 0x000012b0000683f0
        r15 = 0x00007ffea20f28e0   rip = 0x00005559e6a3befc
        Found by: call frame info
     4  code!views::CreateDesktopScreen() [desktop_screen_ozone.cc : 16 + 0x8]
        rbx = 0x00007ffea20f2950   rbp = 0x00007ffea20f2940
        rsp = 0x00007ffea20f2930   r12 = 0x00007ffea20f2950
        r13 = 0xaaaaaaaaaaaaaaaa   r14 = 0x000012b0006efc80
        r15 = 0x00007ffea20f2950   rip = 0x00005559e6a3be2f
        Found by: call frame info
     5  code!electron::ElectronBrowserMainParts::PreCreateThreads() [electron_browser_main_parts.cc : 327 + 0x8]
        rbx = 0x000012b000044820   rbp = 0x00007ffea20f2a00
        rsp = 0x00007ffea20f2950   r12 = 0x00007ffea20f2950
        r13 = 0xaaaaaaaaaaaaaaaa   r14 = 0x00000000a20f2801
        r15 = 0x00007ffea20f2950   rip = 0x00005559e1c2872f
        Found by: call frame info
     6  code!content::BrowserMainLoop::PreCreateThreads() [browser_main_loop.cc : 794 + 0x5]
        rbx = 0x000012b0000909a0   rbp = 0x00007ffea20f2a50
        rsp = 0x00007ffea20f2a10   r12 = 0xaaaaaaaaaaaaaaaa
        r13 = 0x00007ffea20f2a20   r14 = 0x0000000000000000
        r15 = 0x00007ffea20f2a00   rip = 0x00005559e3f82851
        Found by: call frame info
     7  code!content::StartupTaskRunner::RunAllTasksNow() [callback.h : 156 + 0x3]
        rbx = 0x000012b000ae0e40   rbp = 0x00007ffea20f2a90
        rsp = 0x00007ffea20f2a60   r12 = 0x000012b0008a4cc0
        r13 = 0x00007ffea20f2aa0   r14 = 0x00005559e9870000
        r15 = 0x00007ffea20f2a68   rip = 0x00005559e45711dd
        Found by: call frame info
     8  code!content::BrowserMainLoop::CreateStartupTasks() [browser_main_loop.cc : 915 + 0x5]
        rbx = 0x00007ffea20f2b00   rbp = 0x00007ffea20f2b00
        rsp = 0x00007ffea20f2aa0   r12 = 0x000012b0007a83c0
        r13 = 0x00007ffea20f2aa0   r14 = 0x00005559e9870000
        r15 = 0x000012b0000909a0   rip = 0x00005559e3f82be8
        Found by: call frame info
     9  code!content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams) [browser_main_runner_impl.cc : 139 + 0x5]
        rbx = 0x00007ffea20f2b18   rbp = 0x00007ffea20f2bb0
        rsp = 0x00007ffea20f2b10   r12 = 0x000012b0000303f0
        r13 = 0x000000b06bcd6982   r14 = 0x0000000000000000
        r15 = 0x0000000000000001   rip = 0x00005559e3f85885
        Found by: call frame info
    10  code!content::BrowserMain(content::MainFunctionParams) [browser_main.cc : 30 + 0xb]
        rbx = 0x00007ffea20f2c68   rbp = 0x00007ffea20f2c20
        rsp = 0x00007ffea20f2bc0   r12 = 0x00007ffea20f2c30
        r13 = 0x00007ffea20f2d90   r14 = 0x000012b0000303f0
        r15 = 0x00007ffea20f2bc0   rip = 0x00005559e3f812d2
        Found by: call frame info
    11  code!content::RunBrowserProcessMain(content::MainFunctionParams, content::ContentMainDelegate*) [content_main_runner_impl.cc : 716 + 0x8]
        rbx = 0x00007ffea20f3240   rbp = 0x00007ffea20f2d20
        rsp = 0x00007ffea20f2c30   r12 = 0x00007ffea20f2c30
        r13 = 0x00007ffea20f2d90   r14 = 0x00007ffea20f2c68
        r15 = 0x00007ffea20f2ca0   rip = 0x00005559e1e43224
        Found by: call frame info
    12  code!content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams, bool) [content_main_runner_impl.cc : 1307 + 0x8]
        rbx = 0x00001f24002a3100   rbp = 0x00007ffea20f2e10
        rsp = 0x00007ffea20f2d30   r12 = 0x00000000ffffffff
        r13 = 0x00007ffea20f2d90   r14 = 0x00007ffea20f2e20
        r15 = 0x00007ffea20f2d38   rip = 0x00005559e1e448e0
        Found by: call frame info
    13  code!content::ContentMainRunnerImpl::Run() [content_main_runner_impl.cc : 1152 + 0xf]
        rbx = 0x00001f24002a3100   rbp = 0x00007ffea20f2f30
        rsp = 0x00007ffea20f2e20   r12 = 0x00007ffea20f2ef0
        r13 = 0xaaaaaaaaaaaaaaaa   r14 = 0x00007ffea20f2e20
        r15 = 0x0000000000000000   rip = 0x00005559e1e446f9
        Found by: call frame info
    14  code!content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) [content_main.cc : 334 + 0x8]
        rbx = 0x00001f24002a3100   rbp = 0x00007ffea20f3190
        rsp = 0x00007ffea20f2f40   r12 = 0x0000000000000000
        r13 = 0x00007ffea20f3130   r14 = 0x0000000000000000
        r15 = 0x00007ffea20f2fc1   rip = 0x00005559e1e4217b
        Found by: call frame info
    15  code!content::ContentMain(content::ContentMainParams) [content_main.cc : 347 + 0x8]
        rbx = 0x00007ffea20f3210   rbp = 0x00007ffea20f3200
        rsp = 0x00007ffea20f31a0   r12 = 0x00007ffea20f31c8
        r13 = 0x00007ffea20f33b0   r14 = 0x00007ffea20f31c0
        r15 = 0x00007ffea20f31a8   rip = 0x00005559e1e42280
        Found by: call frame info
    16  code!main [electron_main_linux.cc : 45 + 0x8]
        rbx = 0x00007ffea20f33b8   rbp = 0x00007ffea20f32e0
        rsp = 0x00007ffea20f3210   r12 = 0x00007ffea20f3290
        r13 = 0x00007ffea20f33b0   r14 = 0x00007ffea20f3290
        r15 = 0x00007ffea20f3210   rip = 0x00005559e1b540f8
        Found by: call frame info
    17  libc.so.6 + 0x3a7e5
        rbx = 0x0000000000000000   rbp = 0x00005559e1af0b20
        rsp = 0x00007ffea20f32f0   r12 = 0x00005559e1757000
        r13 = 0x00007ffea20f33b0   r14 = 0x0000000000000000
        r15 = 0x0000000000000000   rip = 0x00007f257c7e07e5
        Found by: call frame info
    18  ld-linux-x86-64.so.2 + 0x921a
        rsp = 0x00007ffea20f3370   rip = 0x00007f25823a121a
        Found by: stack scanning
    19  code!_start + 0x2a
        rsp = 0x00007ffea20f33a0   rip = 0x00005559e175702a
        Found by: stack scanning
    20  0x7ffea20f33a8
        rsp = 0x00007ffea20f33a8   rip = 0x00007ffea20f33a8
        Found by: call frame info
    21  ld-linux-x86-64.so.2 + 0x231130
        rsp = 0x00007ffea20f33b0   rip = 0x00007f25825c9130
        Found by: stack scanning
    
  8. deepak1556 commented on Jun 20, 2024

    @deepak1556
    Collaborator

    Seems like this might be addressed with https://chromium-review.googlesource.com/c/chromium/src/+/5324886. Can you try our exploration build based on Chromium 124 which should contain the linked fix.

  9. fr43nk commented on Jun 20, 2024

    @fr43nk
    Author

    This looks very promising. Thank you!

    image

    When will this fix go into an official release?

  10. 9 remaining items

  11. Akryum commented on Jun 26, 2024

    @Akryum

    Will this also fix the crashes for Wayland?

  12. deepak1556 commented on Jun 26, 2024

    @deepak1556
    Collaborator

    Guillaume Chau (@Akryum) nope, this issue only affects x11 backend.

  13. Akryum commented on Jun 26, 2024

    @Akryum

    See my previous comments, it also affects Wayland sessions

  14. deepak1556 commented on Jun 26, 2024

    @deepak1556
    Collaborator

    That would be a different issue atleast based on the crash dumps posted by Frank (@fr43nk), can you forward the crash logs following the steps at #215924 (comment)

  15. added
    unreleased
    on Jul 9, 2024
  16. added
    insiders-released
    and removed
    unreleased
    on Jul 10, 2024
  17. added
    author-verification-requested
    on Jul 24, 2024
  18. vscodenpa commented on Jul 24, 2024

    @vscodenpa

    This bug has been fixed in the latest release of VS Code Insiders!

    Frank (@fr43nk), you can help us out by commenting /verified if things are now working as expected.

    If things still don't seem right, please ensure you're on version 7ed4cdc of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.

    Happy Coding!

  19. fr43nk commented on Jul 24, 2024

    @fr43nk
    Author

    /verified

  20. added
    verified
    and removed
    author-verification-requested
    on Jul 24, 2024
  21. locked and limited conversation to collaborators on Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugchromiumelectron-29-updateinsiders-releasedlinuxupstream-issue-fixedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions