On 2017년 07월 21일 13:12, IOhannes m zmölnig wrote:
On 07/21/2017 12:51 PM, IOhannes m zmölnig wrote:
better?
somewhat, but not much.
apart from that:
- what's the output of 'ulimit -a'
- is there a difference if you start jackd with/without realtime settings?
- is there a difference if you start jackd with/without memory locking?
- does it crash if you start Pd without jackd running?
- why don't you get the "Cannot lock down XXX byte memory area
(Operation not permitted)" error (on the console) that i get?
- what's the output of Pd (on the terminal and/or console) if you use a
different backend: './pd -verbose -rt -alsa'
IOhannes, thanks for your patience.
dpkg -S /usr/lib/x86_64-linux-gnu/libjack.so.0 | sed -e 's|:.*|-dbgsym|'
gives
libjack-jackd2-0-dbgsym
Following https://wiki.ubuntu.com/Debug%20Symbol%20Packages the variable $(lsb_release -cs) gives me "sonya" on Mint 18.2, had to change this manually to xenial..... Thinking of not installing Mint the next time or going for something like LMDE, debian or arch... anyway, that's OT. However, I have the KXStudio repositories installed, so the standard Ubuntu debug symbols don't help me, because they are for a different version. I should try downgrading jack, maybe that already solves the issue.
ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 30618 max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 95 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 30618 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
no, still segfaults
different backend: './pd -verbose -rt -alsa'
/pd-0.48-0test3/bin$ ./pd -verbose -rt -alsa sys_audioapi set to 1 input channels = 2, output channels = 2 Pd-0.48.0 ("test3") compiled 22:35:07 Jul 20 2017 port 5401 TCL_LIBRARY="../lib/tcl/library" TK_LIBRARY="../lib/tk/library" wish "../tcl//pd-gui.tcl" 5401 Waiting for connection request... ... connected ../bin/pd-watchdog open: /etc/pd/gem.conf: No such file or directory open: /home/max/.pd/gem.conf: No such file or directory open: ./gem.conf: No such file or directory
Then switching to jack output in Pd for the fun:
Segmentation fault
And in the jack log: Fri Jul 21 13:27:43 2017: ERROR: Cannot read socket fd = 28 err = Broken pipe Fri Jul 21 13:27:43 2017: ERROR: Could not read notification result Fri Jul 21 13:27:43 2017: ERROR: ClientNotify fails name = system notification = 0 val1 = 0 val2 = 0 Fri Jul 21 13:27:43 2017: ERROR: NotifyAddClient new_client fails name = pure_data Fri Jul 21 13:27:43 2017: ERROR: Cannot notify add client Fri Jul 21 13:27:43 2017: ERROR: Cannot create new client Fri Jul 21 13:27:43 2017: ERROR: Cannot write socket fd = 26 err = Broken pipe Fri Jul 21 13:27:43 2017: ERROR: CheckRes error Fri Jul 21 13:27:43 2017: ERROR: JackRequest::ClientOpen write error name = pure_data
no:
./pd Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock open: /etc/pd/gem.conf: No such file or directory open: /home/max/.pd/gem.conf: No such file or directory open: ./gem.conf: No such file or directory
how?