Skip to content

Segmentation fault with no logs when scanning media library since upgrade to 10.10.1 #13016

Closed as not planned
@ryannathans

Description

This issue respects the following points:

  • This is a bug, not a question or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found here.
  • This issue is not already reported on GitHub (I've searched it).
  • I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug

After upgrading to Jellyfin 10.10.1 (from 10.9.11 IIRC) on FreeBSD 14.1 (using the package in the package manager), manual media library scans now cause segmentation faults. I do not know if automatic library scans cause the same issue, but I would assume so.

It doesn't seem to matter which library I scan, the same behavior occurs. There are no useful logs.

Reproduction steps

  1. Sign in as admin
  2. Open the dashboard in app/browser
  3. Click "Scan All Libraries" (or go to libraries and trigger a scan on any singular library)
  4. Observe the server seg fault and crash/restart

What is the current bug behavior?

Segmentation fault (core dumped)

What is the expected correct behavior?

Media library scans as it used to, with no segmentation fault

Jellyfin Server version

10.10.0+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.10.1

Environment

- OS: FreeBSD 14.1
- Linux Kernel: N/a
- Virtualization: Appjail
- Clients: All
- Browser: All
- FFmpeg Version: 6.1.2
- Playback Method: N/a
- Hardware Acceleration: None
- GPU Model: None
- Plugins: AudioDB 10.10.1.0, MusicBrainz 10.10.1.0, OMDb 10.10.1.0, Studio Images 10.10.1.0, TMDb 10.10.1.0, TMDb Box Sets 11.0.0.0, Session Cleaner 4.0.0.0 (tried disabling the two installed plugins with no changes in behavior observed)
- Reverse Proxy: none
- Base URL: none
- Networking: bridge
- Storage: local, ZFS

Jellyfin logs

[14:13:03] [INF] [1] Main: Jellyfin version: 10.10.1
[14:13:03] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /var/db/jellyfin/log]"]
[14:13:03] [INF] [1] Main: Arguments: ["/usr/local/jellyfin/jellyfin.dll", "--datadir", "/var/db/jellyfin", "--cachedir", "/var/cache/jellyfin"]
[14:13:03] [INF] [1] Main: Operating system: FreeBSD 14.1-RELEASE-p4 FreeBSD 14.1-RELEASE-p4 GENERIC
[14:13:03] [INF] [1] Main: Architecture: X64
[14:13:03] [INF] [1] Main: 64-Bit Process: True
[14:13:03] [INF] [1] Main: User Interactive: True
[14:13:03] [INF] [1] Main: Processor count: 6
[14:13:03] [INF] [1] Main: Program data path: /var/db/jellyfin
[14:13:03] [INF] [1] Main: Log directory path: /var/db/jellyfin/log
[14:13:03] [INF] [1] Main: Config directory path: /var/db/jellyfin/config
[14:13:03] [INF] [1] Main: Cache path: /var/cache/jellyfin
[14:13:03] [INF] [1] Main: Temp directory path: /tmp/jellyfin
[14:13:03] [INF] [1] Main: Web resources path: /usr/local/jellyfin/jellyfin-web
[14:13:03] [INF] [1] Main: Application directory: /usr/local/jellyfin/
[14:13:03] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /var/cache/jellyfin
[14:13:04] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[14:13:04] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.SessionCleaner, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null from /var/db/jellyfin/plugins/Session Cleaner_4.0.0.0/Jellyfin.Plugin.SessionCleaner.dll
[14:13:04] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Tvdb.Sdk, Version=4.7.10.0, Culture=neutral, PublicKeyToken=null from /var/db/jellyfin/plugins/TheTVDB_18.0.0.0/Tvdb.Sdk.dll
[14:13:04] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Tvdb, Version=18.0.0.0, Culture=neutral, PublicKeyToken=null from /var/db/jellyfin/plugins/TheTVDB_18.0.0.0/Jellyfin.Plugin.Tvdb.dll
[14:13:04] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.TMDbBoxSets, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null from /var/db/jellyfin/plugins/TMDb Box Sets_11.0.0.0/Jellyfin.Plugin.TMDbBoxSets.dll
[14:13:04] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["xxxx:xxxx:xxxx::/48", "192.168.0.0/16"]
[14:13:04] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[14:13:04] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["xxxx:xxxx:xxxx::/48", "192.168.0.0/16"]
[14:13:04] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "192.168.69.16", "::1", "fe80::1%15", "fe80::d8:61ff:fe0d:2fe9%8", "xxxx:xxxx:xxxx:2:d8:61ff:fe0d:2fe9"]
[14:13:04] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["::"]
[14:13:04] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[14:13:04] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[14:13:06] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Session Cleaner 4.0.0.0
[14:13:06] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TheTVDB 18.0.0.0
[14:13:06] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb Box Sets 11.0.0.0
[14:13:06] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.10.1.0
[14:13:06] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.10.1.0
[14:13:06] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.10.1.0
[14:13:06] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.10.1.0
[14:13:06] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.10.1.0
[14:13:06] [INF] [1] Main: Kestrel is listening on all interfaces
[14:13:06] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {redacted} may be persisted to storage in unencrypted form.
[14:13:07] [WRN] [1] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: /root/wwwroot. Static files may be unavailable.
[14:13:07] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[14:13:07] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Clean Old Sessions set to fire at 2024-11-13 00:00:00.000 +11:00, which is 09:46:52.5920969 from now.
[14:13:07] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Generate Trickplay Images set to fire at 2024-11-13 03:00:00.000 +11:00, which is 12:46:52.5823725 from now.
[14:13:07] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2024-11-13 01:00:00.000 +11:00, which is 10:46:52.5810462 from now.
[14:13:07] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Scan Media Library set to fire at 2024-11-13 00:00:00.000 +11:00, which is 09:46:52.5776750 from now.
[14:13:07] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Keyframe Extractor set to fire at 2024-11-13 02:00:00.000 +11:00, which is 11:46:52.5774782 from now.
[14:13:07] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 6.1.2
[14:13:07] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "h264", "h264_cuvid", "hevc", "hevc_cuvid", "mpeg2video", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp9", "libvpx-vp9", "vp9_cuvid", "aac", "ac3", "dca", "flac", "mp3", "truehd"]
[14:13:07] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libsvtav1", "av1_nvenc", "av1_vaapi", "libx264", "h264_nvenc", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_nvenc", "hevc_vaapi", "mjpeg_vaapi", "aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
[14:13:07] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_vaapi", "flip_vulkan", "hwupload_cuda", "libplacebo", "overlay_vaapi", "overlay_vulkan", "procamp_vaapi", "scale_vaapi", "scale_vulkan", "tonemap_vaapi", "transpose_vaapi", "transpose_vulkan"]
[14:13:07] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: scale_cuda with option format is not available
[14:13:07] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: tonemap_cuda with option GPU accelerated HDR to SDR tonemapping is not available
[14:13:07] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: tonemap_opencl with option bt2390 is not available
[14:13:07] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: overlay_opencl with option Action to take when encountering EOF from secondary input is not available
[14:13:07] [INF] [10] Emby.Server.Implementations.HttpServer.WebSocketManager: WS xxxx:xxxx:xxxx:2:a980:30fb:1b3e:e713 request
[14:13:07] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: transpose_opencl with option rotate by half-turn is not available
[14:13:07] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["vdpau", "cuda", "vaapi", "drm", "vulkan"]
[14:13:07] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: ffmpeg
[14:13:07] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: 1e0c7e2eee044cd7a0aa2d1b47afdcea
[14:13:07] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[14:13:07] [INF] [1] Main: Startup complete 0:00:04.2334414
[14:13:10] [INF] [16] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean Transcode Directory Completed after 0 minute(s) and 0 seconds
[14:13:10] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean up collections and playlists Completed after 0 minute(s) and 0 seconds
[14:13:12] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 1 seconds
[14:13:13] [INF] [17] Emby.Server.Implementations.Library.LibraryManager: Validating media library
Segmentation fault (core dumped)

FFmpeg logs

Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

Would love to provide more logs or information... but there doesn't seem to be any more hints or logs I can find

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions