News:

--

Main Menu

[2.7.1, 2.7.2] Segfault loading a video

Started by janis, March 22, 2019, 10:33:48 PM

Previous topic - Next topic

janis

I can open it with VLC, xplayer, load in HandBrake fine. ffmpeg converts it fine, too. Avidemux crashes if I load the video (5 GB). On Linux Mint 19.1.

Segfault
at line 0, file ??
ADM_backTrack

MP4Header::open(char const*)
ADM_Composer::addFile(char const*)
A_openVideo(char const*)
MainWindow::openFiles(QList<QUrl>)
MainWindow::eventFilter(QObject*, QEvent*)
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
QApplicationPrivate::notify_helper(QObject*, QEvent*)
QApplication::notify(QObject*, QEvent*)
QCoreApplication::notifyInternal2(QObject*, QEvent*)
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)

g_main_context_dispatch

g_main_context_iteration
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
QCoreApplication::exec()
UI_RunApp()
startAvidemux(int, char**)
main
__libc_start_main
/tmp/.mount_TJBTFF/usr/bin/avidemux3_portable() [0x44c9f7]


eumagga0x2a

So it crashes in the mp4 demuxer. Could you please post at least the complete output of 2.7.2 to the terminal from startup to the crash? It would be better if you could provide the entire huge file as a sample (if the content is innocuous enough, of course).

eumagga0x2a

Thank you for the info provided via PM, the file triggering the crash has more audio tracks than the demuxer supports. The bug is that Avidemux doesn't handle such cases gracefully yet.

eumagga0x2a

Thank you for the sample, will look into improving how we handle the number of audio tracks in mp4 exceeding max.

eumagga0x2a