Massive X is randomly crashing GigPerformer due to a MUTEX error related to SQLite
One of our customers on tour in Europe has been getting getting random crashes over the last few months, even when he's not playing. GP was just terminating with an "uncaught exception" and with no useful stack trace
By running from the terminal we discovered that the error message was:
libc++abi: terminating due to uncaught exception of type CppSQLite3Exception
Note that we don't use SQLite in our product.
After adding some instrumentation to GP specifically for the customer we discovered the following:
============ std::rethrow_exception
============ catch exception
Exception: mutex lock failed: Invalid argument
The instrumentation ultimately allowed us to find the plugin that was crashing - which turned out to be Massive X as can clearly be seen here
Thread 0 Crashed:: HotFudge Dispatch queue: com.apple.main-thread
0 Massive X 0x168e85bb5 NI_5_15_10_R1::QReadWriteLock::tryLockForWrite(int) + 21
1 Massive X 0x169706da6 NI_5_15_10_R1::QSqlDatabasePrivate::removeDatabase(NI_5_15_10_R1::QString const&) + 54
2 Massive X 0x166e0cef5 Lechtal::MX::DB::ContentDatabase::~ContentDatabase() + 69
3 Massive X 0x166dfb4d2 Lechtal::MX::DB::MasterContentManager<Lechtal::MX::DB::ExpansionContentDescriptor, Lechtal::MX::DB::WavetableContentDescriptor, Lechtal::MX::DB::NoisetableContentDescriptor>::~MasterContentManager() + 194
4 Massive X 0x166dfb67e Lechtal::MX::DB::MXMasterContentManager::~MXMasterContentManager() + 14
Now, I'm hoping that NI will take this seriously and address the issue ASAP — in particular since this is an SQLite crash, I'm betting that it's related to their browser which means that other plugins (e.g, Kontakt) could have this same problem.
In the short term, I'm wondering what could be done to reduce the chances of this issue occurring. Would rebuilding the database help? Could we delete the original database first? Any other ideas?
Answers
-
@dhjdhjdhj In such cases we would definitely recommend a databse reset, it would be the same process outlined in this article: My Massive X Browser is Missing Presets
0 -
Thanks - already tried that - it made no difference unfortunately. This seems like an issue due to multiple instances of the plugin trying to use a shared database.
We are in touch with NI development and they are being wonderfully helpful, though we still haven't solved the problem yet.
0 -
Sorry to hear that didn't help but good to know our devs are aware of the issue and helping.
0
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 62 NI News
- 785 Tech Talks
- 4.1K Native Access
- 16.5K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.7K Kontakt
- 1.6K Reaktor
- 378 Battery 4
- 845 Guitar Rig & FX
- 429 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.8K Maschine
- 7.3K Traktor
- 7.3K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators