Package: python-newt
Version: 0.52.2-11.3+lenny1
Severity: important
The following script will cause a segfault if it is run in a screen session:
------------------------------------------------------------------------------
#!/usr/bin/env python
from snack import *
s = SnackScreen()
g = Grid(1, 1)
ok = Button("Ok")
g.setField(ok, 0, 0)
s.gridWrappedWindow(g, "Ok")
F = Form()
F.add(ok)
res = F.run()
s.popWindow()
s.finish()
print "New screen"
s = SnackScreen()
# print "We do not get here if run in screen."
g = Grid(1, 1)
ok = Button("Ok")
g.setField(ok, 0, 0)
s.gridWrappedWindow(g, "segfaults in screen")
F = Form()
F.add(ok)
res = F.run()
s.popWindow()
s.finish()
------------------------------------------------------------------------------
$ gdb /usr/bin/python core
[...]
Core was generated by `python ./scr.py'.
Program terminated with signal 11, Segmentation fault.
[New process 20352]
#0 0x00007f70fb68fa23 in free () from /lib/libc.so.6
(gdb) bt
#0 0x00007f70fb68fa23 in free () from /lib/libc.so.6
#1 0x00007f70fabb4a42 in ?? () from /lib/libslang.so.2
#2 0x00007f70fabb8828 in SLtt_initialize () from /lib/libslang.so.2
#3 0x00007f70fabb918d in SLtt_get_terminfo () from /lib/libslang.so.2
#4 0x00007f70faeba0e1 in newtInit () from /usr/lib/libnewt.so.0.52
#5 0x00007f70fb0cdb4f in ?? () from
/usr/lib/python2.5/site-packages/_snackmodule.so
[...]
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30.5-lowlat (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-newt depends on:
ii libnewt0.52 0.52.2-11.3+lenny1 Not Erik's Windowing Toolkit - tex
ii python 2.5.2-3 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
python-newt recommends no packages.
python-newt suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]