Michael Guntsche | 2 Mar 07:44 2007

Re: lxml 1.3beta released

Sidnei da Silva writes: 

> On 2/27/07, Martijn Faassen <faassen <at> startifact.com> wrote:
>> Sidnei da Silva wrote:
>> > Installers for Windows, for Python 2.3, 2.4 and 2.5 have been uploaded. 
>>
>> I'm really happy to see you do this, Sidnei!
> 
> Thanks everyone for your nice words! 
>

Hello Sidnei, 

What happened to the uploads on cheeseshop. I can only find the windows eggs 
for 1.2.1 the ones for 1.3 are missing. Have they been removed or is there a 
problem with cheeseshop? 

Kind regards,
Michael
Christian Zagrodnick | 2 Mar 08:15 2007

Re: lxml 1.3beta released

Hoi

On 2007-02-27 17:29:56 +0100, Stefan Behnel <stefan_ml <at> behnel.de> said:

> Hi all,
> 
> together with 1.2.1, I released a beta version of the upcoming 1.3 series. It
> contains a number of bigger changes and enhancements over the 1.2 series. The
> main difference is a rewrite of the internal namespace cleanup code that
> should reduce the problems related to duplicated namespace declarations and
> the like.

Yey, the beta works great here.

Thanks.

--

-- 
Christian Zagrodnick

gocept gmbh & co. kg  ·  forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891
Michael Guntsche | 2 Mar 08:19 2007

Re: lxml 1.3beta released

Michael Guntsche writes: 

> Hello Sidnei,  
> 
> What happened to the uploads on cheeseshop. I can only find the windows eggs 
> for 1.2.1 the ones for 1.3 are missing. Have they been removed or is there a 
> problem with cheeseshop?  
> 

To answer my own E-mail. A search on cheeseshop did not find the 1.3beta 
release. I found it under 

http://cheeseshop.python.org/pypi/lxml/1.3beta 

The obvious location of course. I do not know why the search did not return 
it, since I found it yesterday.
Nevertheless, thank you once again for providing pre-compiled binary builds 
for windows. 

Kind regards,
Michael
Sidnei da Silva | 2 Mar 14:20 2007

Re: lxml 1.3beta released

On 3/2/07, Michael Guntsche <mike <at> it-loops.com> wrote:
> Hello Sidnei,
>
> What happened to the uploads on cheeseshop. I can only find the windows eggs
> for 1.2.1 the ones for 1.3 are missing. Have they been removed or is there a
> problem with cheeseshop?

You mean those?

http://cheeseshop.python.org/pypi/lxml/1.3beta

--

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214
Doug Winter | 5 Mar 15:42 2007

*** glibc detected *** free(): invalid pointer: 0x086449e7 ***

Hi,

I'm getting this error at times using lxml:

*** glibc detected *** free(): invalid pointer: 0x086449e7 ***

Unfortunately the smallest test fixture I have that does this involves 
running all of TurboGears - when I do this without TurboGears I don't 
get the error.  However, I've got a backtrace from gdb that points it's 
finger at libxml2.  I'm trying here first in case this is really an lxml 
problem.

(gdb) bt
#0  0xb7fcd410 in ?? ()
#1  0xb4a9ac4c in ?? ()
#2  0x00000006 in ?? ()
#3  0x00007da7 in ?? ()
#4  0xb7e7c811 in raise () from /lib/tls/i686/cmov/libc.so.6
#5  0xb7e7dfb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#6  0xb7eb1d3a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#7  0xb7eb95cf in mallopt () from /lib/tls/i686/cmov/libc.so.6
#8  0xb7eb9672 in free () from /lib/tls/i686/cmov/libc.so.6
#9  0xb729055d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#10 0xb72906a2 in xmlFreeProp () from /usr/lib/libxml2.so.2
#11 0xb729091b in xmlFreePropList () from /usr/lib/libxml2.so.2
#12 0xb72904fa in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#13 0xb72902fe in xmlFreeDoc () from /usr/lib/libxml2.so.2
#14 0xb73f3cc6 in initTagMatch ()
    from 
/var/local/sites/mma.dev7.isotoma.com/lib/python2.4/site-packages/lxml/etree.so
(Continue reading)

Stefan Behnel | 5 Mar 16:56 2007
Picon

Re: *** glibc detected *** free(): invalid pointer: 0x086449e7 ***

Hi,

Doug Winter wrote:
> I'm getting this error at times using lxml:
> 
> *** glibc detected *** free(): invalid pointer: 0x086449e7 ***
> 
> Unfortunately the smallest test fixture I have that does this involves 
> running all of TurboGears - when I do this without TurboGears I don't 
> get the error.  However, I've got a backtrace from gdb that points it's 
> finger at libxml2.  I'm trying here first in case this is really an lxml 
> problem.
> 
> (gdb) bt
> #0  0xb7fcd410 in ?? ()
> #1  0xb4a9ac4c in ?? ()
> #2  0x00000006 in ?? ()
> #3  0x00007da7 in ?? ()
> #4  0xb7e7c811 in raise () from /lib/tls/i686/cmov/libc.so.6
> #5  0xb7e7dfb9 in abort () from /lib/tls/i686/cmov/libc.so.6
> #6  0xb7eb1d3a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
> #7  0xb7eb95cf in mallopt () from /lib/tls/i686/cmov/libc.so.6
> #8  0xb7eb9672 in free () from /lib/tls/i686/cmov/libc.so.6
> #9  0xb729055d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
> #10 0xb72906a2 in xmlFreeProp () from /usr/lib/libxml2.so.2
> #11 0xb729091b in xmlFreePropList () from /usr/lib/libxml2.so.2
> #12 0xb72904fa in xmlFreeNodeList () from /usr/lib/libxml2.so.2
> #13 0xb72902fe in xmlFreeDoc () from /usr/lib/libxml2.so.2
> #14 0xb73f3cc6 in initTagMatch ()
>     from 
(Continue reading)

Stefan Behnel | 5 Mar 18:20 2007
Picon

Re: *** glibc detected *** free(): invalid pointer: 0x086449e7 ***

Hi Doug,

Doug Winter wrote:
> Stefan Behnel wrote:
>> Hmmm, two things that leave me puzzled:
>>
>> * "iteratorStoreNext" points to the external C-API of etree, however,
>> it is
>> unlikely that it is used here. lxml.objectify is currently the only
>> module
>> that uses it.
>>
>> * if "_iteratorStoreNext" is meant instead (mind the underscore), it
>> refers to
>> element iteration. And I can't see where iteration is used in your
>> example.
>>
>> Any ideas from your side where iteration comes into play in your code?
> 
> Hi Stefan,
> 
> All I am doing is applying an XSL transform using etree.XSLT()().  I've
> checked that backtrace again, and there are no underscores in
> iteratorStoreNext.  I've attached the XSL stylesheet I'm using, in case
> that helps.  The only unusual thing about it, perhaps, is that I am
> using exsl:node-set.
> 
> Incidentally, I previously forgot to provide version numbers:
> 
> lxml.etree:        (1, 1, 1, 0)
(Continue reading)

Doug Winter | 5 Mar 18:46 2007

Re: *** glibc detected *** free(): invalid pointer: 0x086449e7 ***

Stefan Behnel wrote:
> Ah, ok. Any chance you could switch to either 1.2 or 1.3beta? There were a
> number of bug fixes since 1.1.1 that might be related here.

I thought I'd tried this before (I've been hunting this bug a while), 
and I had, but now this is narrowed down a bit it's more interesting. 
1.3beta still abends:

*** glibc detected *** free(): invalid pointer: 0x085a8a8d ***

But the backtrace is different:

(gdb) bt
#0  0xb7fce410 in ?? ()
#1  0xb4a97c0c in ?? ()
#2  0x00000006 in ?? ()
#3  0x000044c7 in ?? ()
#4  0xb7e7d811 in raise () from /lib/tls/i686/cmov/libc.so.6
#5  0xb7e7efb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#6  0xb7eb2d3a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#7  0xb7eba5cf in mallopt () from /lib/tls/i686/cmov/libc.so.6
#8  0xb7eba672 in free () from /lib/tls/i686/cmov/libc.so.6
#9  0xb728d55d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#10 0xb728d6a2 in xmlFreeProp () from /usr/lib/libxml2.so.2
#11 0xb728d91b in xmlFreePropList () from /usr/lib/libxml2.so.2
#12 0xb728d4fa in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#13 0xb728d4d6 in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#14 0xb728d4d6 in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#15 0xb728d4d6 in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#16 0xb728d2fe in xmlFreeDoc () from /usr/lib/libxml2.so.2
(Continue reading)

Stefan Behnel | 5 Mar 19:16 2007
Picon

Re: *** glibc detected *** free(): invalid pointer: 0x086449e7 ***

Doug Winter wrote:
> Stefan Behnel wrote:
>> Ah, ok. Any chance you could switch to either 1.2 or 1.3beta? There
>> were a
>> number of bug fixes since 1.1.1 that might be related here.
> 
> I thought I'd tried this before (I've been hunting this bug a while),
> and I had, but now this is narrowed down a bit it's more interesting.
> 1.3beta still abends:
> 
> *** glibc detected *** free(): invalid pointer: 0x085a8a8d ***
> 
> But the backtrace is different:
> 
> (gdb) bt
> #0  0xb7fce410 in ?? ()
> #1  0xb4a97c0c in ?? ()
> #2  0x00000006 in ?? ()
> #3  0x000044c7 in ?? ()
> #4  0xb7e7d811 in raise () from /lib/tls/i686/cmov/libc.so.6
> #5  0xb7e7efb9 in abort () from /lib/tls/i686/cmov/libc.so.6
> #6  0xb7eb2d3a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
> #7  0xb7eba5cf in mallopt () from /lib/tls/i686/cmov/libc.so.6
> #8  0xb7eba672 in free () from /lib/tls/i686/cmov/libc.so.6
> #9  0xb728d55d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
> #10 0xb728d6a2 in xmlFreeProp () from /usr/lib/libxml2.so.2
> #11 0xb728d91b in xmlFreePropList () from /usr/lib/libxml2.so.2
> #12 0xb728d4fa in xmlFreeNodeList () from /usr/lib/libxml2.so.2
> #13 0xb728d4d6 in xmlFreeNodeList () from /usr/lib/libxml2.so.2
> #14 0xb728d4d6 in xmlFreeNodeList () from /usr/lib/libxml2.so.2
(Continue reading)

Doug Winter | 6 Mar 10:10 2007

Re: *** glibc detected *** free(): invalid pointer: 0x086449e7 ***

Stefan Behnel wrote:
> Could you check if the problem goes away if you replace the respective copy-of
> that creates the result set fragment in 'stuff' by something like for-each (or
> whatever)?

I shall try that now.

> Personally, I would report it to the libxml2 people. It may be easier for them
> to track this down.

Yep, I thought that might be the case.  To join things up, here's the bug:

http://bugzilla.gnome.org/show_bug.cgi?id=415233

Cheers,

Doug.

--

-- 
Isotoma, Open Source Software Consulting - http://www.isotoma.com
Tel: 01904 567349, Mobile: 07879 423002, Fax: 020 79006980
Postal Address: Tower House, Fishergate, York, YO10 4UA, UK

Registered in England.  Company No 5171172.  VAT GB843570325.
Registered Office: 19a Goodge Street, London, W1T 2PH

Gmane