Hello,

On Thu, Sep 13, 2018 at 10:54:47AM -0700, Simon Black wrote:
> I am experiencing a similar problem on Ubuntu 16.0.4.  Getting a segfault 
> when we are hitting ser2net with many read/writes over local telnet 
> connections.  We establish telnet connections with python telnetlib. 
> 
> Sep 13 09:58:02 pqx01-qr1 ser2net[5118]: read error for port 4005: Connection 
> reset by peer
> Sep 13 09:58:26 pqx01-qr1 ser2net[5118]: read error for port 4005: Connection 
> reset by peer
> Sep 13 09:58:56 pqx01-qr1 kernel: [147157.497692] ser2net[5118]: segfault at 
> c ip 0000000000406e4a sp 00007ffedaacb6d0 error 4 in ser2net[400000+11000]
> 
> Does this look like the same problem?  I could not find a distribution
> of ser2net 3.5.1 for Ubuntu 16.0.4 to see if that fixes the segfault.
> Do you know if this will become available soon?  Any other
> suggestions?  I would prefer to not have to replace our ser2net
> implementation.  It was easy to set up and had been reliable until we
> started running multiple processes on this server to speed up
> automated tests. 

I suggest to install systemd-coredump and the debug symbols for ser2net.
If you then retrigger the problem, call:

        coredumpctl gdb

and at the gdb shell enter

        bt

and report the result. I'd suggest a separate bug report for that.

Concerning an updated ser2net for Ubuntu: Just installing ser2net from
Debian (https://packages.debian.org/buster/amd64/ser2net/download) might
work.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Reply via email to