Displaying 5 results from an estimated 5 matches for "xmlfreenodelist".
2009 Dec 08
3
invalid pointer in libxml xmlFreeNodeList
...lowing is appearing in the Apache error.log (we are running
Passenger)
*** glibc detected *** Rails: /var/www/Liftronic: free(): invalid pointer:
0x0000000008884499 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b5e6e225cb8]
/lib/libc.so.6(cfree+0x76)[0x2b5e6e228276]
/usr/lib/libxml2.so.2(xmlFreeNodeList+0x221)[0x2b5e72f8d411]
/usr/lib/libxml2.so.2(xmlFreeNodeList+0x6d)[0x2b5e72f8d25d]
/usr/lib/libxml2.so.2(xmlFreeDoc+0xb8)[0x2b5e72f8d0a8]
/usr/lib/libruby1.8.so.1.8[0x2b5e6d61ddd2]
/usr/lib/libruby1.8.so.1.8(ruby_xmalloc+0x87)[0x2b5e6d61e2b7]
/usr/lib/libruby1.8.so.1.8[0x2b5e6d5fae72]
/usr/lib/libr...
2015 Nov 12
1
[PATCH] inspector: --xpath: Copy node to new document (RHBZ#1281577).
'virt-inspector --xpath' can segfault.
When run under valgrind, it shows this error:
==2254== Invalid free() / delete / delete[] / realloc()
==2254== at 0x4C29D6A: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==2254== by 0x53BA198: xmlFreeNodeList (tree.c:3690)
==2254== by 0x53B9F65: xmlFreeDoc (tree.c:1247)
==2254== by 0x405BFA: do_xpath (inspector.c:808)
==2254== by 0x405BFA: main (inspector.c:250)
==2254== Address 0x1030a037 is 311 bytes inside a block of size 1,048 alloc'd
==2254== at 0x4C28C50: malloc (in /usr/lib64/val...
2015 Jun 25
2
[PATCH v2] v2v: Free XML objects in the correct order.
In version 2:
- No substantial change, I just tidied up the code a bit.
- Removed one case where whitespace changes had crept in.
Rich.
2015 Jun 25
0
[PATCH v2] v2v: Free XML objects in the correct order.
...== by 0x4EB8CC5: xmlXPathFreeObject (xpath.c:5492)
==7390== by 0x400A56: main (in /tmp/test)
==7390== Address 0x60c0928 is 8 bytes inside a block of size 120 free'd
==7390== at 0x4C29D2A: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7390== by 0x4E8784F: xmlFreeNodeList (tree.c:3683)
==7390== by 0x4E87605: xmlFreeDoc (tree.c:1242)
==7390== by 0x400A4A: main (in /tmp/test)
The following simple test program demonstrates the problem:
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <libxml/xpath.h>
int...
2015 Jun 25
0
[PATCH] v2v: Free XML objects in the correct order.
...== by 0x4EB8CC5: xmlXPathFreeObject (xpath.c:5492)
==7390== by 0x400A56: main (in /tmp/test)
==7390== Address 0x60c0928 is 8 bytes inside a block of size 120 free'd
==7390== at 0x4C29D2A: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7390== by 0x4E8784F: xmlFreeNodeList (tree.c:3683)
==7390== by 0x4E87605: xmlFreeDoc (tree.c:1242)
==7390== by 0x400A4A: main (in /tmp/test)
The following simple test program demonstrates the problem:
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <libxml/xpath.h>
int...