Bug#644976: [supercollider] server fails to start

Dan S danstowell+debmm at gmail.com
Tue Oct 11 11:14:42 UTC 2011


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.wenner at 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 = 5000000 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-----
>
>
>
>
> _______________________________________________
> pkg-multimedia-maintainers mailing list
> pkg-multimedia-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
>





More information about the pkg-multimedia-maintainers mailing list