Summary: | Umbrello hangs on start | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Roman I Khimov <rik> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andi.fischer |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Roman I Khimov
2008-08-04 18:39:44 UTC
BTW, I'd ran valgrind with "--leak-check=yes" and now without it, it gives a bit more info while app is trying to start, lots of things like: ==17594== Invalid read of size 1 ==17594== at 0x7EB2AD0: QMetaObject::checkConnectArgs(char const*, char const*) (qmetaobject.cpp:720) ==17594== by 0x7EBD329: QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) (qobject.cpp:2420) ==17594== by 0xC1D21F: UMLApp::setProgLangAction(Uml::Programming_Language, QString const&, QString const&) (uml.cpp:188) ==17594== by 0xC2092A: UMLApp::initActions() (uml.cpp:270) ==17594== by 0xC24F90: UMLApp::UMLApp(QWidget*) (uml.cpp:133) ==17594== by 0xBD4A01: main (main.cpp:95) ==17594== Address 0xf17b721 is 25 bytes inside a block of size 46 free'd ==17594== at 0x4C20B6E: free (vg_replace_malloc.c:323) ==17594== by 0xC1D244: UMLApp::setProgLangAction(Uml::Programming_Language, QString const&, QString const&) (qbytearray.h:370) ==17594== by 0xC2092A: UMLApp::initActions() (uml.cpp:270) ==17594== by 0xC24F90: UMLApp::UMLApp(QWidget*) (uml.cpp:133) ==17594== by 0xBD4A01: main (main.cpp:95) ==17594== ==17594== Invalid read of size 1 ==17594== at 0x7EB2AD9: QMetaObject::checkConnectArgs(char const*, char const*) (qmetaobject.cpp:720) ==17594== by 0x7EBD329: QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) (qobject.cpp:2420) ==17594== by 0xC1D21F: UMLApp::setProgLangAction(Uml::Programming_Language, QString const&, QString const&) (uml.cpp:188) ==17594== by 0xC2092A: UMLApp::initActions() (uml.cpp:270) ==17594== by 0xC24F90: UMLApp::UMLApp(QWidget*) (uml.cpp:133) ==17594== by 0xBD4A01: main (main.cpp:95) ==17594== Address 0xf17b723 is 27 bytes inside a block of size 46 free'd ==17594== at 0x4C20B6E: free (vg_replace_malloc.c:323) ==17594== by 0xC1D244: UMLApp::setProgLangAction(Uml::Programming_Language, QString const&, QString const&) (qbytearray.h:370) ==17594== by 0xC2092A: UMLApp::initActions() (uml.cpp:270) ==17594== by 0xC24F90: UMLApp::UMLApp(QWidget*) (uml.cpp:133) ==17594== by 0xBD4A01: main (main.cpp:95) Maybe it is related to this bug. Yay. Sorry for confusing, but last comment applies to 4.1.0 Debian experimental umbrello. The one I've built from SVN doesn't show any of those. Quick fix by commit 846608 in file codegenerationpolicy.cpp:301 The variable Settings::getOptionState().codeGenerationState.indentationAmount seems not to be initialized properly and has sometimes a very high value. Will be investigated further. Built rev. 846610 several days ago, no hangs from that time, it's something like 20 starts. But as a side-effect I also can't see any language in "Code -> Active Language" menu and autocompletition of types for new attributes doesn't work (I guess because of lack of the language). > [...]
> But as a side-effect I also can't see any language in "Code -> Active
> Language" menu and autocompletition of types for new attributes doesn't
> work (I guess because of lack of the language).
Do you have a recent umbrelloui.rc in your $KDEDIR/share/apps/umbrello/ ?
> Do you have a recent umbrelloui.rc in your $KDEDIR/share/apps/umbrello/ ?
What do you mean by 'recent'? Currently there is no such file there at all.
> > Do you have a recent umbrelloui.rc in your $KDEDIR/share/apps/umbrello/ ? > > What do you mean by 'recent'? Currently there is no such file there at all. ?? Well that's very strange. If you start umbrello from an xterm command line then you should see something like: umbrello(10436)/kdeui (kdelibs): No such XML file "umbrelloui.rc" Then try copying the umbrelloui.rc file from your umbrello trunk checkout to the install directory mentioned above. OK, my error here, I've interpreted $KDEDIR as ~/.kde4, but looks like you've ment something like /usr/share/kde4/ (Debian case), where I do have /usr/share/kde4/apps/umbrello/umbrelloui.rc. So now I understand what you've ment by 'recent', as I've rewrited that with umbrelloui.rc from current SVN and voila, language selection works again. Not observed any more since commit 846608. |