[PD] setuid root problem: "failed to map segment from shared object: Resource temporarily unavailable"

derek holzer derek at x-i.net
Mon Jan 3 17:18:17 CET 2005


OK, Wade, forget I mentioned this little trick. PD simple doesn't run 
with it. Still curious why not, however...

d.

pd: getbytes() failed -- out of memory
error: env: couldn't allocate buffer
  env~ 8192
... couldn't create
pd: getbytes() failed -- out of memory
error: env: couldn't allocate buffer
  env~ 8192
... couldn't create
pd: getbytes() failed -- out of memory
error: env: couldn't allocate buffer
  env~ 8192
... couldn't create
pd: getbytes() failed -- out of memory
error: env: couldn't allocate buffer
  env~ 8192
... couldn't create
pd: getbytes() failed -- out of memory
error: env: couldn't allocate buffer
  env~ 8192
... couldn't create
pd: getbytes() failed -- out of memory
error: env: couldn't allocate buffer
  env~ 8192
... couldn't create
-------audio---- 12 0 7 0 (text->int) connection failed
-------audio---- 36 0 35 0 (text->int) connection failed
-------audio---- 53 0 52 0 (text->int) connection failed
-------audio---- 63 0 62 0 (text->int) connection failed
-------audio---- 73 0 72 0 (text->int) connection failed
-------audio---- 83 0 82 0 (text->int) connection failed
-------audio---- 103 0 12 0 (hip~->text) connection failed
-------audio---- 104 0 36 0 (hip~->text) connection failed
-------audio---- 105 0 53 0 (hip~->text) connection failed
-------audio---- 106 0 63 0 (hip~->text) connection failed
-------audio---- 107 0 73 0 (hip~->text) connection failed
-------audio---- 108 0 83 0 (hip~->text) connection failed



derek holzer wrote:
> Hi gang,
> 
> just recommended Wade try the "chown root/chmod u+s" trick, and now it 
> see it causes me some headaches that weren't there before.
> 
> I was also unable to run pd -rt with realtime-lsm as a user, but *only* 
> on my laptop. I must have done something different to my dekstop a while 
> back, but who knows what that was!!! I also could not connect a "sudo pd 
> -rt" to a "qjackctl" running RT as a user. I did not get a failure 
> connect segfault, but I'm also not running pd 0.38 [only pd 0.37-4].
> 
> So, to cut to the chase...after doing this:
> 
> chown root /usr/local/bin/pd
> chmod u+s /usr/local/bin/pd
> 
> and running pd -rt, I get some problems loading externals:
> 
> priority 8 scheduling enabled.
> memory locking enabled.
> priority 6 scheduling enabled.
> memory locking enabled.
> zexy: can't load library
> /usr/local/lib/pd/extra/iemlib1.pd_linux: 
> /usr/local/lib/pd/extra/iemlib1.pd_linux: failed to map segment from 
> shared object: Resource temporarily unavailable
> iemlib1: can't load library
> /usr/local/lib/pd/extra/iemlib2.pd_linux: 
> /usr/local/lib/pd/extra/iemlib2.pd_linux: failed to map segment from 
> shared object: Resource temporarily unavailable
> iemlib2: can't load library
> /usr/local/lib/pd/extra/iem_mp3.pd_linux: 
> /usr/local/lib/pd/extra/iem_mp3.pd_linux: failed to map segment from 
> shared object: Resource temporarily unavailable
> iem_mp3: can't load library
> iem_t3_lib (R-1.15) library loaded!
> 
> But this problem does not occur when I do not run -rt.
> 
> Curiously, iem_t3_lib  loads, even though all have the same permissions:
> 
> -rwxr-xr-x  1 root  root  17176 Jan  3 16:52 iem_t3_lib.pd_linux
> -rwxr-xr-x  1 root  root  71364 Jan  3 16:54 iemlib1.pd_linux
> -rwxr-xr-x  1 root  root  99664 Jan  3 16:52 iemlib2.pd_linux
> -rwxr-xr-x  1 root  root  69388 Jan  3 16:52 iem_mp3.pd_linux
> 
> Can anyone explain this one?
> d.
> 


-- 
derek holzer ::: http://www.umatic.nl
---Oblique Strategy # 36:
"Consult other sources
-promising
-unpromising"




More information about the Pd-list mailing list