[lxml-dev] Replace/copy related segfault in lxml

I'm on an up to date gentoo stable box, with fairly aggressive optimization settings. CFLAGS="-march=pentium4 -O3 -pipe -mfpmath=sse -fomit-frame-pointer" To be exact. The problem seems to be related to text node handling. I stripped the test case down to the bare minimum for my box, but if you're having trouble reproducing try to add more whitespace to the test data. Let me know if you can't reproduce the segfault, and I'll try to get it to crash on one of our redhat boxes. --------- John Krukoff jkrukoff@ltgc.com

John Krukoff wrote: [snip]
Sorry I wasn't more clear in my previous mail, I actually intended to acknowledge your problem. Since valgrind complains it's clear there is a memory allocation problem somewhere, it just doesn't show up with some platforms and/or compilation settings. Thankfully we have valgrind; I only thought of using it halfway writing the mail back to you. :) So, to be clear: problem reproduced here, acknowledged, and need to work on a fix. Regards, Martijn

John Krukoff wrote: [snip]
Sorry I wasn't more clear in my previous mail, I actually intended to acknowledge your problem. Since valgrind complains it's clear there is a memory allocation problem somewhere, it just doesn't show up with some platforms and/or compilation settings. Thankfully we have valgrind; I only thought of using it halfway writing the mail back to you. :) So, to be clear: problem reproduced here, acknowledged, and need to work on a fix. Regards, Martijn
participants (2)
-
John Krukoff
-
Martijn Faassen