==24606== Memcheck, a memory error detector. ==24606== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==24606== Using LibVEX rev 1804, a library for dynamic binary translation. ==24606== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==24606== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==24606== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==24606== For more details, rerun with: -v ==24606== ==24606== Invalid read of size 4 ==24606== at 0x40150F8: (within /lib/ld-2.7.so) ==24606== by 0x400D605: (within /lib/ld-2.7.so) ==24606== by 0x4010F8D: (within /lib/ld-2.7.so) ==24606== by 0x4B1C291: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x400D605: (within /lib/ld-2.7.so) ==24606== by 0x4B1C454: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2EBA3: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E0E0: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E7E6: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A26C10: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A25736: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A252DF: iconv_open (in /lib/tls/i686/cmov/libc-2.7.so) ==24606== Address 0x4c78630 is 48 bytes inside a block of size 49 alloc'd ==24606== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==24606== by 0x4A2EC97: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E0E0: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E7E6: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A26C10: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A25736: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A252DF: iconv_open (in /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x47D61F3: QIconvCodec::createIconv_t(char const*, char const*) (qiconvcodec.cpp:453) ==24606== by 0x47D6B25: QIconvCodec::convertFromUnicode(QChar const*, int, QTextCodec::ConverterState*) const (qiconvcodec.cpp:327) ==24606== by 0x47D0208: QTextCodec::fromUnicode(QString const&) const (qtextcodec.cpp:1195) ==24606== by 0x46DD53D: QString::toLocal8Bit() const (qstring.cpp:3511) ==24606== by 0x4724218: locale_encode(QString const&) (qfile.cpp:66) ==24606== ==24606== Invalid read of size 4 ==24606== at 0x40150F8: (within /lib/ld-2.7.so) ==24606== by 0x4007A09: (within /lib/ld-2.7.so) ==24606== by 0x4011573: (within /lib/ld-2.7.so) ==24606== by 0x400D605: (within /lib/ld-2.7.so) ==24606== by 0x4010F8D: (within /lib/ld-2.7.so) ==24606== by 0x4B1C291: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x400D605: (within /lib/ld-2.7.so) ==24606== by 0x4B1C454: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2EBA3: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E0E0: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E7E6: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A26C10: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== Address 0x4c78630 is 48 bytes inside a block of size 49 alloc'd ==24606== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==24606== by 0x4A2EC97: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E0E0: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E7E6: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A26C10: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A25736: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A252DF: iconv_open (in /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x47D61F3: QIconvCodec::createIconv_t(char const*, char const*) (qiconvcodec.cpp:453) ==24606== by 0x47D6B25: QIconvCodec::convertFromUnicode(QChar const*, int, QTextCodec::ConverterState*) const (qiconvcodec.cpp:327) ==24606== by 0x47D0208: QTextCodec::fromUnicode(QString const&) const (qtextcodec.cpp:1195) ==24606== by 0x46DD53D: QString::toLocal8Bit() const (qstring.cpp:3511) ==24606== by 0x4724218: locale_encode(QString const&) (qfile.cpp:66) ==24606== ==24606== Invalid read of size 4 ==24606== at 0x4015250: (within /lib/ld-2.7.so) ==24606== by 0x4007A09: (within /lib/ld-2.7.so) ==24606== by 0x4011573: (within /lib/ld-2.7.so) ==24606== by 0x400D605: (within /lib/ld-2.7.so) ==24606== by 0x4010F8D: (within /lib/ld-2.7.so) ==24606== by 0x4B1C291: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x400D605: (within /lib/ld-2.7.so) ==24606== by 0x4B1C454: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2EBA3: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E0E0: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E7E6: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A26C10: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== Address 0x4c78630 is 48 bytes inside a block of size 49 alloc'd ==24606== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==24606== by 0x4A2EC97: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E0E0: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E7E6: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A26C10: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A25736: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A252DF: iconv_open (in /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x47D61F3: QIconvCodec::createIconv_t(char const*, char const*) (qiconvcodec.cpp:453) ==24606== by 0x47D6B25: QIconvCodec::convertFromUnicode(QChar const*, int, QTextCodec::ConverterState*) const (qiconvcodec.cpp:327) ==24606== by 0x47D0208: QTextCodec::fromUnicode(QString const&) const (qtextcodec.cpp:1195) ==24606== by 0x46DD53D: QString::toLocal8Bit() const (qstring.cpp:3511) ==24606== by 0x4724218: locale_encode(QString const&) (qfile.cpp:66) ==24606== ==24606== Invalid read of size 4 ==24606== at 0x4015250: (within /lib/ld-2.7.so) ==24606== by 0x4005C99: (within /lib/ld-2.7.so) ==24606== by 0x4007AC7: (within /lib/ld-2.7.so) ==24606== by 0x4011573: (within /lib/ld-2.7.so) ==24606== by 0x400D605: (within /lib/ld-2.7.so) ==24606== by 0x4010F8D: (within /lib/ld-2.7.so) ==24606== by 0x4B1C291: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x400D605: (within /lib/ld-2.7.so) ==24606== by 0x4B1C454: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2EBA3: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E0E0: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E7E6: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== Address 0x4c78630 is 48 bytes inside a block of size 49 alloc'd ==24606== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==24606== by 0x4A2EC97: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E0E0: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A2E7E6: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A26C10: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A25736: (within /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x4A252DF: iconv_open (in /lib/tls/i686/cmov/libc-2.7.so) ==24606== by 0x47D61F3: QIconvCodec::createIconv_t(char const*, char const*) (qiconvcodec.cpp:453) ==24606== by 0x47D6B25: QIconvCodec::convertFromUnicode(QChar const*, int, QTextCodec::ConverterState*) const (qiconvcodec.cpp:327) ==24606== by 0x47D0208: QTextCodec::fromUnicode(QString const&) const (qtextcodec.cpp:1195) ==24606== by 0x46DD53D: QString::toLocal8Bit() const (qstring.cpp:3511) ==24606== by 0x4724218: locale_encode(QString const&) (qfile.cpp:66) ==24606== ==24606== ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 39 from 1) ==24606== malloc/free: in use at exit: 102,378 bytes in 3,511 blocks. ==24606== malloc/free: 92,098 allocs, 88,587 frees, 4,627,966 bytes allocated. ==24606== For counts of detected errors, rerun with: -v ==24606== searching for pointers to 3,511 not-freed blocks. ==24606== checked 375,764 bytes. ==24606== ==24606== ==24606== 744 bytes in 3 blocks are possibly lost in loss record 92 of 163 ==24606== at 0x4021A92: memalign (vg_replace_malloc.c:460) ==24606== by 0x4021B3F: posix_memalign (vg_replace_malloc.c:569) ==24606== by 0x4BC43A3: (within /usr/lib/libglib-2.0.so.0.1600.6) ==24606== by 0x4BC55D0: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.1600.6) ==24606== by 0x4B824FE: g_array_sized_new (in /usr/lib/libglib-2.0.so.0.1600.6) ==24606== by 0x4B82606: g_array_new (in /usr/lib/libglib-2.0.so.0.1600.6) ==24606== by 0x4BD06D0: g_static_private_set (in /usr/lib/libglib-2.0.so.0.1600.6) ==24606== by 0x4B91C5F: g_get_filename_charsets (in /usr/lib/libglib-2.0.so.0.1600.6) ==24606== by 0x4B91CD0: (within /usr/lib/libglib-2.0.so.0.1600.6) ==24606== by 0x4BD0989: g_thread_init_glib (in /usr/lib/libglib-2.0.so.0.1600.6) ==24606== by 0x4B63626: g_thread_init (in /usr/lib/libgthread-2.0.so.0.1600.6) ==24606== by 0x47CBAB8: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (qeventdispatcher_glib.cpp:297) ==24606== ==24606== ==24606== 90,348 (60 direct, 90,288 indirect) bytes in 1 blocks are definitely lost in loss record 96 of 163 ==24606== at 0x4023294: operator new(unsigned) (vg_replace_malloc.c:224) ==24606== by 0x42C27EE: QPatternist::XsdSchemaParser::parseGlobalElement() (qxsdschemaparser.cpp:4440) ==24606== by 0x42CAA63: QPatternist::XsdSchemaParser::parseSchema(QPatternist::XsdSchemaParser::ParserType) (qxsdschemaparser.cpp:545) ==24606== by 0x42CCFFB: QPatternist::XsdSchemaParser::parse(QPatternist::XsdSchemaParser::ParserType) (qxsdschemaparser.cpp:324) ==24606== by 0x409B0A2: QXmlSchemaPrivate::load(QIODevice*, QUrl const&, QString const&) (qxmlschema_p.cpp:143) ==24606== by 0x4099A9E: QXmlSchema::load(QIODevice*, QUrl const&) (qxmlschema.cpp:145) ==24606== by 0x8048C37: main (main.cpp:18) ==24606== ==24606== ==24606== 152 (24 direct, 128 indirect) bytes in 1 blocks are definitely lost in loss record 115 of 163 ==24606== at 0x4023294: operator new(unsigned) (vg_replace_malloc.c:224) ==24606== by 0x431ED1E: QPatternist::XsdTypeChecker::XsdTypeChecker(QExplicitlySharedDataPointer const&, QVector const&, QSourceLocation const&) (qxsdtypechecker.cpp:168) ==24606== by 0x4224740: QPatternist::XsdSchemaChecker::isValidValue(QString const&, QExplicitlySharedDataPointer const&, QString&) const (qxsdschemachecker.cpp:1865) ==24606== by 0x422CE6B: QPatternist::XsdSchemaChecker::checkAttributeConstraints() (qxsdschemachecker.cpp:1838) ==24606== by 0x423FC29: QPatternist::XsdSchemaChecker::check() (qxsdschemachecker.cpp:103) ==24606== by 0x430DC70: QPatternist::XsdSchemaResolver::resolve() (qxsdschemaresolver.cpp:129) ==24606== by 0x409B0C7: QXmlSchemaPrivate::load(QIODevice*, QUrl const&, QString const&) (qxmlschema_p.cpp:144) ==24606== by 0x4099A9E: QXmlSchema::load(QIODevice*, QUrl const&) (qxmlschema.cpp:145) ==24606== by 0x8048C37: main (main.cpp:18) ==24606== ==24606== ==24606== 1,128 bytes in 47 blocks are definitely lost in loss record 143 of 163 ==24606== at 0x4023294: operator new(unsigned) (vg_replace_malloc.c:224) ==24606== by 0x431ED1E: QPatternist::XsdTypeChecker::XsdTypeChecker(QExplicitlySharedDataPointer const&, QVector const&, QSourceLocation const&) (qxsdtypechecker.cpp:168) ==24606== by 0x424181B: QPatternist::XsdSchemaChecker::checkConstrainingFacets(QHash > const&, QExplicitlySharedDataPointer const&) (qxsdschemachecker.cpp:1152) ==24606== by 0x4259851: QPatternist::XsdSchemaChecker::checkConstrainingFacets() (qxsdschemachecker.cpp:956) ==24606== by 0x430DC56: QPatternist::XsdSchemaResolver::resolve() (qxsdschemaresolver.cpp:124) ==24606== by 0x409B0C7: QXmlSchemaPrivate::load(QIODevice*, QUrl const&, QString const&) (qxmlschema_p.cpp:144) ==24606== by 0x4099A9E: QXmlSchema::load(QIODevice*, QUrl const&) (qxmlschema.cpp:145) ==24606== by 0x8048C37: main (main.cpp:18) ==24606== ==24606== LEAK SUMMARY: ==24606== definitely lost: 1,212 bytes in 49 blocks. ==24606== indirectly lost: 90,416 bytes in 3,288 blocks. ==24606== possibly lost: 744 bytes in 3 blocks. ==24606== still reachable: 10,006 bytes in 171 blocks. ==24606== suppressed: 0 bytes in 0 blocks. ==24606== Reachable blocks (those to which a pointer was found) are not shown. ==24606== To see them, rerun with: --leak-check=full --show-reachable=yes