matrix-media-repo icon indicating copy to clipboard operation
matrix-media-repo copied to clipboard

Segfault handling thumbnailing

Open Half-Shot opened this issue 3 years ago • 1 comments

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

Half-Shot avatar Aug 24 '22 13:08 Half-Shot

(detailed logs in DM with Half-Shot as of this comment)

turt2live avatar Aug 24 '22 15:08 turt2live

We're seeing this too from time to time.

bradtgmurray avatar Nov 16 '22 20:11 bradtgmurray

the next time this is seen, please share the media ID in a DM with me (@travis:t2l.io) for investigation.

turt2live avatar Feb 12 '23 06:02 turt2live

I'm assuming this is either fixed or will be fixed when the rewrite lands.

turt2live avatar Aug 26 '23 02:08 turt2live