{"action":"created","issue":{"url":"https://api.github.com/repos/LMMS/lmms/issues/1758","labels_url":"https://api.github.com/repos/LMMS/lmms/issues/1758/labels{/name}","comments_url":"https://api.github.com/repos/LMMS/lmms/issues/1758/comments","events_url":"https://api.github.com/repos/LMMS/lmms/issues/1758/events","html_url":"https://github.com/LMMS/lmms/issues/1758","id":57270896,"number":1758,"title":"ZynAddSubFX crashes LMMS","user":{"login":"pbella","id":1817202,"avatar_url":"https://avatars.githubusercontent.com/u/1817202?v=3","gravatar_id":"","url":"https://api.github.com/users/pbella","html_url":"https://github.com/pbella","followers_url":"https://api.github.com/users/pbella/followers","following_url":"https://api.github.com/users/pbella/following{/other_user}","gists_url":"https://api.github.com/users/pbella/gists{/gist_id}","starred_url":"https://api.github.com/users/pbella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbella/subscriptions","organizations_url":"https://api.github.com/users/pbella/orgs","repos_url":"https://api.github.com/users/pbella/repos","events_url":"https://api.github.com/users/pbella/events{/privacy}","received_events_url":"https://api.github.com/users/pbella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-02-11T03:02:23Z","updated_at":"2015-03-08T20:48:18Z","closed_at":null,"body":"I've been noticing that Zyn periodically crashes LMMS on Linux after anywhere several minutes to an hour or so of use.  The latest crash occurred after an extended period of inactivity.  gdb output\r\n\r\n```\r\n(gdb) r\r\nStarting program: /usr/bin/lmms \r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\nGot bus address:  \"unix:abstract=/tmp/dbus-AAmbwZTo4Z,guid=04a12a1fc75934eb01adad3754da5c97\" \r\nConnected to accessibility bus at:  \"unix:abstract=/tmp/dbus-AAmbwZTo4Z,guid=04a12a1fc75934eb01adad3754da5c97\" \r\nRegistered DEC:  true \r\n[New Thread 0x7fffd5ca6700 (LWP 5162)]\r\n[New Thread 0x7fffcd4a5700 (LWP 5163)]\r\n[New Thread 0x7fffd54a5700 (LWP 5164)]\r\n[New Thread 0x7fffd4ca4700 (LWP 5165)]\r\n[New Thread 0x7fffcffff700 (LWP 5166)]\r\n[New Thread 0x7fffcf7fe700 (LWP 5167)]\r\n[New Thread 0x7fffceffd700 (LWP 5168)]\r\nVST sync support disabled in your configuration\r\n[New Thread 0x7fff90d90700 (LWP 5169)]\r\nCouldn't create MIDI-client, neither with ALSA nor with OSS. Will use dummy-MIDI-client.\r\n[New Thread 0x7fff8bfff700 (LWP 5170)]\r\n[New Thread 0x7fff8b7fe700 (LWP 5171)]\r\n[New Thread 0x7fff8a8cd700 (LWP 5173)]\r\n[New Thread 0x7fff8a0cc700 (LWP 5175)]\r\nRemotePluginClient::shmget: No such file or directory\r\nStarting Audio: NULL\r\nAudio Started\r\nStarting MIDI: NULL\r\nMIDI Started\r\nWARNING - too late\r\nWARNING - too late\r\nWARNING - too late\r\n[Thread 0x7fff8a0cc700 (LWP 5175) exited]\r\n[New Thread 0x7fff8a0cc700 (LWP 6816)]\r\n[New Thread 0x7fff898cb700 (LWP 6817)]\r\n[Thread 0x7fff8a0cc700 (LWP 6816) exited]\r\n[Thread 0x7fff898cb700 (LWP 6817) exited]\r\n[New Thread 0x7fff898cb700 (LWP 6820)]\r\nRemotePluginClient::shmget: No such file or directory\r\nStarting Audio: NULL\r\nAudio Started\r\nStarting MIDI: NULL\r\nMIDI Started\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n[Switching to Thread 0x7fff8bfff700 (LWP 5170)]\r\n0x0000000000535961 in FxMixer::masterMix(float (*) [2]) ()\r\n(gdb) WARNING - too late\r\n\r\n(gdb) thread apply all backtrace\r\n\r\nThread 16 (Thread 0x7fff898cb700 (LWP 6820)):\r\n#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()\r\n    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238\r\n#1  0x00007ffff6816eca in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#2  0x00007ffff681778d in QThread::msleep(unsigned long) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#3  0x000000000051e60a in ProcessWatcher::run() ()\r\n#4  0x00007ffff68183ef in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#5  0x00007ffff7bc70a4 in start_thread (arg=0x7fff898cb700)\r\n    at pthread_create.c:309\r\n#6  0x00007ffff4e4eccd in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 12 (Thread 0x7fff8a8cd700 (LWP 5173)):\r\n#0  0x00007ffff4e47f33 in select () at ../sysdeps/unix/syscall-template.S:81\r\n#1  0x00007ffff68fdc0f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#2  0x00007ffff68183ef in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#3  0x00007ffff7bc70a4 in start_thread (arg=0x7fff8a8cd700)\r\n    at pthread_create.c:309\r\n#4  0x00007ffff4e4eccd in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 11 (Thread 0x7fff8b7fe700 (LWP 5171)):\r\n#0  pthread_cond_wait@@GLIBC_2.3.2 ()\r\n    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\r\n#1  0x00007ffff6818946 in QWaitCondition::wait(QMutex*, unsigned long) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#2  0x00007ffff681477b in QSemaphore::acquire(int) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#3  0x0000000000541aff in AudioDevice::getNextBuffer(float (*) [2]) ()\r\n#4  0x000000000053bc60 in AudioAlsa::run() ()\r\n#5  0x00007ffff68183ef in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#6  0x00007ffff7bc70a4 in start_thread (arg=0x7fff8b7fe700)\r\n    at pthread_create.c:309\r\n#7  0x00007ffff4e4eccd in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 10 (Thread 0x7fff8bfff700 (LWP 5170)):\r\n#0  0x0000000000535961 in FxMixer::masterMix(float (*) [2]) ()\r\n#1  0x000000000052e27a in Mixer::renderNextBuffer() ()\r\n#2  0x000000000052e4c4 in Mixer::fifoWriter::run() ()\r\n#3  0x00007ffff68183ef in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#4  0x00007ffff7bc70a4 in start_thread (arg=0x7fff8bfff700)\r\n    at pthread_create.c:309\r\n#5  0x00007ffff4e4eccd in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 9 (Thread 0x7fff90d90700 (LWP 5169)):\r\n---Type <return> to continue, or q <return> to quit---\r\n#0  0x00007ffff4e4618d in poll () at ../sysdeps/unix/syscall-template.S:81\r\n#1  0x00007ffff5dbacc1 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0\r\n#2  0x00007ffff5dac2a1 in pa_mainloop_poll ()\r\n   from /usr/lib/x86_64-linux-gnu/libpulse.so.0\r\n#3  0x00007ffff5dac93e in pa_mainloop_iterate ()\r\n   from /usr/lib/x86_64-linux-gnu/libpulse.so.0\r\n#4  0x00007ffff5dac9f0 in pa_mainloop_run ()\r\n   from /usr/lib/x86_64-linux-gnu/libpulse.so.0\r\n#5  0x00007ffff5dbac56 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0\r\n#6  0x00007ffff1f8fa98 in ?? ()\r\n   from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-5.0.so\r\n#7  0x00007ffff7bc70a4 in start_thread (arg=0x7fff90d90700)\r\n    at pthread_create.c:309\r\n#8  0x00007ffff4e4eccd in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 8 (Thread 0x7fffceffd700 (LWP 5168)):\r\n#0  pthread_cond_wait@@GLIBC_2.3.2 ()\r\n    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\r\n#1  0x00007ffff6818946 in QWaitCondition::wait(QMutex*, unsigned long) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#2  0x0000000000562053 in MixerWorkerThread::run() ()\r\n#3  0x00007ffff68183ef in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#4  0x00007ffff7bc70a4 in start_thread (arg=0x7fffceffd700)\r\n    at pthread_create.c:309\r\n#5  0x00007ffff4e4eccd in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 7 (Thread 0x7fffcf7fe700 (LWP 5167)):\r\n#0  pthread_cond_wait@@GLIBC_2.3.2 ()\r\n    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\r\n#1  0x00007ffff6818946 in QWaitCondition::wait(QMutex*, unsigned long) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#2  0x0000000000562053 in MixerWorkerThread::run() ()\r\n#3  0x00007ffff68183ef in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#4  0x00007ffff7bc70a4 in start_thread (arg=0x7fffcf7fe700)\r\n    at pthread_create.c:309\r\n#5  0x00007ffff4e4eccd in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 6 (Thread 0x7fffcffff700 (LWP 5166)):\r\n#0  pthread_cond_wait@@GLIBC_2.3.2 ()\r\n    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\r\n#1  0x00007ffff6818946 in QWaitCondition::wait(QMutex*, unsigned long) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#2  0x0000000000562053 in MixerWorkerThread::run() ()\r\n#3  0x00007ffff68183ef in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#4  0x00007ffff7bc70a4 in start_thread (arg=0x7fffcffff700)\r\n    at pthread_create.c:309\r\n---Type <return> to continue, or q <return> to quit---\r\n#5  0x00007ffff4e4eccd in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 5 (Thread 0x7fffd4ca4700 (LWP 5165)):\r\n#0  pthread_cond_wait@@GLIBC_2.3.2 ()\r\n    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\r\n#1  0x00007ffff6818946 in QWaitCondition::wait(QMutex*, unsigned long) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#2  0x0000000000562053 in MixerWorkerThread::run() ()\r\n#3  0x00007ffff68183ef in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#4  0x00007ffff7bc70a4 in start_thread (arg=0x7fffd4ca4700)\r\n    at pthread_create.c:309\r\n#5  0x00007ffff4e4eccd in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 4 (Thread 0x7fffd54a5700 (LWP 5164)):\r\n#0  pthread_cond_wait@@GLIBC_2.3.2 ()\r\n    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\r\n#1  0x00007ffff6818946 in QWaitCondition::wait(QMutex*, unsigned long) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#2  0x0000000000562053 in MixerWorkerThread::run() ()\r\n#3  0x00007ffff68183ef in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#4  0x00007ffff7bc70a4 in start_thread (arg=0x7fffd54a5700)\r\n    at pthread_create.c:309\r\n#5  0x00007ffff4e4eccd in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 3 (Thread 0x7fffcd4a5700 (LWP 5163)):\r\n#0  pthread_cond_wait@@GLIBC_2.3.2 ()\r\n    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\r\n#1  0x00007ffff6818946 in QWaitCondition::wait(QMutex*, unsigned long) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#2  0x0000000000562053 in MixerWorkerThread::run() ()\r\n#3  0x00007ffff68183ef in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#4  0x00007ffff7bc70a4 in start_thread (arg=0x7fffcd4a5700)\r\n    at pthread_create.c:309\r\n#5  0x00007ffff4e4eccd in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 2 (Thread 0x7fffd5ca6700 (LWP 5162)):\r\n#0  pthread_cond_wait@@GLIBC_2.3.2 ()\r\n    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\r\n#1  0x00007ffff6818946 in QWaitCondition::wait(QMutex*, unsigned long) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#2  0x0000000000562053 in MixerWorkerThread::run() ()\r\n#3  0x00007ffff68183ef in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#4  0x00007ffff7bc70a4 in start_thread (arg=0x7fffd5ca6700)\r\n    at pthread_create.c:309\r\n#5  0x00007ffff4e4eccd in clone ()\r\n---Type <return> to continue, or q <return> to quit---\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 1 (Thread 0x7ffff7fab7c0 (LWP 5158)):\r\n#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38\r\n#1  0x00007ffff6816d52 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#2  0x00007ffff681312d in QMutex::lock() ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#3  0x00000000004bd76f in visualizationWidget::updateAudioBuffer() ()\r\n#4  0x00000000004bdbcc in visualizationWidget::qt_metacall(QMetaObject::Call, int, void**) ()\r\n#5  0x00007ffff693b641 in QObject::event(QEvent*) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#6  0x00007ffff70ec9f3 in QWidget::event(QEvent*) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4\r\n#7  0x00007ffff709929c in QApplicationPrivate::notify_helper(QObject*, QEvent*)\r\n    () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4\r\n#8  0x00007ffff709fda8 in QApplication::notify(QObject*, QEvent*) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4\r\n#9  0x00007ffff6921f8d in QCoreApplication::notifyInternal(QObject*, QEvent*)\r\n    () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#10 0x00007ffff6925821 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#11 0x00007ffff69513a3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#12 0x00007ffff464cc5d in g_main_context_dispatch ()\r\n   from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#13 0x00007ffff464cf48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#14 0x00007ffff464cffc in g_main_context_iteration ()\r\n   from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#15 0x00007ffff69514ed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#16 0x00007ffff713db96 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4\r\n#17 0x00007ffff6920ae1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#18 0x00007ffff6920e45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#19 0x00007ffff69268b9 in QCoreApplication::exec() ()\r\n   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4\r\n#20 0x000000000048e948 in main ()\r\n```"},"comment":{"url":"https://api.github.com/repos/LMMS/lmms/issues/comments/77773245","html_url":"https://github.com/LMMS/lmms/issues/1758#issuecomment-77773245","issue_url":"https://api.github.com/repos/LMMS/lmms/issues/1758","id":77773245,"user":{"login":"pbella","id":1817202,"avatar_url":"https://avatars.githubusercontent.com/u/1817202?v=3","gravatar_id":"","url":"https://api.github.com/users/pbella","html_url":"https://github.com/pbella","followers_url":"https://api.github.com/users/pbella/followers","following_url":"https://api.github.com/users/pbella/following{/other_user}","gists_url":"https://api.github.com/users/pbella/gists{/gist_id}","starred_url":"https://api.github.com/users/pbella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbella/subscriptions","organizations_url":"https://api.github.com/users/pbella/orgs","repos_url":"https://api.github.com/users/pbella/repos","events_url":"https://api.github.com/users/pbella/events{/privacy}","received_events_url":"https://api.github.com/users/pbella/received_events","type":"User","site_admin":false},"created_at":"2015-03-08T20:48:18Z","updated_at":"2015-03-08T20:48:18Z","body":"Sorry for the delay, getting over a cold.  I'm trying to update my repo to the latest and try again as you requested.  However, there appears to be a change in the git repo as the stable-1.1 branch no longer exists... should I be checking out a specific tag or is building the master branch now the correct approach?"}}