[FreeNX-kNX] nxagent hangs with openoffice.org

Mario Becroft mb at gem.win.co.nz
Wed Jan 14 09:57:50 UTC 2009


Phil Stricker <stril at gmx.de> writes:

> ...same problem with CentOS 5.1... shit...
>
> strace -p says:
> clone(child_stack=0, 
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
> child_tidptr=0xb7fa9718) = ? ERESTARTNOINTR (To be restarted)
> --- SIGALRM (Alarm clock) @ 0 (0) ---
> sigreturn()                             = ? (mask now [])
> clone(child_stack=0, 
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
> child_tidptr=0xb7fa9718) = ? ERESTARTNOINTR (To be restarted)
> --- SIGALRM (Alarm clock) @ 0 (0) ---
> sigreturn()                             = ? (mask now [])
> clone(child_stack=0, 
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
> child_tidptr=0xb7fa9718) = ? ERESTARTNOINTR (To be restarted)
> --- SIGALRM (Alarm clock) @ 0 (0) ---
> sigreturn()                             = ? (mask now [])

Yep, I think this is the same bug. All you have to do is apply the patch
included below, rebuild nxagent, restart your users' sessions and this
problem should be solved. Let me know if it works for you.

I would send you my binaries, but they are not built with the same paths
as the CentOS nx packages, so they probably won't work on your system
without a lot of fiddling around.

To rebuild it you need to get the nx .srpm file from the Centos
repository, apply the patch and rebuild it with rpmbuild. There should
be some instructions on the web. Obviously you'll need a C compiler
installed on your system to do this.

If you can't figure out what to do, sing out and I will try and make an
effort to build a CentOS 5.2 rpm for you. Or someone else on the list
may be kind enough to do it.

--8<---------------cut here---------------start------------->8---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fork_hang.patch
Type: text/x-patch
Size: 1109 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20090114/8e4ef793/attachment.patch>
-------------- next part --------------
--8<---------------cut here---------------end--------------->8---

-- 
Mario Becroft <mb at gem.win.co.nz>


More information about the FreeNX-kNX mailing list