Package: telegram-desktop
Version: 5.7.2+ds-3
Severity: normal


Debian Debian folks,


I did not report this upstream in the GitHub issue tracker, as the crash seems to be in `libavcodec.so.62`, and the Debian package change-log contains the entry below, so it could be a Debian issue.

    telegram-desktop (5.7.2+ds-3) unstable; urgency=medium

* Add compatibility with FFmpeg 8+ and restrict minimal version to 6.1
        (Closes: #1122894).

The program terminated with signal SIGABRT when doing a video call (only my camera was active). Restarting the program and doing a call again, led to crashes, also when disabling the camera.

First crash:

    […]
    QWidget::repaint: Recursive repaint detected
[OpenH264] this = 0x0x7f5794003270, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large [OpenH264] this = 0x0x7f5794003270, Warning:[Rc] iDid = 0,iContinualSkipFrames(6) is large [OpenH264] this = 0x0x7f5794003270, Warning:Actual input framerate 0,000000 is different from framerate in setting 12,000000, suggest to use other rate control modes [h264 @ 0x7f57180f8cc0] [IMGUTILS @ 0x7f57746990f0] Picture size 0x320 is invalid
    [h264 @ 0x7f57180f8cc0] Ignoring invalid width/height values
[h264 @ 0x7f57180f8cc0] [IMGUTILS @ 0x7f57746990c0] Picture size 0x0 is invalid
    Assertion src->f->buf[0] failed at src/libavcodec/h264_picture.c:113

Second crash:

    […]
    qt.svg: Error while inflating gzip file: SVG format check failed
    D/tgvoip: === Updating voip config ===
D/tgvoip: {"enable_vp8_encoder":true,"enable_vp8_decoder":true,"enable_vp9_encoder":true,"enable_vp9_decoder":true,"enable_h265_encoder":true,"enable_h265_decoder":true,"enable_h264_encoder":true,"enable_h264_decoder":true,"audio_frame_size":60,"jitter_min_delay_60":2,"jitter_max_delay_60":10,"jitter_max_slots_60":20,"jitter_losses_to_reset":20,"jitter_resync_threshold":0.5,"audio_congestion_window":1024,"audio_max_bitrate":20000,"audio_max_bitrate_edge":16000,"audio_max_bitrate_gprs":8000,"audio_max_bitrate_saving":8000,"audio_init_bitrate":16000,"audio_init_bitrate_edge":8000,"audio_init_bitrate_gprs":8000,"audio_init_bitrate_saving":8000,"audio_bitrate_step_incr":1000,"audio_bitrate_step_decr":1000,"use_system_ns":true,"use_system_aec":true,"force_tcp":false,"jitter_initial_delay_60":2,"adsp_good_impls":"(Qualcomm Fluence)","bad_call_rating":true,"use_ios_vpio_agc":false,"use_tcp":false,"audio_medium_fec_bitrate":20000,"audio_medium_fec_multiplier":0.1,"audio_strong_fec_bitrate":7000} [h264 @ 0x7f77e83e0900] [IMGUTILS @ 0x7f78032d80f0] Picture size 0x640 is invalid
    [h264 @ 0x7f77e83e0900] Ignoring invalid width/height values
[h264 @ 0x7f77e83e0900] [IMGUTILS @ 0x7f78032d80c0] Picture size 0x0 is invalid
    Assertion src->f->buf[0] failed at src/libavcodec/h264_picture.c:113

Third crash:

    […]
    qt.svg: Error while inflating gzip file: SVG format check failed
    D/tgvoip: === Updating voip config ===
D/tgvoip: {"enable_vp8_encoder":true,"enable_vp8_decoder":true,"enable_vp9_encoder":true,"enable_vp9_decoder":true,"enable_h265_encoder":true,"enable_h265_decoder":true,"enable_h264_encoder":true,"enable_h264_decoder":true,"audio_frame_size":60,"jitter_min_delay_60":2,"jitter_max_delay_60":10,"jitter_max_slots_60":20,"jitter_losses_to_reset":20,"jitter_resync_threshold":0.5,"audio_congestion_window":1024,"audio_max_bitrate":20000,"audio_max_bitrate_edge":16000,"audio_max_bitrate_gprs":8000,"audio_max_bitrate_saving":8000,"audio_init_bitrate":16000,"audio_init_bitrate_edge":8000,"audio_init_bitrate_gprs":8000,"audio_init_bitrate_saving":8000,"audio_bitrate_step_incr":1000,"audio_bitrate_step_decr":1000,"use_system_ns":true,"use_system_aec":true,"force_tcp":false,"jitter_initial_delay_60":2,"adsp_good_impls":"(Qualcomm Fluence)","bad_call_rating":true,"use_ios_vpio_agc":false,"use_tcp":false,"audio_medium_fec_bitrate":20000,"audio_medium_fec_multiplier":0.1,"audio_strong_fec_bitrate":7000} [h264 @ 0x7f3c58043380] [IMGUTILS @ 0x7f3cac3b80f0] Picture size 0x640 is invalid
    [h264 @ 0x7f3c58043380] Ignoring invalid width/height values
[h264 @ 0x7f3c58043380] [IMGUTILS @ 0x7f3cac3b80c0] Picture size 0x0 is invalid
    Assertion src->f->buf[0] failed at src/libavcodec/h264_picture.c:113

Please find the stack trace of the first crash at the end.


Kind regards,

Paul


$ export DEBUGINFOD_URLS="https://debuginfod.debian.net";
$ coredumpctl gdb 159161
[…]
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007f57bdc973cf in __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89 #2 0x00007f57bdc40922 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007f57bdc284ac in __GI_abort () at ./stdlib/abort.c:77
#4 0x00007f57c32c67de in ff_h264_ref_picture (dst=dst@entry=0x7f571a6355b8, src=<optimized out>) at src/libavcodec/h264_picture.c:113 #5 0x00007f57c32d1ff9 in h264_frame_start (h=h@entry=0x7f571a583540) at src/libavcodec/h264_slice.c:539 #6 0x00007f57c32d5e7a in h264_field_start (h=0x7f571a583540, sl=<optimized out>, nal=0x7f571b767ca0, first_slice=<optimized out>) at src/libavcodec/h264_slice.c:1614 #7 ff_h264_queue_decode_slice (h=h@entry=0x7f571a583540, nal=nal@entry=0x7f571b767ca0) at src/libavcodec/h264_slice.c:2161 #8 0x00007f57c32df799 in decode_nal_units (h=0x7f571a583540, buf_ref=0x7f5718004080, buf=0x7f57181b10f0 "", buf_size=234) at src/libavcodec/h264dec.c:652 #9 h264_decode_frame (avctx=<optimized out>, pict=0x7f571b767440, got_frame=0x7f5774698d6c, avpkt=<optimized out>) at src/libavcodec/h264dec.c:1052 #10 0x00007f57c316f25e in decode_simple_internal (avctx=0x7f57180f8cc0, frame=<optimized out>, discarded_samples=0x7f5774698d70) at src/libavcodec/decode.c:439 #11 decode_simple_receive_frame (avctx=0x7f57180f8cc0, frame=0x7f571b767440) at src/libavcodec/decode.c:597 #12 ff_decode_receive_frame_internal (avctx=0x7f57180f8cc0, frame=0x7f571b767440) at src/libavcodec/decode.c:633 #13 0x00007f57c316f78d in decode_receive_frame_internal (avctx=avctx@entry=0x7f57180f8cc0, frame=0x7f571b767440) at src/libavcodec/decode.c:650 #14 0x00007f57c316fa3c in avcodec_send_packet (avctx=0x7f57180f8cc0, avpkt=0x7f571b748740) at src/libavcodec/decode.c:726 #15 0x000056213fd2c6a1 in webrtc::H264DecoderImpl::Decode(webrtc::EncodedImage const&, bool, long) () #16 0x000056214013886b in webrtc::VCMGenericDecoder::Decode(webrtc::EncodedImage const&, webrtc::Timestamp, long) () #17 0x000056213fdffd32 in webrtc::internal::VideoReceiveStream2::DecodeAndMaybeDispatchEncodedFrame(std::unique_ptr<webrtc::EncodedFrame, std::default_delete<webrtc::EncodedFrame> >) () #18 0x000056213fe0089f in webrtc::internal::VideoReceiveStream2::HandleEncodedFrameOnDecodeQueue(std::unique_ptr<webrtc::EncodedFrame, std::default_delete<webrtc::EncodedFrame> >, bool, bool) () #19 0x000056213fe00a2c in void absl::debian7::internal_any_invocable::RemoteInvoker<false, void, webrtc::internal::VideoReceiveStream2::OnEncodedFrame(std::unique_ptr<webrtc::EncodedFrame, std::default_delete<webrtc::EncodedFrame> >)::{lambda()#2}&&>(absl::debian7::internal_any_invocable::TypeErasedState*) () #20 0x000056213fe74a74 in webrtc::(anonymous namespace)::TaskQueueStdlib::ProcessTasks() () #21 0x000056213fe7517b in std::_Function_handler<void (), webrtc::(anonymous namespace)::TaskQueueStdlib::InitializeThread(webrtc::(anonymous namespace)::TaskQueueStdlib*, absl::debian7::string_view, rtc::ThreadPriority)::{lambda()#1}>::_M_invoke(std::_Any_data const&) () #22 0x000056213fbd9ff6 in rtc::(anonymous namespace)::RunPlatformThread(void*) () #23 0x00007f57bdc95428 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:448 #24 0x00007f57bdd13b78 in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Reply via email to