Package: python-newt
Version: 0.52.14-11.1
Severity: normal

Dear Maintainer,

I have some simple scripts which use a python-newt UI. These started generating 
segmentation faults 
after upgrading to wheezy. The problem occurs when a "SnackScreen" object is 
created then "finished" 
and another SnackScreen object is subsequently created in the same program.

The following code runs fine on squeeze but generates a segmentation fault on 
wheezy.


#!/usr/bin/env python

import snack

sTitle = "Count"
i=0

while i < 3:
    sText = str(i)
    s = snack.SnackScreen()
    bcw = snack.ButtonChoiceWindow(s, sTitle, sText, buttons = ['Continue'])
    s.finish()
    i = i+1

If the SnackScreen is created once at the top of the script and finished at the 
end, the problem 
can be worked around. But that is not pratical with legacy code that was writen 
for scripts in
past years.

Thanks

Ian




-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-newt depends on:
ii  libc6        2.13-38
ii  libnewt0.52  0.52.14-11.1
ii  libslang2    2.2.4-15
ii  python       2.7.3-4

python-newt recommends no packages.

python-newt suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to