Re: [pyxser-users] segfault when running the utf8 tests
Brought to you by:
damowe
From: Daniel M. W. <dm...@co...> - 2010-08-25 06:59:51
|
On Wednesday 25 August 2010, Vardan Akopian <vak...@gm...> wrote: > Hi Dainel, Hello, I think that it is fixed, please try again. There were unnecessary argument swapping instructions, I've removed them... Thanks for your feedback. > > The latest version (r177 I think), works ok on 32bit CentOS: all the > tests pass ok, and my own app works ok. > But on 64bit ubuntu the test-utf8.py segfaults, even tough all the > other tests pass ok. > > I think it happens in test-utf8.py:90 > It looks like in pyxser_collections.c:154 dupItems is an invalid pointer > (0xb). Here is the top of the back-trace for the segfault: > > #0 0x00007ffff676bf47 in pyxserList_CheckExact (o=<unknown at remote > 0xb>) at ./src/pyxser_tools.c:515 > #1 0x00007ffff676d480 in pyxser_PyListContains (lst=0xb, > o=<value optimized out>) at ./src/pyxser_tools.c:384 > #2 0x00007ffff676f3c5 in pyxser_RunSerializationCol > (args=0x7fffffffde30) at ./src/pyxser_collections.c:160 > #3 0x00007ffff676fa8f in pyxser_GlobalDictSerialization > (args=0x7fffffffde30) at ./src/pyxser_collections.c:462 > #4 0x00007ffff67717fe in pyxser_RunSerialization (args=0x7fffffffde30) > at ./src/pyxser_serializer.c:297 > #5 0x00007ffff67714d1 in pyxser_SerializeXml (args=0x7fffffffde30) > at ./src/pyxser_serializer.c:213 > #6 0x00007ffff676b44a in pyxserxml (self=<value optimized out>, > args=<value optimized out>, keywds=<value optimized out>) > at ./src/pyxser.c:598 > > -Vardan Best regards, -- Daniel Molina Wegener <dmw [at] coder [dot] cl> System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog: http://coder.cl/ |