Skip to content

Smoke test: crash #251472

Closed as not planned
Closed as not planned

Description

https://dev.azure.com/vscode/VSCode/_build/results?buildId=156075&view=logs&j=63e3f102-1a32-5522-1a08-c65a8f88f0ae&t=89f9e81b-28c1-5c5f-7a6f-6f5d61a2aaab&l=173

  1) VSCode Smoke Tests (Electron)
       Settings editor
         "before all" hook for "shows a modified indicator on a modified setting":
     electron.launch: WebSocket error: socket hang up
      at async measureAndLog (/mnt/vss/_work/1/s/test/automation/out/logger.js:46:15)
      at async launchElectron (/mnt/vss/_work/1/s/test/automation/out/playwrightElectron.js:26:22)
      at async launch (/mnt/vss/_work/1/s/test/automation/out/playwrightElectron.js:17:41)
      at async measureAndLog (/mnt/vss/_work/1/s/test/automation/out/logger.js:46:15)
      at async launch (/mnt/vss/_work/1/s/test/automation/out/code.js:61:45)
      at async Application.startApplication (/mnt/vss/_work/1/s/test/automation/out/application.js:76:35)
      at async Application._start (/mnt/vss/_work/1/s/test/automation/out/application.js:55:22)
      at async Application.start (/mnt/vss/_work/1/s/test/automation/out/application.js:43:9)
      at async Context.<anonymous> (out/utils.js:89:9)

39972b1d-d4e0-48d4-bf2a-3170b3181b3c.dmp

39972b1d-d4e0-48d4-bf2a-3170b3181b3c.meta.zip

Over the past days I have seen a ton of failing smoke tests all with the error electron.launch: WebSocket error: socket hang up. Would be great to get to the bottom of this, as there is a crash dump attached.

Activity

  1. added
    freeze-slow-crash-leak
    on Jun 14, 2025
  2. deepak1556 commented on Jul 3, 2025

    @deepak1556
    Collaborator

    Crash is happening in 3rd party fontconfig library, will keep an eye out but nothing actionable at the moment.

    Crash reason:  SIGSEGV /SEGV_MAPERR
    Crash address: 0x60100401e0000
    Process uptime: 0 seconds
    
    Thread 31 (crashed)
     0  libc.so.6!__GI_getenv [getenv.c : 84 + 0x0]
        rax = 0x0000000000000012   rdx = 0x0000000000000000
        rcx = 0x000000002d465455   rbx = 0x00001e400000fc00
        rsi = 0x0000000000382d46   rdi = 0x00007fc2030b2e96
        rbp = 0x0000000000005845   rsp = 0x00007fc0f35e3670
         r8 = 0x00001e4400f8c770    r9 = 0x00007fc0f35e3670
        r10 = 0x0000000000000000   r11 = 0x0000000000000293
        r12 = 0x00060100401e0000   r13 = 0x0000000000000012
        r14 = 0x0000000000000010   r15 = 0x00007fc2030b2e98
        rip = 0x00007fc202a44c1d
        Found by: given as instruction pointer in context
     1  libexpat.so.1!getDebugLevel [xmlparse.c : 8705 + 0x5]
        rbx = 0x00001e4400b8a680   rbp = 0x00007fc2023912e2
        rsp = 0x00007fc0f35e36b0   r12 = 0x00001e4400b8a680
        r13 = 0x0000000000000000   r14 = 0x00001e4400b8a698
        r15 = 0x00001e4400c77700   rip = 0x00007fc2030b185f
        Found by: call frame info
     2  libexpat.so.1!parserInit [xmlparse.c : 1272 + 0x5]
        rbx = 0x00001e4400b8a680   rbp = 0x00007fc2023912e2
        rsp = 0x00007fc0f35e36e0   r12 = 0x00001e4400b8a680
        r13 = 0x0000000000000000   r14 = 0x00001e4400b8a698
        r15 = 0x00001e4400c77700   rip = 0x00007fc20309537f
        Found by: call frame info
     3  libexpat.so.1!parserCreate [xmlparse.c : 1159 + 0x5]
        rbx = 0x0000000000000000   rbp = 0x00007fc2023912e2
        rsp = 0x00007fc0f35e36f0   r12 = 0x00001e4400b8a680
        r13 = 0x0000000000000000   r14 = 0x00001e4400b8a698
        r15 = 0x00001e4400c77700   rip = 0x00007fc20309effc
        Found by: call frame info
     4  libfontconfig.so.1!FcConfigParseAndLoadFromMemoryInternal [fcxml.c : 3313 + 0xc]
        rbx = 0x00001e44008fdc00   rbp = 0x0000000000002835
        rsp = 0x00007fc0f35e3720   r12 = 0x00001e4400f67580
        r13 = 0x00001e4400f793b0   r14 = 0x0000000000000001
        r15 = 0x00001e4400c77700   rip = 0x00007fc202384101
        Found by: call frame info
     5  libfontconfig.so.1!_FcConfigParse [fcxml.c : 3491 + 0x15]
        rbx = 0x00007fc0f35e4a50   rbp = 0x00007fc0f35e49b0
        rsp = 0x00007fc0f35e4970   r12 = 0x00001e4400f67580
        r13 = 0x00001e4400fa4de0   r14 = 0x00001e4400f793b0
        r15 = 0x0000000000000048   rip = 0x00007fc202384ae9
        Found by: call frame info
     6  libfontconfig.so.1!FcConfigParseAndLoadDir [fcxml.c : 3256 + 0x4]
     
        Found by: inline record
     7  libfontconfig.so.1!_FcConfigParse [fcxml.c : 3454 + 0x5]
        rbx = 0x0000000000000000   rbp = 0x0000000000000001
        rsp = 0x00007fc0f35e9ab0   r12 = 0x000000000000001b
        r13 = 0x00001e4400f7bcc0   r14 = 0x00001e4400c77700
        r15 = 0x00001e4400b9f600   rip = 0x00007fc202384c9e
        Found by: call frame info
     8  libfontconfig.so.1!FcParseInclude [fcxml.c : 2421 + 0x1d]
     
        Found by: inline record
     9  libfontconfig.so.1!FcEndElement [fcxml.c : 2971 + 0x1e]
        rbx = 0x0000000000000000   rbp = 0x00007fc0f35ef000
        rsp = 0x00007fc0f35eebf0   r12 = 0x0000000000000000
        r13 = 0x00001e4400fa2800   r14 = 0x0000000000000003
        r15 = 0x0000000000000000   rip = 0x00007fc202380acc
        Found by: call frame info
    10  libexpat.so.1!doContent [xmlparse.c : 3206 + 0xa]
        rbx = 0x00001e4400b88db0   rbp = 0x00001e4400b88b80
        rsp = 0x00007fc0f35eed30   r12 = 0x00001e4400f94af8
        r13 = 0x00007fc2030bda20   r14 = 0x00001e4400f94972
        r15 = 0x00001e4400f4bf00   rip = 0x00007fc203099607
        Found by: call frame info
    11  libexpat.so.1!contentProcessor [xmlparse.c : 2763 + 0x6]
        rbx = 0x00001e4400b88db0   rbp = 0x00001e4400b88b80
        rsp = 0x00007fc0f35eee40   r12 = 0x00001e4400f94083
        r13 = 0x000000000000001d   r14 = 0x00007fc2030b26c0
        r15 = 0x00007fc2030bda20   rip = 0x00007fc20309a6fd
        Found by: call frame info
    12  libexpat.so.1!doProlog [xmlparse.c : 5069 + 0x5]
        rbx = 0x00001e4400b88db0   rbp = 0x00001e4400b88b80
        rsp = 0x00007fc0f35eee60   r12 = 0x00001e4400f94083
        r13 = 0x000000000000001d   r14 = 0x00007fc2030b26c0
        r15 = 0x00007fc2030bda20   rip = 0x00007fc20309ce33
        Found by: call frame info
    13  libexpat.so.1!prologProcessor [xmlparse.c : 4774 + 0x20]
        rbx = 0x00001e4400b88bb0   rbp = 0x00001e4400b88b80
        rsp = 0x00007fc0f35eef10   r12 = 0x00001e4400f94000
        r13 = 0x00001e4400f94af8   r14 = 0x00001e4400b88bb0
        r15 = 0x00007fc0f35ef000   rip = 0x00007fc20309df0c
        Found by: call frame info
    14  libexpat.so.1!callProcessor [xmlparse.c : 1011 + 0xf]
        rbx = 0x00001e4400b88b80   rbp = 0x00001e4400f94af8
        rsp = 0x00007fc0f35eef70   r12 = 0x00001e4400f94000
        r13 = 0x0000000000000af8   r14 = 0x00001e4400b88bb0
        r15 = 0x00007fc0f35ef000   rip = 0x00007fc2030934ff
        Found by: call frame info
    15  libexpat.so.1!XML_ParseBuffer [xmlparse.c : 2134 + 0x4]
     
        Found by: inline record
    16  libexpat.so.1!XML_ParseBuffer [xmlparse.c : 2092 + 0x5]
        rbx = 0x00001e4400b88b80   rbp = 0x0000000000000af8
        rsp = 0x00007fc0f35eefa0   r12 = 0x0000000000000000
        r13 = 0x0000000000000000   r14 = 0x0000000000000001
        r15 = 0x00007fc0f35ef000   rip = 0x00007fc2030a0487
        Found by: call frame info
    17  libfontconfig.so.1!FcConfigParseAndLoadFromMemoryInternal [fcxml.c : 3358 + 0x12]
        rbx = 0x00001e4400a5e4f8   rbp = 0x0000000000000af8
        rsp = 0x00007fc0f35eefd0   r12 = 0x00001e4400b88b80
        r13 = 0x00001e4400f90c60   r14 = 0x0000000000000001
        r15 = 0x00007fc0f35ef000   rip = 0x00007fc202384333
        Found by: call frame info
    18  libfontconfig.so.1!_FcConfigParse [fcxml.c : 3491 + 0x15]
        rbx = 0x00007fc0f35f0300   rbp = 0x00007fc0f35f0260
        rsp = 0x00007fc0f35f0220   r12 = 0x00001e4400f91dc0
        r13 = 0x0000000000000000   r14 = 0x00001e4400f90c60
        r15 = 0x0000000000000045   rip = 0x00007fc202384ae9
        Found by: call frame info
    19  libfontconfig.so.1!IA__FcConfigParseAndLoad [fcxml.c : 3524 + 0x13]
     
        Found by: inline record
    20  libfontconfig.so.1!FcInitLoadOwnConfig [fcinit.c : 88 + 0x14]
        rbx = 0x00001e4400c9ec60   rbp = 0x00007fc202489128
        rsp = 0x00007fc0f35f5360   r12 = 0x00001e4400c77700
        r13 = 0x0000000000000002   r14 = 0x00007fc202a947d0
        r15 = 0x00007fffa95b9270   rip = 0x00007fc20236c2c1
        Found by: call frame info
    21  libfontconfig.so.1!FcInitLoadOwnConfigAndFonts [fcinit.c : 169 + 0x6]
     
        Found by: inline record
    22  libfontconfig.so.1!IA__FcInitLoadConfigAndFonts [fcinit.c : 183 + 0x6]
     
        Found by: inline record
    23  libfontconfig.so.1!FcConfigEnsure [fccfg.c : 45 + 0x7]
        rbx = 0x00001e4400c9ec60   rbp = 0x00007fc202489128
        rsp = 0x00007fc0f35f5390   r12 = 0x0000000000000000
        r13 = 0x0000000000000002   r14 = 0x00007fc202a947d0
        r15 = 0x00007fffa95b9270   rip = 0x00007fc20236572f
        Found by: call frame info
    24  libfontconfig.so.1!FcConfigInit [fccfg.c : 88 + 0x4]
     
        Found by: inline record
    25  libfontconfig.so.1!IA__FcInit [fcinit.c : 192 + 0x5]
        rbx = 0x00001e4400c9ec60   rbp = 0x00007fc202489128
        rsp = 0x00007fc0f35f53a0   r12 = 0x00007fc0f35f6640
        r13 = 0x0000000000000002   r14 = 0x00007fc202a947d0
        r15 = 0x00007fffa95b9270   rip = 0x00007fc20236c5dd
        Found by: call frame info
    26  libpangoft2-1.0.so.0!init_in_thread [pangofc-fontmap.c : 1369 + 0x5]
        rbx = 0x00001e4400c9ec60   rbp = 0x00007fc202489128
        rsp = 0x00007fc0f35f53b0   r12 = 0x00007fc0f35f6640
        r13 = 0x0000000000000002   r14 = 0x00007fc202a947d0
        r15 = 0x00007fffa95b9270   rip = 0x00007fc202479e01
        Found by: call frame info
    27  libglib-2.0.so.0!g_thread_proxy [gthread.c : 827 + 0x6]
        rbx = 0x00001e4400c9ec60   rbp = 0x00001e4400f91d00
        rsp = 0x00007fc0f35f53c0   r12 = 0x00007fc0f35f6640
        r13 = 0x0000000000000002   r14 = 0x00007fc202a947d0
        r15 = 0x00007fffa95b9270   rip = 0x00007fc20414aab1
        Found by: call frame info
    28  libc.so.6!start_thread [pthread_create.c : 442 + 0x12]
        rbx = 0x00007fc0f35f6640   rbp = 0x0000000000000000
        rsp = 0x00007fc0f35f53e0   r12 = 0x00007fc0f35f6640
        r13 = 0x0000000000000002   r14 = 0x00007fc202a947d0
        r15 = 0x00007fffa95b9270   rip = 0x00007fc202a94ac3
        Found by: call frame info
    29  libc.so.6!__clone3 + 0x30
        rbx = 0x00007fffa95b9110   rbp = 0x0000000000000000
        rsp = 0x00007fc0f35f5480   r12 = 0x00007fc0f35f6640
        r13 = 0x0000000000000002   r14 = 0x00007fc202a947d0
        r15 = 0x00007fffa95b9270   rip = 0x00007fc202b26850
        Found by: call frame info
    
  3. removed this from the June 2025 milestone on Jul 3, 2025
  4. deepak1556 commented on Oct 9, 2025

    @deepak1556
    Collaborator

    Haven't seen this crash in recent Electron versions, closing for now

  5. locked and limited conversation to collaborators on Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

freeze-slow-crash-leaksmoke-test-failure

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions