footage: application crashes when canceling and restarting video saving

Hello.

footage-1.3.2

When opening a video, select the desired stripe to save, default mode, click save video, during rendering click cancel, edit the stripe to save, click save again and the package either crashes immediately or after another cancellation and restart.

$ RUST_BACKTRACE=1 footage

Total number: 271 modules (1 element in the blacklist not shown), 1662 functions

MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:763: FINISHME: support YUV colorspace with DRM format modifiers MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:794: FINISHME: support more multi-planar formats with DRM modifiers

(footage:38961): Gtk-WARNING **: 10:29:28.158: Allocating size to GtkBox 0x55b3a471c770 without calling gtk_widget_measure(). How does the code know the size to allocate? [src/widgets/preview.rs:476:9] &output_format = OutputFormat { container_format: Best, video_encoding: Some( Av1, ), audio_encoding: Some( Opus, ), } [src/widgets/preview.rs:476:9] &framerate = Framerate { nominator: 240, denominator: 1, } [src/widgets/preview.rs:476:9] &scaled_dimension = Dimensions { width: 1310, height: 1016, } Svt[info]: ------------------------------------------- Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v1.8.0 Svt[info]: SVT [build] : GCC 13.2.1 20240128 (ALT Sisyphus 13.2.1-alt3) 64 bit Svt[info]: LIB Build date: Feb 18 2024 20:34:09 Svt[info]: ------------------------------------------- [src/widgets/preview.rs:733:13] "starting" = "starting" Svt[info]: Number of logical cores available: 2 Svt[info]: Number of PPCS 74 Svt[info]: [asm level on system : up to sse4_2] Svt[info]: [asm level selected : up to sse4_2] Svt[info]: ------------------------------------------- Svt[info]: SVT [config]: main profile tier (auto) level (auto) Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1312 / 1016 / 240 / 1 Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 1281 / 32 / key frame Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 35 Svt[info]: ------------------------------------------- [src/widgets/preview.rs:476:9] &output_format = OutputFormat { container_format: Best, video_encoding: Some( Av1, ), audio_encoding: Some( Opus, ), } [src/widgets/preview.rs:476:9] &framerate = Framerate { nominator: 240, denominator: 1, } [src/widgets/preview.rs:476:9] &scaled_dimension = Dimensions { width: 1310, height: 1016, } Svt[info]: ------------------------------------------- Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v1.8.0 Svt[info]: SVT [build] : GCC 13.2.1 20240128 (ALT Sisyphus 13.2.1-alt3) 64 bit Svt[info]: LIB Build date: Feb 18 2024 20:34:09 Svt[info]: ------------------------------------------- [src/widgets/preview.rs:733:13] "starting" = "starting" Svt[info]: Number of logical cores available: 2 Svt[info]: Number of PPCS 74 Svt[info]: [asm level on system : up to sse4_2] Svt[info]: [asm level selected : up to sse4_2] Svt[info]: ------------------------------------------- Svt[info]: SVT [config]: main profile tier (auto) level (auto) Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1312 / 1016 / 240 / 1 Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 1281 / 32 / key frame Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 35 Svt[info]: ------------------------------------------- thread '' panicked at src/widgets/preview.rs:742:30: Concurrency Issues: SendError(..) stack backtrace: note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

(footage:38961): GStreamer-CRITICAL **: 10:30:29.461: Trying to dispose element identity2, but it is in PLAYING instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. This problem may also be caused by a refcounting bug in the application or some element.

(footage:38961): GStreamer-CRITICAL **: 10:30:29.479: Trying to dispose element internal-encodebin, but it is in PLAYING instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. This problem may also be caused by a refcounting bug in the application or some element.

(footage:38961): GStreamer-CRITICAL **: 10:30:29.521: Trying to dispose element tee2, but it is in PLAYING instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. This problem may also be caused by a refcounting bug in the application or some element.

(footage:38961): GStreamer-CRITICAL **: 10:30:29.521: Trying to dispose element filesink0, but it is in PLAYING instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. This problem may also be caused by a refcounting bug in the application or some element.

(footage:38961): GStreamer-CRITICAL **: 10:30:29.521: Trying to dispose element gespipeline1, but it is in PLAYING instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. This problem may also be caused by a refcounting bug in the application or some element.

thread '' panicked at src/widgets/preview.rs:719:30: Concurrency Issues: SendError(..) stack backtrace: note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace. fatal runtime error: failed to initiate panic, error 5 [1] 38961 IOT instruction RUST_BACKTRACE=1 footage

Stand OS: ALT Regular Sisyphus x86_64 Kernel: 6.1.90-std-def-alt1 DE: GNOME 46.1 CPU: Intel Celeron N4020C (2) @ 2.800GHz GPU: Intel GeminiLake [UHD Graphics 600]

Assignee Loading
Time tracking Loading