Bug 146096 - CRASH: Importing most video formats results in instant crash
Summary: CRASH: Importing most video formats results in instant crash
Status: RESOLVED DUPLICATE of bug 143961
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.1.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-07 14:15 UTC by yuri6037
Modified: 2022-01-06 13:22 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
soffice --backtrace (88.29 KB, text/x-log)
2021-12-07 14:15 UTC, yuri6037
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yuri6037 2021-12-07 14:15:23 UTC
Created attachment 176764 [details]
soffice --backtrace

Most video formats I try to insert in LibreOffice Impress results in instant crash. The failing formats includes avi, mkv, mp4, mov, ogv. There is one format which works properly: a very old format named mpg with a special codec which also generates very bad looking videos.
The exact codec to use when transcoding in ffmpeg is mp2 audio and mpeg1video, attempting to use mpeg2video also results in instant crash.
There are many formats I couldn't try due to missing profiles: many formats do not support 1280x720 or 2560x1440 formats.

I have attached a gdbtrace.log generated by soffice --backtrace.

Considering the log points into iHD_dri_video.so I though maybe Intel can't write proper video drivers and so I've attempted to run soffice --backtrace with NVIDIA prime offloading this resulted in the exact same dump.
Due to the dgpu not powering back to d0 when LO initialized I thought LO is ignores dgpu anyway and so I've rebooted completely in NVIDIA exclusive mode where all apps are forced to dgpu and even in this mode LO produced the exact same dump it just ran a bit longer but in the end still produced the exact same dump.

This may be related to https://bugs.documentfoundation.org/show_bug.cgi?id=143961 except that in this report I have included a gdbtrace and additionally one variant of mpg format still works.

Also the version I use does not exist in the dropdown: 7.1.7.2 / LibreOffice Community.
Comment 1 yuri6037 2021-12-07 14:59:25 UTC
Additional information: 
Version: 7.1.7.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.1.7-0ubuntu0.21.04.1
Calc: threaded

OS is an ubuntu derivative:
- Pop!_OS 21.04
- 64 bit system obviously
- GNOME 3.38.5
- X11

HW (System76 oryp7):
- NVIDIA RTX 3060 6Gb VRAM
- 16Gb RAM
- Intel® Core™ i7-10870H CPU @ 2.20GHz × 16 (8 cores - turbo 5Ghz)
- NVIDIA Corporation / Mesa Intel® UHD Graphics (CML GT2)
Comment 2 Timur 2022-01-06 13:22:30 UTC
Doesn't seem like See Also but a duplicate of bug 143961, same Pop OS.

*** This bug has been marked as a duplicate of bug 143961 ***