Jump to content

Emby 3.2.36.0-1 crashing with ImageMagick 6.9.9.25-1


CLM73

Recommended Posts

Hello, 
 
Not entirely sure if this is an Emby issue or a ArchLinux/ARM issue, but I'll throw this here just in case someone else runs into this. I just did the system update today. It's run without issue (until today) for about a year now. 
 
It looks like emby-server (emby-server 3.2.36.0-1) crashes after an upgrade of imagemagick (6.9.9.25-1). I had to rollback to the previous version of imagemagick (6.9.9.23-1). I'm running this off ArchLinux on a Raspberry Pi (Linux alarmpi 4.9.66-1-ARCH). 
 
Here's the error that came up:
 
Dec 05 02:19:59 alarmpi emby-server[471]: Error Main: Skia not available. Will try next image processor. libSkiaSharp
Dec 05 02:19:59 alarmpi emby-server[471]: Info ImageMagick: ImageMagick version: ImageMagick 6.9.9-25 Q16 armv7l 2017-12-01 http://www.imagemagick.org
Dec 05 02:19:59 alarmpi emby-server[471]: Stacktrace:
Dec 05 02:19:59 alarmpi emby-server[471]:   at <unknown> <0xffffffff>
Dec 05 02:19:59 alarmpi emby-server[471]:   at (wrapper managed-to-native) ImageMagickSharp.MagickWandInterop.MagickWriteImage (intptr,string) <0x0003b>
Dec 05 02:19:59 alarmpi emby-server[471]:   at ImageMagickSharp.MagickWand.SaveImage (string) [0x00007] in <953a0750dcf04671b3542271d1ee6221#C99F64D7-A8B0-DCEB-CBBB-26EF36AE49E4>:0
Dec 05 02:19:59 alarmpi emby-server[471]:   at Emby.Drawing.ImageMagick.ImageMagickEncoder.TestWebp () [0x00057] in <b6032bfaf9c1419c8db16a4dbbff2279#C99F64D7-A8B0-DCEB-CBBB-26EF36AE49E4>:0
Dec 05 02:19:59 alarmpi emby-server[471]:   at Emby.Drawing.ImageMagick.ImageMagickEncoder.LogVersion () [0x00020] in <b6032bfaf9c1419c8db16a4dbbff2279#C99F64D7-A8B0-DCEB-CBBB-26EF36AE49E4>:0
Dec 05 02:19:59 alarmpi emby-server[471]:   at Emby.Drawing.ImageMagick.ImageMagickEncoder..ctor (MediaBrowser.Model.Logging.ILogger,MediaBrowser.Common.Configuration.IApplicationPaths,System.Func`1<MediaBrowser
Dec 05 02:19:59 alarmpi emby-server[471]:   at MediaBrowser.Server.Startup.Common.ImageEncoderHelper.GetImageEncoder (MediaBrowser.Model.Logging.ILogger,MediaBrowser.Model.Logging.ILogManager,MediaBrowser.Model.
Dec 05 02:19:59 alarmpi emby-server[471]:   at MediaBrowser.Server.Mono.MainClass.RunApplication (Emby.Server.Implementations.ServerApplicationPaths,MediaBrowser.Model.Logging.ILogManager,Emby.Server.Implementat
Dec 05 02:19:59 alarmpi emby-server[471]:   at MediaBrowser.Server.Mono.MainClass.Main (string[]) [0x00085] in <5f3c73bdc6b741428ed3c363edcd6b91#C99F64D7-A8B0-DCEB-CBBB-26EF36AE49E4>:0
Dec 05 02:19:59 alarmpi emby-server[471]:   at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x0004e] in <5f3c73bdc6b741428ed3c363edcd6b91#C99F64D7-A8B0-DCEB-CBBB-26
Dec 05 02:19:59 alarmpi emby-server[471]: /proc/self/maps:

It *looks* like this was causing mono to coredump:

 

Dec 05 02:20:47 alarmpi systemd-coredump[536]: Process 510 (mono) of user 422 dumped core.
                                               
                                               Stack trace of thread 510:
                                               #0  0x0000000076d4f1d8 raise (libc.so.6)
Rolling back to the previous version of imagemagick got emby-server back up and running, but I'm not sure as to the solution moving forward. 
 
Anyway - if anyone has any suggestions (aside from rolling back)...
 
Thanks, 
 
Bryan
 
Link to comment
Share on other sites

hi @@CLM73, you should probably roll back for now. We are in process of moving away from both mono and imagemagick and onto microsoft .net core and the skia image processor. 

 

We've already completed this for arch linux x64 and in the near future will have arm as well. Because of that, rather than try and trace down whatever is happening here I would just suggest rolling it back for now to get yourself back up and running. Thanks !

Link to comment
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...