Bugs item #3209737, was opened at 2011-03-13 21:07
Message generated for change (Comment added) made by seb_kuzminsky
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: Closed
Resolution: None
Priority: 1
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

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

>Comment By: Sebastian Kuzminsky (seb_kuzminsky)
Date: 2011-09-26 20:55

Message:
Dewey Garret fixed this in the 2.5 branch in commit
86cf86a03ac315a8b222df20997594305d8828d4, in October 2010.  I just
cherry-picked it into the 2.4 branch and tested it, and emcrsh doesn't
segfault any more.

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

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

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to