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.
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.
Hallo, derek holzer hat gesagt: // derek holzer wrote:
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
If it helps: I get the same errors with kernel 2.6.9 (still). It might have something to do with some change in the handling of setuid applications, which also force me to run cdrecord as root, not as suid-binary and as normal user.
Strange thing: Other software does run setuid, e.g. cdrdao or growisofs.
Frank Barknecht _ ______footils.org__
Hi all, does anyone already have a solution for this? I find it strange that i get the error only for external libraries, not for single externals like bonk~. Hmmhmmm....
Thomas
Frank Barknecht wrote:
Hallo, derek holzer hat gesagt: // derek holzer wrote:
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
If it helps: I get the same errors with kernel 2.6.9 (still). It might have something to do with some change in the handling of setuid applications, which also force me to run cdrecord as root, not as suid-binary and as normal user.
Strange thing: Other software does run setuid, e.g. cdrdao or growisofs.
Ciao
does anyone already have a solution for this? I find it strange that i get the error only for external libraries, not for single externals like bonk~.
/home/tim/pd/extra/bonk~.pd_linux: /home/tim/pd/extra/bonk~.pd_linux: failed to map segment from shared object: Resource temporarily unavailable bonk~ ... couldn't create
also the soundfiler helper thread couldn't start ...
it was related to the memory locking... the fix (tweaking the hard memory locking) is in cvs ... at least in devel ...
cheers ... tim