Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2009 17:56:53 GMT
From:      Iwao@FreeBSD.org, Koichiro <meta@club.kyutech.ac.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/133858: nxagent dumps core on FreeBSD 7.*
Message-ID:  <200904191756.n3JHurrS061324@www.freebsd.org>
Resent-Message-ID: <200904191800.n3JI048E011829@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133858
>Category:       ports
>Synopsis:       nxagent dumps core on FreeBSD 7.*
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 19 18:00:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Iwao, Koichiro
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD rose.club.kyutech.ac.jp 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #1: Tue Feb 24 18:35:50 UTC 2009     root@rose.club.kyutech.ac.jp:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I posted the problem to the freebsd-questions mailing list.
http://www.mail-archive.com/freebsd-questions@freebsd.org/msg212620.html

I'm in trouble using net/freenx port.
My system is 7.1-RELEASE-p2 and I installed freenx from the ports tree.
I already installed gnome desktop environment and I can use it on x11
console.

$ pkg_info|grep nx
freenx-0.6.0_1      Frontend (auth/session management) for nxserver libraries
nxserver-2.1.0_2    Low-bandwidth X network server

I installed nomachine's nxclient 3.3.0-6 to another linux system.
Then I tried to connect to the freebsd system, nxclient shows error that
"Session Startup File".  After that, I logged into the freebsd system
from the linux system with ssh x11 forwarding enabled and I executed
nxagent. Then it dumped core.

[m...@freebsd ~]$ /usr/local/NX/bin/nxagent

NXAGENT - Version 2.1.0

Copyright (C) 2001, 2006 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '80414'.
Session: Starting session at 'Sat Apr 11 09:57:36 2009'.
Info: Detected window manager running.
Assertion failed: (ret != inval_id), function _XAllocID, file xcb_io.c,
line 378.
Abort trap: 6 (core dumped)

I guess this is why nxclient on linux raises session start up failed
error. I can find "xcb_io.c" in nxagent's error message, so I did
"portupgrade -rf \*xcb\* libX11 nxserver" but nothing's solved.

I tested nxagent on 6.4-RELEASE and 8-current. Both 6.4 and current resulted the same.
Its result differs from 7.*, but it does not work properly.

NXAGENT - Version 2.1.0

Copyright (C) 2001, 2006 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '20498'.
Session: Starting session at 'Mon Apr 20 02:51:55 2009'.
Info: Detected window manager running.
Info: Not using local device configuration changes.
Info: Using alpha channel in render extension.
Session: Session started at 'Mon Apr 20 02:52:03 2009'.
/libexec/ld-elf.so.1: /usr/local/NX/bin/nxagent: Undefined symbol "_XSelect"

>How-To-Repeat:
Login to the FreeBSD 7.* machine that freenx and nxserver are installed.
Then, just execute nxagent like below or try to connect with nxclient.

ssh -Y freebsd-7.example.com  /usr/local/NX/bin/nxagent


>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904191756.n3JHurrS061324>