Summary: | Umbrello crashes on startup | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Jure Repinc <jlp> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Jure Repinc
2005-09-13 23:43:55 UTC
Please do a "make install". Two button pixmap files were renamed on 2005-09-03, http://lists.kde.org/?l=kde-commits&m=112569846425464 > SVN commit 456447 by okellogg: > > Uniform naming prepares for simplification of WorkToolBar::loadPixmaps() > > M +2 -2 Makefile.am > D cursor-end-state.png > A cursor-end_state.png cursor-end-state.png#456373 > D cursor-initial-state.png > A cursor-initial_state.png cursor-initial-state.png#456373 Please reopen if problem persists. I just deleted the source and redownloaded it from SVN and recompilled but the crash is still here. Is there any other info that could help? Just to make sure: Does ls $KDEDIR/share/apps/umbrello/pics/cursor-{initial,end}_state.png show you those two files? In gdb, you could set a breakpoint at worktoolbar.cpp:305 and step thru the loop to find out which exact pixmap file is causing the problem. $ ls /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor* /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-actor.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-aggregation.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-anchor.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-andline.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-artifact.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-association.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-box.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-branch.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-choice-rhomb.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-choice-round.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-class.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-component.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-composition.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-containment.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-datatype.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-deep-history.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-dependency.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-end_state.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-end-state.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-entity.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-enum.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-fork.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-generalisation.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-initial_state.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-initial-state.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-interface.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-join.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-junction.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-message-asynchronous.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-message-synchronous.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-node.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-note.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-object.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-package.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-relationship.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-shallow-history.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-state-fork.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-text.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-uniassociation.png /home/kdedev/kde-unstable/share/apps/umbrello/pics/cursor-usecase.png I don't know how to set breakpoint so if you could teach me I can do it too. SVN commit 462434 by okellogg: BUG:112567 - loadPixmaps(): Fix computation of n_buttonInfos. M +1 -2 worktoolbar.cpp --- branches/KDE/3.5/kdesdk/umbrello/umbrello/worktoolbar.cpp #462433:462434 @@ -288,8 +288,7 @@ KStandardDirs * dirs = KGlobal::dirs(); QString dataDir = dirs->findResourceDir( "data", "umbrello/pics/object.png" ); dataDir += "/umbrello/pics/"; - const size_t n_buttonInfos = sizeof(buttonInfo) / - (sizeof(ToolBar_Buttons) + sizeof(QString) + sizeof(char*)); + const size_t n_buttonInfos = sizeof(buttonInfo) / sizeof(ButtonInfo); m_ToolButtons.insert(tbb_Undefined, ToolButton(i18n("UNDEFINED"), |