托盘启动不理,显示段错误
Tofloor
poster avatar
jd808
deepin
2013-08-21 18:09
Author
kong@kong-To-be-filled-by-O-E-M:/usr/share/deepin-system-tray/src$  python ./trayicon.py
load_image_path: ./image
reinit object
[DEBUG]        [08/21/13] 10:05:30 shared_methods.py [27 __init__]: ('network-manager start',)
Xlib.protocol.request.QueryExtension
tray_find_dock...







段错误
Reply Favorite View the author
All Replies
cxbii
deepin
2013-08-21 18:20
#1
你需要把这段代码发到bug管理,让开发者分下把
Reply View the author
186******98
deepin
2013-08-21 19:07
#2
kong@kong-To-be-filled-by-O-E-M:/usr/share/deepin-system-tray/src$  python ./trayicon.py
load_image_path: ./image
reinit object
[DEBUG]        [08/21/13] 10:05:30 shared_methods.py [27 __init__]: ('network-manager start',)
Xlib.protocol.request.QueryExtension
tray_find_dock...







段错误
请用以下命令:
sudo apt-get install gdb
cd /usr/share/deepin-system-tray/src && gdb python
r ./tray.py

如果遇到段错误, 键入
bt

然后把 gdb 输出的错误粘贴上来, 谢谢!
Reply View the author
jd808
deepin
2013-08-21 19:42
#3
kong@kong-To-be-filled-by-O-E-M:~/桌面$ cd /usr/share/deepin-system-tray/src && gdb python
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/bin/python2.7...(no debugging symbols found)...done.
(gdb) r ./tray.py
Starting program: /usr/bin/python2.7 ./tray.py
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
/usr/bin/python2.7: can't open file './tray.py': [Errno 2] No such file or directory
[Inferior 1 (process 5406) exited with code 02]
Reply View the author
186******98
deepin
2013-08-21 20:38
#4
sorry, 是 r ./trayicon.py
Reply View the author
jd808
deepin
2013-08-21 21:57
#5
kong@kong-To-be-filled-by-O-E-M:~/桌面$ cd /usr/share/deepin-system-tray/src && gdb python
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/bin/python2.7...(no debugging symbols found)...done.
(gdb) r ./trayicon.py
Starting program: /usr/bin/python2.7 ./trayicon.py
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
load_image_path: ./image
[New Thread 0x7fffe4294700 (LWP 8524)]
[New Thread 0x7fffe3a93700 (LWP 8525)]
reinit object
[DEBUG]        [08/21/13] 13:53:45 shared_methods.py [27 __init__]: ('network-manager start',)
Xlib.protocol.request.QueryExtension
tray_find_dock...








Program received signal SIGSEGV, Segmentation fault.
0x00000000004c518e in PyDict_New ()
(gdb) bt
#0  0x00000000004c518e in PyDict_New ()
#1  0x00007fffe21bfb8e in ?? ()
   from /usr/lib/python2.7/dist-packages/deepin_pulseaudio_small.so
#2  0x00007fffe1f89bb7 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fffe19322c6 in ?? ()
   from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-3.0.so
#4  0x00007fffe193264b in pa_pdispatch_run ()
   from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-3.0.so
#5  0x00007fffe1f7fccd in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fffe19365cc in ?? ()
   from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-3.0.so
#7  0x00007fffe1d6dbc7 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0
#8  0x00007ffff6841e45 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffff6842188 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff68425fa in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff5190fe7 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff583d314 in ?? ()
   from /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/_gtk.so
#13 0x00000000004769ec in PyEval_EvalFrameEx ()
---Type to continue, or q to quit---
#14 0x00000000004e010a in PyEval_EvalCodeEx ()
#15 0x000000000053f972 in PyEval_EvalCode ()
#16 0x000000000053fdeb in ?? ()
#17 0x00000000004658d3 in PyRun_FileExFlags ()
#18 0x0000000000465e03 in PyRun_SimpleFileExFlags ()
#19 0x0000000000466b78 in Py_Main ()
#20 0x00007ffff6ef3ea5 in __libc_start_main ()
   from /lib/x86_64-linux-gnu/libc.so.6
#21 0x00000000004e0d95 in _start ()
Reply View the author
186******98
deepin
2013-08-22 01:33
#6
非常感谢, 这段调试信息对我们修复非常有用
Reply View the author
186******98
deepin
2013-08-22 02:13
#7
我们最近修复了 PluseAudio 的Bug, 看看是否更新后是否能修复这个问题, 如果不能, 我们会继续跟踪的。
Reply View the author
jd808
deepin
2013-08-22 05:13
#8
我的系统已经更新到最新状态啦
Reply View the author
tuhaihe
deepin
2013-08-26 17:40
#9
我的系统已经更新到最新状态啦
现在还有这问题吗?
Reply View the author
fredy4212
deepin
2013-08-26 21:10
#10
[quote]kong@kong-To-be-filled-by-O-E-M:/usr/share/deepin-system-tray/src$  python ./trayicon.py
load_image_path: ./image
reinit object
[DEBUG]        [08/21/13] 10:05:30 shared_methods.py [27 __init__]: ('network-manager start',)
Xlib.protocol.request.QueryExtension
tray_find_dock...







段错误
请用以下命令:
sudo apt-get install gdb
cd /usr/share/deepin-system-tray/src && gdb python
r ./tray.py

如果遇到段错误, 键入
bt

然后把 gdb 输出的错误粘贴上来, 谢谢![/quote]
最近我也發現系統匣很有問題,像我在充電,明明已經拔掉電源了,卻還顯示充電中,電池圖示有時還會自動消失;我明明已經將基地台關掉了,卻還顯示已連線;感覺系統匣都不會更新,還有,繁體中文的輸入法圖示非常醜,通知圖示應該要重繪.
Reply View the author
tuhaihe
deepin
2013-10-11 00:45
#11
已经修复了该问题。
Reply View the author