Bug 50290 - footage: падение приложения при отмене и перезапуске сохранения видео
Summary: footage: падение приложения при отмене и перезапуске сохранения видео
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: footage (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-07 02:39 MSK by Aleksandr Shamaraev
Modified: 2024-05-07 11:59 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksandr Shamaraev 2024-05-07 02:39:51 MSK
Здравствуйте.

footage-1.3.2-alt1.x86_64

При открытии видео, выбираем нужную полосу для сохранения, режим поумолчанию, нажимаем сохранить видео, во время рендера нажимаем отмена, правим полосу для сохранения, нажимаем повторно сохранить и пакет либо сазу падает, либо после еще одной отмены и запуска.

$ RUST_BACKTRACE=1 footage

Общее количество: 271 модуль (1 элемент в чёрном списке not shown), 1662 функции

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 '<unnamed>' 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 '<unnamed>' 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


Стенд 
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]
Comment 1 Aleksandr Shamaraev 2024-05-07 02:51:36 MSK
Создать issue разработчику, у меня не получится, так как при регистрации я не могу подтвердить свой номер телефона из-за отсутствия +7
Comment 2 Aleksandr Shamaraev 2024-05-07 02:52:36 MSK
только если ему персонально писать )
Comment 3 Aleksandr Shamaraev 2024-05-07 11:59:01 MSK
Здравствуйте.

Добавили issue 

https://gitlab.com/adhami3310/Footage/-/issues/29