Kdenlive   bug tracker Home page

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003264KdenliveEffectspublic2014-04-04 02:292014-05-14 12:42
Reporterpilou 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
Platformamd64OSDebianOS Versionunstable
Product Version0.9.6 
Target VersionFixed in Version 
Summary0003264: Crash on Align Audio
Description
Using kdenlive 0.9.6 (debian package:0.9.6-5), a segfault occurs while trying to align audio clips:

#0 __fill_a<float*, int> (__value=<optimized out>, __last=0x7fff02e3f540, __first=0x7fff02c3f540) at /usr/include/c++/4.8/bits/stl_algobase.h:693
#1 fill<float*, int> (__value=<optimized out>, __last=0x7fff02e3f540, __first=0x7fff02c3f540) at /usr/include/c++/4.8/bits/stl_algobase.h:728
0000002 FFTCorrelation::convolve (left=0x7fff0346b3c0, leftSize=leftSize@entry=163196, right=0x7fff0343f620, rightSize=rightSize@entry=44903, out_convolved=0x7fff0350aa20)
    at /tmp/kdenlive-0.9.6/src/lib/audio/fftCorrelation.cpp:115
0000003 0x00007fd6beef8be0 in FFTCorrelation::correlate (left=left@entry=0x7fd6c1cab820, leftSize=leftSize@entry=163196, right=<optimized out>, rightSize=rightSize@entry=44903,
    out_correlated=out_correlated@entry=0x7fff0350aa20) at /tmp/kdenlive-0.9.6/src/lib/audio/fftCorrelation.cpp:75
0000004 0x00007fd6beef8ce2 in FFTCorrelation::correlate (left=left@entry=0x7fd6c1cab820, leftSize=leftSize@entry=163196, right=<optimized out>, rightSize=rightSize@entry=44903,
    out_correlated=out_correlated@entry=0x7fd6c2507230) at /tmp/kdenlive-0.9.6/src/lib/audio/fftCorrelation.cpp:27
0000005 0x00007fd6beef60d8 in AudioCorrelation::addChild (this=0x7fd6c14859f0, envelope=envelope@entry=0x7fd6c1b4a5b0, useFFT=<optimized out>)
    at /tmp/kdenlive-0.9.6/src/lib/audio/audioCorrelation.cpp:54
0000006 0x00007fd6bf02b472 in CustomTrackView::alignAudio (this=0x7fd6c1223b50) at /tmp/kdenlive-0.9.6/src/customtrackview.cpp:6765
0000007 0x00007fd6bef66d8e in MainWindow::slotAlignAudio (this=this@entry=0x7fd6bfcc0300) at /tmp/kdenlive-0.9.6/src/mainwindow.cpp:3968
0000008 0x00007fd6bef88675 in MainWindow::qt_static_metacall (_o=0x7fd6bfcc0300, _id=<optimized out>, _a=0x7fff035d62a0, _c=<optimized out>)
    at /tmp/kdenlive-0.9.6/obj-x86_64-linux-gnu/src/mainwindow.moc:511
0000009 0x00007fd6bb89a77a in QMetaObject::activate (sender=sender@entry=0x7fd6c10ad460, m=m@entry=0x7fd6bcd181c0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
    argv=argv@entry=0x7fff035d62a0) at kernel/qobject.cpp:3539
0000010 0x00007fd6bc26f572 in QAction::triggered (this=this@entry=0x7fd6c10ad460, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
0000011 0x00007fd6bc270f43 in QAction::activate (this=this@entry=0x7fd6c10ad460, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
0000012 0x00007fd6bc69b2f9 in QMenuPrivate::activateCausedStack (this=this@entry=0x7fd6c11fafb0, causedStack=..., action=action@entry=0x7fd6c10ad460, action_e=action_e@entry=QAction::Trigger,
    self=self@entry=true) at widgets/qmenu.cpp:1038
0000013 0x00007fd6bc69f829 in QMenuPrivate::activateAction (this=0x7fd6c11fafb0, action=0x7fd6c10ad460, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1130
0000014 0x00007fd6bc2c4c9a in QWidget::event (this=this@entry=0x7fd6bfcd0870, event=event@entry=0x7fff035d68e0) at kernel/qwidget.cpp:8376
0000015 0x00007fd6bc6a362b in QMenu::event (this=0x7fd6bfcd0870, e=0x7fff035d68e0) at widgets/qmenu.cpp:2481
0000016 0x00007fd6bc2756cc in QApplicationPrivate::notify_helper (this=this@entry=0x7fd6bfa73360, receiver=receiver@entry=0x7fd6bfcd0870, e=e@entry=0x7fff035d68e0)
    at kernel/qapplication.cpp:4567
0000017 0x00007fd6bc27be7d in QApplication::notify (this=<optimized out>, receiver=0x7fd6bfcd0870, e=0x7fff035d68e0) at kernel/qapplication.cpp:4110
0000018 0x00007fd6be7f646a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
0000019 0x00007fd6bb8864ed in QCoreApplication::notifyInternal (this=0x7fff035d7110, receiver=receiver@entry=0x7fd6bfcd0870, event=event@entry=0x7fff035d68e0) at kernel/qcoreapplication.cpp:953
0000020 0x00007fd6bc27b633 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
0000021 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x7fd6bfcd0870, event=event@entry=0x7fff035d68e0, alienWidget=alienWidget@entry=0x0,
    nativeWidget=nativeWidget@entry=0x7fd6bfcd0870, buttonDown=buttonDown@entry=0x7fd6bcd532d8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true)
    at kernel/qapplication.cpp:3178
0000022 0x00007fd6bc2ed62c in QETWidget::translateMouseEvent (this=this@entry=0x7fd6bfcd0870, event=event@entry=0x7fff035d6c20) at kernel/qapplication_x11.cpp:4474
0000023 0x00007fd6bc2ebd6c in QApplication::x11ProcessEvent (this=0x7fff035d7110, event=event@entry=0x7fff035d6c20) at kernel/qapplication_x11.cpp:3663
0000024 0x00007fd6bc3136c2 in x11EventSourceDispatch (s=0x7fd6bfa72c10, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
0000025 0x00007fd6b5bffe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000026 0x00007fd6b5c00048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000027 0x00007fd6b5c000ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000028 0x00007fd6bb8b3725 in QEventDispatcherGlib::processEvents (this=0x7fd6bfa71ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
0000029 0x00007fd6bc313776 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
0000030 0x00007fd6bb8850bf in QEventLoop::processEvents (this=this@entry=0x7fff035d6ff0, flags=...) at kernel/qeventloop.cpp:149
0000031 0x00007fd6bb8853b5 in QEventLoop::exec (this=this@entry=0x7fff035d6ff0, flags=...) at kernel/qeventloop.cpp:204
0000032 0x00007fd6bb88ab89 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
0000033 0x00007fd6bc273e8c in QApplication::exec () at kernel/qapplication.cpp:3828
0000034 0x00007fd6beed4a42 in main (argc=<optimized out>, argv=<optimized out>) at /tmp/kdenlive-0.9.6/src/main.cpp:89

The segfault occurs with and without f4462e7ecb75f64e524746e3bb7c62a5e973d965 applied.
Steps To Reproduce1. Add one video (2.1Go, video 1 track) and one audio clip (1.2Go, audio 1 track) to the project
3. Select "audio 1" track and "Set audio reference"
4. Select "video 1" track and "Align audio to reference"
5. a segfault occurs:

[wav @ 0x7fa90b24bec0] max_analyze_duration reached
[wav @ 0x7fa90a5f14a0] max_analyze_duration reached
Loading envelope ...
[wav @ 0x7fa90b25e900] max_analyze_duration reached
[wav @ 0x7fa90b25ee40] max_analyze_duration reached
Calculating the envelope (163196 frames) took 17141 ms.
Loading envelope ...
Calculating the envelope (44903 frames) took 14779 ms.
Segmentation Fault (core dumped)
Tagssegfault
Build/Install MethodDistribution package
Attached Filespatch file icon 0001-large-array-use-dynamic-memory-instead-of-stack.patch [^] (1,326 bytes) 2014-05-14 12:40 [Show Content]

- Relationships

-  Notes
(0010051)
pilou (reporter)
2014-05-14 12:42

Patch added. Alignment feature works very well with this patch.

- Issue History
Date Modified Username Field Change
2014-04-04 02:29 pilou New Issue
2014-05-14 12:40 pilou File Added: 0001-large-array-use-dynamic-memory-instead-of-stack.patch
2014-05-14 12:40 pilou Tag Attached: segfault
2014-05-14 12:42 pilou Note Added: 0010051


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker