Crash in saveSubtitleTrAs upon saving translation
Same as title, immediate crash upon attempting to save translations, it occurs on both Windows and Linux, the latter either as normal package or flatpak.
Saving subtitle files works fine, though.
BACKTRACE
Application: Criador de Legenda (subtitlecomposer), signal: Segmentation fault
[KCrash Handler]
#4 0x0000561da77ae9ee in SubtitleComposer::Format::dialogFilter() const ()
#5 0x0000561da77b24e4 in SubtitleComposer::Application::saveSubtitleTrAs(QTextCodec*) ()
#6 0x00007fc103a61fb3 in QtPrivate::QSlotObjectBase::call (a=0x7fffea0c9630, r=0x7fffea0ca490, this=0x561da9ca0d80) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7 doActivate<false> (sender=0x561da9c7c620, signal_index=13, argv=0x7fffea0c9630) at kernel/qobject.cpp:3886
#8 0x0000561da77b4e54 in QtPrivate::QFunctorSlotObject<KCodecActionExt::init()::{lambda(bool)#1}, 1, QtPrivate::List<bool>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#9 0x00007fc103a61fb3 in QtPrivate::QSlotObjectBase::call (a=0x7fffea0c9750, r=0x561da9c7c620, this=0x561da9c7dd40) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x561da9c7d680, signal_index=4, argv=0x7fffea0c9750) at kernel/qobject.cpp:3886
#11 0x00007fc103a5b47f in QMetaObject::activate (sender=sender@entry=0x561da9c7d680, m=m@entry=0x7fc104bdd0a0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffea0c9750) at kernel/qobject.cpp:3946
#12 0x00007fc1046be182 in QAction::triggered (this=this@entry=0x561da9c7d680, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#13 0x00007fc1046c0db4 in QAction::activate (this=0x561da9c7d680, event=<optimized out>) at kernel/qaction.cpp:1161
#14 0x00007fc1048463b2 in QMenuPrivate::activateCausedStack (this=this@entry=0x561da9c7cfa0, causedStack=..., action=action@entry=0x561da9c7d680, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1384
#15 0x00007fc10484e161 in QMenuPrivate::activateAction (this=0x561da9c7cfa0, action=0x561da9c7d680, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1461
#16 0x00007fc10470671e in QWidget::event (this=0x561da9c7c660, event=0x7fffea0c9d60) at kernel/qwidget.cpp:9020
#17 0x00007fc1046c4a7f in QApplicationPrivate::notify_helper (this=this@entry=0x561da9795db0, receiver=receiver@entry=0x561da9c7c660, e=e@entry=0x7fffea0c9d60) at kernel/qapplication.cpp:3632
#18 0x00007fc1046cc584 in QApplication::notify (this=0x7fffea0c9a80, receiver=0x561da9c7c660, e=0x7fffea0c9d60) at kernel/qapplication.cpp:3076
#19 0x00007fc103a2b96a in QCoreApplication::notifyInternal2 (receiver=0x561da9c7c660, event=0x7fffea0c9d60) at kernel/qcoreapplication.cpp:1064
#20 0x00007fc1046cb093 in QApplicationPrivate::sendMouseEvent (receiver=0x561da9c7c660, event=event@entry=0x7fffea0c9d60, alienWidget=0x0, nativeWidget=0x561da9c7c660, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#21 0x00007fc104720493 in QWidgetWindow::handleMouseEvent (this=0x561daa354ac0, event=0x7fffea0ca030) at kernel/qwidgetwindow.cpp:580
#22 0x00007fc104722da5 in QWidgetWindow::event (this=0x561daa354ac0, event=0x7fffea0ca030) at kernel/qwidgetwindow.cpp:300
#23 0x00007fc1046c4a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x561daa354ac0, e=0x7fffea0ca030) at kernel/qapplication.cpp:3632
#24 0x00007fc103a2b96a in QCoreApplication::notifyInternal2 (receiver=0x561daa354ac0, event=0x7fffea0ca030) at kernel/qcoreapplication.cpp:1064
#25 0x00007fc103f72817 in QGuiApplicationPrivate::processMouseEvent (e=0x561dadab28c0) at kernel/qguiapplication.cpp:2282
#26 0x00007fc103f489cc in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#27 0x00007fc0fc41fa00 in userEventSourceDispatch (source=source@entry=0x561da97cd890) at qeventdispatcher_glib.cpp:74
#28 0x00007fc1006b280f in g_main_dispatch (context=0x561da97ce2d0) at ../glib/gmain.c:3337
#29 g_main_context_dispatch (context=0x561da97ce2d0) at ../glib/gmain.c:4055
#30 0x00007fc1006b2b98 in g_main_context_iterate (context=context@entry=0x561da97ce2d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#31 0x00007fc1006b2c4f in g_main_context_iteration (context=0x561da97ce2d0, may_block=1) at ../glib/gmain.c:4196
#32 0x00007fc103a82e54 in QEventDispatcherGlib::processEvents (this=0x561da97cb160, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007fc103a2a36b in QEventLoop::exec (this=this@entry=0x7fffea0ca360, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#34 0x00007fc103a32650 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#35 0x0000561da7794e6c in main ()
[Inferior 1 (process 21936) detached]
Edited by Thiago Sueto