Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Effect Plug-in Error #245

Closed
popsip opened this issue Feb 3, 2014 · 3 comments
Closed

Effect Plug-in Error #245

popsip opened this issue Feb 3, 2014 · 3 comments

Comments

@popsip
Copy link

popsip commented Feb 3, 2014

LMMS crashes when there is an effect plug-in with no “controls” button on it. The crashing occurs when inserting the plug-in and doing the following:

  • Trying to delete the plug-in off Effects Chain.
  • Trying to open a new project.
  • Trying to open an existing project.
  • Trying to exit LMMS.

http://imageshack.us/a/img708/327/ge8.gif is an animation that demonstrates the issue by using a effect plug-in named “Declipper”, then immediately attempt to open an existing project file.

http://imageshack.us/a/img41/5481/ubz.gif is an animation that demonstrates the issue by opening an existing project file that has a VST effect plug-in. The plug-in fails to load and creates a “blank” one in the Effects Chain.

OS: Windows 7
Version: 0.4.15

            Popsip

This bug also occurs in Linux. (The one I'm using is Ubuntu Studios 13.04, Raring Ringtail)

@SadaleNet
Copy link
Contributor

EDIT: Before doing the step below, please download the RC version of the next release and see whether the bug is still here:
https://sourceforge.net/projects/lmms/files/lmms/0.9.90/

If the bug is fixed, please let us know so that admin can close this issue.

I can't reproduce it in 0.4.15 as well as the current dev branch. Can you please give us the gdb output?

In case you don't know how to use it, here is the step to obtain the output:

  • Run gdb lmms
  • Type r and press enter in the gdb console
  • Reproduce the step that crash LMMS
  • After LMMS crashes, type bt in the gdb console
  • Give us all outputs of gdb.

@popsip
Copy link
Author

popsip commented Feb 5, 2014

The "Declipper" plug-in error seemed to only occur in Windows version of LMMS 0.4.15.

I have tried to create the errors again in the Windows version of LMMS 0.9.90. The error that happened with the plug-in "Declipper" seemed to be fixed; however, the VST effect plug-in error still occurred.

I can't test the Linux version of LMMS 0.9.90 because when I try to compile the source, I keep getting a CMake error, but I did reproduce the VST effect plug-in error in 0.4.15 under gdb. This was the output I got from gdb after following all the steps:

popsip@popsip-Inspiron-1440:~$ gdb lmms
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/lmms...(no debugging symbols found)...done.

(gdb) r
Starting program: /usr/bin/lmms
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe45c5700 (LWP 9633)]
[New Thread 0x7fffd6034700 (LWP 9634)]
[New Thread 0x7fffd5833700 (LWP 9635)]
[New Thread 0x7fffd5032700 (LWP 9636)]
[New Thread 0x7fff9c792700 (LWP 9638)]
[New Thread 0x7fff9bf91700 (LWP 9639)]
[New Thread 0x7fff9b486700 (LWP 9640)]
[New Thread 0x7fff9ac85700 (LWP 9641)]
[New Thread 0x7fff9a041700 (LWP 9642)]
[New Thread 0x7fff99840700 (LWP 9644)]
RemotePluginClient::shmget: No such file or directory
RemoteVstPlugin.cpp::shmget: No such file or directory
RemoteVstPlugin.cpp: Failed to initialize shared memory for VST synchronization.
(VST-host synchronization will be disabled)
remote plugin died! invalidating now.
[Thread 0x7fff99840700 (LWP 9644) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffd66e767f in VstEffect::closePlugin() ()
from /usr/lib/lmms/libvsteffect.so
(gdb) bt
#0 0x00007fffd66e767f in VstEffect::closePlugin() ()
from /usr/lib/lmms/libvsteffect.so
#1 0x00007fffd66e8711 in VstEffect::~VstEffect() ()
from /usr/lib/lmms/libvsteffect.so
#2 0x00007fffd66e8799 in VstEffect::~VstEffect() ()
from /usr/lib/lmms/libvsteffect.so
#3 0x0000000000527653 in EffectChain::clear() ()
#4 0x000000000054e82f in FxMixer::clear() ()
#5 0x000000000051d891 in song::clearProject() ()
#6 0x000000000051f1aa in song::loadProject(QString const&) ()
#7 0x00000000004cdf51 in fileBrowserTreeWidget::handleFile(fileItem_, InstrumentTrack_) ()
#8 0x00007ffff69840ef in QMetaObject::activate(QObject_, QMetaObject const_, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9 0x00007ffff765b850 in QTreeWidget::itemDoubleClicked(QTreeWidgetItem_, int)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007ffff69840ef in QMetaObject::activate(QObject_, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007ffff75e7495 in QAbstractItemView::doubleClicked(QModelIndex const&)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007ffff762ed8d in QTreeView::mouseDoubleClickEvent(QMouseEvent_) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007ffff7128aa2 in QWidget::event(QEvent_) ()
---Type to continue, or q to quit---
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007ffff74db486 in QFrame::event(QEvent_) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007ffff75f1a2b in QAbstractItemView::viewportEvent(QEvent_) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007ffff76316d1 in QTreeView::viewportEvent(QEvent_) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007ffff696f7a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff70db8bc in QApplicationPrivate::notify_helper(QObject_, QEvent_)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007ffff70dea33 in QApplication::notify(QObject_, QEvent_) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ffff696f63e in QCoreApplication::notifyInternal(QObject_, QEvent_)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007ffff70e1933 in QApplicationPrivate::sendMouseEvent(QWidget_, QMouseEvent_, QWidget_, QWidget_, QWidget__, QPointer&, bool) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007ffff7156e54 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007ffff7155e81 in QApplication::x11ProcessEvent(XEvent) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007ffff7181042 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007ffff39e8f05 in g_main_context_dispatch ()
---Type to continue, or q to quit---
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff39e9248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff39e9304 in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ffff699e016 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007ffff718113e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007ffff696e38f in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007ffff696e618 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007ffff6973cf6 in QCoreApplication::exec() ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x000000000047b1ef in main ()
(gdb)

@popsip
Copy link
Author

popsip commented Feb 5, 2014

This is how I produced the VST effect plug-in error:

  1. In LMMS, click "Edit" on the menu bar.
  2. Click "Settings"
  3. Click the folder icon.
  4. Change the VST-Plugin Directory to a different location that doesn't have any VST .dll files and save the change.
  5. Restart LMMS.
  6. Open a project that has at least one VST effect plug-in in it.
  7. After you clicked "OK" on the "Failed loading VST-plugin" message(s), try to do any of the following:

Delete the VST effect plug-in off Effects Chain.
Open a new project.
Open an existing project.
Exit LMMS.
8. LMMS has crashed.

@tobydox tobydox closed this as completed in f44843d Feb 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants