Public bug reported:

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
NonfreeKernelModules: nvidia
Package: network-manager 0.7~~svn20081018t105859-0ubuntu1.8.10.2
ProcEnviron:
 
PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/ARC/MetaWare/arc/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: network-manager
Uname: Linux 2.6.27-11-generic i686
WpaSupplicantLog:

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
NetworkManager crashed with signal 2 (SIGINT) when gps device sending binary 
data is attached to USB port
https://bugs.launchpad.net/bugs/362380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to