[FS#540] ser2net: Segmentation fault (Testest on TP-Link TL-WR1043NDv3)

LEDE Bugs lede-bugs at lists.infradead.org
Mon Feb 20 05:07:26 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - walx (walx) 

Attached to Project - LEDE Project
Summary - ser2net: Segmentation fault (Testest on TP-Link TL-WR1043NDv3)
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - lede-17.01
Due in Version - Undecided
Due Date - Undecided
Details - If you start ser2net with configline like:

ser2net -C 4001:raw:300:/dev/ttyUSB0:57600:NONE:1STOPBIT:8DATABITS:-XONXOFF:-RTSCTS:LOCAL -u

you will get "Segmentation fault"

Starting ser2net without argument seems to be ok.


On OpenWRT 15.05.1 and earlier, there was no a problem with that commandline.
----
root at test-biom-r1:~# ser2net -C 4001:raw:300:/dev/ttyUSB0:57600:NONE:1STOPBIT:8DATABITS:-XONXOFF:-RTSCTS:LOCAL -u
Segmentation fault
root at test-biom-r1:~# logread | tail
Mon Feb 20 14:01:04 2017 user.err : Unknown config item: 57600:NONE:1STOPBIT:8DATABITS:-XONXOFF:-RTSCTS:LOCAL on line 0
Mon Feb 20 14:01:04 2017 kern.info kernel: [ 4587.292580]
Mon Feb 20 14:01:04 2017 kern.info kernel: [ 4587.292580] do_page_fault(): sending SIGSEGV to ser2net for invalid read access from 000051c4
Mon Feb 20 14:01:04 2017 kern.info kernel: [ 4587.301306] epc = 00408f9d in ser2net[400000+f000]
Mon Feb 20 14:01:04 2017 kern.info kernel: [ 4587.306243] ra  = 0040954d in ser2net[400000+f000]
Mon Feb 20 14:01:04 2017 kern.info kernel: [ 4587.311178]
root at test-biom-r1:~# ls /dev/ttyUSB*
/dev/ttyUSB0
root at test-biom-r1:~#


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=540



More information about the lede-bugs mailing list