[Bug]: Always crashes on ARM 64 after a short time. #3321
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#3321
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Preflight Checklist
YouTube Music (Application) Version
3.9.0
Checklists
What operating system are you using?
Other Linux
Operating System Version
Fedora Linux Asahi Remix 41 (Workstation Edition) aarch64
What CPU architecture are you using?
arm64 (including Apple Silicon)
Last Known Working YouTube Music (Application) version
No response
Reproduction steps
App Crashes.
Expected Behavior
No crashing.
Actual Behavior
Crashing.
Enabled plugins
None; still crashes with all plugins disabled.
Additional Information
Log
$ youtube-music
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: rpm
[YTMusic] i18n loaded
[YTMusic] Loading all plugins
[YTMusic] Plugin in-app-menu::backend executed at 0.15ms
[YTMusic] Plugin lyrics-genius::backend executed at 0.35ms
[YTMusic] Plugin adblocker::backend executed at 0.25ms
[YTMusic] Plugin "lyrics-genius::menu" loaded
[YTMusic] Plugin "in-app-menu::menu" loaded
[YTMusic] Plugin "equalizer::menu" loaded
[YTMusic] Plugin "ambient-mode::menu" loaded
[YTMusic] Plugin "album-color-theme::menu" loaded
[YTMusic] Plugin "adblocker::menu" loaded
[YTMusic] Plugin "lyrics-genius::menu" loaded
[YTMusic] Plugin "in-app-menu::menu" loaded
[YTMusic] Plugin "equalizer::menu" loaded
[YTMusic] Plugin "ambient-mode::menu" loaded
[YTMusic] Plugin "album-color-theme::menu" loaded
[YTMusic] Plugin "adblocker::menu" loaded
[9370:0503/142444.691442:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.691515:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.691534:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.691550:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.691565:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.691579:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.691593:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.691606:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.691619:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.691632:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.691645:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.691659:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.691672:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.691685:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.691698:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.691710:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.692068:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.692084:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.692098:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.692110:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.692124:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.692136:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.692149:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.692161:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.692175:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.692187:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.692200:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.692212:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.692224:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.692237:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
[9370:0503/142444.692250:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[9370:0503/142444.692262:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: No such file or directory (2)
Checking for update
Update for version 3.9.0 is not available (latest version: 3.9.0, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null
[9370:0503/142451.428740:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[9370:0503/142456.477747:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[9370:0503/142457.536962:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
[YTMusic] Unresponsive Error!
{
"reason": "crashed",
"exitCode": 133
}
[9333:0503/142523.810471:ERROR:browser_main_loop.cc(278)] GLib-GObject: ../gobject/gsignal.c:2684: instance '0x2c040cecc0' has no handler with id '4201'
Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed
at WebFrameMain.s.send (node:electron/js2c/browser_init:2:93094)
at WebContents._.send (node:electron/js2c/browser_init:2:76130)
at send (/opt/YouTube Music/resources/app.asar/dist/main/index.js:1353:25976)
at BrowserWindow. (/opt/YouTube Music/resources/app.asar/dist/main/index.js:640:6697)
at BrowserWindow.emit (node:events:536:35)
That's 100% an electron/chromium issue, and since you are on experimental GPU drivers, it's probably related to that.
Which sucks, because we can only fix it if electron has a fix for it.Unless...it's caused by an electron function used improperly?
Could you run the app in dev mode? That way the stack trace should point to the correct line of the TypeScript source.
Might be an issue we can fix after all.
https://github.com/th-ch/youtube-music#dev
I can't seem to build the dev version. I ran the commands listed in the README and tried with
dedupePeerDependents
explicitly set totrue
and with--config.max_old_space=4096
, however it still yielded the same build error. See build log for details.Build Log
$ pnpm dev> youtube-music@3.9.0 dev /home/ethan/youtube-music
> cross-env NODE_OPTIONS=--enable-source-maps electron-vite dev --watch
(node:20304) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
vite v6.3.3 building SSR bundle for development...
watching for file changes...
build started...
✓ 3395 modules transformed.
Inspect report generated at /home/ethan/youtube-music/.vite-inspect/backend
node_modules/.pnpm/file-type@16.5.4/node_modules/file-type/core.js (1419:16): Use of eval in "node_modules/.pnpm/file-type@16.5.4/node_modules/file-type/core.js" is strongly discouraged as it poses security risks and may cause issues with minification.
rendering chunks (2)...
<--- Last few GCs --->
[20304:0xffff40820000] 17391 ms: Mark-Compact (reduce) 2038.3 (2086.6) -> 2038.0 (2085.1) MB, pooled: 0 MB, 304.06 / 0.00 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 307 ms) (average mu = 0.297,
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0xffff466f74ac node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/lib64/libnode.so.127]
2: 0xffff481d0bd0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/lib64/libnode.so.127]
3: 0xffff481d0db0 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/lib64/libnode.so.127]
4: 0xffff484225a4 [/lib64/libnode.so.127]
5: 0xffff4843ba50 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/lib64/libnode.so.127]
6: 0xffff48412ca4 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/lib64/libnode.so.127]
7: 0xffff48413874 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/lib64/libnode.so.127]
8: 0xffff483f0cf0 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/lib64/libnode.so.127]
9: 0xffff488bb664 v8::internal::Runtime_AllocateInOldGeneration(int, unsigned long*, v8::internal::Isolate*) [/lib64/libnode.so.127]
10: 0xffff480799d4 [/lib64/libnode.so.127]
ELIFECYCLE Command failed with exit code 1.
FAIL
huh
Not sure why that happens. Just can't build it on my machine.
Could you send my the rpm aarch64 dev build?
Sure I'll try.oof, can't cross-build, lemme set up a docker image, will take a bit
After one hour of pain, I finally wrote this Dockerfile
And enabled
sourcemap
s for release builds...And am currently building the rpm
yeah I give up, can't build that rpm, sorry buddy
I should have instead spent that time modifying the github action to make a release build with sourcemaps...
Oh well. That's fine. Good luck with the github action thing.
Nah, I gave up, wasted too much time on this, someone else can pick this up
This issue is caused by electron (Chromium).
See https://github.com/electron/electron/issues/32760