Did some digging.
Verified it's caused by loading Qt4 plugins into Qt5 MusE.

I found this great thread confirming everything that I found:
https://linuxmusicians.com/viewtopic.php?f=24&t=14965&p=69932#p69932

Here's my response to the thread:

========================
Hi!
I just found this thread - after completely verifying everything said here
the hard way.

Yesterday I set out to find out why stock synthv1 + friends were crashing MusE 
here on KUbuntu 15.10.

I suspected it was library symbol conflicts but had thought is was OUR 
symbols.
When we added namespaces to MusE that seemed to cure some problems.
No luck using them in this situation here though. I tried.

Eventually I reasoned it was Qt conflicts, and whittled it down to a simple 
Qt5 Creator application:
dlopen(path-to-synthv1, RTLD_NOW);

Crash. That sucks.
Funny, as soon as I suspected it was a Qt problem, I had very uneasy feelings 
about the whole thing.

So... I may have a solution here :)
In our LV2 code, I hacked lilv_lib_open() and added the RTLD_DEEPBIND.

Success! 

I am at this moment playing synthv1. Nice sound from the start. Old school.

However, attempting to open the GUI crashes, of course :(
But I can still use the MusE generic GUI instead :D

Anyway at least now I can poke around the library + ttls and determine if the
native-GUI open menu item should be greyed out.

I will commit something if this works OK. Stay tuned.

If you guys think this is a bad idea, like if you think some synths might 
still crash upon load, let me know what you think.

Thank you very much to all for the concise information I was looking for here.
It's eye-opening for sure.

========================


Tim.

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to