{"action":"opened","issue":{"url":"https://api.github.com/repos/LMMS/lmms/issues/2317","labels_url":"https://api.github.com/repos/LMMS/lmms/issues/2317/labels{/name}","comments_url":"https://api.github.com/repos/LMMS/lmms/issues/2317/comments","events_url":"https://api.github.com/repos/LMMS/lmms/issues/2317/events","html_url":"https://github.com/LMMS/lmms/issues/2317","id":105040309,"number":2317,"title":"File load causes SIGSEGV in FFTwrapper from zynaddsubfx","user":{"login":"groboclown","id":6464033,"avatar_url":"https://avatars.githubusercontent.com/u/6464033?v=3","gravatar_id":"","url":"https://api.github.com/users/groboclown","html_url":"https://github.com/groboclown","followers_url":"https://api.github.com/users/groboclown/followers","following_url":"https://api.github.com/users/groboclown/following{/other_user}","gists_url":"https://api.github.com/users/groboclown/gists{/gist_id}","starred_url":"https://api.github.com/users/groboclown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groboclown/subscriptions","organizations_url":"https://api.github.com/users/groboclown/orgs","repos_url":"https://api.github.com/users/groboclown/repos","events_url":"https://api.github.com/users/groboclown/events{/privacy}","received_events_url":"https://api.github.com/users/groboclown/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-05T17:59:58Z","updated_at":"2015-09-05T17:59:58Z","closed_at":null,"body":"My older save files (mmpz) are causing sigsegv errors.  The ones with zyn instruments are failing with the backtrace below.\r\n\r\nI uploaded the file that causes the crash to my site: http://groboclown.net/music/lmms/zyn-crash.mmpz\r\n\r\n```\r\n#0  0x00007ffff4154205 in malloc_consolidate () from /lib64/libc.so.6\r\n#1  0x00007ffff41556b2 in _int_malloc () from /lib64/libc.so.6\r\n#2  0x00007ffff415798e in malloc () from /lib64/libc.so.6\r\n#3  0x00007fffde080b25 in fftwf_malloc_plain () from /usr/lib64/libfftw3f.so.3\r\n#4  0x00007fffde084b69 in fftwf_mkstride () from /usr/lib64/libfftw3f.so.3\r\n#5  0x00007fffde08a559 in mkplan () from /usr/lib64/libfftw3f.so.3\r\n#6  0x00007fffde0832b3 in mkplan () from /usr/lib64/libfftw3f.so.3\r\n#7  0x00007fffde0836ef in fftwf_mkplan_d () from /usr/lib64/libfftw3f.so.3\r\n#8  0x00007fffde0c85df in mkplan () from /usr/lib64/libfftw3f.so.3\r\n#9  0x00007fffde082e8c in search0 () from /usr/lib64/libfftw3f.so.3\r\n#10 0x00007fffde083135 in mkplan () from /usr/lib64/libfftw3f.so.3\r\n#11 0x00007fffde1485da in mkplan () from /usr/lib64/libfftw3f.so.3\r\n#12 0x00007fffde1487d4 in fftwf_mkapiplan () from /usr/lib64/libfftw3f.so.3\r\n#13 0x00007fffde14c6d2 in fftwf_plan_many_dft_r2c ()\r\n   from /usr/lib64/libfftw3f.so.3\r\n#14 0x00007fffde14bc64 in fftwf_plan_dft_r2c () from /usr/lib64/libfftw3f.so.3\r\n#15 0x00007fffde14bbc3 in fftwf_plan_dft_r2c_1d ()\r\n   from /usr/lib64/libfftw3f.so.3\r\n#16 0x00007fffbb091d83 in FFTwrapper::FFTwrapper (this=0x49d8e50, \r\n    fftsize_=<optimized out>)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/plugins/zynaddsubfx/zynaddsubfx/src/DSP/FFTwrapper.cpp:36\r\n#17 0x00007fffbb0a2956 in Master::Master (this=0x49db1a0)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/plugins/zynaddsubfx/zynaddsubfx/src/Misc/Master.cpp:60\r\n#18 0x00007fffbb090469 in LocalZynAddSubFx::LocalZynAddSubFx (this=0x49d5250)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/plugins/zynaddsubfx/LocalZynAddSubFx.cpp:82\r\n#19 0x00007fffbac2c89b in ZynAddSubFxInstrument::initPlugin (\r\n    this=this@entry=0x7fffebb17d60)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/plugins/zynaddsubfx/ZynAddSubFx.cpp:459\r\n#20 0x00007fffbac2d9e3 in ZynAddSubFxInstrument::ZynAddSubFxInstrument (\r\n    this=0x7fffebb17d60, _instrumentTrack=0x7fffebb15920)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/plugins/zynaddsubfx/ZynAddSubFx.cpp:121\r\n#21 0x00007fffbac2dc01 in lmms_plugin_main (_data=0x7fffebb15920)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/plugins/zynaddsubfx/ZynAddSubFx.cpp:664\r\n#22 0x000000000052f98d in Plugin::instantiate (pluginName=..., \r\n    parent=0x7fffebb15920, data=0x7fffebb15920)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/Plugin.cpp:125\r\n#23 0x00000000005095f0 in Instrument::instantiate (_plugin_name=..., \r\n    _instrument_track=0x7fffebb15920)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/Instrument.c\r\npp:75\r\n#24 0x0000000000601c6c in InstrumentTrack::loadTrackSpecificSettings (\r\n    this=0x7fffebb15920, thisElement=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/tracks/InstrumentTrack.cpp:771\r\n#25 0x000000000054f453 in Track::loadSettings (this=0x7fffebb15920, \r\n    element=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/Track.cpp:2024\r\n#26 0x00000000005409a0 in SerializingObject::restoreState (\r\n    this=0x7fffebb15940, element=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/SerializingObject.cpp:70\r\n#27 0x0000000000513158 in JournallingObject::restoreState (\r\n    this=0x7fffebb15940, _this=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/JournallingObject.cpp:92\r\n#28 0x000000000054e9c1 in Track::create (element=..., tc=0xa24110)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/Track.cpp:1896\r\n#29 0x0000000000554691 in TrackContainer::loadSettings (this=0xa24110, \r\n    _this=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/TrackContain\r\ner.cpp:123\r\n#30 0x00000000005409a0 in SerializingObject::restoreState (this=0xa24130, \r\n    element=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/SerializingObject.cpp:70\r\n#31 0x0000000000513158 in JournallingObject::restoreState (this=0xa24130, \r\n    _this=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/JournallingObject.cpp:92\r\n#32 0x00000000005fdee4 in BBTrack::loadTrackSpecificSettings (\r\n    this=0x7fffeb7c18e0, _this=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/tracks/BBTrack.cpp:533\r\n#33 0x000000000054f453 in Track::loadSettings (this=0x7fffeb7c18e0, \r\n    element=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/Track.cpp:2024\r\n#34 0x00000000005409a0 in SerializingObject::restoreState (\r\n    this=0x7fffeb7c1900, element=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/SerializingObject.cpp:70\r\n#35 0x0000000000513158 in JournallingObject::restoreState (\r\n    this=0x7fffeb7c1900, _this=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/JournallingObject.cpp:92\r\n#36 0x000000000054e9c1 in Track::create (element=..., tc=0xa471f0)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/Track.cpp:1896\r\n#37 0x0000000000554691 in TrackContainer::loadSettings (this=0xa471f0, \r\n    _this=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/TrackContainer.cpp:123\r\n#38 0x00000000005409a0 in SerializingObject::restoreState (this=0xa47210, \r\n    element=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/SerializingObject.cpp:70\r\n#39 0x0000000000513158 in JournallingObject::restoreState (this=0xa47210, \r\n    _this=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/JournallingObject.cpp:92\r\n#40 0x000000000054366e in Song::loadProject (this=0xa471f0, fileName=...)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/Song.cpp:998\r\n#41 0x0000000000592364 in MainWindow::openRecentlyOpenedProject (\r\n    this=0xaac160, _action=0x14bfac0)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/gui/MainWindow.cp\r\np:869\r\n#42 0x0000000000619ffd in MainWindow::qt_static_metacall (_o=0xaac160, \r\n    _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fffffffcc90)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/build/src/moc_MainWindow.cpp:138\r\n#43 0x00007ffff68a9c28 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4\r\n#44 0x00007ffff7479522 in QMenu::triggered(QAction*) ()\r\n   from /usr/lib64/qt4/libQtGui.so.4\r\n#45 0x00007ffff747a950 in QMenuPrivate::_q_actionTriggered() ()\r\n   from /usr/lib64/qt4/libQtGui.so.4\r\n#46 0x00007ffff68a9c28 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4\r\n#47 0x00007ffff7014fe2 in QAction::triggered(bool) ()\r\n   from /usr/lib64/qt4/libQtGui.so.4\r\n#48 0x00007ffff7016af3 in QAction::activate(QAction::ActionEvent) ()\r\n   from /usr/lib64/qt4/libQtGui.so.4\r\n#49 0x00007ffff74797d9 in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) ()\r\n   from /usr/lib64/qt4/libQtGui.so.4\r\n#50 0x00007ffff747e279 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /usr/lib64/qt4/libQtGui.so.4\r\n#51 0x00007ffff7073cb8 in QWidget::event(QEvent*) ()\r\n   from /usr/lib64/qt4/libQtGui.so.4\r\n#52 0x00007ffff748291b in QMenu::event(QEvent*) ()\r\n   from /usr/lib64/qt4/libQtGui.so.4\r\n#53 0x00007ffff701b791 in QApplicationPrivate::notify_helper(QObject*, QEvent*)\r\n    () from /usr/lib64/qt4/libQtGui.so.4\r\n#54 0x00007ffff7023ff0 in QApplication::notify(QObject*, QEvent*) ()\r\n   from /usr/lib64/qt4/libQtGui.so.4\r\n#55 0x00007ffff689440d in QCoreApplication::notifyInternal(QObject*, QEvent*)\r\n    () from /usr/lib64/qt4/libQtCore.so.4\r\n#56 0x00007ffff7021e42 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()\r\n   from /usr/lib64/qt4/libQtGui.so.4\r\n#57 0x00007ffff709e32c in QETWidget::translateMouseEvent(_XEvent const*) ()\r\n   from /usr/lib64/qt4/libQtGui.so.4\r\n#58 0x00007ffff709c9d1 in QApplication::x11ProcessEvent(_XEvent*) ()\r\n   from /usr/lib64/qt4/libQtGui.so.4\r\n#59 0x00007ffff70c4872 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4\r\n#60 0x00007ffff3dee704 in g_main_context_dispatch ()\r\n   from /usr/lib64/libglib-2.0.so.0\r\n#61 0x00007ffff3dee948 in g_main_context_iterate.isra ()\r\n   from /usr/lib64/libglib-2.0.so.0\r\n#62 0x00007ffff3dee9ec in g_main_context_iteration ()\r\n   from /usr/lib64/libglib-2.0.so.0\r\n#63 0x00007ffff68c3f9e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4\r\n#64 0x00007ffff70c4976 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4\r\n#65 0x00007ffff68927cf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4\r\n#66 0x00007ffff6892a75 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4\r\n#67 0x00007ffff6898a59 in QCoreApplication::exec() ()\r\n   from /usr/lib64/qt4/libQtCore.so.4\r\n#68 0x00000000004d759d in main (argc=1, argv=0x7fffffffdde8)\r\n    at /home/me/software/lmms-git/groboclown-lmms.github/src/core/main.cpp:677\r\n```"}}