我在 ubuntu 16.04 LTS 中安装了调制解调器管理器 GUI 版本 0.0.18-3,当访问调制解调器管理器 GUI 时会显示如下错误信息:
Connection manager: Network Manager >= 0.9.0
Modem manager: Modem Manager >= 0.7.0
** (modem-manager-gui:2909): WARNING **: Modem Manager >= 0.7.0:
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied:
Rejected send message, 2 matched rules;
type="method_call", sender=":1.96" (uid=1000 pid=2909 comm="modem-manager-gui ")
interface="org.freedesktop.ModemManager1.Modem.Contacts"
member="GetCount" error name="(unset)" requested_reply="0"
destination=":1.2" (uid=0 pid=856 comm="/usr/sbin/ModemManager ")
Segmentation fault at address: 0x30
Stack trace:
1. /lib/x86_64-linux-gnu/libc.so.6(+0xc3071) [0x7f67f03a0071]
2. /lib/x86_64-linux-gnu/libc.so.6(+0xc3071) [0x7f67f03a0071]
3. /lib/x86_64-linux-gnu/libc.so.6(strftime_l+0x16) [0x7f67f03a20a6]
4. modem-manager-gui(mmgui_str_format_sms_time+0xe7) [0x411b87]
5. modem-manager-gui() [0x42cdb0]
6. modem-manager-gui(mmgui_main_sms_list_fill+0x306) [0x42f226]
7. modem-manager-gui() [0x438450]
8. modem-manager-gui(mmguicore_devices_open+0x149) [0x421879]
9. modem-manager-gui(mmgui_main_device_select_from_list+0x10a) [0x430d8a]
当我运行 sudo apt-cache policy modem-manager-gui network-manager
sudo apt-cache policy modem-manager-gui network-manager
modem-manager-gui:
Installed: 0.0.18-3
Candidate: 0.0.18-3
Version table:
*** 0.0.18-3 500
500 http://id.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
network-manager:
Installed: 1.2.6-0ubuntu0.16.04.2
Candidate: 1.2.6-0ubuntu0.16.04.2
Version table:
*** 1.2.6-0ubuntu0.16.04.2 500
500 http://id.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.2.2-0ubuntu0.16.04.4 500
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
1.1.93-0ubuntu4 500
500 http://id.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
答案1
我知道这是一个老问题,但也许像我这样的人也会面临同样的问题。经过一番挖掘,我找到了答案这里:
由于某种原因,应用程序在转换 SMS 消息时间戳时崩溃。请您尝试删除(或重命名)包含消息数据库的目录,然后尝试启动 MMGUI。重命名此目录的命令:
mv ~/.local/share/modem-manager-gui ~/.local/share/modem-manager-gui.old
下一步是重新插入调制解调器并运行modem-manager-gui
。
向 MMGUI 的作者 Alex 大声呼喊并致以诚挚的谢意!