Jump to content

Emby Crashing when running Roku Create Thumbnails


mahuti

Recommended Posts

I've been having a problem lately with emby crashing on a Raspberry Pi on DietPi. It ran almost without fault for the last year or so. After an upgrade from 3.3x to 3.5.2, it began crashing within minutes of starting it. So, I wiped the system and started over completely with a new install of DietPi and Emby as well.

 

I'm not totally sure what's causing it, but I've been trying to run the Roku "create thumbnails" scheduled task, and it invariably crashes, even if I don't access the system in any other way.

 

I've attached a copy of the log file, and the linux error status is also posted below. Any help would be greatly appreciated.

 

● emby-server.service - Emby Server is a personal media server with apps on just about every device.
Loaded: loaded (/usr/lib/systemd/system/emby-server.service; disabled; vendor preset: enabled)
Active: failed (Result: signal) since Tue 2018-12-18 20:07:35 EST; 1h 47min ago
Process: 6526 ExecStart=/opt/emby-server/bin/emby-server (code=killed, signal=ABRT)
Main PID: 6526 (code=killed, signal=ABRT)

Dec 18 19:14:28 DietPi emby-server[6526]: Info App: Sqlite compiler options: COMPILER=gcc-6.4.1 20170707,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENA
BLE_FTS3,ENABLE_FTS3_PARENTHESIS,ENABLE_FTS3_TOKENIZER,ENABLE_FTS5,ENABLE_JSON1,ENABLE_PREUPDATE_HOOK,ENABLE_RTREE,ENABLE_SESSION,ENABLE_UNLOCK_NOTIFY
,ENABLE_UPDATE_DELETE_LIMIT,LIKE_DOESNT_MATCH_BLOBS,MAX_SCHEMA_RETRY=25,MAX_VARIABLE_NUMBER=250000,OMIT_LOOKASIDE,SECURE_DELETE,THREADSAFE=1
Dec 18 19:14:28 DietPi emby-server[6526]: Info App: Default journal_mode for /var/lib/emby/data/sync14.db is wal
Dec 18 19:14:28 DietPi emby-server[6526]: Info App: PRAGMA synchronous=1
Dec 18 19:14:28 DietPi emby-server[6526]: Info App: Entry point completed: Emby.Server.Sync.SyncManagerEntryPoint. Duration: 0.082916 seconds
Dec 18 19:14:28 DietPi emby-server[6526]: Info App: Starting entry point Emby.Server.Sync.SyncNotificationEntryPoint
Dec 18 19:14:28 DietPi emby-server[6526]: Info App: Entry point completed: Emby.Server.Sync.SyncNotificationEntryPoint. Duration: 0.0145443 seconds
Dec 18 19:14:28 DietPi emby-server[6526]: Info App: All entry points have started
Dec 18 20:07:34 DietPi systemd[1]: emby-server.service: Main process exited, code=killed, status=6/ABRT
Dec 18 20:07:35 DietPi systemd[1]: emby-server.service: Unit entered failed state.
Dec 18 20:07:35 DietPi systemd[1]: emby-server.service: Failed with result 'signal'.

log.zip

Edited by mahuti
Link to post
Share on other sites

Yes, armhf is the right package for the Raspberry PI 3b+  (Cortex-A53 (ARMv8) 64-bit SoC @ 1.4GHz) running a version of Raspbian (Debian)

Edited by mahuti
Link to post
Share on other sites

This morning I woke up to another error

 

emby-server.service - Emby Server is a personal media server with apps on just about every device.
Loaded: loaded (/usr/lib/systemd/system/emby-server.service; disabled; vendor preset: enabled)
Active: failed (Result: signal) since Wed 2018-12-19 02:00:24 EST; 8h ago
Process: 13786 ExecStart=/opt/emby-server/bin/emby-server (code=killed, signal=ABRT)
Main PID: 13786 (code=killed, signal=ABRT)

Dec 19 01:34:23 DietPi emby-server[13786]: Info App: Default journal_mode for /var/lib/emby/data/sync14.db is wal
Dec 19 01:34:23 DietPi emby-server[13786]: Info App: PRAGMA synchronous=1
Dec 19 01:34:23 DietPi emby-server[13786]: Info App: Entry point completed: Emby.Server.Sync.SyncManagerEntryPoint. Duration: 0.0964413 seconds
Dec 19 01:34:23 DietPi emby-server[13786]: Info App: Starting entry point Emby.Server.Sync.SyncNotificationEntryPoint
Dec 19 01:34:23 DietPi emby-server[13786]: Info App: Entry point completed: Emby.Server.Sync.SyncNotificationEntryPoint. Duration: 0.0158526 seconds
Dec 19 01:34:23 DietPi emby-server[13786]: Info App: All entry points have started
Dec 19 02:00:24 DietPi emby-server[13786]: *** Error in `/opt/emby-server/system/EmbyServer': double free or corruption (fasttop): 0x6ec0c8d8 ***
Dec 19 02:00:24 DietPi systemd[1]: emby-server.service: Main process exited, code=killed, status=6/ABRT
Dec 19 02:00:24 DietPi systemd[1]: emby-server.service: Unit entered failed state.
Dec 19 02:00:24 DietPi systemd[1]: emby-server.service: Failed with result 'signal'.

Log2.txt

Edited by mahuti
Link to post
Share on other sites

I uninstalled the old version and did a fresh install of the latest beta .79. So far it's not crashing, so that's good. Roku Thumbnails is acting up though. It's unable to make the .bif file, though it generates the temporary images needed for that file in a temp  directory.

 

Here's the relevant error from the log. If you need the whole log file, let me know.

2018-12-19 13:00:01.542 Error MediaEncoder: Error running ffmpgeg extract-imageseries -f mp4  -i file:"/mnt/movies/Movie Library/Born Yesterday (1950) [1080p]/Born Yesterday (1950).mp4" -threads 0 -v quiet -vf "fps=fps=1/10,scale=min(iw\,320):trunc(ow/dar/2)*2" -f image2 "/var/lib/emby/cache/temp/c3305a3627104700a16f11188642c536/img_%05d.jpg"	*** Error Report ***	Version: 3.6.0.79	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_armhf.deb	Operating system: Unix 4.14.79.7	64-Bit OS: False	64-Bit Process: False	User Interactive: True	Processor count: 4	Program data path: /var/lib/emby	Application directory: /opt/emby-server/system	System.Exception: System.Exception: Error running ffmpgeg extract-imageseries for /mnt/movies/Movie Library/Born Yesterday (1950) [1080p]/Born Yesterday (1950).mp4 - 	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.ExtractVideoImagesOnInterval(String inputPath, String container, MediaStream videoStream, MediaProtocol protocol, Nullable`1 threedFormat, TimeSpan interval, String targetDirectory, String filenamePrefix, Nullable`1 maxWidth, CancellationToken cancellationToken)	Source: Emby.Server.MediaEncoding	TargetSite: Void MoveNext()	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.ExtractVideoImagesOnInterval(String inputPath, String container, MediaStream videoStream, MediaProtocol protocol, Nullable`1 threedFormat, TimeSpan interval, String targetDirectory, String filenamePrefix, Nullable`1 maxWidth, CancellationToken cancellationToken)	2018-12-19 13:00:01.634 Error App: Error creating roku thumbnails for Born Yesterday	*** Error Report ***	Version: 3.6.0.79	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_armhf.deb	Operating system: Unix 4.14.79.7	64-Bit OS: False	64-Bit Process: False	User Interactive: True	Processor count: 4	Program data path: /var/lib/emby	Application directory: /opt/emby-server/system	System.Exception: System.Exception: Error running ffmpgeg extract-imageseries for /mnt/movies/Movie Library/Born Yesterday (1950) [1080p]/Born Yesterday (1950).mp4 - 	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.ExtractVideoImagesOnInterval(String inputPath, String container, MediaStream videoStream, MediaProtocol protocol, Nullable`1 threedFormat, TimeSpan interval, String targetDirectory, String filenamePrefix, Nullable`1 maxWidth, CancellationToken cancellationToken)	   at RokuMetadata.Drawing.VideoProcessor.CreateBif(String path, Int32 width, BaseItem item, MediaSourceInfo mediaSource, CancellationToken cancellationToken)	   at RokuMetadata.Drawing.VideoProcessor.Run(BaseItem item, String itemModifier, MediaSourceInfo mediaSource, Int32 width, CancellationToken cancellationToken)	   at RokuMetadata.Drawing.VideoProcessor.Run(BaseItem item, CancellationToken cancellationToken)	   at RokuMetadata.ScheduledTasks.RokuScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)	Source: Emby.Server.MediaEncoding	TargetSite: Void MoveNext()	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.ExtractVideoImagesOnInterval(String inputPath, String container, MediaStream videoStream, MediaProtocol protocol, Nullable`1 threedFormat, TimeSpan interval, String targetDirectory, String filenamePrefix, Nullable`1 maxWidth, CancellationToken cancellationToken)	   at RokuMetadata.Drawing.VideoProcessor.CreateBif(String path, Int32 width, BaseItem item, MediaSourceInfo mediaSource, CancellationToken cancellationToken)	   at RokuMetadata.Drawing.VideoProcessor.Run(BaseItem item, String itemModifier, MediaSourceInfo mediaSource, Int32 width, CancellationToken cancellationToken)	   at RokuMetadata.Drawing.VideoProcessor.Run(BaseItem item, CancellationToken cancellationToken)	   at RokuMetadata.ScheduledTasks.RokuScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)	
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...