DISTRHO / DISTRHO-Ports

Linux audio plugins and LV2 ports
http://distrho.sourceforge.net/ports
252 stars 44 forks source link

drumsynth segfault #47

Open KottV opened 4 years ago

KottV commented 4 years ago

Hi,

I've found that drumsynth hangs Tracktion. When testing it via pluginval it crashes with broken pipe:

Starting test: pluginval / Scan for known types: /home/kv/src/audio/DISTRHO-Ports/bin/vst/drumsynth_debug.so...

Thread 5 "IPC ping" received signal SIGPIPE, Broken pipe. [Switching to Thread 0x7ffff6591700 (LWP 2520)] 0x00007ffff7bc6fcf in write () from /lib64/libpthread.so.0 Missing separate debuginfos, use: zypper install krb5-debuginfo-1.17.1-1.1.x86_64 libX11-6-debuginfo-1.6.9-1.1.x86_64 libXau6-debuginfo-1.0.9-1.4.x86_64 libXext6-debuginfo-1.3.4-1.4.x86_64 libXinerama1-debuginfo-1.1.4-1.5.x86_64 libbz2-1-debuginfo-1.0.8-2.1.x86_64 libcom_err2-debuginfo-1.45.5-1.1.x86_64 libcurl4-debuginfo-7.68.0-1.1.x86_64 libfreetype6-debuginfo-2.10.1-2.1.x86_64 libgcc_s1-debuginfo-9.2.1+r280037-1.3.x86_64 libidn2-0-debuginfo-2.3.0-1.1.x86_64 libkeyutils1-debuginfo-1.6-1.3.x86_64 libldap-2_4-2-debuginfo-2.4.48-50.1.x86_64 libnghttp2-14-debuginfo-1.40.0-1.1.x86_64 libopenssl1_1-debuginfo-1.1.1d-3.1.x86_64 libpng16-16-debuginfo-1.6.37-1.4.x86_64 libsasl2-3-debuginfo-2.1.27-3.1.x86_64 libselinux1-debuginfo-2.9-7.1.x86_64 libssh4-debuginfo-0.9.3-1.1.x86_64 libstdc++6-debuginfo-9.2.1+r280037-1.3.x86_64 libunistring2-debuginfo-0.9.10-2.5.x86_64 libxcb1-debuginfo-1.13.1-1.1.x86_64 libz1-debuginfo-1.2.11-12.1.x86_64 (gdb) bt

0 0x00007ffff7bc6fcf in write () from /lib64/libpthread.so.0

1 0x000000000060a371 in juce::NamedPipe::Pimpl::write (this=0xdd7020, sourceBuffer=0x7fffe8000ba0 "\004\257+q\b", numBytesToWrite=16, timeOutMilliseconds=2000) at ../../modules/juce/modules/juce_core/native/juce_posix_NamedPipe.cpp:96

2 0x00000000005e15e0 in juce::NamedPipe::write (this=0xdd7b90, sourceBuffer=0x7fffe8000ba0, numBytesToWrite=16, timeOutMilliseconds=2000) at ../../modules/juce/modules/juce_core/native/juce_posix_NamedPipe.cpp:242

3 0x000000000064c581 in juce::InterprocessConnection::writeData (this=0xdd8760, data=0x7fffe8000ba0, dataSize=16) at ../../modules/juce/modules/juce_events/interprocess/juce_InterprocessConnection.cpp:173

4 0x000000000064c48e in juce::InterprocessConnection::sendMessage (this=0xdd8760, message=...) at ../../modules/juce/modules/juce_events/interprocess/juce_InterprocessConnection.cpp:162

5 0x000000000064d27f in juce::ChildProcessMaster::sendMessageToSlave (this=0xddae40, mb=...) at ../../modules/juce/modules/juce_events/interprocess/juce_ConnectedChildProcess.cpp:135

6 0x0000000000652694 in juce::ChildProcessMaster::Connection::sendPingMessage (this=0xdd8760, m=...) at ../../modules/juce/modules/juce_events/interprocess/juce_ConnectedChildProcess.cpp:106

7 0x0000000000652324 in juce::ChildProcessPingThread::run (this=0xdd87d0) at ../../modules/juce/modules/juce_events/interprocess/juce_ConnectedChildProcess.cpp:71

8 0x00000000005c0418 in juce::Thread::threadEntryPoint (this=0xdd87d0) at ../../modules/juce/modules/juce_core/threads/juce_Thread.cpp:96

9 0x00000000005c04ee in juce::juce_threadEntryPoint (userData=0xdd87d0) at ../../modules/juce/modules/juce_core/threads/juce_Thread.cpp:118

10 0x00000000005e0a7c in juce::threadEntryProc (userData=0xdd87d0) at ../../modules/juce/modules/juce_core/native/juce_posix_SharedCode.h:897

11 0x00007ffff7bbcf2a in start_thread () from /lib64/libpthread.so.0

12 0x00007ffff77a938f in clone () from /lib64/libc.so.6

(gdb) list 169 { 170 auto opts = getPropertiesFileOptions(); 171 return new PropertiesFile (opts.getDefaultFile(), opts); 172 } 173 174 void handleAsyncUpdate() override 175 { 176 commandLineValidator = std::make_unique(); 177 performCommandLine (*commandLineValidator, JUCEApplication::getCommandLineParameters()); 178 } (gdb)