matrix-media-repo
matrix-media-repo copied to clipboard
Segfault handling thumbnailing
At least, that's what the logs sort of claim:
time="2022-08-24 13:13:58.230 Z" level=info msg="Generating thumbnail" allowRemote=true contentLength=0 contentType="" host=kde.org mediaId=redacted_media_id method=GET queryString="height=250&method=scale&width=250" remoteAddr=redacted requestId=REQ-36 requestedAnimated=false requestedHeight=250 requestedMethod=scale requestedWidth=250 resource=/_matrix/media/r0/thumbnail/matrix.org/redacted_media_id server=matrix.org usingForwardedHost=false
time="2022-08-24 13:13:58.231 Z" level=info msg="Processing thumbnail request" nocontext=true worker_animated=false worker_height=480 worker_media=matrix.org/redacted_media_id worker_method=scale worker_requestId=thumbnail_matrix.org_redacted_media_id_640_480_scale_false worker_width=640
time="2022-08-24 13:13:58.231 Z" level=info msg="Downloading object from bucket some-bucket: bcf7ef9eba7f9b82805c309145cf6483992fe738"
time="2022-08-24 13:13:58.351 Z" level=info msg="Using generator: jpgGenerator" nocontext=true worker_animated=false worker_height=480 worker_media=matrix.org/redacted_media_id worker_method=scale worker_requestId=thumbnail_matrix.org_redacted_media_id_640_480_scale_false worker_width=640
Segfault: https://gist.github.com/Half-Shot/95abb0af56b46eefde2196d0eca67d6d
Version: v1.2.12
(detailed logs in DM with Half-Shot as of this comment)
We're seeing this too from time to time.
the next time this is seen, please share the media ID in a DM with me (@travis:t2l.io) for investigation.
I'm assuming this is either fixed or will be fixed when the rewrite lands.