rmcgover@bq-menoetius:~/build/qt/4.7/ > valgrind --tool=memcheck -- /local/rmcgover_builds/qt/4.7/bin/moc -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-32 -I. -I../../include -I../../include/QtCore -I.rcc/release-shared -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared animation/qabstractanimation.h -o .moc/release-shared/moc_qabstractanimation.cpp ==16012== Memcheck, a memory error detector. ==16012== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al. ==16012== Using LibVEX rev 1884, a library for dynamic binary translation. ==16012== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. ==16012== Using valgrind-3.4.1, a dynamic binary instrumentation framework. ==16012== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. ==16012== For more details, rerun with: -v ==16012== ==16012== Use of uninitialised value of size 4 ==16012== at 0x80E505F: QTextCodec::codecForName(QByteArray const&) (qtextcodec.cpp:978) ==16012== by 0x80E3B76: setupLocaleMapper() (qtextcodec.h:67) ==16012== by 0x80E472C: QTextCodec::codecForLocale() (qtextcodec.cpp:1149) ==16012== by 0x80CFBFC: QString::fromLocal8Bit(char const*, int) (qstring.cpp:3946) ==16012== by 0x807ABE5: locale_decode(QByteArray const&) (qfile.cpp:76) ==16012== by 0x807AA1B: QFile::decodeName(QByteArray const&) (qfile.cpp:500) ==16012== by 0x806AA51: combinePath(char const*, char const*) (qfile.h:119) ==16012== by 0x806DA73: runMoc(int, char**) (main.cpp:372) ==16012== by 0x806E501: main (main.cpp:444) ==16012== ==16012== Invalid read of size 4 ==16012== at 0x80E506E: QTextCodec::codecForName(QByteArray const&) (qtextcodec.cpp:978) ==16012== by 0x80E3B76: setupLocaleMapper() (qtextcodec.h:67) ==16012== by 0x80E472C: QTextCodec::codecForLocale() (qtextcodec.cpp:1149) ==16012== by 0x80CFBFC: QString::fromLocal8Bit(char const*, int) (qstring.cpp:3946) ==16012== by 0x807ABE5: locale_decode(QByteArray const&) (qfile.cpp:76) ==16012== by 0x807AA1B: QFile::decodeName(QByteArray const&) (qfile.cpp:500) ==16012== by 0x806AA51: combinePath(char const*, char const*) (qfile.h:119) ==16012== by 0x806DA73: runMoc(int, char**) (main.cpp:372) ==16012== by 0x806E501: main (main.cpp:444) ==16012== Address 0xca59c381 is not stack'd, malloc'd or (recently) free'd ==16012== ==16012== Process terminating with default action of signal 11 (SIGSEGV) ==16012== Access not within mapped region at address 0xCA59C381 ==16012== at 0x80E506E: QTextCodec::codecForName(QByteArray const&) (qtextcodec.cpp:978) ==16012== by 0x80E3B76: setupLocaleMapper() (qtextcodec.h:67) ==16012== by 0x80E472C: QTextCodec::codecForLocale() (qtextcodec.cpp:1149) ==16012== by 0x80CFBFC: QString::fromLocal8Bit(char const*, int) (qstring.cpp:3946) ==16012== by 0x807ABE5: locale_decode(QByteArray const&) (qfile.cpp:76) ==16012== by 0x807AA1B: QFile::decodeName(QByteArray const&) (qfile.cpp:500) ==16012== by 0x806AA51: combinePath(char const*, char const*) (qfile.h:119) ==16012== by 0x806DA73: runMoc(int, char**) (main.cpp:372) ==16012== by 0x806E501: main (main.cpp:444) ==16012== If you believe this happened as a result of a stack overflow in your ==16012== program's main thread (unlikely but possible), you can try to increase ==16012== the size of the main thread stack using the --main-stacksize= flag. ==16012== The main thread stack size used in this run was 8388608. ==16012== ==16012== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 8 from 1) ==16012== malloc/free: in use at exit: 5,309 bytes in 179 blocks. ==16012== malloc/free: 224 allocs, 45 frees, 7,179 bytes allocated. ==16012== For counts of detected errors, rerun with: -v ==16012== Use --track-origins=yes to see where uninitialised values come from ==16012== searching for pointers to 179 not-freed blocks. ==16012== checked 101,952 bytes. ==16012== ==16012== LEAK SUMMARY: ==16012== definitely lost: 412 bytes in 38 blocks. ==16012== possibly lost: 0 bytes in 0 blocks. ==16012== still reachable: 4,897 bytes in 141 blocks. ==16012== suppressed: 0 bytes in 0 blocks. ==16012== Rerun with --leak-check=full to see details of leaked memory.