Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: sammik on December 20, 2021, 07:49:42 AM

Title: [FIXED] Unable to save - Crash (sk locale)
Post by: sammik on December 20, 2021, 07:49:42 AM
When I try to save, got Crash.
2.7.8 and latest nigthly as well.

2.6.18 is probably last one, which works for me

OS: Ubuntu Studio 21.10

Thanks for any help.

Segfault
 at line 0, file ??
ADM_backTrack



_IO_sprintf

ADM_durationToString(unsigned int, std::string&)
DIA_encodingQt4::setRemainingTimeMS(unsigned int)
DIA_encodingBase::refresh(bool)
muxerFFmpeg::saveLoop(char const*)
admSaver::save()
A_Save(char const*)
A_SaveWrapper(char const*)
ADM_QT4_fileSel::GUI_FileSelWriteExtension(char const*, char const*, void (*)(char const*))
HandleAction_Save(Action)
HandleAction(Action)
MainWindow::actionSlot(Action)
/tmp/.mount_tNJ2o2/usr/bin/avidemux3_portable() [0x4b9e3b]
QMetaObject::activate(QObject*, int, int, void**)
MainWindow::actionSignal(Action)
MainWindow::searchToolBar(QAction*)
/tmp/.mount_tNJ2o2/usr/bin/avidemux3_portable() [0x4b9f74]
QMetaObject::activate(QObject*, int, int, void**)
QToolBar::actionTriggered(QAction*)

QMetaObject::activate(QObject*, int, int, void**)
QToolButton::triggered(QAction*)
QMetaObject::activate(QObject*, int, int, void**)
QAction::triggered(bool)
QAction::activate(QAction::ActionEvent)
Title: Re: Unable to save - Crash
Post by: eumagga0x2a on December 20, 2021, 11:28:03 AM
Does it happen always, independently from any other factors? Could you please provide the complete console output of the Avidemux session ending in this crash? Can you build Avidemux from source to test patches?

Obviously, the nightly (avidemuxLinux_GLIBC_2.28_amd64_211214_0636.app) as well as my own builds don't suffer from this issue on my system.
Title: Re: Unable to save - Crash
Post by: eumagga0x2a on December 20, 2021, 04:05:15 PM
I've installed Ubuntu Studio 21.10 in a VM and cannot reproduce the crash saving video with the latest nightly appImage there. Please provide more info.
Title: Re: Unable to save - Crash
Post by: sammik on December 20, 2021, 04:16:37 PM
I attached complete log.
It exceedes post chars limit, so I saved it into pdf.

I will try to compile avidemux later.

Avidemux_log.pdf
Title: Re: Unable to save - Crash
Post by: eumagga0x2a on December 20, 2021, 04:20:04 PM
PDF? Please do me a favor and just gzip or zip the text.
Title: Re: Unable to save - Crash
Post by: eumagga0x2a on December 20, 2021, 04:24:14 PM
Answering the question about reproducibility (sometimes / depending on factors like choice of encoder or always?) would be helpful too.
Title: Re: Unable to save - Crash
Post by: sammik on December 20, 2021, 08:03:51 PM
It is always for me.

Sorry, here is ziped txt.Avidemux_log.zip
Title: Re: Unable to save - Crash
Post by: eumagga0x2a on December 20, 2021, 08:07:10 PM
Thank you, it is not needed anymore, I was too slow writing the reply, sorry for that.

I've alread fixed the bug. This crash was specific to the Slovak locale and was caused by a bad idea of the otherwise excellent Slovak translator.

Thank you very much for your report.
Title: Re: Unable to save - Crash
Post by: eumagga0x2a on December 20, 2021, 08:09:31 PM
For the sake of completeness, here is the fix: [sk] Fix crash in encoding and processing dialogs (https://github.com/mean00/avidemux2_i18n/commit/b07a52f3011b4d4aae315eb5266a93d2297969f7).
Title: Re: [FIXED] Unable to save - Crash (sk locale)
Post by: sammik on December 20, 2021, 10:55:36 PM
Great. Thank You!