Hi folks. I think we've got this now, in git master :-)
I rewrote how we delete things when closing the gui.
I believe it's correct now.
Tests OK with AMSynth, Calf, Synthv1.
Bonus: Since we use GtkPlug for our plugin gui container window,
I found out it is better than using GtkWindow. (I tried it.)
For example using GtkWindow, AMSynth fails to embed into the
container window resulting in /two/ separate windows on screen.
While with our GtkPlug it opens fine all the time :-)
Still, I added two #defines in there:
LV2_GUI_USE_GTKPLUG (enabled by default)
and
LV2_GUI_USE_QWIDGET (disabled by default)
The latter define tells MusE to use QWidget instead of
QMainWindow for a plugin gui container.
I found there was no difference so I left it at what
we have always used, the QMainWindow.
Yay. Try 'er out guys!
Lemme know how it goes.
Tim.
On 09/23/2017 08:32 PM, Martin Drautzburg wrote:
This is about
Linux Music Editor; |Version 3.0.0pre2|, (git: master - 97c0b753 -
2017-06-09 01:47:27 -0400)
Ever since I updated to |debian stretch|, |kernel 4.9.0-3-rt-amd64| and
recompiled muse, muse crashes 49 out of 50 times when I close a LV2
plugin (native gui). See the transcript below for what muse writes when
I start muse, open a LV2 native GUI and close the LV2 GUI.
It doesn't matter if I close it via its window close button or by
clicking on its name in the effect rack. And it also happens with the
GUIs of the LV2 "synths".
Starting with a clean slate by clearing my .config/MusE folder and
starting with one of the provided templates still produces the crash.
Compiling MusE with the "|supplied|" lv2 support failes with two errors
like:
|/usr/src/sound.d/muse/muse3/muse/lv2Support/lilv-0.22.0/src/world.c:584:1:
error: conflicting types for ‘lilv_world_load_bundle’
lilv_world_load_bundle(LilvWorld* world, LilvNode* bundle_uri)
^~~~~~~~~~~~~~~~~~~~~~ In file included from
/usr/src/sound.d/muse/muse3/muse/lv2Support/lilv-0.22.0/src/lilv_internal.h:58:0,
from
/usr/src/sound.d/muse/muse3/muse/lv2Support/lilv-0.22.0/src/world.c:24:
/usr/include/lilv-0/lilv/lilv.h:582:1: note: previous declaration of
‘lilv_world_load_bundle’ was here |
I then tried to downgrade liblilv from 0.24.2-dfg0-1(stable) to
0.20.2-dfg0-1 (oldstable), but I still couldn't compile.
* As a side-note: how can I make muse save my window layout? It tends
to start with a ridiculously narrow track-list and an impractical
zoom, even after I resized things and saved the song.
*Transscript*
|Config File </home/martin/.config/MusE/MusE.cfg> LOCALE C Denormal
protection enabled. Trying RTC timer... got timer = 23 string2sysex:
Cannot convert string to sysex r ct bn bt f7 LV2: Example Sampler:
Required feature: http://lv2plug.in/ns/ext/state#loadDefaultState: not
supported! JACK: buffersize changed 256 INFO: Requested timer
frequency:1024 actual:1024 Aquired timer frequency: 1024 starting with
selected song /music/2017-Aquilles/AdiosValparaiso.med Setting project
path to /home/martin/.config/MusE/templates
PluginI:loadControl(Temperature ?C, 20.000000) controller not found
fluidsynth sampleRate 44100 projPathPtr / SOUNDFONT FILENAME + PATH
/music/sf/GeneralUser GS 1.44 FluidSynth/GeneralUser GS FluidSynth
v1.44.sf2 fluidsynth sampleRate 44100 projPathPtr / fluidsynth
sampleRate 44100 projPathPtr / fluidsynth sampleRate 44100 projPathPtr /
SOUNDFONT FILENAME + PATH /music/sf/GeneralUser GS 1.44
FluidSynth/GeneralUser GS FluidSynth v1.44.sf2 (muse3:7960):
libInstPatch-WARNING **: Invalid loop for sample 'Power Snare 2'
(muse3:7960): libInstPatch-WARNING **: Invalid loop for sample
'Xylophone-C7' (muse3:7960): libInstPatch-WARNING **: Invalid loop for
sample 'Power Snare 2' (muse3:7960): libInstPatch-WARNING **: Invalid
loop for sample 'Xylophone-C7' JACK: buffersize changed 256 INFO:
Requested timer frequency:1024 actual:1024 CALF DEBUG: instance
0x55706155f930 data 0x557060555608 CALF DEBUG: calf 0x7fa341903030 cpi
0x7fa340f00f40 Send configures...
LV2PluginWrapper_Window::~LV2PluginWrapper_Window() The program 'muse3'
received an X Window System error. This probably reflects a bug in the
program. The error was 'BadWindow (invalid Window parameter)'. (Details:
serial 593 error_code 3 request_code 10 minor_code 0) (Note to
programmers: normally, X errors are reported asynchronously; that is,
you will receive the error a while after causing it. To debug your
program, run it with the --sync command line option to change this
behavior. You can then get a meaningful backtrace from your debugger if
you break on the gdk_x_error() function.) /home/martin/bin/myMuse: line
12: 7960 Segmentation fault /usr/local/stow/muse3/bin/muse3 -J -N -I -L $* |
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/muse-sequencer/muse/issues/587>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFK9GhJ6LMblF6UhaqHB5O_z8Rn9TAJ-ks5slaM0gaJpZM4Phun0>.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer