Last active
January 12, 2023 22:49
-
-
Save tbenst/b4a1840bda2bff11913cbb3c0a2bb2f0 to your computer and use it in GitHub Desktop.
vscode-server seg fault on Sherlock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(base) [tbenst@sh03-ln02 login ~/.vscode-server]$ module load devel | |
(base) [tbenst@sh03-ln02 login ~/.vscode-server]$ module load valgrind | |
(base) [tbenst@sh03-ln02 login ~/.vscode-server]$ valgrind -v /home/users/tbenst/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/bin/code-server | |
==126986== Memcheck, a memory error detector | |
==126986== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. | |
==126986== Using Valgrind-3.14.0-353a3587bb-20181007X and LibVEX; rerun with -h for copyright info | |
==126986== Command: /home/users/tbenst/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/bin/code-server | |
==126986== | |
--126986-- Valgrind options: | |
--126986-- -v | |
--126986-- Contents of /proc/version: | |
--126986-- Linux version 3.10.0-1160.80.1.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 8 15:48:59 UTC 2022 | |
--126986-- | |
--126986-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi | |
--126986-- Page sizes: currently 4096, max supported 4096 | |
--126986-- Valgrind library directory: /share/software/user/open/valgrind/3.14.0/lib/valgrind | |
--126986-- Reading syms from /usr/bin/env | |
--126986-- object doesn't have a symbol table | |
--126986-- Reading syms from /usr/lib64/ld-2.17.so | |
--126986-- Reading syms from /share/software/user/open/valgrind/3.14.0/lib/valgrind/memcheck-amd64-linux | |
--126986-- object doesn't have a dynamic symbol table | |
--126986-- Scheduler: using generic scheduler lock implementation. | |
--126986-- Reading suppressions file: /share/software/user/open/valgrind/3.14.0/lib/valgrind/default.supp | |
==126986== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-126986-by-tbenst-on-sh03-ln02.stanford.edu | |
==126986== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-126986-by-tbenst-on-sh03-ln02.stanford.edu | |
==126986== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-126986-by-tbenst-on-sh03-ln02.stanford.edu | |
==126986== | |
==126986== TO CONTROL THIS PROCESS USING vgdb (which you probably | |
==126986== don't want to do, unless you know exactly what you're doing, | |
==126986== or are doing some strange experiment): | |
==126986== /share/software/user/open/valgrind/3.14.0/lib/valgrind/../../bin/vgdb --pid=126986 ...command... | |
==126986== | |
==126986== TO DEBUG THIS PROCESS USING GDB: start GDB like this | |
==126986== /path/to/gdb /home/users/tbenst/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/bin/code-server | |
==126986== and then give GDB the following command | |
==126986== target remote | /share/software/user/open/valgrind/3.14.0/lib/valgrind/../../bin/vgdb --pid=126986 | |
==126986== --pid is optional if only one valgrind process is running | |
==126986== | |
--126986-- REDIR: 0x4019e40 (ld-linux-x86-64.so.2:strlen) redirected to 0x580c5545 (vgPlain_amd64_linux_REDIR_FOR_strlen) | |
--126986-- REDIR: 0x4019c10 (ld-linux-x86-64.so.2:index) redirected to 0x580c555f (vgPlain_amd64_linux_REDIR_FOR_index) | |
--126986-- Reading syms from /share/software/user/open/valgrind/3.14.0/lib/valgrind/vgpreload_core-amd64-linux.so | |
--126986-- Reading syms from /share/software/user/open/valgrind/3.14.0/lib/valgrind/vgpreload_memcheck-amd64-linux.so | |
==126986== WARNING: new redirection conflicts with existing -- ignoring it | |
--126986-- old: 0x04019e40 (strlen ) R-> (0000.0) 0x580c5545 vgPlain_amd64_linux_REDIR_FOR_strlen | |
--126986-- new: 0x04019e40 (strlen ) R-> (2007.0) 0x04c2d070 strlen | |
--126986-- REDIR: 0x4019dc0 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c2e1c0 (strcmp) | |
--126986-- REDIR: 0x401aa80 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c31d70 (mempcpy) | |
--126986-- Reading syms from /usr/lib64/libc-2.17.so | |
--126986-- REDIR: 0x4ec71d0 (libc.so.6:strcasecmp) redirected to 0x4a24740 (_vgnU_ifunc_wrapper) | |
--126986-- REDIR: 0x4ec3f40 (libc.so.6:strnlen) redirected to 0x4a24740 (_vgnU_ifunc_wrapper) | |
--126986-- REDIR: 0x4ec94d0 (libc.so.6:strncasecmp) redirected to 0x4a24740 (_vgnU_ifunc_wrapper) | |
--126986-- REDIR: 0x4ec69a0 (libc.so.6:memset) redirected to 0x4a24740 (_vgnU_ifunc_wrapper) | |
--126986-- REDIR: 0x4ec6950 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a24740 (_vgnU_ifunc_wrapper) | |
--126986-- REDIR: 0x4ec5930 (libc.so.6:__GI_strrchr) redirected to 0x4c2ca30 (__GI_strrchr) | |
--126986-- REDIR: 0x4ec58f0 (libc.so.6:rindex) redirected to 0x4a24740 (_vgnU_ifunc_wrapper) | |
--126986-- REDIR: 0x4f77d50 (libc.so.6:__strrchr_sse42) redirected to 0x4c2cac0 (__strrchr_sse42) | |
--126986-- REDIR: 0x4ec2400 (libc.so.6:__GI_strcmp) redirected to 0x4c2e0d0 (__GI_strcmp) | |
--126986-- REDIR: 0x4ec3e60 (libc.so.6:__GI_strlen) redirected to 0x4c2cfd0 (__GI_strlen) | |
--126986-- REDIR: 0x4ec4060 (libc.so.6:__GI_strncmp) redirected to 0x4c2d800 (__GI_strncmp) | |
--126986-- REDIR: 0x4ec2340 (libc.so.6:__GI_strchr) redirected to 0x4c2cb60 (__GI_strchr) | |
--126986-- REDIR: 0x4ec6030 (libc.so.6:memchr) redirected to 0x4c2e260 (memchr) | |
--126986-- REDIR: 0x4ecd4b0 (libc.so.6:strchrnul) redirected to 0x4c31890 (strchrnul) | |
--126986-- REDIR: 0x4ebc740 (libc.so.6:malloc) redirected to 0x4c29dac (malloc) | |
--126986-- REDIR: 0x4ec6b70 (libc.so.6:__GI_mempcpy) redirected to 0x4c31aa0 (__GI_mempcpy) | |
--126986-- REDIR: 0x4ecbc30 (libc.so.6:__GI_memcpy) redirected to 0x4c2ee70 (__GI_memcpy) | |
--126986-- REDIR: 0x4ebcb60 (libc.so.6:free) redirected to 0x4c2aea6 (free) | |
--126986-- REDIR: 0x4ec2300 (libc.so.6:index) redirected to 0x4a24740 (_vgnU_ifunc_wrapper) | |
--126986-- REDIR: 0x4f75f10 (libc.so.6:__strchr_sse42) redirected to 0x4c2cc20 (index) | |
/home/users/tbenst/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/bin/code-server: line 12: 127042 Segmentation fault "$ROOT/node" ${INSPECT:-} "$ROOT/out/server-main.js" "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tbenst@sh03-ln02 login ~/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161]$ ./node out/server-main.js --start-server --host=127.0.0.1 --accept-server-license-terms --enable-remote-auto-shutdown --port=0 | |
* | |
* Visual Studio Code Server | |
* | |
* By using the software, you agree to | |
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and | |
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement). | |
* | |
Server bound to 127.0.0.1:39995 (IPv4) | |
Extension host agent listening on 39995 | |
[14:48:10] Extension host agent started. | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
[14:48:10] ptyHost terminated unexpectedly with code null | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
[14:48:10] ptyHost terminated unexpectedly with code null | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
[14:48:10] ptyHost terminated unexpectedly with code null | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
[14:48:10] ptyHost terminated unexpectedly with code null | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
[14:48:10] ptyHost terminated unexpectedly with code null | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
[14:48:10] ptyHost terminated unexpectedly with code null | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
IPC "Pty Host" crashed with exit code null and signal SIGSEGV | |
[14:48:10] ptyHost terminated unexpectedly with code null, giving up | |
[14:48:11] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment: Unexpected exit code from spawned shell (code null, signal SIGSEGV) | |
at /home/users/tbenst/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/out/vs/server/node/server.main.js:95:2571 | |
at processTicksAndRejections (node:internal/process/task_queues:96:5) | |
at async /home/users/tbenst/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/out/vs/server/node/server.main.js:70:21445 | |
[14:48:16] No ptyHost heartbeat after 6 seconds | |
[14:48:21] No ptyHost heartbeat after 12 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment