openshot crashes while opening MP4 with bytewidth failed

Bug #1888817 reported by ThiloPfennig
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openshot (Ubuntu)
New
Undecided
Unassigned

Bug Description

I use openshot on Linux Mint

$ cat /etc/debian_version
bullseye/sid

$ lsb_release -rd
Description: Linux Mint 20
Release: 20

$ apt policy openshot
openshot:
  Installed: 2.4.3+dfsg1-1
  Candidate: 2.4.3+dfsg1-1
  Version table:
 *** 2.4.3+dfsg1-1 500
        500 http://artfiles.org/ubuntu.com focal/universe amd64 Packages
        500 http://artfiles.org/ubuntu.com focal/universe i386 Packages
        100 /var/lib/dpkg/status

---------------------------------------------------------------------------

Every time I try to add a file into a project Openshot crashes immediately. It should somehow better handle the problem.

Here is some tracing output:

Assertion ((src_linesize) >= 0 ? (src_linesize) : (-(src_linesize))) >= bytewidth failed at src/libavutil/imgutils.c:314
Caught signal 6 (SIGABRT)
---- Unhandled Exception: Stack Trace ----
  /lib/x86_64-linux-gnu/libc.so.6 ( abort + 0x12b ) [0x7f133acf1859]
  /usr/lib/x86_64-linux-gnu/libavutil.so.56 ( + 0x38396) [0x7f132e8ae396]
  /usr/lib/x86_64-linux-gnu/libavutil.so.56 ( av_image_copy + 0x14d ) [0x7f132e8af08d]
  /usr/lib/x86_64-linux-gnu/libopenshot.so.16 ( openshot::FFmpegReader::GetAVFrame() + 0x491 ) [0x7f132fa68d63]
  /usr/lib/x86_64-linux-gnu/libopenshot.so.16 ( openshot::FFmpegReader::CheckFPS() + 0x9b ) [0x7f132fa72b69]
  /usr/lib/x86_64-linux-gnu/libopenshot.so.16 ( openshot::FFmpegReader::UpdateVideoInfo() + 0x553 ) [0x7f132fa66b2f]
  /usr/lib/x86_64-linux-gnu/libopenshot.so.16 ( openshot::FFmpegReader::Open() + 0x6f9 ) [0x7f132fa65069]
  /usr/lib/x86_64-linux-gnu/libopenshot.so.16 ( openshot::FFmpegReader::FFmpegReader(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0x427 ) [0x7f132fa6404d]
  /usr/lib/x86_64-linux-gnu/libopenshot.so.16 ( openshot::Clip::Clip(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0x483 ) [0x7f132fa206d3]
  /usr/lib/python3/dist-packages/_openshot.cpython-38-x86_64-linux-gnu.so ( + 0xd02da) [0x7f132f3f22da]
  /usr/lib/python3/dist-packages/_openshot.cpython-38-x86_64-linux-gnu.so ( + 0xd0718) [0x7f132f3f2718]
  /usr/bin/python3 ( PyCFunction_Call + 0xfa ) [0x5f16ca]
  /usr/bin/python3 ( _PyEval_EvalFrameDefault + 0x65fd) [0x56d0fd]
  /usr/bin/python3 ( _PyEval_EvalCodeWithName + 0x262 ) [0x5654d2]
  /usr/bin/python3 ( _PyFunction_Vectorcall + 0x3a5 ) [0x5f1bc5]
  /usr/bin/python3 ( ) [0x598265]
  /usr/bin/python3 ( _PyObject_MakeTpCall + 0x1f7 ) [0x5f21a7]
  /usr/bin/python3 ( _PyEval_EvalFrameDefault + 0x5c0f) [0x56c70f]
  /usr/bin/python3 ( ) [0x507d1e]
  /usr/bin/python3 ( _PyEval_EvalFrameDefault + 0x5556) [0x56c056]
  /usr/bin/python3 ( _PyFunction_Vectorcall + 0x1ab ) [0x5f19cb]
  /usr/bin/python3 ( ) [0x507e1c]
  /usr/bin/python3 ( PyObject_Call + 0x5e ) [0x5f0e3e]
  /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-38-x86_64-linux-gnu.so ( + 0x217070) [0x7f1339c33070]
  /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-38-x86_64-linux-gnu.so ( + 0x217518) [0x7f1339c33518]
  /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-38-x86_64-linux-gnu.so ( + 0x21780e) [0x7f1339c3380e]
  /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-38-x86_64-linux-gnu.so ( + 0x2182d7) [0x7f1339c342d7]
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 ( QMetaObject::activate(QObject*, int, int, void**) + 0x88c ) [0x7f13397853bc]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( QAction::triggered(bool) + 0x46 ) [0x7f13365c33e6]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( QAction::activate(QAction::ActionEvent) + 0xf2 ) [0x7f13365c5aa2]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( + 0x2ecd12) [0x7f133674bd12]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( + 0x2f44ae) [0x7f13367534ae]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( QMenu::mouseReleaseEvent(QMouseEvent*) + 0x272 ) [0x7f13367544d2]
  /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-38-x86_64-linux-gnu.so ( + 0x26ce1b) [0x7f1336d66e1b]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( QWidget::event(QEvent*) + 0x286 ) [0x7f133660c2b6]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( QMenu::event(QEvent*) + 0x15b ) [0x7f1336756adb]
  /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-38-x86_64-linux-gnu.so ( + 0x26c7eb) [0x7f1336d667eb]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( QApplicationPrivate::notify_helper(QObject*, QEvent*) + 0x86 ) [0x7f13365c9a66]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( QApplication::notify(QObject*, QEvent*) + 0x583 ) [0x7f13365d3343]
  /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-38-x86_64-linux-gnu.so ( + 0x3d6bf6) [0x7f1336ed0bf6]
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 ( QCoreApplication::notifyInternal2(QObject*, QEvent*) + 0x18a ) [0x7f133975993a]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 0x1b7 ) [0x7f13365d2457]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( + 0x1c9ce4) [0x7f1336628ce4]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( + 0x1cc1ec) [0x7f133662b1ec]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( QApplicationPrivate::notify_helper(QObject*, QEvent*) + 0x86 ) [0x7f13365c9a66]
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 ( QApplication::notify(QObject*, QEvent*) + 0x330 ) [0x7f13365d30f0]
  /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-38-x86_64-linux-gnu.so ( + 0x3d6bf6) [0x7f1336ed0bf6]
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 ( QCoreApplication::notifyInternal2(QObject*, QEvent*) + 0x18a ) [0x7f133975993a]
  /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 ( QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 0x6e3 ) [0x7f1335f9a7d3]
  /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 ( QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 0x25b ) [0x7f1335f9c10b]
  /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 ( QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 0xbb ) [0x7f1335f7635b]
  /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 ( + 0x7932e) [0x7f13278d532e]
  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 ( g_main_context_dispatch + 0x27d ) [0x7f1338cb2fbd]
  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 ( + 0x52240) [0x7f1338cb3240]
  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 ( g_main_context_iteration + 0x33 ) [0x7f1338cb32e3]
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 ( QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 0x65 ) [0x7f13397b1565]
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 ( QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 0x12b ) [0x7f13397584db]
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 ( QCoreApplication::exec() + 0x96 ) [0x7f1339760246]
  /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-38-x86_64-linux-gnu.so ( + 0x3979c1) [0x7f1336e919c1]
  /usr/bin/python3 ( PyCFunction_Call + 0xfa ) [0x5f16ca]
---- End of Stack Trace ----

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.