Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #70547 > unrolled thread
| Started by | Reginaldo <abhishek1899@gmail.com> |
|---|---|
| First post | 2014-04-23 11:08 -0700 |
| Last post | 2014-04-23 18:31 -0700 |
| Articles | 4 — 4 participants |
Back to article view | Back to comp.lang.python
App segmentation fault (CentOS 6.5) Reginaldo <abhishek1899@gmail.com> - 2014-04-23 11:08 -0700
Re: App segmentation fault (CentOS 6.5) Mark H Harris <harrismh777@gmail.com> - 2014-04-23 14:46 -0500
Re: App segmentation fault (CentOS 6.5) Terry Reedy <tjreedy@udel.edu> - 2014-04-23 20:09 -0400
Re: App segmentation fault (CentOS 6.5) Wesley <nispray@gmail.com> - 2014-04-23 18:31 -0700
| From | Reginaldo <abhishek1899@gmail.com> |
|---|---|
| Date | 2014-04-23 11:08 -0700 |
| Subject | App segmentation fault (CentOS 6.5) |
| Message-ID | <34645889-9400-4d02-8577-ee29a723c447@googlegroups.com> |
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
[toc] | [next] | [standalone]
| From | Mark H Harris <harrismh777@gmail.com> |
|---|---|
| Date | 2014-04-23 14:46 -0500 |
| Message-ID | <lj95bg$vop$1@speranza.aioe.org> |
| In reply to | #70547 |
On 4/23/14 1:08 PM, Reginaldo wrote:
>
> 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:
Only fails on CentOS ?
> I use an idle thread in my application.
Is your CentOS launching idle with -n switch ?
What is different on this setup ?
Have you tried more than one CentOS system?
>
marcus
[toc] | [prev] | [next] | [standalone]
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2014-04-23 20:09 -0400 |
| Message-ID | <mailman.9477.1398298190.18130.python-list@python.org> |
| In reply to | #70548 |
On 4/23/2014 3:46 PM, Mark H Harris wrote: > On 4/23/14 1:08 PM, Reginaldo wrote: >> >> 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: > > Only fails on CentOS ? > > >> I use an idle thread in my application. > > Is your CentOS launching idle with -n switch ? I am quite sure that his 'idle thread' had nothing to do with Idle. Rather, it should be a thread that runs when the app is otherwise idle. However, if he were trying to run wx and Idle/tk in the same process, I would expect problems. -- Terry Jan Reedy
[toc] | [prev] | [next] | [standalone]
| From | Wesley <nispray@gmail.com> |
|---|---|
| Date | 2014-04-23 18:31 -0700 |
| Message-ID | <d1639785-f8ca-4ed3-a016-4fdcd9632564@googlegroups.com> |
| In reply to | #70547 |
在 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.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web