在 2014年4月24日星期四UTC+8上午2时08分29秒,Reginaldo写道:
> Hi,
> 
> 
> 
> I have a GUI app that is written using wx. When I run it on CentOS 6.5, the 
> following error messages are displayed and the app closes:
> 
> 
> 
> (python:10096): Pango-WARNING **: shaping failure, expect ugly output. 
> shape-engine='BasicEngineFc', font='DejaVu Sans 10.9990234375', text=''
> 
> 
> 
> (python:10096): Pango-CRITICAL **: pango_layout_get_line_count: assertion 
> `layout != NULL' failed
> 
> 
> 
> (python:10096): Gdk-CRITICAL **: IA__gdk_draw_layout: assertion 
> `PANGO_IS_LAYOUT (layout)' failed
> 
> Segmentation fault
> 
> 
> 
> I checked if this was a font issue, but the font is installed on the system.
> 
> 
> 
> I use an idle thread in my application.
> 
> 
> 
> Could some let me know what the problem may be in this case? Thank you!
> 
> 
> 
> Python Version used: 2.6.6
> 
> wxPython Version used: 2.8.11

Maybe you can gdb python attach the running pid and check the backtrace.
Severay days ago, I use this guy to address thread hang and memory leak issues.
Just say here if that helps.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to