NetworkManager crashed with signal 2 (SIGINT) when gps device sending binary data is attached to USB port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-manager
Hi.
The issue comes when a GPS device (u-blox chipset), that implement a standard communication class (Abstract Line Control Model) to parse positioning information in binary format, is connected to a ubuntu 8.10 machine.
The issue is coming from the fact that, in the ubuntu version of the connection manager, there is a parse-modem functionality, that open the newly detected device to verify if its' a modem, without the option O_NOCTTY.
The GPS device, with a special configuration that send continuosly binary data, is then sending the escape character to the CM, and therefore the sistem detects a SIGINT signal and terminates.
The solution would be to add the option O_NOCTTY in the open of the device, inside the probe_modem() function, in the probe-modem.c module.
I have tested that after this modification the CM do not crash any more. The patch is enclosed.
Ciao,
Andrea
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Gconf:
IfupdownConfig:
auto lo
iface lo inet loopback
NonfreeKernelMo
Package: network-manager 0.7~~svn2008101
ProcEnviron:
PATH=/
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: network-manager
Uname: Linux 2.6.27-11-generic i686
WpaSupplicantLog:
the way modem probing is done has been changed considerably in jaunty. can you see if this is still a problem there?