如题,zypper in deepin-music-player 之后点击菜单中的音乐图标无反应。
终端运行 deepin-music 会报一些错,然后占满一颗核心。
装了些 dbgsym 后尝试着 gdb 了一下,发现报错似乎没有用,只是些警告。
具体现象是:给 warning;开一个线程;再开一个线程;再开两个线程又关掉它们;之后持续跑满一颗核心。
求大手帮助。
glibc 版本够吗
你把 gdb 的 backtrace 信息贴出来看看。你用 KDE 包应该是全的,我还是 GNOME 上跑的。deepin 本来就是 Qt 系的。
(gdb) bt
#0 0x00007ffff54b1630 in QMetaObject::cast(QObject*) const () from /usr/lib64/libQt5Core.so.5
#1 0x00007ffff6bc2048 in ?? () from /usr/lib64/libQt5Widgets.so.5
#2 0x00007ffff6bcfbc8 in ?? () from /usr/lib64/libQt5Widgets.so.5
#3 0x00007ffff6bd0190 in ?? () from /usr/lib64/libQt5Widgets.so.5
#4 0x00007ffff760e5ca in Dtk::Widget::DThemeManager::eventFilter (this=0x7ffff795e5a0 <Dtk::Widget::(anonymous namespace)::Q_QGS_DThemeManagerStatic::innerFunction()::holder>, watched=0x555555d65dc0, event=0x7fffffffe1a0) at widgets/dthememanager.cpp:726
#5 0x00007ffff54a80ad in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#6 0x00007ffff6b2af05 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#7 0x00007ffff6b32540 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#8 0x00007ffff761a82e in Dtk::Widget::DApplication::notify (this=0x7fffffffe5a0, obj=0x555555d65dc0, event=0x7fffffffe1a0) at widgets/dapplication.cpp:1212
#9 0x00007ffff54a8328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#10 0x00007ffff54e0283 in QObject::setProperty(char const*, QVariant const&) () from /usr/lib64/libQt5Core.so.5
#11 0x00007ffff7620d0c in Dtk::Widget::DImageButtonPrivate::updateIcon (this=0x555555d11e30) at widgets/dimagebutton.cpp:751
#12 0x00007ffff7620f33 in Dtk::Widget::DImageButton::DImageButton (this=0x555555d65dc0, parent=<optimized out>) at widgets/dimagebutton.cpp:104
#13 0x00007ffff7627a70 in Dtk::Widget::DWindowMinButton::DWindowMinButton (this=0x555555d65dc0, parent=<optimized out>) at widgets/dwindowminbutton.cpp:40
#14 0x00007ffff764b5bf in Dtk::Widget::DTitlebarPrivate::init (this=this@entry=0x555555d12e70) at widgets/dtitlebar.cpp:126
#15 0x00007ffff764c2e5 in Dtk::Widget::DTitlebar::DTitlebar (this=0x555555d5c140, parent=0x7fffffffe5c0) at widgets/dtitlebar.cpp:552
#16 0x00007ffff7652a4d in Dtk::Widget::DMainWindowPrivate::DMainWindowPrivate (this=0x555555ce1910, qq=0x7fffffffe5c0) at widgets/dmainwindow.cpp:44
#17 0x00007ffff7653646 in Dtk::Widget::DMainWindow::DMainWindow (this=0x7fffffffe5c0, parent=<optimized out>) at widgets/dmainwindow.cpp:131
#18 0x00005555555e8522 in MainFrame::MainFrame (this=0x7fffffffe5c0, parent=<optimized out>) at view/mainframe.cpp:566
#19 0x00005555555846ed in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:127
这样行吗?我只装了 deepin-music-player 的直接依赖的 debuginfo。
试试用这个命令启动:
env QT_QPA_PLATFORMTHEME=gnome deepin-music
也不能启动,现象一致。
话说每次 backtrace 栈帧数不太一样啊,带着环境变量就固定是 29 帧,不带环境变量好像就不一定了。
xorg 还是 wayland ?
现在是 xorg,wayland 也不能启动。
忽然发现一个情况:
(deepin-music:8521): GStreamer-WARNING **: 20:30:50.150: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.
这个警告只有在重载 plugins(重启系统、安装新 plugin)之后才会出现一次。看网上说是因为之后该 plugin 会被 blacklist。
还有网上说一般出这个警告是因为编译平台和使用平台 gstreamer 版本不同
会有关系吗?
Leap 15.2 运行 6.0.1.91 也有各种问题,不过 osdlyrics 真的好用。
以后会关注 deepin-music 的。感谢。
本主题在最后一个回复创建后60分钟后自动锁定。不再允许添加新回复。
deepin-music 虽然是我在维护,但是我并推荐大家使用。深度的东西我都不建议使用,bug 实在太多。 Linux 有很多优秀的播放器,有更多更好的选择。