Version: 1.2-beta (using KDE 3.1.4) Installed from: compiled sources Compiler: gcc version 3.2.3 OS: Linux (i686) release 2.4.22 Choose XMLSchema writer as code generator -> crash backtrace: #2 0x40ffebc5 in __pthread_sighandler () from /lib/libpthread.so.0 #3 <signal handler called> #4 0x08102eb6 in CodeGenerator::getPolicy() (this=0x0) at codegenerator.cpp:187 #5 0x08146052 in UMLApp::createGenerator() (this=0x8326648) at uml.cpp:1132 #6 0x081463f7 in UMLApp::setActiveLanguage(int) (this=0x8326648, id=-76) at uml.cpp:1173 #7 0x08147b53 in UMLApp::qt_invoke(int, QUObject*) (this=0x8326648, _id=103, _o=0xbfffedb0) at qucom_p.h:388 valgrind: sstein@laptop-seb:~$ valgrind umbrello ==17375== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==17375== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==17375== Using valgrind-20030725, a program supervision framework for x86-linux. ==17375== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==17375== Estimated CPU clock rate is 1000 MHz ==17375== For more details, rerun with: -v ==17375== ==17375== Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s) ==17375== at 0x40180C28: vgAllRoadsLeadToRome_writev (vg_intercept.c:108) ==17375== by 0x40180C64: __writev (vg_intercept.c:732) ==17375== by 0x4116B50F: (within /usr/X11R6/lib/libX11.so.6.2) ==17375== by 0x4116C10E: _X11TransWritev (in /usr/X11R6/lib/libX11.so.6.2) ==17375== Address 0x442723D8 is 412 bytes inside a block of size 2048 alloc'd ==17375== at 0x40028890: calloc (vg_replace_malloc.c:273) ==17375== by 0x4113DC4B: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==17375== by 0x40BCBAE9: qt_init_internal(int*, char**, _XDisplay*, unsigned long, unsigned long) (in /usr/lib/qt-3.2.2/lib/libqt-mt.so.3.2.2) ==17375== by 0x40BCC86D: qt_init(int*, char**, QApplication::Type) (in /usr/lib/qt-3.2.2/lib/libqt-mt.so.3.2.2) CodeGeneratorFactory created Querying languages available Looking up generator for language Ada Looking up generator for language ActionScript Looking up generator for language Cpp Looking up generator for language IDL Looking up generator for language Java Looking up generator for language JavaScript Looking up generator for language Perl Looking up generator for language PHP Looking up generator for language Python Looking up generator for language SQL Looking up generator for language XMLSchema CodeGeneratorFactory created Looking up generator for language Cpp WARNING: * findCodeDocumentByID finds NO match to [MAKE_DOC] WARNING: * findCodeDocumentByID finds NO match to [MAKE_DOC] ==17375== ==17375== Syscall param write(buf) contains uninitialised or unaddressable byte(s) ==17375== at 0x413E8FC8: __GI___libc_write (in /lib/libc-2.3.2.so) ==17375== by 0x411F88DF: (within /usr/X11R6/lib/libICE.so.6.3) ==17375== by 0x411F96DE: _IceTransWrite (in /usr/X11R6/lib/libICE.so.6.3) ==17375== by 0x411F03D8: _IceWrite (in /usr/X11R6/lib/libICE.so.6.3) ==17375== Address 0x453B3934 is 12 bytes inside a block of size 1024 alloc'd ==17375== at 0x40028890: calloc (vg_replace_malloc.c:273) ==17375== by 0x411ED46F: IceOpenConnection (in /usr/X11R6/lib/libICE.so.6.3) ==17375== by 0x411E23AA: SmcOpenConnection (in /usr/X11R6/lib/libSM.so.6.0) ==17375== by 0x40BD55CB: QSessionManager::QSessionManager(QApplication*, QString&, QString&) (in /usr/lib/qt-3.2.2/lib/libqt-mt.so.3.2.2) CodeGeneratorFactory created Now I change the generator to XMLSchema directly in the menu bar... Looking up generator for language XMLSchema WARNING: cannot create object of type XMLSchemaWriter. Type unknown ==17375== ==17375== Invalid read of size 4 ==17375== at 0x8102EB6: CodeGenerator::getPolicy() (codegenerator.cpp:187) ==17375== by 0x81463F6: UMLApp::setActiveLanguage(int) (uml.cpp:1173) ==17375== by 0x8147B52: UMLApp::qt_invoke(int, QUObject*) (qucom_p.h:388) ==17375== by 0x40C9248F: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/qt-3.2.2/lib/libqt-mt.so.3.2.2) ==17375== Address 0x6C is not stack'd, malloc'd or free'd ==17375== Warning: client attempted to close Valgrind's logfile fd (2). ==17375== Use --logfile-fd=<number> to select an alternative logfile fd. KCrash: Application 'umbrello' crashing... ==17375== Warning: invalid file descriptor 8 in syscall write() ==17375== discard syms in /usr/lib/gconv/ISO8859-1.so due to munmap() ==17375== ==17375== Invalid read of size 4 ==17375== at 0x41331F5E: __gconv_release_step (in /lib/libc-2.3.2.so) ==17375== by 0x41332B3C: __gconv_close_transform (in /lib/libc-2.3.2.so) ==17375== by 0x413AF956: _nl_cleanup_ctype (in /lib/libc-2.3.2.so) ==17375== by 0x414283A2: _nl_archive_subfreeres (in /lib/libc-2.3.2.so) ==17375== Address 0x44BDA674 is 8 bytes inside a block of size 60 free'd ==17375== at 0x400286C7: free (vg_replace_malloc.c:220) ==17375== by 0x41331F07: free_derivation (in /lib/libc-2.3.2.so) ==17375== by 0x413F58C2: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== by 0x413F58E5: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== ==17375== Invalid write of size 4 ==17375== at 0x41331F6F: __gconv_release_step (in /lib/libc-2.3.2.so) ==17375== by 0x41332B3C: __gconv_close_transform (in /lib/libc-2.3.2.so) ==17375== by 0x413AF956: _nl_cleanup_ctype (in /lib/libc-2.3.2.so) ==17375== by 0x414283A2: _nl_archive_subfreeres (in /lib/libc-2.3.2.so) ==17375== Address 0x44BDA674 is 8 bytes inside a block of size 60 free'd ==17375== at 0x400286C7: free (vg_replace_malloc.c:220) ==17375== by 0x41331F07: free_derivation (in /lib/libc-2.3.2.so) ==17375== by 0x413F58C2: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== by 0x413F58E5: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== ==17375== Invalid read of size 4 ==17375== at 0x41331F74: __gconv_release_step (in /lib/libc-2.3.2.so) ==17375== by 0x41332B3C: __gconv_close_transform (in /lib/libc-2.3.2.so) ==17375== by 0x413AF956: _nl_cleanup_ctype (in /lib/libc-2.3.2.so) ==17375== by 0x414283A2: _nl_archive_subfreeres (in /lib/libc-2.3.2.so) ==17375== Address 0x44BDA68C is 32 bytes inside a block of size 60 free'd ==17375== at 0x400286C7: free (vg_replace_malloc.c:220) ==17375== by 0x41331F07: free_derivation (in /lib/libc-2.3.2.so) ==17375== by 0x413F58C2: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== by 0x413F58E5: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== ==17375== Invalid read of size 4 ==17375== at 0x41331F7B: __gconv_release_step (in /lib/libc-2.3.2.so) ==17375== by 0x41332B3C: __gconv_close_transform (in /lib/libc-2.3.2.so) ==17375== by 0x413AF956: _nl_cleanup_ctype (in /lib/libc-2.3.2.so) ==17375== by 0x414283A2: _nl_archive_subfreeres (in /lib/libc-2.3.2.so) ==17375== Address 0x44BDA66C is 0 bytes inside a block of size 60 free'd ==17375== at 0x400286C7: free (vg_replace_malloc.c:220) ==17375== by 0x41331F07: free_derivation (in /lib/libc-2.3.2.so) ==17375== by 0x413F58C2: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== by 0x413F58E5: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== ==17375== Invalid write of size 4 ==17375== at 0x41331F95: __gconv_release_step (in /lib/libc-2.3.2.so) ==17375== by 0x41332B3C: __gconv_close_transform (in /lib/libc-2.3.2.so) ==17375== by 0x413AF956: _nl_cleanup_ctype (in /lib/libc-2.3.2.so) ==17375== by 0x414283A2: _nl_archive_subfreeres (in /lib/libc-2.3.2.so) ==17375== Address 0x44BDA66C is 0 bytes inside a block of size 60 free'd ==17375== at 0x400286C7: free (vg_replace_malloc.c:220) ==17375== by 0x41331F07: free_derivation (in /lib/libc-2.3.2.so) ==17375== by 0x413F58C2: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== by 0x413F58E5: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== ==17375== Invalid read of size 4 ==17375== at 0x41331F5E: __gconv_release_step (in /lib/libc-2.3.2.so) ==17375== by 0x41332B3C: __gconv_close_transform (in /lib/libc-2.3.2.so) ==17375== by 0x413AF960: _nl_cleanup_ctype (in /lib/libc-2.3.2.so) ==17375== by 0x414283A2: _nl_archive_subfreeres (in /lib/libc-2.3.2.so) ==17375== Address 0x44BDA020 is 8 bytes inside a block of size 60 free'd ==17375== at 0x400286C7: free (vg_replace_malloc.c:220) ==17375== by 0x41331F07: free_derivation (in /lib/libc-2.3.2.so) ==17375== by 0x413F58C2: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== by 0x41428121: free_mem (in /lib/libc-2.3.2.so) ==17375== ==17375== Invalid write of size 4 ==17375== at 0x41331F6F: __gconv_release_step (in /lib/libc-2.3.2.so) ==17375== by 0x41332B3C: __gconv_close_transform (in /lib/libc-2.3.2.so) ==17375== by 0x413AF960: _nl_cleanup_ctype (in /lib/libc-2.3.2.so) ==17375== by 0x414283A2: _nl_archive_subfreeres (in /lib/libc-2.3.2.so) ==17375== Address 0x44BDA020 is 8 bytes inside a block of size 60 free'd ==17375== at 0x400286C7: free (vg_replace_malloc.c:220) ==17375== by 0x41331F07: free_derivation (in /lib/libc-2.3.2.so) ==17375== by 0x413F58C2: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== by 0x41428121: free_mem (in /lib/libc-2.3.2.so) ==17375== ==17375== Invalid read of size 4 ==17375== at 0x41331F74: __gconv_release_step (in /lib/libc-2.3.2.so) ==17375== by 0x41332B3C: __gconv_close_transform (in /lib/libc-2.3.2.so) ==17375== by 0x413AF960: _nl_cleanup_ctype (in /lib/libc-2.3.2.so) ==17375== by 0x414283A2: _nl_archive_subfreeres (in /lib/libc-2.3.2.so) ==17375== Address 0x44BDA038 is 32 bytes inside a block of size 60 free'd ==17375== at 0x400286C7: free (vg_replace_malloc.c:220) ==17375== by 0x41331F07: free_derivation (in /lib/libc-2.3.2.so) ==17375== by 0x413F58C2: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== by 0x41428121: free_mem (in /lib/libc-2.3.2.so) ==17375== ==17375== Invalid read of size 4 ==17375== at 0x41331F7B: __gconv_release_step (in /lib/libc-2.3.2.so) ==17375== by 0x41332B3C: __gconv_close_transform (in /lib/libc-2.3.2.so) ==17375== by 0x413AF960: _nl_cleanup_ctype (in /lib/libc-2.3.2.so) ==17375== by 0x414283A2: _nl_archive_subfreeres (in /lib/libc-2.3.2.so) ==17375== Address 0x44BDA018 is 0 bytes inside a block of size 60 free'd ==17375== at 0x400286C7: free (vg_replace_malloc.c:220) ==17375== by 0x41331F07: free_derivation (in /lib/libc-2.3.2.so) ==17375== by 0x413F58C2: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== by 0x41428121: free_mem (in /lib/libc-2.3.2.so) ==17375== ==17375== Invalid write of size 4 ==17375== at 0x41331F95: __gconv_release_step (in /lib/libc-2.3.2.so) ==17375== by 0x41332B3C: __gconv_close_transform (in /lib/libc-2.3.2.so) ==17375== by 0x413AF960: _nl_cleanup_ctype (in /lib/libc-2.3.2.so) ==17375== by 0x414283A2: _nl_archive_subfreeres (in /lib/libc-2.3.2.so) ==17375== Address 0x44BDA018 is 0 bytes inside a block of size 60 free'd ==17375== at 0x400286C7: free (vg_replace_malloc.c:220) ==17375== by 0x41331F07: free_derivation (in /lib/libc-2.3.2.so) ==17375== by 0x413F58C2: tdestroy_recurse (in /lib/libc-2.3.2.so) ==17375== by 0x41428121: free_mem (in /lib/libc-2.3.2.so) ==17375== discard syms in /lib/libnss_compat-2.3.2.so due to munmap() ==17375== discard syms in /lib/libnsl-2.3.2.so due to munmap() ==17375== ==17375== Invalid free() / delete / delete[] ==17375== at 0x400286C7: free (vg_replace_malloc.c:220) ==17375== by 0x414288EB: free_mem (in /lib/libc-2.3.2.so) ==17375== by 0x41428658: __GI___libc_freeres (in /lib/libc-2.3.2.so) ==17375== by 0x40180E00: vgPlain___libc_freeres_wrapper (vg_intercept.c:831) ==17375== Address 0x4144A218 is not stack'd, malloc'd or free'd ==17375== ==17375== ERROR SUMMARY: 43 errors from 14 contexts (suppressed: 123 from 5) ==17375== malloc/free: in use at exit: 1775441 bytes in 40525 blocks. ==17375== malloc/free: 716742 allocs, 676218 frees, 22402721 bytes allocated. ==17375== For a detailed leak analysis, rerun with: --leak-check=yes ==17375== For counts of detected errors, rerun with: -v
fixed by Brian Thomas