Skip to content

VLMC crashes with SIGSEGV if trying to share project on youtube

Steps to reprodue the problem:

  1. Import a video file to vlmc
  2. Drag and drop it into timeline
  3. Click on publish on internet, i.e., youtube
  4. proceed further and you will get segmentation fault

I was running fedora-21 and the imported file was a .mp4 video file.

Here is the full backtrace of the problem:

#0  0x00007ffff73940ba in QWidget::testAttribute_helper(Qt::WidgetAttribute) const () at /lib64/libQt5Widgets.so.5
#1  0x00007ffff739e1ee in QWidget::winId() const ()
    at /lib64/libQt5Widgets.so.5
#2  0x00000000004c707a in RenderWidget::id() const (this=0x0)
    at /home/abhimanyu/gsoc/vlmc/src/Gui/preview/RenderWidget.h:59
#3  0x00000000004c7d2c in WorkflowRenderer::setupRenderer(unsigned int, unsigned int, double) (this=0x170e4e0, width=480, height=320, fps=29.969999999999999)
    at /home/abhimanyu/gsoc/vlmc/src/Renderer/WorkflowRenderer.cpp:94
#4  0x00000000004c736d in WorkflowFileRenderer::run(QString const&, unsigned int, unsigned int, double, unsigned int, unsigned int) (this=0x170e4e0, outputFileName=..., width=480, height=320, fps=29.969999999999999, vbitrate=4000, abitrate=256)
    at /home/abhimanyu/gsoc/vlmc/src/Renderer/WorkflowFileRenderer.cpp:48
#5  0x00000000004eb2f9 in MainWindow::renderVideo(QString const&, unsigned int, unsigned int, double, unsigned int, unsigned int) (this=0x7fffffffdb70, outputFileName=..., width=480, height=320, fps=29.969999999999999, vbitrate=4000, abitrate=256)
    at /home/abhimanyu/gsoc/vlmc/src/Gui/MainWindow.cpp:603
        dialog = 0x170bb90
#6  0x00000000004eb4e3 in MainWindow::renderVideoSettings(bool) (this=0x7fffffffdb70, shareOnInternet=true)
    at /home/abhimanyu/gsoc/vlmc/src/Gui/MainWindow.cpp:637
        outputFileName = 
          {static null = {}, d = 0x170d310}
        fps = 29.969999999999999
        abitrate = 256
        settings = 0x16fca00
        width = 480
---Type  to continue, or q  to quit---
        height = 320
        vbitrate = 4000
#7  0x00000000004eb67d in MainWindow::on_actionShare_On_Internet_triggered() (this=0x7fffffffdb70)
    at /home/abhimanyu/gsoc/vlmc/src/Gui/MainWindow.cpp:668
        fileName = 
          {static null = {}, d = 0x7ffff7e24880}
        shareVideo = 0x7ffff73abb07 
#8  0x000000000054c892 in MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x7fffffffdb70, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffffffce20)
    at /home/abhimanyu/gsoc/vlmc/build/src/moc_MainWindow.cpp:186
        _t = 0x7fffffffdb70
#9  0x000000000054cb5c in MainWindow::qt_metacall(QMetaObject::Call, int, void**) (this=0x7fffffffdb70, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffffffce20)
    at /home/abhimanyu/gsoc/vlmc/build/src/moc_MainWindow.cpp:245
#10 0x00007ffff6aa91fa in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#11 0x00007ffff735c6c2 in QAction::triggered(bool) ()
    at /lib64/libQt5Widgets.so.5
#12 0x00007ffff735ed28 in QAction::activate(QAction::ActionEvent) () at /lib64/libQt5Widgets.so.5
#13 0x00007ffff746219d in QAbstractButtonPrivate::click() ()
    at /lib64/libQt5Widgets.so.5
#14 0x00007ffff74623b4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#15 0x00007ffff752cdda in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#16 0x00007ffff73a9b68 in QWidget::event(QEvent*) ()
    at /lib64/libQt5Widgets.so.5
#17 0x00007ffff752ceb9 in QToolButton::event(QEvent*) ()
---Type  to continue, or q  to quit---
    at /lib64/libQt5Widgets.so.5
#18 0x00007ffff736691c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#19 0x00007ffff736c643 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#20 0x00007ffff6a78ccb in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#21 0x00007ffff736b13a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) () at /lib64/libQt5Widgets.so.5
#22 0x00007ffff73c1fd0 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#23 0x00007ffff73c4143 in QWidgetWindow::event(QEvent*) ()
    at /lib64/libQt5Widgets.so.5
#24 0x00007ffff736691c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#25 0x00007ffff736bd60 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#26 0x00007ffff6a78ccb in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#27 0x00007ffff6daa8c3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
    at /lib64/libQt5Gui.so.5
#28 0x00007ffff6dac4a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
    at /lib64/libQt5Gui.so.5
#29 0x00007ffff6d9121f in QWindowSystemInterface::sendWindowSystemEvents(QFlags) ()
    at /lib64/libQt5Gui.so.5
#30 0x00007fffe6aed420 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) ()
    at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#31 0x00007ffff50557fb in g_main_context_dispatch ()
---Type  to continue, or q  to quit---
    at /lib64/libglib-2.0.so.0
#32 0x00007ffff5055b98 in g_main_context_iterate.isra ()
    at /lib64/libglib-2.0.so.0
#33 0x00007ffff5055c4c in g_main_context_iteration ()
    at /lib64/libglib-2.0.so.0
#34 0x00007ffff6ad0d57 in QEventDispatcherGlib::processEvents(QFlags) () at /lib64/libQt5Core.so.5
#35 0x00007ffff6a76562 in QEventLoop::exec(QFlags) () at /lib64/libQt5Core.so.5
#36 0x00007ffff6a7e00c in QCoreApplication::exec() ()
    at /lib64/libQt5Core.so.5
#37 0x00000000004bd14b in VLMCGuimain(int, char**) (argc=1, argv=0x7fffffffdf28) at /home/abhimanyu/gsoc/vlmc/src/Main/main.cpp:169
        app = 
        project = false
        s = 
        w = 
          { = {}, static staticMetaObject = {d = {superdata = 0x7ffff78a1e40 , stringdata = 0x5b5f40 , data = 0x5b6580 , static_metacall = 0x54c786 , relatedMetaObjects = 0x0, extradata = 0x0}}, m_ui = { = {actionAbout = 0x8aae00, actionHelp = 0x8ad190, actionPreferences = 0x8afe60, actionPreview = 0x8b00c0, actionNew_Project = 0x8ad320, actionFullscreen = 0x8ad540, actionRender = 0x8ad4f0, actionLoad_Project = 0x8aea80, actionSave = 0x8aadb0, actionImport = 0x8ad6c0, actionProject_Preferences = 0x8ad8e0, actionSave_As = 0x8ada70, actionClose_Project = 0x8adbc0, actionCrash = 0x8adcf0, actionUndo = 0x8ade70, actionRedo = 0x8b4e00, actionShare_On_Internet = 0x8b4e20, actionQuit = 0x8b7d40, actionSelection_mode = 0x8b5310, actionCut_mode = 0x8ade20, centralwidget = 0x88e590, menubar = 0x8adcb0, menuEdit = 0x86b660, menuHelp = 0x8a0870, menuF---Type  to continue, or q  to quit---
ile = 0x8cc990, menu_Export = 0x8cd360, menuWindow = 0x8ce5c0, menuView = 0x8ceaf0, menuTools = 0x8cf020, statusbar = 0x8cf5e0, toolBar = 0x6844b0}, }, m_zoomSlider = 0xb30b70, m_timeline = 0x9a0150, m_backend = 0x7e2760, m_clipPreview = 0x12526e0, m_projectPreview = 0x125ef30, m_fileRenderer = 0x170e4e0, m_globalPreferences = 0x96c1f0, m_DefaultProjectPreferences = 0x0, m_projectPreferences = 0x12d2180, m_wizard = 0xacabe0, m_importController = 0xebd3e0, m_mediaLibrary = 0x12435d0, m_effectsList = 0x123f000, m_undoView = 0xab41a0, m_dockedUndoView = 0xb31e20, m_dockedEffectsList = 0xaedf60, m_dockedLibrary = 0xaf5de0, m_dockedClipPreview = 0xac45d0, m_dockedProjectPreview = 0xab0990}
        backend = 0x7e2760
#38 0x00000000004bd348 in VLMCmain(int, char**) (argc=1, argv=0x7fffffffdf28) at /home/abhimanyu/gsoc/vlmc/src/Main/main.cpp:212
        res = 1
#39 0x00000000004dcdbc in main(int, char**) (argc=1, argv=0x7fffffffdf28) at /home/abhimanyu/gsoc/vlmc/src/Main/vlmc.cpp:156