FS#76859 - [kdenlive] Breaks Qt Designer (qt5-tools)

Attached to Project: Arch Linux
Opened by Sefa Eyeoglu (Scrumplex) - Saturday, 17 December 2022, 13:51 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 18 December 2022, 10:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Running /usr/bin/designer from qt5-tools while kdenlive is installed crashes the application. This could be an upstream bug.

Additional info:
qt5-tools 5.15.7+kde+r1-2
kdenlive 22.12.0-1

Steps to reproduce:
1. Install "kdenlive" and "qt5-tools"
2. Run /usr/bin/designer
3. Look at backtrace: coredumpctl debug designer


Backtrace:
#0 QWidget::geometry() constPython Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0xa0
(this=#1 ColorPickerWidget::ColorPickerWidget(QWidget*)
(this=0x55fffcf20850, parent=<optimized out>, this=<optimized out>, parent=<optimized out>)
at /usr/src/debug/kdenlive/kdenlive-22.12.0/src/widgets/colorpickerwidget.cpp:87
#2 0x00007fd54cea81b6 in non-virtual thunk to ColorPickerWidgetQtDesignerWidgetFactory::createWidget(QWidget*) ()
at /usr/src/debug/kdenlive/build/src/widgets/kdenlivewidgets_ECMQtDesignerPlugin/designerplugin.cpp:84
#3 0x00007fd5a1364087 in qdesigner_internal::WidgetFactory::createCustomWidget(QString const&, QWidget*, bool*) const
(this=this@entry=0x55fffc884490, className=..., parentWidget=parentWidget@entry=0x0, creationError=creationError@entry=0x7ffe17e0f11f)
at /usr/src/debug/qt5-tools/qttools/src/designer/src/lib/shared/widgetfactory.cpp:261
#4 0x00007fd5a1364dd3 in qdesigner_internal::WidgetFactory::createWidget(QString const&, QWidget*) const
(this=0x55fffc884490, widgetName=..., parentWidget=0x0)
at /usr/src/debug/qt5-tools/qttools/src/designer/src/lib/shared/widgetfactory.cpp:324
#5 0x00007fd5a13683ef in qdesigner_internal::WidgetDataBase::defaultPropertyValues(QString const&)
(this=this@entry=0x55fffc7f0400, name=...) at /usr/src/debug/qt5-tools/qttools/src/designer/src/lib/shared/widgetdatabase.cpp:427
#6 0x00007fd5a1368580 in qdesigner_internal::WidgetDataBase::grabDefaultPropertyValues() (this=0x55fffc7f0400)
at /usr/src/debug/qt5-tools/qttools/src/designer/src/lib/shared/widgetdatabase.cpp:449
#7 0x000055fffb70f3c7 in QDesignerWorkbench::QDesignerWorkbench() (this=0x55fffc7edda0, this=<optimized out>)
at /usr/src/debug/qt5-tools/qttools/src/designer/src/designer/qdesigner_workbench.cpp:534
#8 0x000055fffb6f69c5 in QDesigner::parseCommandLineArguments() (this=0x7ffe17e0f500)
at /usr/src/debug/qt5-tools/qttools/src/designer/src/designer/qdesigner.cpp:252
#9 main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt5-tools/qttools/src/designer/src/designer/main.cpp:62
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 18 December 2022, 10:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  kdenlive 22.12.0-2
Comment by Toolybird (Toolybird) - Saturday, 17 December 2022, 21:56 GMT
Confirmed in a fresh VM. Definitely should be reported upstream, but I'm not sure against which component...@arojas?
Comment by Sefa Eyeoglu (Scrumplex) - Sunday, 18 December 2022, 00:13 GMT
Judging by the source location "/usr/src/debug/kdenlive/kdenlive-22.12.0/src/widgets/colorpickerwidget.cpp:87" I would assume kdenlive itself.
Comment by Sefa Eyeoglu (Scrumplex) - Sunday, 18 December 2022, 00:16 GMT
Looks like this was already fixed upstream. Maybe backport commit 87754b4df865ce39f4ca0393a8935f67e099c404

See https://invent.kde.org/multimedia/kdenlive/-/commit/87754b4df865ce39f4ca0393a8935f67e099c404

Loading...