jagernot / din

Automatically exported from code.google.com/p/din
0 stars 0 forks source link

Segmentation fault on ubuntu studio 12.04 x64 #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.install din(i tried the deb package and to compile it from source. in both 
cases the problam remain) 
2.start din 
3.Segmentation fault 

What is the expected output? What do you see instead?

yaniv@yaniv:~$ din
<<< using data files in /home/yaniv/.din/ >>>
<<< loading globals, done >>>
<< loading audio prefs from: /home/yaniv/.din/jack_prefs, done. >>>
*** connecting to JACK server ***
+++ connected to JACK server as: din +++
+++ opened input & output ports +++
+++ opened MIDI port +++
+++ sample rate is 44100 Hz +++
+++ opened JACK connection +++
<<< loading font from: /home/yaniv/.din/jag.fnt, done. >>>
<<< initialising console, done >>>
<<< loading curve editor settings from: /home/yaniv/.din/delay.ed, done >>>
+++ FFT setup complete +++ 
<<< loaded 102 curves from: waveforms.lib >>>
<<< loading curve editor settings from: /home/yaniv/.din/compressor.ed, done >>>
<<< loading curve editor settings from: /home/yaniv/.din/octave-shift.ed, done 
>>>
<<< loaded 15 curves from: octave-shift-patterns.lib >>>
<<< loading curve editor settings from: /home/yaniv/.din/drone-modulation.ed, 
done >>>
<<< loading curve editor settings from: /home/yaniv/.din/waveform1.ed, done >>>
<<< loading curve editor settings from: /home/yaniv/.din/drone.ed, done >>>
<<< loading curve editor settings from: /home/yaniv/.din/gater.ed, done >>>
<<< loaded 45 curves from: gater-patterns.lib >>>
<<< loading curve editor settings from: /home/yaniv/.din/modulation.ed, done >>>
<<< loading curve editor settings from: /home/yaniv/.din/waveform2.ed, done >>>
<<< loading curve editor settings from: /home/yaniv/.din/attack.ed, done >>>
<<< loading curve editor settings from: /home/yaniv/.din/decay.ed, done >>>
<<< loaded 7 curves from: attack.lib >>>
<<< loaded 6 curves from: decay.lib >>>
<<< loading curve editor settings from: /home/yaniv/.din/velocity.ed, done >>>
<<< loaded 9 curves from: velocity.lib >>>
<<< loading curve editor settings from: /home/yaniv/.din/morse-code.ed, done >>>
+++ created an IRC session +++
*** creating Tcl interpreter ***
+++ added 45 din commands to the Tcl interpreter +++
+++ created Tcl interpreter +++
<<< loading curve editor settings from: /home/yaniv/.din/font.ed, done >>>
<<< mouse parameters:  acceleration:  0/1    threshold:  0 >>> 
<<< loading Tcl init script: done. +++
+++ saved ranges in /home/yaniv/.din/.ranges +++
+++ saved drones in: /home/yaniv/.din/.drone +++
!!! couldnt load custom tuning from: /home/yaniv/.din/blues.intervals; will use 
defaults. +++
*** setting up ranges ***
<< loading ranges from: /home/yaniv/.din/blues.ranges
!!! couldnt load range pos from /home/yaniv/.din/blues.ranges, will use 
defaults +++
+++ setup ranges +++
<<< loading font from: /home/yaniv/.din/jag.fnt, done. >>>
+++ opened GLX visual 0x2b for rendering +++
+++ viewport: 640 480 +++
Cannot read socket fd = 5 err = Interrupted system call
+++ sample rate is 44100 Hz +++
+++ setup audio callbacks (sample rate, buffer size & midi connection) +++
Segmentation fault (core dumped)

And also jack output:

Mon Aug  6 12:03:58 2012: New client 'din' with PID 2314
Mon Aug  6 12:03:58 2012: ERROR: JackEngine::XRun: client = din was 
not run: state = 1
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
12:03:58.819 JACK connection graph change.
12:03:58.875 XRUN callback (1).
12:03:58.882 JACK connection change.
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: 
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Mon Aug  6 12:03:58 2012: ERROR: Cannot read socket fd = 53 err = 
Connection reset by peer
Mon Aug  6 12:03:58 2012: ERROR: NotifyClient fails name = din event = 
2 val1 = 0 val2 = 0
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 52 err = 
Broken pipe
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 53 err = 
Broken pipe
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 53 err = 
Broken pipe
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 53 err = 
Broken pipe
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 53 err = 
Broken pipe
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 53 err = 
Broken pipe
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 53 err = 
Broken pipe
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 53 err = 
Broken pipe
Mon Aug  6 12:03:58 2012: ERROR: Cannot read socket fd = 53 err = 
Broken pipe
Mon Aug  6 12:03:58 2012: ERROR: Could not read result
Mon Aug  6 12:03:58 2012: ERROR: NotifyClient fails name = din event = 
18 val1 = 0 val2 = 0
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 4294967295 
err = Bad file descriptor
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 4294967295 
err = Bad file descriptor
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 4294967295 
err = Bad file descriptor
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 4294967295 
err = Bad file descriptor
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 4294967295 
err = Bad file descriptor
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 4294967295 
err = Bad file descriptor
Mon Aug  6 12:03:58 2012: ERROR: Cannot write socket fd = 4294967295 
err = Bad file descriptor
Mon Aug  6 12:03:58 2012: ERROR: Cannot read socket fd = -1 err = Bad 
file descriptor
Mon Aug  6 12:03:58 2012: ERROR: NotifyClient fails name = din event = 
18 val1 = 1 val2 = 0
Mon Aug  6 12:03:58 2012: ERROR: Failed to find port 'din:midi' to 
destroy
Mon Aug  6 12:03:58 2012: ERROR: Failed to find port 'din:L' to 
destroy
Mon Aug  6 12:03:58 2012: ERROR: Failed to find port 'din:R' to 
destroy
Mon Aug  6 12:03:58 2012: Client 'din' with PID 2314 is out

What version of the product are you using? On what operating system?
din 3.5
Ubuntu Studio 12.0 amd64

Original issue reported on code.google.com by shpit...@gmail.com on 6 Aug 2012 at 9:33

GoogleCodeExporter commented 9 years ago
Forgot to mention that i tried to reset to factory settings but it didn't help

Original comment by shpit...@gmail.com on 6 Aug 2012 at 9:39

GoogleCodeExporter commented 9 years ago
I get the same thing, also Ubuntu 12.04.1 64-bit with source from 
din-5.0.tar.gz.  Removing the ~/.din also didn't help, though I did try to 
install it to a non-standard directory first (./configure --prefix=blah) and 
then later attempted to delete that after doing regular install hoping that 
would work.

I installed libjack-jackd2-dev jackd2 since going back to the other jackd 
forced the removal of the newer libjack.

Original comment by wsa...@gmail.com on 7 Mar 2013 at 11:22

GoogleCodeExporter commented 9 years ago
Tried again with latest source, here is the output:
+++ initialised random number generator +++
<<< using data files in /home/wsl/.din/ >>>
<<< loading globals800 600
, done >>>
<<< loading font from: /home/wsl/.din/jag.fnt, done. >>>
<< loading audio prefs from: /home/wsl/.din/jack_prefs, done. >>>
*** connecting to JACK server ***
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jackdmp 1.9.8
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2011 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
JACK server starting in realtime mode with priority 10
Cannot lock down 82246176 byte memory area (Cannot allocate memory)
control device hw:0
control device hw:0
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
Cannot use real-time scheduling (RR/10)(1: Operation not permitted)
AcquireSelfRealTime error
Cannot lock down 82246176 byte memory area (Cannot allocate memory)
+++ connected to JACK server as: din +++
+++ opened input & output ports +++
+++ opened MIDI port +++
+++ sample rate is 48000 Hz +++
+++ opened JACK connection +++
<<< initialising console, done >>>
<<< loading curve editor settings from: /home/wsl/.din/delay.ed, done >>>
+++ FFT setup complete +++ 
<<< loaded 102 curves from: waveforms.lib >>>
<<< loading curve editor settings from: /home/wsl/.din/compressor.ed, done >>>
<<< loading curve editor settings from: /home/wsl/.din/octave-shift.ed, done >>>
<<< loaded 15 curves from: octave-shift-patterns.lib >>>
<<< loading curve editor settings from: /home/wsl/.din/drone-modulation.ed, 
done >>>
<<< loading curve editor settings from: /home/wsl/.din/waveform1.ed, done >>>
<<< loading curve editor settings from: /home/wsl/.din/drone.ed, done >>>
<<< loading curve editor settings from: /home/wsl/.din/gater.ed, done >>>
<<< loaded 45 curves from: gater-patterns.lib >>>
<<< loading curve editor settings from: /home/wsl/.din/modulation.ed, done >>>
<<< loading curve editor settings from: /home/wsl/.din/waveform2.ed, done >>>
<<< loading curve editor settings from: /home/wsl/.din/attack.ed, done >>>
<<< loading curve editor settings from: /home/wsl/.din/decay.ed, done >>>
<<< loaded 9 curves from: attack.lib >>>
<<< loaded 6 curves from: decay.lib >>>
<<< loading curve editor settings from: /home/wsl/.din/velocity.ed, done >>>
<<< loaded 9 curves from: velocity.lib >>>
<<< loading curve editor settings from: /home/wsl/.din/morse-code.ed, done >>>
+++ created an IRC session +++
*** creating Tcl interpreter ***
+++ added 45 din commands to the Tcl interpreter +++
+++ created Tcl interpreter +++
<<< loading curve editor settings from: /home/wsl/.din/font.ed, done >>>
<<< mouse parameters:  acceleration:  0/1    threshold:  0 >>> 
<<< loading Tcl init script: done. +++
!!! couldnt load custom tuning from: /home/wsl/.din/blues.intervals; will use 
defaults. +++
*** setting up ranges ***
<< loading ranges from: /home/wsl/.din/blues.ranges
!!! couldnt load range pos from /home/wsl/.din/blues.ranges, will use defaults 
+++
+++ setup ranges +++
<<< loading font from: /home/wsl/.din/jag.fnt, done. >>>
+++ opened GLX visual 0x2b for rendering +++
+++ viewport: 800 600 +++
Cannot read socket fd = 5 err = Interrupted system call
+++ sample rate is 48000 Hz +++
+++ setup audio callbacks (sample rate, buffer size & midi connection) +++
Cannot use real-time scheduling (RR/5)(1: Operation not permitted)
JackClient::AcquireSelfRealTime error
JackEngine::XRun: client = din was not run: state = 1
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = din was not run: state = 1
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot read socket fd = 11 err = Connection reset by peer
NotifyClient fails name = din event = 18 val1 = 0 val2 = 0
Cannot write socket fd = 11 err = Broken pipe
Cannot write socket fd = 11 err = Broken pipe
Cannot write socket fd = 11 err = Broken pipe
Cannot write socket fd = 11 err = Broken pipe
Cannot write socket fd = 11 err = Broken pipe
Cannot write socket fd = 11 err = Broken pipe
Cannot write socket fd = 11 err = Broken pipe
Cannot read socket fd = 11 err = Broken pipe
Could not read result
NotifyClient fails name = din event = 18 val1 = 1 val2 = 0
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot read socket fd = -1 err = Bad file descriptor
NotifyClient fails name = din event = 18 val1 = 0 val2 = 0
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot write socket fd = 4294967295 err = Bad file descriptor
Cannot read socket fd = -1 err = Bad file descriptor
NotifyClient fails name = din event = 18 val1 = 1 val2 = 0
Segmentation fault (core dumped)
wsl@big-s:~/other/din-read-only$ JackTemporaryException : now quits...
jack main caught signal 2
control device hw:0
Released audio card Audio0
audio_reservation_finish
control device hw:0

Original comment by wsa...@gmail.com on 7 Mar 2013 at 11:28