Crash when inserting/switching modem: "code should not be reached"

Bug #1067337 reported by Marius B. Kotsbak
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ModemManager
Fix Released
Medium
modemmanager (Ubuntu)
Fix Released
High
Unassigned
Precise
Won't Fix
Medium
Mathieu Trudel-Lapierre
Quantal
Won't Fix
High
Unassigned

Bug Description

I sometimes when inserting/removing/switching modem get this crash. Apport failed to report it, but using its local inventigation feature, I got this backtrace:

#0 0xb779b424 in __kernel_vsyscall ()
#1 0xb74581df in __GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xb745b825 in __GI_abort () at abort.c:91
#3 0xb76597e8 in g_assertion_message (domain=domain@entry=0x0,
    file=file@entry=0x809401d "mm-manager.c", line=line@entry=715,
    func=func@entry=0x8094be1 <__PRETTY_FUNCTION__.14141> "supports_callback",
    message=0xb76832b4 "code should not be reached", message@entry=0x0)
    at /build/buildd/glib2.0-2.34.0/./glib/gtestutils.c:1877
#4 0x08056613 in supports_callback (plugin=0x8c8eae0,
    subsys=subsys@entry=0x8c8dae8 "tty", name=name@entry=0x8cb0848 "ttyUSB4",
    level=level@entry=0, user_data=0x8cb20c0) at mm-manager.c:715
#5 0x0807d6c9 in mm_plugin_base_supports_task_complete (
    task=task@entry=0x8ca6468, level=0) at mm-plugin-base.c:335
#6 0xb7783c7f in probe_result (base=base@entry=0x8c8eae0, task=0x8ca6468,
    capabilities=0, user_data=0x0) at mm-plugin-cinterion.c:114
#7 0x080801a1 in mm_marshal_VOID__OBJECT_UINT (
    closure=closure@entry=0x8c9a4f0, return_value=return_value@entry=0x0,
    n_param_values=n_param_values@entry=3,
    param_values=param_values@entry=0xbf819340,
    invocation_hint=invocation_hint@entry=0xbf8192ec,
    marshal_data=marshal_data@entry=0x0) at mm-marshal.c:161
#8 0xb76f7826 in g_closure_invoke (closure=0x8c9a4f0,

    return_value=return_value@entry=0x0, n_param_values=3,
    param_values=param_values@entry=0xbf819340,
    invocation_hint=invocation_hint@entry=0xbf8192ec)
    at /build/buildd/glib2.0-2.34.0/./gobject/gclosure.c:777
#9 0xb770961f in signal_emit_unlocked_R (node=node@entry=0x8c98a60,
    detail=detail@entry=0, instance=instance@entry=0x8c8eae0,
    emission_return=emission_return@entry=0x0,
    instance_and_params=instance_and_params@entry=0xbf819340)
    at /build/buildd/glib2.0-2.34.0/./gobject/gsignal.c:3551
#10 0xb7711732 in g_signal_emit_valist (instance=instance@entry=0x8c8eae0,
    signal_id=signal_id@entry=6, detail=detail@entry=0,
    var_args=0xbf819554 "\346qg\267", var_args@entry=0xbf81954c "hd\312\b")
    at /build/buildd/glib2.0-2.34.0/./gobject/gsignal.c:3300
#11 0xb77118b3 in g_signal_emit (instance=instance@entry=0x8c8eae0,
    signal_id=6, detail=detail@entry=0)
    at /build/buildd/glib2.0-2.34.0/./gobject/gsignal.c:3356
#12 0x0807ccda in emit_probe_result (user_data=user_data@entry=0x8ca6468)
    at mm-plugin-base.c:610
#13 0xb7632c30 in g_idle_dispatch (source=source@entry=0x8c95968,
    callback=0x807cc40 <emit_probe_result>, user_data=0x8ca6468)
    at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:4806
#14 0xb76359e3 in g_main_dispatch (context=0x8c89960)
    at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:2715

#15 g_main_context_dispatch (context=context@entry=0x8c89960)
    at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3219
#16 0xb7635d80 in g_main_context_iterate (context=0x8c89960,
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3290
#17 0xb76361db in g_main_loop_run (loop=0x8ca4978)
    at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3484
#18 0x08052e8e in main (argc=1, argv=0xbf819964) at main.c:199

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: modemmanager 0.6.0.0.really-0ubuntu1 [modified: lib/udev/rules.d/77-mm-ericsson-mbm.rules lib/udev/rules.d/77-mm-usb-device-blacklist.rules lib/udev/rules.d/80-mm-candidate.rules]
Uname: Linux 3.6.0-030600-generic i686
ApportVersion: 2.6.1-0ubuntu3
Architecture: i386
Date: Tue Oct 16 14:25:03 2012
EcryptfsInUse: Yes
SourcePackage: modemmanager
UpgradeStatus: Upgraded to quantal on 2012-08-31 (45 days ago)

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :
Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

I am unsure if this is a duplicate or related to bug #970607.

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

I think this is the output when it happens:

modem-manager[7169]: <debug> [1350412098.663568] [mm-manager.c:690] supports_callback(): (tty/ttyUSB6): ignoring port unsupported by physical modem's plugin
modem-manager[7169]: <debug> [1350412098.663733] [mm-manager.c:298] check_export_modem(): (tty/ttyUSB8): outstanding support task prevents export of /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-8
modem-manager[7169]: <debug> [1350412099.661949] [mm-qcdm-serial-port.c:196] debug_log(): (ttyUSB8): --> 7e 00 78 f0 7e
modem-manager[7169]: <debug> [1350412102.664499] [mm-serial-port.c:908] mm_serial_port_close(): (ttyUSB8) device open count is 0 (close)
modem-manager[7169]: <info> [1350412102.664663] [mm-serial-port.c:923] mm_serial_port_close(): (ttyUSB8) closing serial port...
modem-manager[7169]: <info> [1350412102.664828] [mm-serial-port.c:944] mm_serial_port_close(): (ttyUSB8) serial port closed
modem-manager[7169]: <debug> [1350412102.666134] [mm-manager.c:714] supports_callback(): (tty/ttyUSB8): plugin 0x8b4bae0 (Cinterion) existing 0x8b4bda0 (Sierra) info->best 0x8b4bda0 (Sierra)
**
ERROR:mm-manager.c:715:supports_callback: code should not be reached

Changed in modemmanager (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Changed in modemmanager:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :
Revision history for this message
jevgtv (tugevus) wrote :

I have overcome the problem by installing package "wader-core" instead of "ModemManager"

Revision history for this message
Rolf Leggewie (r0lf) wrote :

quantal has seen the end of its life and is no longer receiving any updates. Marking the quantal task for this ticket as "Won't Fix".

Changed in modemmanager (Ubuntu Quantal):
status: Triaged → Won't Fix
Changed in modemmanager (Ubuntu):
assignee: Mathieu Trudel-Lapierre (mathieu-tl) → nobody
Changed in modemmanager (Ubuntu Quantal):
assignee: Mathieu Trudel-Lapierre (mathieu-tl) → nobody
Changed in modemmanager (Ubuntu Precise):
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
status: New → Triaged
importance: Undecided → Medium
Changed in modemmanager (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in modemmanager (Ubuntu Precise):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.