[Bug 288252] net-im/linux-discord: Crash on startup (running on -CURRENT)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Jul 2025 00:24:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288252
Bug ID: 288252
Summary: net-im/linux-discord: Crash on startup (running on
-CURRENT)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: nivit@FreeBSD.org
Reporter: ltning-freebsd@anduin.net
Assignee: nivit@FreeBSD.org
Flags: maintainer-feedback?(nivit@FreeBSD.org)
Created attachment 262186
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262186&action=edit
truss -a output
During startup, the application crashes in one of two fashions, see below.
Permissions on /compat/linux/dev/shm are correct (1777); same as /dev/shm.
Running FreeBSD 15.0-CURRENT #20 main-b2bf651a797b: Wed Jul 16 00:16:39 CEST
2025.
I'm attaching the output of "truss -a". I can provide coredump files; it
produces a variety of them - most recently
1214468096 16 jul. 02:14 ThreadPoolForeg.core
1334009856 16 jul. 02:14 pool-linux-disc.core
or
1205776384 16 jul. 02:15 CrShutdownDetec.core
1282387968 16 jul. 02:15 gmain.core
depending on the failure mode (type 1 or type 2 below).
--- type 1 ---
Discord 0.0.101
[9848:0716/021418.772129:ERROR:file_path_watcher_inotify.cc(919)] Failed to
read /proc/sys/fs/inotify/max_user_watches
[9848:0716/021418.775348:ERROR:platform_shared_memory_region_posix.cc(221)]
Creating shared memory in /dev/shm/.org.chromium.Chromium.gBfLTD failed:
Operation not supported (95)
[9848:0716/021418.775420:ERROR:platform_shared_memory_region_posix.cc(221)]
Creating shared memory in /dev/shm/.org.chromium.Chromium.2v1ONv failed:
Operation not supported (95)
[9848:0716/021418.791513:ERROR:udev_watcher.cc(51)] Failed to initialize a udev
monitor.
(electron) 'session.getPreloads' is deprecated and will be removed. Please use
'session.getPreloadScripts' instead.
(electron) 'session.setPreloads' is deprecated and will be removed. Please use
'session.registerPreloadScript' instead.
Starting app.
Removing old directory 0.0.99
Starting updater.
7/16/2025, 2:14:18 AM GMT+2 [Modules] Modules initializing
7/16/2025, 2:14:18 AM GMT+2 [Modules] Distribution: remote
7/16/2025, 2:14:18 AM GMT+2 [Modules] Host updates: disabled
7/16/2025, 2:14:18 AM GMT+2 [Modules] Module updates: enabled
7/16/2025, 2:14:18 AM GMT+2 [Modules] Module install path:
/home/ltning/.config/discord/0.0.101/modules
7/16/2025, 2:14:18 AM GMT+2 [Modules] Module installed file path:
/home/ltning/.config/discord/0.0.101/modules/installed.json
7/16/2025, 2:14:18 AM GMT+2 [Modules] Module download path:
/home/ltning/.config/discord/0.0.101/modules/pending
splashScreen.initSplash(false)
CDM component API found
[9848:0716/021418.853414:ERROR:platform_shared_memory_region_posix.cc(221)]
Creating shared memory in /dev/shm/.org.chromium.Chromium.G8Uzmu failed:
Operation not supported (95)
Trace/BPT trap (core dumped)
---
Or, ... same as above until "CDM component API found":
--- type 2 ---
Crashing due to FD ownership violation:
#0 0x00000744215a <unknown>
#1 0x00000743b0cc <unknown>
#2 0x00000743b089 close
#3 0x00080c56e889 <unknown>
#4 0x000007499c62 <unknown>
#5 0x000007498410 <unknown>
#6 0x0000074942cf __libc_realloc
#7 0x00080d87f1f0 __vasprintf_internal
#8 0x3cb4015b48f0 <unknown>
....
#47 0x000004f89494 <unknown>
#48 0x000004f890f1 <unknown>
#49 0x000004e5fc43 v8::Function::Call()
#50 0x0000038df7b0 node::InternalCallbackScope::Close()
#51 0x0000038df53e node::InternalCallbackScope::~InternalCallbackScope()
#52 0x0000038df2a1 node::CallbackScope::~CallbackScope()
#53 0x0000038458aa <unknown>
....
#68 0x000003d2e1b0 <unknown>
#69 0x0000036ac9b8 <unknown>
#70 0x00080d8295d0 __libc_start_call_main
Trace/BPT trap (core dumped)
---
--
You are receiving this mail because:
You are the assignee for the bug.