Bugs item #3209737, was opened at 2011-03-14 03:07
Message generated for change (Tracker Item Submitted) made by sumpfralle
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3209737&group_id=6744

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Lars (sumpfralle)
Assigned to: Nobody/Anonymous (nobody)
Summary: emcrsh: command "set enable" crashes server

Initial Comment:
Hi,

I am running the debian package "emc2-sim" from 
http://www.linuxcnc.org/emc2/dists/lucid/ on i386.

I referenced a hal file containing the following line in my ini file:
 loadusr emcrsh -- --port 5007

Running EMC2 works successfully. The emcrsh server is listening at port 5007:
 erker:~# netstat -lpn |grep 5007
 tcp        0      0 0.0.0.0:5007            0.0.0.0:*               LISTEN     
 25110/emcrsh

Now I try to send the command "set enable":
 erker:~# telnet localhost 5007
 Trying 127.0.0.1...
 Connected to erker.
 Escape character is '^]'.
 HELLO EMC x 1.0
 HELLO ACK EMCNETSVR 1.1
 set enable
 set enable
 Connection closed by foreign host.

The connection was closed by the server.
In fact: the server is not running at all anymore:
 erker:~# netstat -lpn |grep 5007
 erker:~#

dmesg outputs the following:
 emcrsh[25133]: segfault at 0 ip b758ee38 sp b75185ac error 4 in 
libc-2.11.2.so[b751c000+140000]

thanks for your time,
Lars

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3209737&group_id=6744

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to