You are not logged in.

#1 2021-04-02 19:34:09

5y67kgde
Member
Registered: 2020-11-15
Posts: 2

Discord Segmentation Fault

I'm trying to run discord in a libvirt VM running arch, with a virtio display and SPICE for audio.
I installed discord with pacman.
I ran it with strace but I am struggling to work out the root cause of the segfault.
Any ideas what the root cause could be?

...
mprotect(0x298508c80000, 262144, PROT_NONE) = 0
madvise(0x298508c80000, 262144, MADV_FREE) = 0
mprotect(0x298508c80000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x298508cc0000, 262144, PROT_NONE) = 0
madvise(0x298508cc0000, 262144, MADV_FREE) = 0
mprotect(0x298508cc0000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x298508d00000, 262144, PROT_NONE) = 0
madvise(0x298508d00000, 262144, MADV_FREE) = 0
mprotect(0x298508d00000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x298508d40000, 262144, PROT_NONE) = 0
madvise(0x298508d40000, 262144, MADV_FREE) = 0
mprotect(0x298508d40000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x298508d80000, 262144, PROT_NONE) = 0
madvise(0x298508d80000, 262144, MADV_FREE) = 0
mprotect(0x298508d80000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x298508dc0000, 262144, PROT_NONE) = 0
madvise(0x298508dc0000, 262144, MADV_FREE) = 0
mprotect(0x298508dc0000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x298508e00000, 262144, PROT_NONE) = 0
madvise(0x298508e00000, 262144, MADV_FREE) = 0
mprotect(0x298508e00000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x298508e40000, 262144, PROT_NONE) = 0
madvise(0x298508e40000, 262144, MADV_FREE) = 0
mprotect(0x298508e40000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x298508e80000, 262144, PROT_NONE) = 0
madvise(0x298508e80000, 262144, MADV_FREE) = 0
mprotect(0x298508e80000, 262144, PROT_READ|PROT_WRITE) = 0
mmap(0x11d0d6bff000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x11d0d6bff000
madvise(0x11d0d6bff000, 1048576, MADV_DONTNEED) = 0
mprotect(0x298508ec0000, 262144, PROT_NONE) = 0
madvise(0x298508ec0000, 262144, MADV_FREE) = 0
mprotect(0x298508ec0000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x298508f00000, 262144, PROT_NONE) = 0
madvise(0x298508f00000, 262144, MADV_FREE) = 0
mprotect(0x298508f00000, 262144, PROT_READ|PROT_WRITE) = 0
futex(0x11d0d66b9d68, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x11d0d66b9d68, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x11d0d66b9d68, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x11d0d66b9d18, FUTEX_WAKE_PRIVATE, 1) = 0
mprotect(0x298508f80000, 262144, PROT_NONE) = 0
madvise(0x298508f80000, 262144, MADV_FREE) = 0
mprotect(0x298508f80000, 262144, PROT_READ|PROT_WRITE) = 0
futex(0x7ffe7818eda8, FUTEX_WAIT_BITSET_PRIVATE, 0, {tv_sec=1340, tv_nsec=244319000}, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7ffe7818edb0, FUTEX_WAKE_PRIVATE, 1) = 0
madvise(0x11d0d6c03000, 8192, MADV_DONTNEED) = 0
futex(0x11d0d66b9d6c, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x11d0d66b9d6c, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x11d0d66b9d18, FUTEX_WAKE_PRIVATE, 1) = 0
getpid()                                = 1656
mprotect(0x298500082000, 249856, PROT_READ|PROT_WRITE) = 0
mprotect(0x298500082000, 249856, PROT_READ|PROT_EXEC) = 0
pread64(40, "Object.defineProperty(exports, \""..., 4841, 1091594) = 4841
pread64(40, "Object.defineProperty(exports, \""..., 8996, 1239254) = 8996
pread64(40, "{\n  \"name\": \"lru_map\",\n  \"versio"..., 901, 6708844) = 901
pread64(40, "/**\n * A doubly linked list-base"..., 7934, 6700910) = 7934
pread64(40, "/**\n * stack-trace - Parses node"..., 2663, 1279540) = 2663
pread64(40, "Object.defineProperty(exports, \""..., 335, 1312412) = 335
pread64(40, "Object.defineProperty(exports, \""..., 5440, 1290079) = 5440
pread64(40, "Object.defineProperty(exports, \""..., 243, 1313348) = 243
pread64(40, "Object.defineProperty(exports, \""..., 1201, 1304970) = 1201
pread64(40, "Object.defineProperty(exports, \""..., 1264, 1308828) = 1264
pread64(40, "Object.defineProperty(exports, \""..., 1120, 1105915) = 1120
pread64(40, "Object.defineProperty(exports, \""..., 5199, 1266188) = 5199
pread64(40, "Object.defineProperty(exports, \""..., 681, 1174989) = 681
pread64(40, "Object.defineProperty(exports, \""..., 2490, 1151722) = 2490
pread64(40, "Object.defineProperty(exports, \""..., 5969, 1158561) = 5969
pread64(40, "Object.defineProperty(exports, \""..., 5598, 1223120) = 5598
pread64(40, "Object.defineProperty(exports, \""..., 5757, 1195180) = 5757
futex(0x11d0d66b9d6c, FUTEX_WAKE_PRIVATE, 1) = 1
pread64(40, "Object.defineProperty(exports, \""..., 10403, 1113101) = 10403
pread64(40, "{\n  \"name\": \"@sentry/tracing\",\n "..., 2669, 3665143) = 2669
pread64(40, "Object.defineProperty(exports, \""..., 1642, 3202304) = 1642
pread64(40, "Object.defineProperty(exports, \""..., 422, 2997004) = 422
pread64(40, "Object.defineProperty(exports, \""..., 7018, 2976709) = 7018
pread64(40, "Object.defineProperty(exports, \""..., 10348, 3135349) = 10348
pread64(40, "Object.defineProperty(exports, \""..., 1011, 3131833) = 1011
pread64(40, "Object.defineProperty(exports, \""..., 3726, 3289040) = 3726
pread64(40, "Object.defineProperty(exports, \""..., 2302, 3311972) = 2302
pread64(40, "Object.defineProperty(exports, \""..., 11325, 3164912) = 11325
pread64(40, "Object.defineProperty(exports, \""..., 6667, 3267690) = 6667
pread64(40, "Object.defineProperty(exports, \""..., 4167, 3299508) = 4167
pread64(40, "Object.defineProperty(exports, \""..., 1521, 2967457) = 1521
pread64(40, "Object.defineProperty(exports, \""..., 15647, 3000566) = 15647
mprotect(0x298500082000, 249856, PROT_READ|PROT_WRITE) = 0
mprotect(0x298500082000, 249856, PROT_READ|PROT_EXEC) = 0
pread64(40, "/*\n * Copyright 2020 Google LLC\n"..., 1759, 3073885) = 1759
pread64(40, "/*\n * Copyright 2020 Google LLC\n"..., 1630, 3099289) = 1630
pread64(40, "/*\n * Copyright 2020 Google LLC\n"..., 1019, 3110382) = 1019
pread64(40, "/*\n * Copyright 2020 Google LLC\n"..., 972, 3103778) = 972
pread64(40, "/*\n * Copyright 2020 Google LLC\n"..., 1434, 3113590) = 1434
pread64(40, "/*\n * Copyright 2020 Google LLC\n"..., 1585, 3117686) = 1585
pread64(40, "/*\n * Copyright 2020 Google LLC\n"..., 2642, 3079299) = 2642
pread64(40, "/*\n * Copyright 2020 Google LLC\n"..., 1505, 3106457) = 1505
pread64(40, "/*\n * Copyright 2020 Google LLC\n"..., 2294, 3086772) = 2294
pread64(40, "/*\n * Copyright 2020 Google LLC\n"..., 1128, 3122083) = 1128
pread64(40, "/*\n * Copyright 2020 Google LLC\n"..., 2261, 3092816) = 2261
pread64(40, "Object.defineProperty(exports, \""..., 7112, 3045929) = 7112
pread64(40, "Object.defineProperty(exports, \""..., 2645, 3067282) = 2645
pread64(40, "Object.defineProperty(exports, \""..., 381, 3222811) = 381
pread64(40, "Object.defineProperty(exports, \""..., 5709, 3207486) = 5709
pread64(40, "Object.defineProperty(exports, \""..., 2557, 3255216) = 2557
pread64(40, "Object.defineProperty(exports, \""..., 2503, 3248031) = 2503
pread64(40, "Object.defineProperty(exports, \""..., 7512, 3226062) = 7512
pread64(40, "Object.defineProperty(exports, \""..., 3515, 1210339) = 3515
pread64(40, "Object.defineProperty(exports, \""..., 2995, 1177620) = 2995
pread64(40, "Object.defineProperty(exports, \""..., 2505, 1186757) = 2505
pread64(40, "\"use strict\";\n\nObject.defineProp"..., 2879, 111135) = 2879
pread64(40, "\"use strict\";\n\nObject.defineProp"..., 2619, 452058) = 2619
pread64(40, "\"use strict\";\n\nObject.defineProp"..., 1124, 454677) = 1124
pread64(40, "\"use strict\";\n\nObject.defineProp"..., 315, 487867) = 315
mprotect(0x298500082000, 249856, PROT_READ|PROT_WRITE) = 0
mprotect(0x298500082000, 249856, PROT_READ|PROT_EXEC) = 0
mprotect(0x298500082000, 249856, PROT_READ|PROT_WRITE) = 0
mprotect(0x298500082000, 249856, PROT_READ|PROT_EXEC) = 0
mprotect(0x298500082000, 249856, PROT_READ|PROT_WRITE) = 0
mprotect(0x298500082000, 249856, PROT_READ|PROT_EXEC) = 0
mprotect(0x298500082000, 249856, PROT_READ|PROT_WRITE) = 0
mprotect(0x298500082000, 249856, PROT_READ|PROT_EXEC) = 0
epoll_create1(EPOLL_CLOEXEC)            = 41
pipe2([42, 43], O_NONBLOCK|O_CLOEXEC)   = 0
eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK)   = 44
openat(AT_FDCWD, "/dev/null", O_RDONLY|O_CLOEXEC) = 45
socketpair(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0, [46, 47]) = 0
socketpair(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0, [48, 49]) = 0
socketpair(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0, [50, 51]) = 0
pipe2([52, 53], O_CLOEXEC)              = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
read(26, "*", 1)                        = 1
rt_sigaction(SIGCHLD, {sa_handler=0x563dd27f5af0, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7faac0183960}, NULL, 8) = 0
write(27, "*", 1)                       = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7faabd6ed7d0) = 1673
close(53)                               = 0
read(52, "\376\377\377\377", 4)         = 4
wait4(1673, [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 1673
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1673, si_uid=1000, si_status=127, si_utime=0, si_stime=0} ---
read(26, "*", 1)                        = 1
write(43, "pW\237\326\320\21\0\0\21\0\0\0\0\0\0\0", 16) = 16
write(27, "*", 1)                       = 1
rt_sigreturn({mask=[]})                 = 1673
close(52)                               = 0
close(47)                               = 0
ioctl(46, FIONBIO, [1])                 = 0
close(49)                               = 0
ioctl(48, FIONBIO, [1])                 = 0
close(51)                               = 0
ioctl(50, FIONBIO, [1])                 = 0
epoll_ctl(41, EPOLL_CTL_DEL, 46, 0x7ffe7818f920) = -1 ENOENT (No such file or directory)
close(46)                               = 0
epoll_ctl(41, EPOLL_CTL_DEL, 48, 0x7ffe7818f920) = -1 ENOENT (No such file or directory)
close(48)                               = 0
epoll_ctl(41, EPOLL_CTL_DEL, 50, 0x7ffe7818f920) = -1 ENOENT (No such file or directory)
close(50)                               = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
read(26, "*", 1)                        = 1
rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7faac0183960}, NULL, 8) = 0
write(27, "*", 1)                       = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
epoll_ctl(41, EPOLL_CTL_ADD, 42, {events=EPOLLIN, data={u32=42, u64=42}}) = 0
epoll_ctl(41, EPOLL_CTL_ADD, 44, {events=EPOLLIN, data={u32=44, u64=44}}) = 0
epoll_wait(41, [{events=EPOLLIN, data={u32=42, u64=42}}], 1024, 0) = 1
read(42, "pW\237\326\320\21\0\0\21\0\0\0\0\0\0\0", 512) = 16
close(42)                               = 0
close(43)                               = 0
close(44)                               = 0
close(45)                               = 0
close(41)                               = 0
access("/home/user/.config/discord/Crash Reports", F_OK) = 0
openat(AT_FDCWD, "/home/user/.config/discord/Crash Reports/client_id", O_RDONLY|O_CLOEXEC) = 41
stat("/home/user/.config/discord/Crash Reports/client_id", {st_mode=S_IFREG|0644, st_size=36, ...}) = 0
newfstatat(41, "", {st_mode=S_IFREG|0644, st_size=36, ...}, AT_EMPTY_PATH) = 0
read(41, "59c402e5-c22a-4e30-afa4-c59deb40"..., 4096) = 36
read(41, "", 4096)                      = 0
close(41)                               = 0
access("/home/user/.config/discord/Crash Reports", F_OK) = 0
openat(AT_FDCWD, "/dev/urandom", O_RDONLY|O_CLOEXEC) = 41
read(41, "\3550\363\200?\2+\201E\234\256\362Z\351\271\210", 16) = 16
close(41)                               = 0
sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0
sigaltstack({ss_sp=0x11d0d6c7a000, ss_flags=0, ss_size=16384}, NULL) = 0
rt_sigaction(SIGSEGV, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7faac0183960}, 8) = 0
rt_sigaction(SIGABRT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7faac0183960}, 8) = 0
rt_sigaction(SIGFPE, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7faac0183960}, 8) = 0
rt_sigaction(SIGILL, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7faac0183960}, 8) = 0
rt_sigaction(SIGBUS, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7faac0183960}, 8) = 0
rt_sigaction(SIGTRAP, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7faac0183960}, 8) = 0
rt_sigaction(SIGSEGV, {sa_handler=0x563dcfdc7a20, sa_mask=[ILL TRAP ABRT BUS FPE SEGV], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7faac0183960}, NULL, 8) = 0
rt_sigaction(SIGABRT, {sa_handler=0x563dcfdc7a20, sa_mask=[ILL TRAP ABRT BUS FPE SEGV], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7faac0183960}, NULL, 8) = 0
rt_sigaction(SIGFPE, {sa_handler=0x563dcfdc7a20, sa_mask=[ILL TRAP ABRT BUS FPE SEGV], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7faac0183960}, NULL, 8) = 0
rt_sigaction(SIGILL, {sa_handler=0x563dcfdc7a20, sa_mask=[ILL TRAP ABRT BUS FPE SEGV], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7faac0183960}, NULL, 8) = 0
rt_sigaction(SIGBUS, {sa_handler=0x563dcfdc7a20, sa_mask=[ILL TRAP ABRT BUS FPE SEGV], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7faac0183960}, NULL, 8) = 0
rt_sigaction(SIGTRAP, {sa_handler=0x563dcfdc7a20, sa_mask=[ILL TRAP ABRT BUS FPE SEGV], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7faac0183960}, NULL, 8) = 0
getpid()                                = 1656
access("/home/user/.config/discord/Dictionaries", F_OK) = 0
readlink("/home", 0x7ffe7818e430, 1023) = -1 EINVAL (Invalid argument)
readlink("/home/user", 0x7ffe7818e430, 1023) = -1 EINVAL (Invalid argument)
readlink("/home/user/.config", 0x7ffe7818e430, 1023) = -1 EINVAL (Invalid argument)
readlink("/home/user/.config/discord", 0x7ffe7818e430, 1023) = -1 EINVAL (Invalid argument)
readlink("/home/user/.config/discord/Dictionaries", 0x7ffe7818e430, 1023) = -1 EINVAL (Invalid argument)
umask(000)                              = 022
umask(022)                              = 000
mkdir("/home/user/.config/discord/0.0.14", 0755) = -1 EEXIST (File exists)
statx(AT_FDCWD, "/home/user/.config/discord/0.0.14", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
readlink("/proc/self/exe", "/opt/discord/Discord", 4096) = 20
mprotect(0x298500082000, 249856, PROT_READ|PROT_WRITE) = 0
mprotect(0x298500082000, 249856, PROT_READ|PROT_EXEC) = 0
pread64(40, "\"use strict\";\n\nObject.defineProp"..., 1443, 93688) = 1443
pread64(40, "\"use strict\";\n\nObject.defineProp"..., 1727, 489009) = 1727
openat(AT_FDCWD, "/home/user/.config/discord/settings.json", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/user/.config/discord/settings.json", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffe7818d350) = -1 ENOENT (No such file or directory)
pread64(40, "\"use strict\";\n\n// bootstrap cons"..., 960, 109765) = 960
pread64(40, "\"use strict\";\n\n// this file is h"..., 709, 114014) = 709
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
fcntl(1, F_GETFL)                       = 0x2 (flags O_RDWR)
ioctl(1, TIOCGPTN, 0x7ffe7818d14c)      = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
newfstatat(1, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x1), ...}, AT_EMPTY_PATH) = 0
readlink("/proc/self/fd/1", "/dev/pts/1", 255) = 10
newfstatat(AT_FDCWD, "/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x1), ...}, 0) = 0
openat(AT_FDCWD, "/dev/pts/1", O_RDWR|O_CLOEXEC) = 41
dup3(41, 1, O_CLOEXEC)                  = 1
openat(AT_FDCWD, "/dev/null", O_RDONLY|O_CLOEXEC) = 42
ioctl(41, FIONBIO, [1])                 = 0
ioctl(41, FIONBIO, [0])                 = 0
ioctl(41, TIOCGWINSZ, {ws_row=61, ws_col=160, ws_xpixel=1280, ws_ypixel=976}) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
read(26, "*", 1)                        = 1
rt_sigaction(SIGWINCH, {sa_handler=0x563dd27f5af0, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7faac0183960}, NULL, 8) = 0
write(27, "*", 1)                       = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(41, "Discord 0.0.14\n", 15)       = 15
pread64(40, "\"use strict\";\n\nObject.defineProp"..., 3064, 95131) = 3064
pread64(40, "\"use strict\";\n\nmodule.exports = "..., 65, 98614) = 65
pread64(40, "\"use strict\";\n\nObject.defineProp"..., 2243, 98679) = 2243
pread64(40, "\"use strict\";\n\nObject.defineProp"..., 14049, 379033) = 14049
pread64(40, "\"use strict\";\n\nObject.defineProp"..., 827, 488182) = 827
pread64(40, "\"use strict\";\n\nObject.defineProp"..., 407, 128637) = 407
getpid()                                = 1656
stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/user", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat("/home/user/.config", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat("/home/user/.config/discord", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
socket(AF_UNIX, SOCK_STREAM, 0)         = 43
fcntl(43, F_GETFD)                      = 0
fcntl(43, F_SETFD, FD_CLOEXEC)          = 0
readlink("/home/user/.config/discord/SS", "/tmp/.org.chromium.Chromium.d7xu"..., 4096) = 37
readlink("/home/user/.config/discord/SingletonCookie", "12796643281650964769", 4096) = 20
readlink("/tmp/.org.chromium.Chromium.d7xuS9/SingletonCookie", "12796643281650964769", 4096) = 20
connect(43, {sa_family=AF_UNIX, sun_path="/tmp/.org.chromium.Chromium.d7xuS9/SS"}, 110) = -1 ECONNREFUSED (Connection refused)
readlink("/home/user/.config/discord/SingletonLock", "discord-arch1-1617", 4096) = 18
uname({sysname="Linux", nodename="discord-arch1", ...}) = 0
readlink("/proc/1617/exe", 0x7ffe7818eae0, 4096) = -1 ENOENT (No such file or directory)
unlink("/home/user/.config/discord/SingletonLock") = 0
close(43)                               = 0
uname({sysname="Linux", nodename="discord-arch1", ...}) = 0
symlink("discord-arch1-1656", "/home/user/.config/discord/SingletonLock") = 0
mkdir("/tmp/.org.chromium.Chromium.yy9Tbk", 0700) = 0
stat("/tmp/.org.chromium.Chromium.yy9Tbk", {st_mode=S_IFDIR|0700, st_size=40, ...}) = 0
read(19, "\224c\17\220d\36\273Q", 8)    = 8
unlink("/home/user/.config/discord/SS") = 0
unlink("/home/user/.config/discord/SingletonCookie") = 0
symlink("/tmp/.org.chromium.Chromium.yy9Tbk/SS", "/home/user/.config/discord/SS") = 0
symlink("5889334354979546004", "/home/user/.config/discord/SingletonCookie") = 0
symlink("5889334354979546004", "/tmp/.org.chromium.Chromium.yy9Tbk/SingletonCookie") = 0
socket(AF_UNIX, SOCK_STREAM, 0)         = 43
fcntl(43, F_GETFD)                      = 0
fcntl(43, F_SETFD, FD_CLOEXEC)          = 0
bind(43, {sa_family=AF_UNIX, sun_path="/tmp/.org.chromium.Chromium.yy9Tbk/SS"}, 110) = 0
listen(43, 5)                           = 0
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
fcntl(2, F_GETFL)                       = 0x2 (flags O_RDWR)
ioctl(2, TIOCGPTN, 0x7ffe7818deec)      = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
newfstatat(2, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x1), ...}, AT_EMPTY_PATH) = 0
readlink("/proc/self/fd/2", "/dev/pts/1", 255) = 10
newfstatat(AT_FDCWD, "/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x1), ...}, 0) = 0
openat(AT_FDCWD, "/dev/pts/1", O_RDWR|O_CLOEXEC) = 44
dup3(44, 2, O_CLOEXEC)                  = 2
ioctl(44, FIONBIO, [1])                 = 0
ioctl(44, FIONBIO, [0])                 = 0
ioctl(44, TIOCGWINSZ, {ws_row=61, ws_col=160, ws_xpixel=1280, ws_ypixel=976}) = 0
write(44, "(node:1656) [DEP0005] Deprecatio"..., 190) = 190
epoll_ctl(25, EPOLL_CTL_DEL, 41, 0x7ffe78191780) = -1 ENOENT (No such file or directory)
close(41)                               = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
read(26, "*", 1)                        = 1
rt_sigaction(SIGWINCH, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7faac0183960}, NULL, 8) = 0
write(27, "*", 1)                       = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
epoll_ctl(25, EPOLL_CTL_DEL, 44, 0x7ffe78191780) = -1 ENOENT (No such file or directory)
close(44)                               = 0
epoll_ctl(25, EPOLL_CTL_ADD, 28, {events=EPOLLIN, data={u32=28, u64=28}}) = 0
epoll_ctl(25, EPOLL_CTL_ADD, 30, {events=EPOLLIN, data={u32=30, u64=30}}) = 0
epoll_wait(25, [{events=EPOLLIN, data={u32=30, u64=30}}], 1024, 0) = 1
read(30, "\2\0\0\0\0\0\0\0", 1024)      = 8
epoll_wait(25, [], 1024, 0)             = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xfffffffd4e119b1c} ---
rt_sigaction(SIGSEGV, NULL, {sa_handler=0x563dcfdc7a20, sa_mask=[ILL TRAP ABRT BUS FPE SEGV], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7faac0183960}, 8) = 0
prctl(PR_SET_DUMPABLE, SUID_DUMP_USER)  = 0
gettid()                                = 1656
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faac0198000
getpid()                                = 1656
pipe([41, 44])                          = 0
clone(child_stack=0x7faac019be80, flags=CLONE_FS|CLONE_UNTRACED) = 1674
close(41)                               = 0
prctl(PR_SET_PTRACER, 1674)             = 0
write(44, "a", 1)                       = 1
wait4(1674, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], __WALL, NULL) = 1674
close(44)                               = 0
open("/home/user/.config/discord/Crash Reports/80f330ed-023f-412b-f2ae9c85-88b9e95a.dmp", O_RDONLY) = 41
fstat(41, {st_mode=S_IFREG|0600, st_size=203184, ...}) = 0
mmap(NULL, 204800, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faab7982000
read(41, "MDMP\223\247\0\0\r\0\0\0 \0\0\0\0\0\0\0\345ng`\0\0\0\0\0\0\0\0"..., 203184) = 203184
close(41)                               = 0
open("/dev/urandom", O_RDONLY)          = 41
read(41, "\220\264\0!\204)\177B", 8)    = 8
open("/tmp/chromium-upload-427f29842100b490", O_WRONLY|O_CREAT|O_EXCL, 0600) = 44
read(41, "\364PyZ\360\204%.", 8)        = 8
close(41)                               = 0
writev(44, [{iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}, {iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="prod", iov_len=4}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="Electron", iov_len=8}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}, {iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="ver", iov_len=3}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="9.3.5", iov_len=5}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}, {iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="pid", iov_len=3}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="1656", iov_len=4}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 29) = 346
gettimeofday({tv_sec=1617391333, tv_usec=606316}, NULL) = 0
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="ptime", iov_len=5}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="20", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 98
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="ptype", iov_len=5}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="browser", iov_len=7}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 103
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="lsb-release", iov_len=11}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="Unknown", iov_len=7}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 109
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="process_type", iov_len=12}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="browser", iov_len=7}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 110
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="platform", iov_len=8}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="linux", iov_len=5}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 104
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="io_scheduler_async_stack", iov_len=24}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="0x563DCF412922 0x563DCF429A2A", iov_len=29}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 144
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="guid", iov_len=4}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="59c402e5c22a4e30afa4c59deb403e24", iov_len=32}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 127
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="channel", iov_len=7}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="stable", iov_len=6}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 104
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="sentry[environment]", iov_len=19}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="stable", iov_len=6}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 116
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="sentry[release]", iov_len=15}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="0.0.14", iov_len=6}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 112
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="wm", iov_len=2}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="unknown,unknown", iov_len=15}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 108
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="_companyName", iov_len=12}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="Discord Inc.", iov_len=12}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 115
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="_productName", iov_len=12}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="Discord", iov_len=7}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 110
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="_version", iov_len=8}, {iov_base="\"", iov_len=1}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="0.0.14", iov_len=6}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="\r\n", iov_len=2}], 9) = 105
writev(44, [{iov_base="Content-Disposition: form-data; "..., iov_len=38}, {iov_base="upload_file_minidump\"; filename="..., iov_len=38}, {iov_base="\r\n", iov_len=2}, {iov_base="Content-Type: application/octet-"..., iov_len=38}, {iov_base="\r\n", iov_len=2}, {iov_base="\r\n", iov_len=2}, {iov_base="MDMP\223\247\0\0\r\0\0\0 \0\0\0\0\0\0\0\345ng`\0\0\0\0\0\0\0\0"..., iov_len=203184}, {iov_base="\r\n", iov_len=2}, {iov_base="----------------------------2e25"..., iov_len=44}, {iov_base="--", iov_len=2}, {iov_base="\r\n", iov_len=2}], 11) = 203354
close(44)                               = 0
fork()                                  = 1675
wait4(1675, NULL, 0, NULL)              = 1675
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1675, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
munmap(0x7faab7982000, 204800)          = 0
munmap(0x7faac0198000, 16384)           = 0
rt_sigaction(SIGSEGV, {sa_handler=SIG_DFL, sa_mask=[SEGV], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7faabea2ff80}, {sa_handler=0x563dcfdc7a20, sa_mask=[ILL TRAP ABRT BUS FPE SEGV], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7faac0183960}, 8) = 0
rt_sigreturn({mask=[]})                 = 18446744062134425876
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xfffffffd4e119b1c} ---
+++ killed by SIGSEGV (core dumped) +++

Offline

#2 2021-04-04 19:39:36

jonathon
Member
Registered: 2016-09-19
Posts: 90

Re: Discord Segmentation Fault

5y67kgde wrote:

SEGV_MAPERR

This implies some sort of memory access error.

Other ideas:

* Does Discord run normally outside of the VM?
* Does the VM have enough memory (remember that Discord RAM usage balloons after launch)?
* Is the VM fully up-to-date?
* Have you correctly configured and activated hugepages?

Offline

Board footer

Powered by FluxBB