Deepin System Monitor 异常地容易崩溃
Tofloor
poster avatar
la******ng@outlook.com
deepin
2017-07-24 01:02
Author
本帖最后由 s9209122222 于 2017-7-23 17:11 编辑

奇妙的是当我切换语言為「American English」后没出过状况
  1. 名稱                   : deepin-system-monitor
  2. 版本                   : 0.1.1-1
  3. 描述                   : A more user-friendly system monitor
  4. 硬體架構               : x86_64
  5. URL                    : https://github.com/linuxdeepin/deepin-system-monitor
  6. 軟體授權               : GPL3
  7. 群組                   : deepin
  8. 它提供                 : 無
  9. 它依賴                 : deepin-tool-kit  procps-ng  nethogs  libcap
  10. 可選依賴               : 無
  11. 需要它                 : 無
  12. 為這些軟體包的可選依賴 : 無
  13. 與它衝突               : 無
  14. 它會取代               : 無
  15. 安裝後大小             : 601.00 KiB
  16. 打包者                 : Felix Yan
  17. 建置日期               : 西元2017年07月23日 (週日) 01時25分26秒
  18. 安裝日期               : 西元2017年07月23日 (週日) 08時39分26秒
  19. 安裝原因               : 單獨指定安裝
  20. 安裝指令稿             : 是
  21. 驗證者                 : SHA-256 總和碼
Copy the Code
Reply Favorite View the author
All Replies
avatar
wangyong
deepin
2017-07-24 02:48
#1
用gdb看一下哪里挂了,我晚上修一下
Reply View the author
avatar
la******ng@outlook.com
deepin
2017-07-24 05:03
#2
本帖最后由 s9209122222 于 2017-7-23 21:14 编辑
https://bbs.deepin.org/post/143060
用gdb看一下哪里挂了,我晚上修一下

抱歉现在才看到,不晓得我的开啟方式对不对,用gdb执行到一半都会突然不能操作
  1. [user@user-PC ~]$ cd /usr/bin/
  2. [user@user-PC bin]$ gdb ./deepin-system-monitor
  3. GNU gdb (GDB) 8.0
  4. Copyright (C) 2017 Free Software Foundation, Inc.
  5. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  6. This is free software: you are free to change and redistribute it.
  7. There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  8. and "show warranty" for details.
  9. This GDB was configured as "x86_64-pc-linux-gnu".
  10. Type "show configuration" for configuration details.
  11. For bug reporting instructions, please see:
  12. <http://www.gnu.org/software/gdb/bugs/>.
  13. Find the GDB manual and other documentation resources online at:
  14. <http://www.gnu.org/software/gdb/documentation/>.
  15. For help, type "help".
  16. Type "apropos word" to search for commands related to "word"...
  17. Reading symbols from ./deepin-system-monitor...(no debugging symbols found)...done.
  18. (gdb) r
  19. Starting program: /usr/bin/deepin-system-monitor
  20. [Thread debugging using libthread_db enabled]
  21. Using host libthread_db library "/usr/lib/libthread_db.so.1".
  22. [New Thread 0x7f553138a700 (LWP 9938)]

  23. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘adwaita’,

  24. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘adwaita’,

  25. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘murrine’,

  26. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘murrine’,

  27. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘murrine’,

  28. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘murrine’,

  29. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘murrine’,

  30. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘murrine’,

  31. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘murrine’,

  32. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘murrine’,

  33. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘murrine’,

  34. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘murrine’,

  35. (deepin-system-monitor:9934): Gtk-WARNING **: 無法在 module_path 中找出佈景主題引擎:‘murrine’,
  36. [New Thread 0x7f5527cc2700 (LWP 9939)]
  37. [New Thread 0x7f552559e700 (LWP 9940)]
  38. [New Thread 0x7f5524d9d700 (LWP 9941)]
  39. [New Thread 0x7f5517fff700 (LWP 9942)]
  40. "dtkwidget" can not find qm files
  41. "deepin-system-monitor" can not find qm files
  42. [New Thread 0x7f550ffff700 (LWP 9943)]
  43. ERROR: opening handler for device enp3s0: 此項操作並不被允許
  44. [Thread 0x7f550ffff700 (LWP 9943) exited]
  45. [New Thread 0x7f5503566700 (LWP 9944)]
  46. [New Thread 0x7f5502d65700 (LWP 9945)]
  47. [New Thread 0x7f550235f700 (LWP 9946)]
  48. [New Thread 0x7f5501b5e700 (LWP 9947)]
  49. [New Thread 0x7f550135d700 (LWP 9948)]
  50. [New Thread 0x7f5500b5c700 (LWP 9949)]

  51. Thread 1 "deepin-system-m" received signal SIGSEGV, Segmentation fault.
  52. 0x0000558e4e90976f in ?? ()
Copy the Code

Reply View the author
avatar
la******ng@outlook.com
deepin
2017-07-24 05:15
#3
https://bbs.deepin.org/post/143060
用gdb看一下哪里挂了,我晚上修一下

刚刚上传了
Reply View the author
avatar
wangyong
deepin
2017-07-24 06:28
#4

gdb里面挂的时候,最后打一下bt回车,然后粘贴一下错误堆栈给我。

或者,如果你能够稳定重现说一下步骤也可以,我来调试。
Reply View the author
avatar
la******ng@outlook.com
deepin
2017-07-24 06:30
#5
本帖最后由 s9209122222 于 2017-7-23 22:34 编辑
https://bbs.deepin.org/post/143060
gdb里面挂的时候,最后打一下bt回车,然后粘贴一下错误堆栈给我。

或者,如果你能够稳定重现说一下步骤 ...

怎么发生的我自己也不太确定,好像是在切换右上角那几个图示时发生的

  1. #0  0x000055842d6b076f in  ()
  2. #1  0x00007f04af1e2d68 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
  3. #2  0x00007f04af1a0e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
  4.     at /usr/lib/libQt5Widgets.so.5
  5. #3  0x00007f04af1a8ea1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
  6. #4  0x00007f04afdd7fab in Dtk::Widget::DApplication::notify(QObject*, QEvent*) ()
  7.     at /usr/lib/libdtkwidget.so.1
  8. #5  0x00007f04ae275bd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
  9.     at /usr/lib/libQt5Core.so.5
  10. #6  0x00007f04af1a7e2a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) () at /usr/lib/libQt5Widgets.so.5
  11. #7  0x00007f04af1fdf51 in  () at /usr/lib/libQt5Widgets.so.5
  12. #8  0x00007f04af200691 in  () at /usr/lib/libQt5Widgets.so.5
  13. #9  0x00007f04af1a0e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
  14.     at /usr/lib/libQt5Widgets.so.5
  15. #10 0x00007f04af1a8926 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
  16. #11 0x00007f04afdd7fab in Dtk::Widget::DApplication::notify(QObject*, QEvent*) ()
  17.     at /usr/lib/libdtkwidget.so.1
  18. #12 0x00007f04ae275bd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
  19.     at /usr/lib/libQt5Core.so.5
  20. #13 0x00007f04ae7d81e4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
  21. #14 0x00007f04ae7d9d46 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
  22. #15 0x00007f04ae7b14ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags) () at /usr/lib/libQt5Gui.so.5
  23. #16 0x00007f04a2c3ecc1 in  () at /usr/lib/libQt5XcbQpa.so.5
  24. #17 0x00007f04aa0cea57 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
  25. ---Type to continue, or q to quit---
  26. #18 0x00007f04aa0cec88 in  () at /usr/lib/libglib-2.0.so.0
  27. #19 0x00007f04aa0ced1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
  28. #20 0x00007f04ae2d0061 in QEventDispatcherGlib::processEvents(QFlags) ()
  29.     at /usr/lib/libQt5Core.so.5
  30. #21 0x00007f04ae273ffb in QEventLoop::exec(QFlags) ()
  31.     at /usr/lib/libQt5Core.so.5
  32. #22 0x00007f04ae27d048 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
  33. #23 0x000055842d68835a in main ()
Copy the Code

Reply View the author
avatar
wangyong
deepin
2017-07-24 06:35
#6
https://bbs.deepin.org/post/143060
怎么发生的我自己也不太确定,好像是在切换右上角那几个图示时发生的

感觉挂在Dtk里面去了,明天我让同事看一下,非常感谢! ;)
Reply View the author
avatar
wangyong
deepin
2017-07-24 07:18
#7
https://ci.deepin.io/job/deepin-system-monitor-ci/32/ 这个版本已经修复了,如果是arch的话,等肥猫的自动打包机器人,今天晚上就可以更新。
Reply View the author
avatar
wangyong
deepin
2017-07-24 07:21
#8
楼上的没修好,等我继续修
Reply View the author
avatar
kingskill
deepin
2017-07-24 07:36
#9
https://bbs.deepin.org/post/143060
楼上的没修好,等我继续修

老大,目前稳定的是21版。

建议你在“关于”中显示详细修订版,方便我们做区别。

另外刚才试了下32,貌似和输入法有点关系。。。怀疑红色的(无响应)有问题。貌似没影响实则有影响?
Reply View the author
avatar
wangyong
deepin
2017-07-24 07:43
#10
https://bbs.deepin.org/post/143060
老大,目前稳定的是21版。

建议你在“关于”中显示详细修订版,方便我们做区别。

和输入法没有关系,输入法红色是搜狗输入法实现的太垃圾导致的僵死进程。
Reply View the author
avatar
kingskill
deepin
2017-07-24 07:51
#11
https://bbs.deepin.org/post/143060
和输入法没有关系,输入法红色是搜狗输入法实现的太垃圾导致的僵死进程。 ...

每次闪退,基本上没有什么“过分”的操作。感觉像是内存溢出。。。或者磁盘写入写出频繁导致~~除了输入法,也想不出有什么东西会导致这个了。

喔对了,刚才点击monitor的时候不晓得点到什么了,桌面莫名3d变成2d了,我发誓没有按win+shift+tab。然后我改回3d,monitor秒退。
Reply View the author
avatar
wangyong
deepin
2017-07-24 07:59
#12
https://bbs.deepin.org/post/143060
每次闪退,基本上没有什么“过分”的操作。感觉像是内存溢出。。。或者磁盘写入写出频繁导致~~除了输入 ...

我知道什么问题,已经可以稳定重现了,睡觉之前搞定
Reply View the author
avatar
kingskill
deepin
2017-07-24 08:04
#13
https://bbs.deepin.org/post/143060
我知道什么问题,已经可以稳定重现了,睡觉之前搞定

ok 等33~~~~
Reply View the author
avatar
wangyong
deepin
2017-07-24 08:29
#14
彻底修复了:
https://github.com/manateelazyca ... 4821c6a8b90b7b26ccb
https://ci.deepin.io/job/deepin-system-monitor-ci/33/ 这里可以下载修复后的安装包测试

原因见截图

可以安心的睡觉了。

Reply View the author
avatar
kingskill
deepin
2017-07-24 10:21
#15
https://bbs.deepin.org/post/143060
彻底修复了:
https://github.com/manateelazycat/deepin-system-monitor/commit/86f88cfdcf920da00f604482 ...

1、刚试过了,大概一个小时下来,没有崩。Good job!

2、安装的时候,依旧提示依赖版本低配置工作无法进行。但其实安装是成功的。比如原来装了32,现在33来了,装了后提示出错,不清楚的人就会认为没装上,但其实是装上了。这也是为什么我前面建议,在“关于”里写一下monitor具体构建版本信息,方便我们确认当前版本。而不仅仅只是写个1.0。  

3、crossover的迅雷在保持主窗口的情况下,打开monitor,或者,开着monitor的情况下,打开迅雷,都可以看到迅雷进程。但奇怪的是,当我点击迅雷界面,焦点转到界面上后,迅雷进程的名字秒变为“program”,图标也变成wine的红酒图标了。

Reply View the author
avatar
la******ng@outlook.com
deepin
2017-07-25 04:53
#16
本帖最后由 s9209122222 于 2017-7-24 20:54 编辑

没想到这么快就修复了!
话说 Arch 这边能够更新一下翻译吗?虽然已经翻译完成,但都没办法看到
Reply View the author
avatar
134******40
deepin
2017-07-25 05:02
#17
https://bbs.deepin.org/post/143060
彻底修复了:
https://github.com/manateelazycat/deepin-system-monitor/commit/86f88cfdcf920da00f604482 ...

然后提示dtk版本太低,安装不了,现在是15.4.1的系统。
Reply View the author
avatar
wangyong
deepin
2017-07-25 06:01
#18
https://bbs.deepin.org/post/143060
然后提示dtk版本太低,安装不了,现在是15.4.1的系统。

你们不要着急
Reply View the author