Package: modem-manager-gui Version: 0.0.18-1 Severity: normal Dear Maintainer,
Recently, I bought a "Fibocom L810 LTE Module (http://www.fibocom.com/product/2-1-5-4.html)" modem in the form of a mini pci-e card, with usb id 1519:0443 and recognized as "Comneon Telit LN930". It can be powered by the current version of modemmanager with the "Generic" plugin. But modem-manager-gui crashed when using this modem (it works fine with Huawei's internal modem module and detachable usb modem). I managed to get the core and dump a backtrace, and noticed that the order of parameters during the call of memcpy by mmgui_module_gsm_operator_code (between stack layer #5 and #6) is reversed! #5 0x00007f846972b17a in memcpy (__len=17, __src=0x7f8464004223, __dest=0x7ffd28c7ef60) at /usr/include/x86_64-linux-gnu/bits/string3.h:51 #6 mmgui_module_gsm_operator_code (opcodestr=0x7f8464004220 "00340036003000300031") at mm07.c:287 Finally, it goes to abort the execution. I will attached the complete backtrace and info about the modem (generated with mmcli), may it be useful to you. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (900, 'testing'), (500, 'testing-proposed-updates'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages modem-manager-gui depends on: ii libc6 2.19-22 ii libcairo2 1.14.2-2 ii libgdbm3 1.8.3-13.1 ii libgdk-pixbuf2.0-0 2.32.1-1 ii libglib2.0-0 2.46.0-2 ii libgtk-3-0 3.18.2-1 ii libgtkspell3-3-0 3.0.7-2 ii modemmanager 1.4.12-1 ii network-manager 1.0.6-1 ii policykit-1 0.105-12 ii ppp 2.4.6-3.1 Versions of packages modem-manager-gui recommends: ii mobile-broadband-provider-info 20140317-1 ii yelp 3.16.1-1 Versions of packages modem-manager-gui suggests: ii evolution-data-server 3.18.0-3 ii libcanberra0 0.30-2.1 pn libindicate5 | libmessaging-menu0 <none> ii libnotify4 0.7.6-2 -- no debconf information
(gdb) bt #0 0x00007f84792f7107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007f84792f84e8 in __GI_abort () at abort.c:89 #2 0x00007f8479335214 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f8479425a4b "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007f84793b84e7 in __GI___fortify_fail (msg=msg@entry=0x7f84794259e2 "buffer overflow detected") at fortify_fail.c:31 #4 0x00007f84793b6700 in __GI___chk_fail () at chk_fail.c:28 #5 0x00007f846972b17a in memcpy (__len=17, __src=0x7f8464004223, __dest=0x7ffd28c7ef60) at /usr/include/x86_64-linux-gnu/bits/string3.h:51 #6 mmgui_module_gsm_operator_code (opcodestr=0x7f8464004220 "00340036003000300031") at mm07.c:287 #7 0x00007f846972cfbe in mmgui_module_devices_information (mmguicore=0x1c938b0) at mm07.c:1768 #8 0x0000000000421874 in mmguicore_devices_open (mmguicore=0x1c938b0, deviceid=0, openfirst=openfirst@entry=1) at mmguicore.c:1386 #9 0x0000000000430e2a in mmgui_main_device_select_from_list (mmguiapp=mmguiapp@entry=0x16a4ef0, identifier=identifier@entry=0x1f177a0 "587cbee7ac57a2aa76b25008f317b731") at devices-page.c:299 #10 0x000000000043813d in mmgui_main_settings_ui_load (mmguiapp=0x16a4ef0) at main.c:1781 #11 mmgui_main_continue_initialization (mmguicore=<optimized out>, mmguiapp=0x16a4ef0) at main.c:2364 #12 mmgui_main_event_callback (event=<optimized out>, mmguicore=<optimized out>, data=0x0, userdata=0x16a4ef0) at main.c:340 #13 0x000000000041f623 in mmgui_svcmanager_start_services_activation (svcmanager=0x1c9da50) at svcmanager.c:884 #14 0x0000000000423f3d in mmguicore_modules_prepare (mmguicore=0x1c938b0) at mmguicore.c:860 #15 mmguicore_start (mmguicore=0x1c938b0) at mmguicore.c:2365 #16 0x00007f8479dae015 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #17 0x00007f8479dc0061 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #18 0x00007f8479dc8dfc in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #19 0x00007f8479dc912f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #20 0x00007f847a09a8b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #21 0x00007f847a09aa8a in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #22 0x0000000000410a42 in main (argc=1, argv=0x7ffd28c7fa68) at main.c:2667
/org/freedesktop/ModemManager1/Modem/0 (device id '85aa981eaccea7e4aad3d3bf398f2161b1035920') ------------------------- Hardware | manufacturer: 'Fibocom' | model: 'L810 LTE Module","L810' | revision: 'L810_V5G.0C.01.02' | supported: 'gsm-umts, lte' | current: 'gsm-umts, lte' | equipment id: '***************' ------------------------- System | device: '/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.6' | drivers: 'cdc_acm, cdc_ncm' | plugin: 'Generic' | primary port: 'ttyACM0' | ports: 'wwx000011121314 (net), wwx000011121316 (net), ttyACM0 (at), wwx000011121318 (net), ttyACM2 (at)' ------------------------- Numbers | own : '+86145********' ------------------------- Status | lock: 'none' | unlock retries: 'unknown' | state: 'registered' | power state: 'on' | access tech: 'hspa' | signal quality: '64' (recent) ------------------------- Modes | supported: 'allowed: 2g, 3g, 4g; preferred: none' | current: 'allowed: 2g, 3g, 4g; preferred: none' ------------------------- Bands | supported: 'unknown' | current: 'unknown' ------------------------- IP | supported: 'ipv4, ipv6, ipv4v6' ------------------------- 3GPP | imei: '***************' | enabled locks: 'none' | operator id: '********************' | operator name: 'CHN-UNICOM' | subscription: 'unknown' | registration: 'home' ------------------------- SIM | path: '/org/freedesktop/ModemManager1/SIM/0' ------------------------- Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/0'