Bug 102664

Summary: Segfault when inserting an irDA USB dongle
Product: ModemManager Reporter: Steo <bazinga12>
Component: generalAssignee: ModemManager bug user <modemmanager>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: 1.4   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Steo 2017-09-11 20:13:22 UTC
Hi, everybody,
I'm not sure it is modemmanager's fault here, but as soon as I try to insert an infrared (pretty standard) dongle I see in dmesg that modemmanager crashes with a segfault.

Ubuntu (Mate) 16.04 on x86-64,
modemmanager version 1.4.12-1ubuntu1 installed

The dongle is:
[lsusb] Bus 001 Device 006: ID 066f:4200 SigmaTel, Inc. STIr4200 IrDA Bridge

and when inserting it I see
[dmesg]
[  795.674472] usb 1-1.2: new full-speed USB device number 6 using ehci-pci
[  795.767970] usb 1-1.2: New USB device found, idVendor=066f, idProduct=4200
[  795.767978] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  795.767981] usb 1-1.2: Product:  IrDA/USB Bridge
[  795.767984] usb 1-1.2: Manufacturer:  Sigmatel Inc 
[  795.768844] SigmaTel STIr4200 IRDA/USB found at address 6, Vendor: 66f, Product: 4200
[  795.769263] stir4200 1-1.2:1.0: IrDA: Registered SigmaTel device irda0
[  795.809763] ModemManager[3105]: segfault at 0 ip 0000000000431ab3 sp 00007ffd4c29bf40 error 4 in ModemManager[400000+103000]


(this happens on a Dell Latitude E6330, in case it is relevant)

Thank you for your attention,
  Steo
Comment 1 Aleksander Morgado 2017-09-12 07:45:37 UTC
Any chance you can get debug logs and a backtrace when reproducing it?
https://www.freedesktop.org/wiki/Software/ModemManager/Debugging/

For the backtrace, just:
$ gdb --args /usr/sbin/ModemManager --debug

Then type "r" (run), and when it crashes, type "b" (backtrace)
Comment 2 GitLab Migration User 2018-06-10 09:05:49 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/73.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.