Bug#644976: [supercollider] server fails to start

2011-11-12 Thread Simon Wenner

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 16.10.2011 23:13, schrieb Dan S:
 2011/10/11 Simon Wenner simon.wen...@gmail.com:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 Ok,I see. Thanks for the quick reply.

 I tried it interactively and the error looks the same:

 ...
 sc3 s.boot;

 booting 57110
 localhost
 sc3 Cannot connect to server socket err = Connection refused
 Cannot connect to server socket

 OK, I've tested this on a new install (on 32-bit rather than 64-bit,
 but otherwise similar) and I definitely can't reproduce it. Here are
 some reasons why the server might be unable to connect:
 * There might already be a copy of scsynth running (e.g. from a
 previous attempt) -- use top/htop to check, or use killall scsynth
 before trying again.
 * There might be some other service blocking the port (the port is
 listed in the output, 57110) -- use netstat -a to check.
 * There might be some firewall program running or suchlike, or some
 unusual network configuration (e.g. no 'localhost')?

 If any of them turn out to be what's happening for you, please let us
 know. If anyone else can reproduce please tell us.

 Thanks
 Dan

I don't have any other scsynth processes, I have a working 'localhost'
and no firewall.

This bug was caused by Jackd. If yo have a sound chip that is unable
to do full-duplex audio, it just aborts with an assertion
('port_index  fPortMax' failed). This is considered a reasonable
behavior for a sound server.

See Bug #646248.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646248

Simon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOvopiAAoJEMMF4eNtCPQV9bsQAM62AOEE0v3QhTjJn6e+xt6Q
cfEddxumf1tZPB4PDfXwAcEwmLGVB80KD9L5+ZWMCe+kWioqO/VLWAZpdC6J/1Qj
V+EQrKZxA2tAXthG2jTF+AFfwSGzKMm9gJmGX0iIJEt8kMO1WN65O7g48ZBzZic8
3ArHaaf/0cmCJCkCA2ht2FHKBQEnV4e1l1ICo6T193jXjm4VMNEFLz2x5+T7aldL
Z1HX8OdPgVaGpMNg7hHPB1Q9XBuNYBwt5zgUlJWLOb6mB45AnaLKUE+AiWFooq8x
Y//ydPaLwmWd2Az8FdGGTIt3W01/2ZOatR8uWUhRcQEjD/X0FpSrZ4FieBvyq0Ej
Wdtb9Uv4IF/nkLkSOPi8B6rM8XTFmuNgzv1U2oileDzYdCHSGCBezPEmeR3lBtcV
/Ve92u5wYyonHdJIJuXfNIRDkjl+lAJ5jXQ5U8MFpJrabKH4IMlkpfbEfTqp0m5I
uw0/vHaddE78PkzA5MAlHZeXqeBWYogh2ANW3l1Ci+SVD8uWKGP5NUO3v8ewHZIj
Y6frm+sT5w1l8jq7ak9NGFMI77xayu9G2fBCm8uoieUg8wzeyZAJbLFumsbLQO4R
0nTBc5nlGzZwEeRFSpvo9Cha87eWHk3CSFHD6hwcEFdnbZNZV/GmS+484yOcCw97
60HzsPSilLixKuosnXRD
=YV4B
-END PGP SIGNATURE-




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#644976: [supercollider] server fails to start

2011-10-16 Thread Dan S
2011/10/11 Simon Wenner simon.wen...@gmail.com:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 Ok,I see. Thanks for the quick reply.

 I tried it interactively and the error looks the same:

...
 sc3 s.boot;

 booting 57110
 localhost
 sc3 Cannot connect to server socket err = Connection refused
 Cannot connect to server socket

OK, I've tested this on a new install (on 32-bit rather than 64-bit,
but otherwise similar) and I definitely can't reproduce it. Here are
some reasons why the server might be unable to connect:
 * There might already be a copy of scsynth running (e.g. from a
previous attempt) -- use top/htop to check, or use killall scsynth
before trying again.
 * There might be some other service blocking the port (the port is
listed in the output, 57110) -- use netstat -a to check.
 * There might be some firewall program running or suchlike, or some
unusual network configuration (e.g. no 'localhost')?

If any of them turn out to be what's happening for you, please let us
know. If anyone else can reproduce please tell us.

Thanks
Dan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#644976: [supercollider] server fails to start

2011-10-11 Thread Simon Wenner

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Package: supercollider
Version: 1:3.4.4-1
Severity: important

I'm unable to get any supercollider example file running. The server
always fails to start. I tested different ports, started sclang as
root and started jackd manually.

My example sc input file (from the SC tutorial):

s = Server(\myServer, NetAddr(127.0.0.1, 58009));
s.boot;
s.quit;

Error Output:

~$ sclang sclang.test
init_OSC
compiling class library..
NumPrimitives = 548
compiling dir: '/usr/share/SuperCollider/SCClassLibrary'
compiling dir: '/usr/share/SuperCollider/Extensions'
pass 1 done
numentries = 866038 / 10707624 = 0.081
4572 method selectors, 2342 classes
method table size 12713944 bytes, big table size 85660992
Number of Symbols 11134
Byte Code Size 349335
compiled 362 files in 0.53 seconds
compile done
Help tree read from cache in 0.0093131065368652 seconds
LID: event loop started
Class tree inited in 0.03 seconds
WARNING:
GUI.fromID : The GUI scheme 'swing' is not installed
The current scheme is still 'nil'!
Welcome to SuperCollider, for help type ctrl-c ctrl-h (Emacs) or
:SChelp (vim) or ctrl-U (sced/gedit)
booting 58009
/quit sent

Cannot connect to server socket err = Connection refused
Cannot connect to server socket
no message buffer overruns
no message buffer overruns
jackdmp 1.9.7
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
JACK server starting in realtime mode with priority 10
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
JackProcessSync::LockedTimedWait error usec = 500 err = Connection
timed out
Driver is not running
Cannot create new client
JackSocketClientChannel read fail
Cannot open SuperCollider client
could not initialize audio.
jackd: ../common/JackGraphManager.cpp:45: void
Jack::JackGraphManager::AssertPort(jack_port_id_t): Assertion
`port_index  fPortMax' failed.
RESULT = 1
ERROR:
server failed to start


- --- System information. ---
Architecture: amd64
Kernel: Linux 3.0.0-1-amd64

Debian Release: wheezy/sid
990 testing security.debian.org
990 testing mirror.switch.ch
800 unstable mirror.switch.ch
150 experimental mirror.switch.ch

- --- Package information. ---
Depends (Version) | Installed
==-+-==
libc6 (= 2.2.5) | 2.13-21
libgcc1 (= 1:4.1.1) | 1:4.6.1-4
libreadline6 (= 6.0) | 6.2-4
libsclang1 | 1:3.4.4-1
libstdc++6 (= 4.1.1) | 4.6.1-4
supercollider-common (= 1:3.4.4-1) | 1:3.4.4-1
supercollider-server | 1:3.4.4-1


Package's Recommends field is empty.

Suggests (Version) | Installed
-+-===
subversion | 1.6.17dfsg-1
supercollider-doc | 1:3.4.4-1




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOlBvMAAoJEMMF4eNtCPQViOQQAL8XudwmGZ+KSF1PwZrnAXaS
VCoUzqIY08c7QxSyDlrqHOBYVybSo8hf1a1317dfzFPVK4uCTYzfUZgbSSLyuuaJ
MgfAgD1LJsU6PFHuOPB2BF7NoUfZUoM2W06jRquymQ3PC3oR2V9WSofuAa3UnYpe
BV2uns1+vbnXQtaW9jOFxqdADbMJ8aTtj/qoGQvvvGUh9CnEpb9x4HlT6McmW3Wh
hJCqqG6IUt5G/W3FFVlpses7DG4+kNPSOyUyRDdYyhAiaTaoJt0+1Sb65NvZytY1
6XcPLKhl72MT3LTYY6VwAc41ugB7NzWff/rfw8LP5cjvDd+l/srof8WXlpvDVHZB
id+6EaLoa7u0bkmz7cz19gOH61DWf6Ng4VBfmz5Hjg747k6bSFySV/dPXdWsv9Ic
9TUZfj91WgymHQ4s6Yrh2Cz+XpAcY2u/izxDp10oT8B/yysGFS1M0lxuBFpKJCeA
SMOX8Hd4+GjUzFjrI1+RuBtXBHPeTqGkq0inD3mpBX/vjPKTJ6D6yskXtQa+lhMk
VEogGYrYU3iWoUzmcCpPo4YOWVD4d4ScULQCuj7qg6mmNij4CQvW1xJ3y2GAJWAt
POeqoq8KMZahIS+x4odg8iuxJngPOBTGuasrjpOl3AonvdaObe9GbRTEzVc6SbED
7ZynzFGCN7MPQT45HP7D
=re4a
-END PGP SIGNATURE-




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#644976: [supercollider] server fails to start

2011-10-11 Thread Dan S
Hi -

Firstly, it is better to start jackd manually - that's what sc users
normally do, and in particular for bug reports it would be clearer
because jackd's startup procedure doesn't have to be included in the
output. (It should work, though.)

But the more fundamental issue is that booting the server is
asynchronous, so if you run a script which contains s.boot; s.quit;
the language doesn't wait for it to boot before it sends a quit
message. The tutorial you're reading is probably assuming interactive
use rather than a batch script. So I'd be grateful if you could either
test interactively, running something like:

  s.boot;
  // then wait for a happy boot message, then:
  s.quit

or by using a script consisting of this:

  s.waitForBoot{s.quit}

(The waitForBoot message is a convenience method that starts the boot
and then creates a Task which waits until booted before executing the
function.)

Dan



2011/10/11 Simon Wenner simon.wen...@gmail.com:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Package: supercollider
 Version: 1:3.4.4-1
 Severity: important

 I'm unable to get any supercollider example file running. The server
 always fails to start. I tested different ports, started sclang as
 root and started jackd manually.

 My example sc input file (from the SC tutorial):

 s = Server(\myServer, NetAddr(127.0.0.1, 58009));
 s.boot;
 s.quit;

 Error Output:

 ~$ sclang sclang.test
 init_OSC
 compiling class library..
    NumPrimitives = 548
    compiling dir: '/usr/share/SuperCollider/SCClassLibrary'
    compiling dir: '/usr/share/SuperCollider/Extensions'
    pass 1 done
 numentries = 866038 / 10707624 = 0.081
    4572 method selectors, 2342 classes
    method table size 12713944 bytes, big table size 85660992
    Number of Symbols 11134
    Byte Code Size 349335
    compiled 362 files in 0.53 seconds
 compile done
 Help tree read from cache in 0.0093131065368652 seconds
 LID: event loop started
 Class tree inited in 0.03 seconds
 WARNING:
 GUI.fromID : The GUI scheme 'swing' is not installed
 The current scheme is still 'nil'!
 Welcome to SuperCollider, for help type ctrl-c ctrl-h (Emacs) or
 :SChelp (vim) or ctrl-U (sced/gedit)
 booting 58009
 /quit sent

 Cannot connect to server socket err = Connection refused
 Cannot connect to server socket
 no message buffer overruns
 no message buffer overruns
 jackdmp 1.9.7
 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
 JACK server starting in realtime mode with priority 10
 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
 JackProcessSync::LockedTimedWait error usec = 500 err = Connection
 timed out
 Driver is not running
 Cannot create new client
 JackSocketClientChannel read fail
 Cannot open SuperCollider client
 could not initialize audio.
 jackd: ../common/JackGraphManager.cpp:45: void
 Jack::JackGraphManager::AssertPort(jack_port_id_t): Assertion
 `port_index  fPortMax' failed.
 RESULT = 1
 ERROR:
 server failed to start


 - --- System information. ---
 Architecture: amd64
 Kernel: Linux 3.0.0-1-amd64

 Debian Release: wheezy/sid
 990 testing security.debian.org
 990 testing mirror.switch.ch
 800 unstable mirror.switch.ch
 150 experimental mirror.switch.ch

 - --- Package information. ---
 Depends (Version) | Installed
 ==-+-==
 libc6 (= 2.2.5) | 2.13-21
 libgcc1 (= 1:4.1.1) | 1:4.6.1-4
 libreadline6 (= 6.0) | 6.2-4
 libsclang1 | 1:3.4.4-1
 libstdc++6 (= 4.1.1) | 4.6.1-4
 supercollider-common (= 1:3.4.4-1) | 1:3.4.4-1
 supercollider-server | 1:3.4.4-1


 Package's Recommends field is empty.

 Suggests (Version) | Installed
 -+-===
 subversion | 1.6.17dfsg-1
 supercollider-doc | 1:3.4.4-1




 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQIcBAEBAgAGBQJOlBvMAAoJEMMF4eNtCPQViOQQAL8XudwmGZ+KSF1PwZrnAXaS
 VCoUzqIY08c7QxSyDlrqHOBYVybSo8hf1a1317dfzFPVK4uCTYzfUZgbSSLyuuaJ
 MgfAgD1LJsU6PFHuOPB2BF7NoUfZUoM2W06jRquymQ3PC3oR2V9WSofuAa3UnYpe
 BV2uns1+vbnXQtaW9jOFxqdADbMJ8aTtj/qoGQvvvGUh9CnEpb9x4HlT6McmW3Wh
 hJCqqG6IUt5G/W3FFVlpses7DG4+kNPSOyUyRDdYyhAiaTaoJt0+1Sb65NvZytY1
 6XcPLKhl72MT3LTYY6VwAc41ugB7NzWff/rfw8LP5cjvDd+l/srof8WXlpvDVHZB
 id+6EaLoa7u0bkmz7cz19gOH61DWf6Ng4VBfmz5Hjg747k6bSFySV/dPXdWsv9Ic
 

Bug#644976: [supercollider] server fails to start

2011-10-11 Thread Simon Wenner

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Ok,I see. Thanks for the quick reply.

I tried it interactively and the error looks the same:

~$ sclang
init_OSC
compiling class library..
NumPrimitives = 548
compiling dir: '/usr/share/SuperCollider/SCClassLibrary'
compiling dir: '/usr/share/SuperCollider/Extensions'
pass 1 done
numentries = 866038 / 10707624 = 0.081
4572 method selectors, 2342 classes
method table size 12713944 bytes, big table size 85660992
Number of Symbols 11134
Byte Code Size 349335
compiled 362 files in 0.51 seconds
compile done
Help tree read from cache in 0.0089280605316162 seconds
LID: event loop started
Class tree inited in 0.03 seconds
WARNING:
GUI.fromID : The GUI scheme 'swing' is not installed
The current scheme is still 'nil'!
Welcome to SuperCollider, for help type ctrl-c ctrl-h (Emacs) or
:SChelp (vim) or ctrl-U (sced/gedit)
sc3 s = Server.local;

localhost
sc3 s.boot;

booting 57110
localhost
sc3 Cannot connect to server socket err = Connection refused
Cannot connect to server socket
no message buffer overruns
no message buffer overruns
jackdmp 1.9.7
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
JACK server starting in realtime mode with priority 10
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
JackProcessSync::LockedTimedWait error usec = 500 err = Connection
timed out
Driver is not running
Cannot create new client
JackSocketClientChannel read fail
Cannot open SuperCollider client
could not initialize audio.
jackd: ../common/JackGraphManager.cpp:45: void
Jack::JackGraphManager::AssertPort(jack_port_id_t): Assertion
`port_index  fPortMax' failed.
RESULT = 1
ERROR:
server failed to start


Using:
s = Server.internal;
Fails too.

Cheers
Simon


Am 11.10.2011 13:14, schrieb Dan S:
 Hi -

 Firstly, it is better to start jackd manually - that's what sc
 users normally do, and in particular for bug reports it would be
 clearer because jackd's startup procedure doesn't have to be
 included in the output. (It should work, though.)

 But the more fundamental issue is that booting the server is
 asynchronous, so if you run a script which contains s.boot;
 s.quit; the language doesn't wait for it to boot before it sends a
 quit message. The tutorial you're reading is probably assuming
 interactive use rather than a batch script. So I'd be grateful if
 you could either test interactively, running something like:

 s.boot; // then wait for a happy boot message, then: s.quit

 or by using a script consisting of this:

 s.waitForBoot{s.quit}

 (The waitForBoot message is a convenience method that starts the
 boot and then creates a Task which waits until booted before
 executing the function.)

 Dan



 2011/10/11 Simon Wenner simon.wen...@gmail.com:

 Package: supercollider Version: 1:3.4.4-1 Severity: important

 I'm unable to get any supercollider example file running. The
 server always fails to start. I tested different ports, started
 sclang as root and started jackd manually.

 My example sc input file (from the SC tutorial):

 s = Server(\myServer, NetAddr(127.0.0.1, 58009)); s.boot;
 s.quit;

 Error Output:

 ~$ sclang sclang.test init_OSC compiling class library..
 NumPrimitives = 548 compiling dir:
 '/usr/share/SuperCollider/SCClassLibrary' compiling dir:
 '/usr/share/SuperCollider/Extensions' pass 1 done numentries =
 866038 / 10707624 = 0.081 4572 method selectors, 2342 classes
 method table size 12713944 bytes, big table size 85660992 Number of
 Symbols 11134 Byte Code Size 349335 compiled 362 files in 0.53
 seconds compile done Help tree read from cache in
 0.0093131065368652 seconds LID: event loop started Class tree
 inited in 0.03 seconds WARNING: GUI.fromID : The GUI scheme 'swing'
 is not installed The current scheme is still 'nil'! Welcome to
 SuperCollider, for help type ctrl-c ctrl-h (Emacs) or :SChelp (vim)
 or ctrl-U (sced/gedit) booting 58009 /quit sent

 Cannot connect to server socket err = Connection refused Cannot
 connect to server socket no message buffer overruns no message
 buffer overruns jackdmp 1.9.7 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 JACK
 server starting in realtime mode with priority 10 control