Server Version#: 1.24.5.5173-7000
Player Version#: N/A
Hi all,
owning a DS3018xs, I did a clean installation of plex mediaserver after upgrading to DSM 7.0.1-42218 and PMS crashes regularly when scanning my photo library.
I found that the crash is deterministic and caused by tif files in the library.
The files are good, aka not malformed, I also tried to resave them with Photoshop but PMS keep crashing when found them.
Everything was working fine on DSM6.
Anyone else has this issue? Any know workaround?
Thank you in advance.
same. running Synology DSM 7 on 916+ … supposedly most recent PMS version (1.25.0.5246) solves for this extremely annoying bug… it does not. Not sure why this was not detected in debugging phase before releasing the Synology 7 version…
ChuckPa
November 24, 2021, 7:27pm
3
Folks,
The same binary code which is used for DSM 6 is also used for DSM 7.
The only difference is how the SPK is laid out, the control scripts, and DSM 7 itself.
That said, May I see the DEBUG logs please ?
Hi ChuckPa,
thank you for your answer.
You can find the logs in attachment.
I have:
enabled the logs
replaced the folder with my jpeg only photos with one containing the tiff only
run a rescan
obtained the crash
restarted the server
downloaded the logs
Please let me know if I can do anything else to help.
Thanks.
Plex Media Server Logs_2021-11-24_20-47-59.zip (2.1 MB)
ChuckPa
November 24, 2021, 8:13pm
5
Would you please do the following?
Turn VERBOSE logging OFF again . It makes a big mess and loses the data we need. SAVE after making that change
Restart Plex
Wait 2 minutes for the Notify list to load .
Scan the files (to recreate)
After failure, again restart
Download the ZIP
Ok, I disabled the verbose log.
Please let me know if helps.
Plex Media Server Logs_2021-11-24_22-14-33.zip (1.9 MB)
ChuckPa
November 24, 2021, 11:47pm
7
Paul,
Thank you.
Would it be possible to get one or two of the files which causes this?
Something generic from in here where it does crash – OR – the exact crash file?
If so, please place in a ZIP file and attach here.
Thanks.
Nov 24, 2021 22:14:00.545 [0x7f6ed126fb38] DEBUG - Scanner: Processing directory /volume1/CONTENTS/Photos/20150423-10 - Norvegia (parent: yes)
Nov 24, 2021 22:14:00.545 [0x7f6ed126fb38] DEBUG - File '/volume1/CONTENTS/Photos/20150423-10 - Norvegia/DSC_0018.jpg' didn't exist, can't skip.
Nov 24, 2021 22:14:00.545 [0x7f6ed126fb38] DEBUG - Activity: updated activity a513fa06-fba1-480d-9901-d3665089f7a9 - completed 35.8% - Scanning Photos
Nov 24, 2021 22:14:00.545 [0x7f6ed126fb38] DEBUG - Scanner: Processing directory /volume1/CONTENTS/Photos/20150407 - Monte Penice e Bobbio (parent: yes)
Nov 24, 2021 22:14:00.546 [0x7f6ed126fb38] DEBUG - File '/volume1/CONTENTS/Photos/20150407 - Monte Penice e Bobbio/DSC_9586.jpg' didn't exist, can't skip.
Nov 24, 2021 22:14:00.546 [0x7f6ed126fb38] DEBUG - Activity: updated activity a513fa06-fba1-480d-9901-d3665089f7a9 - completed 36.2% - Scanning Photos
Nov 24, 2021 22:14:00.546 [0x7f6ed126fb38] DEBUG - Scanner: Processing directory /volume1/CONTENTS/Photos/20150329 - Compleanno Giorgia 19 (parent: yes)
Nov 24, 2021 22:14:00.546 [0x7f6ed126fb38] DEBUG - File '/volume1/CONTENTS/Photos/20150329 - Compleanno Giorgia 19/DSC_9410.jpg' didn't exist, can't skip.
Nov 24, 2021 22:14:00.546 [0x7f6ed126fb38] DEBUG - Activity: updated activity a513fa06-fba1-480d-9901-d3665089f7a9 - completed 36.5% - Scanning Photos
Nov 24, 2021 22:14:00.546 [0x7f6ed126fb38] DEBUG - Scanner: Processing directory /volume1/CONTENTS/Photos/20150307 - Iseo (parent: yes)
Nov 24, 2021 22:14:00.547 [0x7f6ed126fb38] DEBUG - File '/volume1/CONTENTS/Photos/20150307 - Iseo/DSC_9151.jpg' didn't exist, can't skip.
Nov 24, 2021 22:14:00.547 [0x7f6ed126fb38] DEBUG - Looking for path match for [/volume1/CONTENTS/Photos/20150307 - Iseo/DSC_9140-Pano-AP.dng]
Nov 24, 2021 22:14:00.547 [0x7f6ed126fb38] DEBUG - Path matched, we're reusing media item 88558
Nov 24, 2021 22:14:00.553 [0x7f6ed1eebb38] DEBUG - HubCache: Expiring '1/photo.recent.10/1/hubs/promoted/enexternal-media,indirect-media/contentDirectoryID=10&count=12&excludeContinueWatching=1&excludeFields=summary&includeGames=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeStations=1&pinnedContentDirectoryID=1%2C2%2C3%2C4%2C5%2C6%2C10' because of event plex.event.item.created.
Nov 24, 2021 22:14:00.553 [0x7f6ed126fb38] DEBUG - Looking for path match for [/volume1/CONTENTS/Photos/20150307 - Iseo/DSC_9252And8more_tonemapped_tonemapped_tonemapped.tif]
Nov 24, 2021 22:14:00.554 [0x7f6ed126fb38] DEBUG - Skipping hash check, no size match for 45555444 bytes.
Nov 24, 2021 22:14:00.554 [0x7f6ed126fb38] DEBUG - No match for hash.
Nov 24, 2021 22:14:00.603 [0x7f6ed1e5eb38] DEBUG - Updating metadata item (save) (DSC_9161And8more_tonemapped) with ID 117588
Nov 24, 2021 22:14:00.605 [0x7f6ed1eebb38] DEBUG - [LibraryTimeline] Scanner activity on section 10: 2 added, 0 deleted
Nov 24, 2021 22:14:00.615 [0x7f6ed126fb38] DEBUG - [JobRunner] Job running: '/volume1/@appstore/PlexMediaServer/CrashUploader' '--directory=/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Crash Reports/1.24.5.5173-8dcc73a59' '--version=1.24.5.5173-8dcc73a59' '--platform=Linux' '--platformVersion=DSM 7.0.1.42218-0' '--serverUuid=b40b68bccc650a174d810576340e6c6f4661ed20' '--userId=grisleri@gmail.com' '--sentryUrl=https://sentry.io/api/1233455/minidump' '--sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' '--vendor=Synology' '--model=x86_64' '--device=DS3018xs' '--allowRetries=0'
Nov 24, 2021 22:14:00.615 [0x7f6ed126fb38] DEBUG - [JobRunner] Jobs: Starting child process with pid 11558
Hi ChuckPa,
sorry for the late reply. Here you can find one of files that cause the crash.
It is pretty deterministic in my case, I just rescan the library with just this file inside and the crash happens.
Photos.zip (26.0 MB)
I did some additional tests, the crash seems to happen randomly on many tif files which are well formed and produced with different softwares, including lightroom and photoshop.
If the files are subsampled to 1/4th of the original area, then the crash seems not happening.
The total number of TIF files I have removed from the original photos folder is around 2.3k.
Using only the remaining 55k JPEG files the scan get completed correctly.
Thanks.
Issue still there after updating to 1.25.0-5282-7000.
It seems to be less reproducible now, not able to isolate a single picture causing the crash.
Trying to bisect among a set of tif files causing the crash do not allow to isolate one file like for the previous version.
Thanks.
ChuckPa
December 3, 2021, 9:13pm
10
Paul,
I’m updating the Issue ticket now with this version of PMS.
ChuckPa
December 3, 2021, 9:49pm
11
@paul1047
Using the file you gave me, on a fresh PMS installation, it is 100% reproducible
Hi CuckPa,
I can still reproduce the issue with 1.25.1.5286-7000.
Regards.
ChuckPa
December 11, 2021, 9:33pm
13
I have not yet seen any progress on this.
I will advise when I do.
Sorry for the inconvenience. ( I’m not involved in prioritization but do know the DB work has taken priority to fix )
system
Closed
March 11, 2022, 9:33pm
14
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.