Skip to content

Pthread aborting at error #739

@Cykelero

Description

@Cykelero

Occasionally, the “embedding metadata” phase fails with a Pthread aborting at Error error. Freyr doesn't quit, but seems to stop doing anything.

A file is created for the song, but it's empty (zero-byte size). Deleting the file, then re-running Freyr, seems to successfully download the song and apply its metadata.

Here's a failure example:

[https://music.apple.com/fr/album/XXX/1532363198?i=1532363359]
 [•] Identifying service...[Apple Music]
 [•] Checking authentication...[authenticated]
 Detected [track]
 Obtaining track metadata...[done] 
  ➤ Title: Stranded
  ➤ Album: Prey (Original Game Soundtrack)
  ➤ Artist: Multi-interprètes
  ➤ Year: 2017
  ➤ Playtime: 03:43
 [•] Collating...
 • [12 Stranded]
    | ➤ Collating sources...
    |  ➤ [•] YouTube Music...(failed: [Zero sources found]) 
    |  ➤ [•] YouTube...[success, found 1 source]
    | ➤ Awaiting audiofeeds...[done] 
    | [✓] Got album art 
    | [✓] Got raw track file 
    | [•] Post Processing...
 [•] Download Complete
 [•] Embedding Metadata...
Pthread aborting at Error
    at u (eval at globalEval (/opt/homebrew/lib/node_modules/freyr/node_modules/@ffmpeg/core/dist/ffmpeg-core.worker.js:1:3404), <anonymous>:25:81)
    at ra (eval at globalEval (/opt/homebrew/lib/node_modules/freyr/node_modules/@ffmpeg/core/dist/ffmpeg-core.worker.js:1:3404), <anonymous>:199:202)
    at wasm://wasm/05d541aa:wasm-function[2003]:0x14406d
    at wasm://wasm/05d541aa:wasm-function[340]:0x16b73
    at wasm://wasm/05d541aa:wasm-function[427]:0x1d334
    at wasm://wasm/05d541aa:wasm-function[636]:0x34b7c
    at wasm://wasm/05d541aa:wasm-function[3429]:0x2a649c
    at wasm://wasm/05d541aa:wasm-function[2724]:0x20b63c
    at wasm://wasm/05d541aa:wasm-function[19517]:0xea545a
    at wasm://wasm/05d541aa:wasm-function[3445]:0x2aa06a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions