Deepin Music 的一系列 bug

真的好使了!
谢谢!!!!

问题又来了,15.1还是打不开
也没有SIGSEGV,直接就是打不开


我试过tw,15.0,15.1的,还有obs里X11:Deepin的,都是这样。

CPU占用8%,内存以一秒1MB的速度慢慢泄露。。。

qm files 好像是翻译文件,你去 X11:Deepin 看看有没有这种包?

qm 是翻译文件,如果没安装默认是英文,这不是必须的文件,我切成的单独的包也没有强制依赖。缺翻译文件不会导致程序不能启动。

我也不需要翻译其实,但问题是这个程序连正常启动都做不到,还有内存泄露
之前Leap 15至少能正常的启动,现在15.1是根本起不来

我lldb找了一下,发现这个程序跟我预想的一样是卡死到某个循环里了

tommyvct@RYZEN-TOMMYVCT-opensuse ~> lldb deepin-music
(lldb) target create "deepin-music"
Current executable set to 'deepin-music' (x86_64).
(lldb) r
Process 9404 launched: '/usr/bin/deepin-music' (x86_64)
2019-06-09, 13:50:17.396 [Warning] [dapplication.cpp     Dtk::Widget::DApplicationPrivate::loadTranslator 280] "dtkwidget2" can not find qm files
2019-06-09, 13:50:17.397 [Warning] [dapplication.cpp     Dtk::Widget::DApplicationPrivate::loadTranslator 280] "deepin-music" can not find qm files
Process 9404 stopped
* thread #1, name = 'deepin-music', stop reason = signal SIGSTOP
    frame #0: 0x00007ffff53ad614 libQt5Core.so.5`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 212
libQt5Core.so.5`QCoreApplicationPrivate::sendThroughObjectEventFilters:
->  0x7ffff53ad614 <+212>: je     0x7ffff53ad5b0            ; <+112>
    0x7ffff53ad616 <+214>: movq   %r12, %rsi
    0x7ffff53ad619 <+217>: movq   %r13, %rdi
    0x7ffff53ad61c <+220>: xorl   %eax, %eax
(lldb) r
There is a running process, kill it and restart?: [Y/n] 
Process 9404 exited with status = 9 (0x00000009) 
Process 9453 launched: '/usr/bin/deepin-music' (x86_64)
2019-06-09, 13:51:19.663 [Warning] [dapplication.cpp     Dtk::Widget::DApplicationPrivate::loadTranslator 280] "dtkwidget2" can not find qm files
2019-06-09, 13:51:19.663 [Warning] [dapplication.cpp     Dtk::Widget::DApplicationPrivate::loadTranslator 280] "deepin-music" can not find qm files
Process 9453 stopped
* thread #1, name = 'deepin-music', stop reason = signal SIGSTOP
    frame #0: 0x00007ffff53e62eb libQt5Core.so.5`___lldb_unnamed_symbol2359$$libQt5Core.so.5 + 75
libQt5Core.so.5`___lldb_unnamed_symbol2359$$libQt5Core.so.5:
->  0x7ffff53e62eb <+75>: testl  %edx, %edx
    0x7ffff53e62ed <+77>: je     0x7ffff53e631a            ; <+122>
    0x7ffff53e62ef <+79>: movq   (%rsi), %rdx
    0x7ffff53e62f2 <+82>: movq   0x8(%rcx), %rcx
(lldb) r
There is a running process, kill it and restart?: [Y/n] n
(lldb) c
Process 9453 resuming
Process 9453 stopped
* thread #1, name = 'deepin-music', stop reason = signal SIGSTOP
    frame #0: 0x00007ffff53ad5fb libQt5Core.so.5`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 187
libQt5Core.so.5`QCoreApplicationPrivate::sendThroughObjectEventFilters:
->  0x7ffff53ad5fb <+187>: testl  %eax, %eax
    0x7ffff53ad5fd <+189>: je     0x7ffff53ad5c8            ; <+136>
    0x7ffff53ad5ff <+191>: movq   0x8(%rsi), %rdi
    0x7ffff53ad603 <+195>: testq  %rdi, %rdi
(lldb) c
Process 9453 resuming
r
Process 9453 stopped
* thread #1, name = 'deepin-music', stop reason = signal SIGSTOP
    frame #0: 0x00007ffff53ad614 libQt5Core.so.5`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 212
libQt5Core.so.5`QCoreApplicationPrivate::sendThroughObjectEventFilters:
->  0x7ffff53ad614 <+212>: je     0x7ffff53ad5b0            ; <+112>
    0x7ffff53ad616 <+214>: movq   %r12, %rsi
    0x7ffff53ad619 <+217>: movq   %r13, %rdi
    0x7ffff53ad61c <+220>: xorl   %eax, %eax
1赞

去上游报 bug 吧。

https://bugzilla.opensuse.org/show_bug.cgi?id=1138309

你报这里干嘛?openSUSE 又不是上游。Deepin 在 github 上有报 bug 的地方。