Fixed: crash NALU_descriptor (windows/ubuntu)

Started by Jan Gruuthuse, June 03, 2016, 07:31:05 AM

Previous topic - Next topic

Jan Gruuthuse

Ubuntu fixed: a89ef1c    [annexB] Fail nicely when splitNAlu has a problem

Originally reported in Avidemux-German: Avidemux 2.6.12 64bit Problem beim Speichern einer HDTV-Sendung im MP4-Format by manno24
----
Workflow
----
Download this video (87.1MB)
servusHDvideo cableTV
Load the video into recent avidemux
Select for Output Format either MP4 or MPV4v2 muxer
Save video:

Popup window avidemux:
Assert failed :index<maxNalu
at line 939, file /home/jan/avidemux2/avidemux_core/ADM_coreUtils/src/ADM_infoExtractorH264.cppADM_backTrack
ADM_splitNalu(unsigned char*, unsigned char*, unsigned int, NALU_descriptor*)
ADM_convertFromAnnexBToMP4(unsigned char*, unsigned int, unsigned char*, unsigned int)
ADM_videoStreamCopyFromAnnexB::getPacket(ADMBitstream*)
muxerMp4v2::loadNextVideoFrame(ADMBitstream*)
muxerMp4v2::save()
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)
/usr/bin/avidemux3_qt4() [0x48ba94]
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
MainWindow::actionSignal(Action)
MainWindow::searchToolBar(QAction*)
/usr/bin/avidemux3_qt4() [0x48bd48]
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolBar::actionTriggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolButton::triggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QAction::triggered(bool)
QAction::activate(QAction::ActionEvent)

QAbstractButton::mouseReleaseEvent(QMouseEvent*)
QToolButton::mouseReleaseEvent(QMouseEvent*)
QWidget::event(QEvent*)


terminal output:*********** BACKTRACK **************
Crash Dump for Crash
Assert failed :index<maxNalu
at line 939, file /home/jan/avidemux2/avidemux_core/ADM_coreUtils/src/ADM_infoExtractorH264.cppADM_backTrack
ADM_splitNalu(unsigned char*, unsigned char*, unsigned int, NALU_descriptor*)
ADM_convertFromAnnexBToMP4(unsigned char*, unsigned int, unsigned char*, unsigned int)
ADM_videoStreamCopyFromAnnexB::getPacket(ADMBitstream*)
muxerMp4v2::loadNextVideoFrame(ADMBitstream*)
muxerMp4v2::save()
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)
/usr/bin/avidemux3_qt4() [0x48ba94]
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
MainWindow::actionSignal(Action)
MainWindow::searchToolBar(QAction*)
/usr/bin/avidemux3_qt4() [0x48bd48]
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolBar::actionTriggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolButton::triggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QAction::triggered(bool)
QAction::activate(QAction::ActionEvent)

QAbstractButton::mouseReleaseEvent(QMouseEvent*)
QToolButton::mouseReleaseEvent(QMouseEvent*)
QWidget::event(QEvent*)

mean

Should be okay now, win64_ffmpeg3 build in progress

Jan Gruuthuse

Ubuntu Fixed: a89ef1c    [annexB] Fail nicely when splitNAlu has a problem