Radoslaw Garbacz
2014-04-24 14:48:22 UTC
Hi,
I had a crash of python, which seems to be related to the urwid library,
please take a look at the dump below.
the code using urwid:
from urwid.raw_.... import Screen
screen = Screen()
self._cols, rows = screen.get_cols_rows()
*** Error in `/usr/bin/python': free(): invalid size: 0x00007f11a4001950 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x766be)[0x7f11c9ff56be]
/lib64/libc.so.6(+0x77427)[0x7f11c9ff6427]
/usr/lib64/libpython2.6.so.1.0(PyThread_ReInitTLS+0x49)[0x7f11cad3af69]
/usr/lib64/libpython2.6.so.1.0(+0xff896)[0x7f11cad44896]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x4423)[0x7f11cad15063]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x43a0)[0x7f11cad14fe0]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x841)[0x7f11cad16491]
/usr/lib64/libpython2.6.so.1.0(+0x693d8)[0x7f11cacae3d8]
/usr/lib64/libpython2.6.so.1.0(PyObject_Call+0x43)[0x7f11cac8baf3]
/usr/lib64/libpython2.6.so.1.0(+0x55135)[0x7f11cac9a135]
/usr/lib64/libpython2.6.so.1.0(PyObject_Call+0x43)[0x7f11cac8baf3]
/usr/lib64/libpython2.6.so.1.0(+0x94be7)[0x7f11cacd9be7]
/usr/lib64/libpython2.6.so.1.0(+0x942bf)[0x7f11cacd92bf]
/usr/lib64/libpython2.6.so.1.0(PyObject_Call+0x43)[0x7f11cac8baf3]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x1896)[0x7f11cad124d6]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x841)[0x7f11cad16491]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x421b)[0x7f11cad14e5b]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x43a0)[0x7f11cad14fe0]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x43a0)[0x7f11cad14fe0]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x43a0)[0x7f11cad14fe0]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x841)[0x7f11cad16491]
/usr/lib64/libpython2.6.so.1.0(+0x692ff)[0x7f11cacae2ff]
/usr/lib64/libpython2.6.so.1.0(PyObject_Call+0x43)[0x7f11cac8baf3]
/usr/lib64/libpython2.6.so.1.0(+0x55135)[0x7f11cac9a135]
/usr/lib64/libpython2.6.so.1.0(PyObject_Call+0x43)[0x7f11cac8baf3]
/usr/lib64/libpython2.6.so.1.0(PyEval_CallObjectWithKeywords+0x47)[0x7f11cad10647]
/usr/lib64/libpython2.6.so.1.0(+0xf97aa)[0x7f11cad3e7aa]
/lib64/libpthread.so.0(+0x7f18)[0x7f11caa30f18]
/lib64/libc.so.6(clone+0x6d)[0x7f11ca061e0d]
======= Memory map: ========
00400000-00401000 r-xp 00000000 ca:01 21169
/usr/bin/python2.6
00600000-00601000 rw-p 00000000 ca:01 21169
/usr/bin/python2.6
01456000-01f5e000 rw-p 00000000 00:00 0
[heap]
7f119c000000-7f119c021000 rw-p 00000000 00:00 0
7f119c021000-7f11a0000000 ---p 00000000 00:00 0
7f11a4000000-7f11a4021000 rw-p 00000000 00:00 0
7f11a4021000-7f11a8000000 ---p 00000000 00:00 0
7f11a8000000-7f11a8021000 rw-p 00000000 00:00 0
7f11a8021000-7f11ac000000 ---p 00000000 00:00 0
7f11aede8000-7f11aedfd000 r-xp 00000000 ca:01 7770
/lib64/libgcc_s-4.8.2-20131212.so.1
7f11aedfd000-7f11aeffd000 ---p 00015000 ca:01 7770
/lib64/libgcc_s-4.8.2-20131212.so.1
7f11aeffd000-7f11aeffe000 rw-p 00015000 ca:01 7770
/lib64/libgcc_s-4.8.2-20131212.so.1
7f11aeffe000-7f11aefff000 ---p 00000000 00:00 0
7f11aefff000-7f11af7ff000 rw-p 00000000 00:00 0
7f11af7ff000-7f11af800000 ---p 00000000 00:00 0
7f11af800000-7f11b0000000 rw-p 00000000 00:00 0
7f11b0000000-7f11b0021000 rw-p 00000000 00:00 0
7f11b0021000-7f11b4000000 ---p 00000000 00:00 0
7f11b4000000-7f11b4021000 rw-p 00000000 00:00 0
7f11b4021000-7f11b8000000 ---p 00000000 00:00 0
7f11b8000000-7f11b8021000 rw-p 00000000 00:00 0
7f11b8021000-7f11bc000000 ---p 00000000 00:00 0
7f11bc1f9000-7f11bc1fa000 ---p 00000000 00:00 0
7f11bc1fa000-7f11bc9fa000 rw-p 00000000 00:00 0
[stack:18154]
7f11bc9fa000-7f11bc9fb000 ---p 00000000 00:00 0
7f11bc9fb000-7f11bd1fb000 rw-p 00000000 00:00 0
7f11bd1fb000-7f11bd1fc000 ---p 00000000 00:00 0
7f11bd1fc000-7f11bd9fc000 rw-p 00000000 00:00 0
7f11bd9fc000-7f11bd9fd000 ---p 00000000 00:00 0
7f11bd9fd000-7f11be1fd000 rw-p 00000000 00:00 0
7f11be1fd000-7f11be209000 r-xp 00000000 ca:01 15968
/lib64/libnss_files-2.17.so
7f11be209000-7f11be408000 ---p 0000c000 ca:01 15968
/lib64/libnss_files-2.17.so
7f11be408000-7f11be409000 r--p 0000b000 ca:01 15968
/lib64/libnss_files-2.17.so
7f11be409000-7f11be40a000 rw-p 0000c000 ca:01 15968
/lib64/libnss_files-2.17.so
7f11be40a000-7f11be40c000 r-xp 00000000 ca:01 26761
/usr/lib64/python2.6/lib-dynload/grpmodule.so
7f11be40c000-7f11be60b000 ---p 00002000 ca:01 26761
/usr/lib64/python2.6/lib-dynload/grpmodule.so
7f11be60b000-7f11be60c000 rw-p 00001000 ca:01 26761
/usr/lib64/python2.6/lib-dynload/grpmodule.so
7f11be60c000-7f11be611000 r-xp 00000000 ca:01 157224
/usr/lib64/python2.6/site-packages/zope/interface/_zope_interface_coptimizations.so
7f11be611000-7f11be811000 ---p 00005000 ca:01 157224
/usr/lib64/python2.6/site-packages/zope/interface/_zope_interface_coptimizations.so
7f11be811000-7f11be813000 rw-p 00005000 ca:01 157224
/usr/lib64/python2.6/site-packages/zope/interface/_zope_interface_coptimizations.so
7f11be813000-7f11be817000 r-xp 00000000 ca:01 28862
/usr/lib64/python2.6/lib-dynload/termios.so
7f11be817000-7f11bea17000 ---p 00004000 ca:01 28862
/usr/lib64/python2.6/lib-dynload/termios.so
7f11bea17000-7f11bea19000 rw-p 00004000 ca:01 28862
/usr/lib64/python2.6/lib-dynload/termios.so
7f11bea19000-7f11bea1a000 r-xp 00000000 ca:01 29518
/usr/lib64/python2.6/lib-dynload/_weakref.so
7f11bea1a000-7f11bec1a000 ---p 00001000 ca:01 29518
/usr/lib64/python2.6/lib-dynload/_weakref.so
7f11bec1a000-7f11bec1b000 rw-p 00001000 ca:01 29518
/usr/lib64/python2.6/lib-dynload/_weakref.so
7f11bec1b000-7f11bec23000 r-xp 00000000 ca:01 29519
/usr/lib64/python2.6/lib-dynload/arraymodule.so
7f11bec23000-7f11bee22000 ---p 00008000 ca:01 29519
/usr/lib64/python2.6/lib-dynload/arraymodule.so
7f11bee22000-7f11bee25000 rw-p 00007000 ca:01 29519
/usr/lib64/python2.6/lib-dynload/arraymodule.so
7f11bee25000-7f11bee28000 r-xp 00000000 ca:01 18366
/usr/lib64/python2.6/site-packages/urwid/str_util.so
7f11bee28000-7f11bf028000 ---p 00003000 ca:01 18366
/usr/lib64/python2.6/site-packages/urwid/str_util.so
7f11bf028000-7f11bf029000 rw-p 00003000 ca:01 18366
/usr/lib64/python2.6/site-packages/urwid/str_util.so
7f11bf029000-7f11bf03a000 r-xp 00000000 ca:01 28852
/usr/lib64/python2.6/lib-dynload/datetime.so
7f11bf03a000-7f11bf239000 ---p 00011000 ca:01 28852
/usr/lib64/python2.6/lib-dynload/datetime.so
7f11bf239000-7f11bf23d000 rw-p 00010000 ca:01 28852
/usr/lib64/python2.6/lib-dynload/datetime.so
I had a crash of python, which seems to be related to the urwid library,
please take a look at the dump below.
the code using urwid:
from urwid.raw_.... import Screen
screen = Screen()
self._cols, rows = screen.get_cols_rows()
*** Error in `/usr/bin/python': free(): invalid size: 0x00007f11a4001950 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x766be)[0x7f11c9ff56be]
/lib64/libc.so.6(+0x77427)[0x7f11c9ff6427]
/usr/lib64/libpython2.6.so.1.0(PyThread_ReInitTLS+0x49)[0x7f11cad3af69]
/usr/lib64/libpython2.6.so.1.0(+0xff896)[0x7f11cad44896]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x4423)[0x7f11cad15063]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x43a0)[0x7f11cad14fe0]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x841)[0x7f11cad16491]
/usr/lib64/libpython2.6.so.1.0(+0x693d8)[0x7f11cacae3d8]
/usr/lib64/libpython2.6.so.1.0(PyObject_Call+0x43)[0x7f11cac8baf3]
/usr/lib64/libpython2.6.so.1.0(+0x55135)[0x7f11cac9a135]
/usr/lib64/libpython2.6.so.1.0(PyObject_Call+0x43)[0x7f11cac8baf3]
/usr/lib64/libpython2.6.so.1.0(+0x94be7)[0x7f11cacd9be7]
/usr/lib64/libpython2.6.so.1.0(+0x942bf)[0x7f11cacd92bf]
/usr/lib64/libpython2.6.so.1.0(PyObject_Call+0x43)[0x7f11cac8baf3]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x1896)[0x7f11cad124d6]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x841)[0x7f11cad16491]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x421b)[0x7f11cad14e5b]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x43a0)[0x7f11cad14fe0]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x43a0)[0x7f11cad14fe0]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x43a0)[0x7f11cad14fe0]
/usr/lib64/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x841)[0x7f11cad16491]
/usr/lib64/libpython2.6.so.1.0(+0x692ff)[0x7f11cacae2ff]
/usr/lib64/libpython2.6.so.1.0(PyObject_Call+0x43)[0x7f11cac8baf3]
/usr/lib64/libpython2.6.so.1.0(+0x55135)[0x7f11cac9a135]
/usr/lib64/libpython2.6.so.1.0(PyObject_Call+0x43)[0x7f11cac8baf3]
/usr/lib64/libpython2.6.so.1.0(PyEval_CallObjectWithKeywords+0x47)[0x7f11cad10647]
/usr/lib64/libpython2.6.so.1.0(+0xf97aa)[0x7f11cad3e7aa]
/lib64/libpthread.so.0(+0x7f18)[0x7f11caa30f18]
/lib64/libc.so.6(clone+0x6d)[0x7f11ca061e0d]
======= Memory map: ========
00400000-00401000 r-xp 00000000 ca:01 21169
/usr/bin/python2.6
00600000-00601000 rw-p 00000000 ca:01 21169
/usr/bin/python2.6
01456000-01f5e000 rw-p 00000000 00:00 0
[heap]
7f119c000000-7f119c021000 rw-p 00000000 00:00 0
7f119c021000-7f11a0000000 ---p 00000000 00:00 0
7f11a4000000-7f11a4021000 rw-p 00000000 00:00 0
7f11a4021000-7f11a8000000 ---p 00000000 00:00 0
7f11a8000000-7f11a8021000 rw-p 00000000 00:00 0
7f11a8021000-7f11ac000000 ---p 00000000 00:00 0
7f11aede8000-7f11aedfd000 r-xp 00000000 ca:01 7770
/lib64/libgcc_s-4.8.2-20131212.so.1
7f11aedfd000-7f11aeffd000 ---p 00015000 ca:01 7770
/lib64/libgcc_s-4.8.2-20131212.so.1
7f11aeffd000-7f11aeffe000 rw-p 00015000 ca:01 7770
/lib64/libgcc_s-4.8.2-20131212.so.1
7f11aeffe000-7f11aefff000 ---p 00000000 00:00 0
7f11aefff000-7f11af7ff000 rw-p 00000000 00:00 0
7f11af7ff000-7f11af800000 ---p 00000000 00:00 0
7f11af800000-7f11b0000000 rw-p 00000000 00:00 0
7f11b0000000-7f11b0021000 rw-p 00000000 00:00 0
7f11b0021000-7f11b4000000 ---p 00000000 00:00 0
7f11b4000000-7f11b4021000 rw-p 00000000 00:00 0
7f11b4021000-7f11b8000000 ---p 00000000 00:00 0
7f11b8000000-7f11b8021000 rw-p 00000000 00:00 0
7f11b8021000-7f11bc000000 ---p 00000000 00:00 0
7f11bc1f9000-7f11bc1fa000 ---p 00000000 00:00 0
7f11bc1fa000-7f11bc9fa000 rw-p 00000000 00:00 0
[stack:18154]
7f11bc9fa000-7f11bc9fb000 ---p 00000000 00:00 0
7f11bc9fb000-7f11bd1fb000 rw-p 00000000 00:00 0
7f11bd1fb000-7f11bd1fc000 ---p 00000000 00:00 0
7f11bd1fc000-7f11bd9fc000 rw-p 00000000 00:00 0
7f11bd9fc000-7f11bd9fd000 ---p 00000000 00:00 0
7f11bd9fd000-7f11be1fd000 rw-p 00000000 00:00 0
7f11be1fd000-7f11be209000 r-xp 00000000 ca:01 15968
/lib64/libnss_files-2.17.so
7f11be209000-7f11be408000 ---p 0000c000 ca:01 15968
/lib64/libnss_files-2.17.so
7f11be408000-7f11be409000 r--p 0000b000 ca:01 15968
/lib64/libnss_files-2.17.so
7f11be409000-7f11be40a000 rw-p 0000c000 ca:01 15968
/lib64/libnss_files-2.17.so
7f11be40a000-7f11be40c000 r-xp 00000000 ca:01 26761
/usr/lib64/python2.6/lib-dynload/grpmodule.so
7f11be40c000-7f11be60b000 ---p 00002000 ca:01 26761
/usr/lib64/python2.6/lib-dynload/grpmodule.so
7f11be60b000-7f11be60c000 rw-p 00001000 ca:01 26761
/usr/lib64/python2.6/lib-dynload/grpmodule.so
7f11be60c000-7f11be611000 r-xp 00000000 ca:01 157224
/usr/lib64/python2.6/site-packages/zope/interface/_zope_interface_coptimizations.so
7f11be611000-7f11be811000 ---p 00005000 ca:01 157224
/usr/lib64/python2.6/site-packages/zope/interface/_zope_interface_coptimizations.so
7f11be811000-7f11be813000 rw-p 00005000 ca:01 157224
/usr/lib64/python2.6/site-packages/zope/interface/_zope_interface_coptimizations.so
7f11be813000-7f11be817000 r-xp 00000000 ca:01 28862
/usr/lib64/python2.6/lib-dynload/termios.so
7f11be817000-7f11bea17000 ---p 00004000 ca:01 28862
/usr/lib64/python2.6/lib-dynload/termios.so
7f11bea17000-7f11bea19000 rw-p 00004000 ca:01 28862
/usr/lib64/python2.6/lib-dynload/termios.so
7f11bea19000-7f11bea1a000 r-xp 00000000 ca:01 29518
/usr/lib64/python2.6/lib-dynload/_weakref.so
7f11bea1a000-7f11bec1a000 ---p 00001000 ca:01 29518
/usr/lib64/python2.6/lib-dynload/_weakref.so
7f11bec1a000-7f11bec1b000 rw-p 00001000 ca:01 29518
/usr/lib64/python2.6/lib-dynload/_weakref.so
7f11bec1b000-7f11bec23000 r-xp 00000000 ca:01 29519
/usr/lib64/python2.6/lib-dynload/arraymodule.so
7f11bec23000-7f11bee22000 ---p 00008000 ca:01 29519
/usr/lib64/python2.6/lib-dynload/arraymodule.so
7f11bee22000-7f11bee25000 rw-p 00007000 ca:01 29519
/usr/lib64/python2.6/lib-dynload/arraymodule.so
7f11bee25000-7f11bee28000 r-xp 00000000 ca:01 18366
/usr/lib64/python2.6/site-packages/urwid/str_util.so
7f11bee28000-7f11bf028000 ---p 00003000 ca:01 18366
/usr/lib64/python2.6/site-packages/urwid/str_util.so
7f11bf028000-7f11bf029000 rw-p 00003000 ca:01 18366
/usr/lib64/python2.6/site-packages/urwid/str_util.so
7f11bf029000-7f11bf03a000 r-xp 00000000 ca:01 28852
/usr/lib64/python2.6/lib-dynload/datetime.so
7f11bf03a000-7f11bf239000 ---p 00011000 ca:01 28852
/usr/lib64/python2.6/lib-dynload/datetime.so
7f11bf239000-7f11bf23d000 rw-p 00010000 ca:01 28852
/usr/lib64/python2.6/lib-dynload/datetime.so
--
Best Regards,
Radoslaw Garbacz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.excess.org/pipermail/urwid/attachments/20140424/21a1eea2/attachment.html
Best Regards,
Radoslaw Garbacz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.excess.org/pipermail/urwid/attachments/20140424/21a1eea2/attachment.html