[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-users] gpsd, buffer overflow during signal handling
From: |
Paul |
Subject: |
[gpsd-users] gpsd, buffer overflow during signal handling |
Date: |
Wed, 7 Mar 2018 13:07:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
Noticed a little problem with gpsd today.
Launch in foreground and specify a non-existing device,
eg /dev/ttyACM99:
gpsd -n -N /dev/ttyACM99
produces
gpsd:ERROR: device open of /dev/ttyACM99 failed: No such file or
directory - retrying read-only
gpsd:ERROR: read-only device open of /dev/ttyACM99 failed: No such
file or directory
gpsd:ERROR: initial GPS device /dev/ttyACM99 open failed
So far OK, but then CNTL-C gives:
*** buffer overflow detected ***: gpsd terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f22394197e5]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f22394bb15c]
/lib/x86_64-linux-gnu/libc.so.6(+0x117160)[0x7f22394b9160]
/lib/x86_64-linux-gnu/libc.so.6(+0x1190a7)[0x7f22394bb0a7]
gpsd[0x404262]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f22393c2830]
gpsd[0x4065e9]
======= Memory map: ========
...
This is with gpsd 3.15 (revision 3.15-2build1) on Ubuntu 16.04.4 LTS.
Same result if I send a kill signal from another shell.
--
Paul Nicholson
--
- [gpsd-users] gpsd, buffer overflow during signal handling,
Paul <=