-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,
thanks for your bugreport..

On 2012-03-01 23:26, Jaromír Mikeš wrote:
> Package: puredata-gui
> Version: 0.43.1-1
> Severity: normal
> 
> Dear Maintainer,
> having this behavior of pd package on my debian sid system:
> 
> $ pd-gui
> ERROR: failed to allocate port, exiting!

hmm this is a weird one...

pd and pd-gui are two processes that are communicating via a tcp/ip
socket (though this is usually transparent to the user)

if you call pd-gui directly, it tries to allocate a tcp/ip socket
listening on localhost on any available port.
this seems to fail on your system.

do you have done anything special to your network? like
- - disabling the network stack alltogether?
- - running some unusual IPv6 configuration?
- - prohibiting the user that tries to run pd/pd-gui to open sockets?
(does it work when started as root?)
- - some server/... that eats up all available sockets? (unlikely, but who
knows...)

can you run the attached script with
$ tclsh tclserver.tcl
and then try to connect to it via a telnet session (see output of the
script, for the port to use)

> 
> $ pd
> priority 6 scheduling enabled.
> priority 8 scheduling enabled.
> watchdog: signaling pd...
> watchdog: signaling pd...
> watchdog: signaling pd...
> watchdog: signaling pd...

this is most likely very closely related to the issue above.

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

iEYEARECAAYFAk9oTtIACgkQkX2Xpv6ydvR2HQCg2AeMPJmgIm+rodHFRUQpViOt
WTIAoOiER6ve+f55TNHQ7cAIci3qIoMO
=qQ0m
-----END PGP SIGNATURE-----
#!/usr/bin/tclsh
proc Server {channel clientaddr clientport} {
   puts "Connection from $clientaddr registered"
   puts $channel ">>>>>>>>>>>>>>>>>>>>>>>>>>>> [clock format [clock seconds]]"
   close $channel
}
set sock [socket -server Server  -myaddr localhost 0]
puts [fconfigure $sock -sockname]
puts "connect to me using:\n \$ telnet localhost [lindex [fconfigure $sock -sockname] 2]"

vwait forver

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to