我最近从 Ubuntu 16.04 升级到了 Ubuntu 18.04(Bionic Beaver)。一切都很顺利,直到我运行了安装在 Ubuntu 16.04 上的 0 广告。该应用程序是 Alpha 23 Ken Wood 版本。也就是版本 0.2.3。这是我收到的消息:
dbus[7807]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted (core dumped)
我该怎么办?专家?
完整代码:
milkybar@Milkybar-Computer:~$ 0ad
TIMER| InitVfs: 83.6046 ms
Writing the mainlog at /home/milkybar/.config/0ad/logs/mainlog.html
TIMER| CONFIG_Init: 39.5669 ms
Sound: AlcInit success, using OpenAL Soft
TIMER| shutdown ConfigDB: 1.816 us
TIMER| resource modules: 4.23742 ms
TIMER TOTALS (9 clients)
-----------------------------------------------------
tc_pool_alloc: 0 c (0x)
tc_png_decode: 0 c (0x)
tc_dds_transform: 0 c (0x)
tc_transform: 0 c (0x)
tc_plain_transform: 0 c (0x)
tc_ShaderGLSLLink: 0 c (0x)
tc_ShaderGLSLCompile: 0 c (0x)
tc_ShaderValidation: 0 c (0x)
xml_validation: 0 c (0x)
-----------------------------------------------------
TIMER| shutdown misc: 314.571 us
TIMER| InitVfs: 244.405 ms
Writing the mainlog at /home/milkybar/.config/0ad/logs/mainlog.html
TIMER| CONFIG_Init: 3.3456 ms
Sound: AlcInit success, using OpenAL Soft
dbus[7807]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted (core dumped)
milkybar@Milkybar-Computer:~$
答案1
据推测,游戏中可能存在一个错误,导致了这个错误。
为了运行游戏,我首先使用以下命令卸载了从 Ubuntu 软件中心安装的游戏:
sudo apt-get remove --autoremove 0ad 0ad-data
然后我使用以下命令重新安装了游戏:
sudo snap install 0ad
snap 的 0 ad 的相同版本没有这个问题。