Summary: | crash when moving a class in a Java UML diagram | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Carlos Aceituno <cdaceituno> |
Component: | general | Assignee: | Oliver Kellogg <okellogg> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | valgrind log |
Description
Carlos Aceituno
2007-05-28 11:31:27 UTC
Created attachment 20722 [details]
valgrind log
While I'm having a problem recreating the crash using umbrello r669259
from branches/KDE/3.5/kdesdk, valgrind does report uninitialized values
when moving a multiple selection containing associations on a class diagram.
SVN commit 669987 by okellogg: FloatingTextWidgetController constructor: Initialize member variables. This fixes the valgrind warnings exposed in attachment 20722 [details]. I have not been getting the reported crashes using r669259 of SVN branches/KDE/3.5/kdesdk/umbrello. Could someone please verify that the bug is really fixed, thanks. BUG:146058 M +1 -1 ChangeLog M +4 -0 umbrello/floatingtextwidgetcontroller.cpp --- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #669986:669987 @@ -1,13 +1,13 @@ Version 1.5.71 * Bugs/wishes from http://bugs.kde.org: -* Switching between tabbed and non-tabbed views requires restart (98204) * Preprocessor keywords ignored which causes endless loop in code import (119125) * Unstable saves and loads, class names become dirty (145709) * Crash on deleting class in list view (145762) * Class attribute documentation not generated for python (145916) * Python code generator does not wrap lines properly (145918) * Attribute documentation not generated for 'Export to XHTML' (145972) +* Crash when moving a class in a Java UML diagram (146058) * Arrowheads are not shown (146064) Version 1.5.7 --- branches/KDE/3.5/kdesdk/umbrello/umbrello/floatingtextwidgetcontroller.cpp #669986:669987 @@ -18,6 +18,10 @@ FloatingTextWidgetController::FloatingTextWidgetController(FloatingTextWidget *floatingTextWidget): UMLWidgetController(floatingTextWidget) { m_floatingTextWidget = floatingTextWidget; + m_unconstrainedPositionX = 0; + m_unconstrainedPositionY = 0; + m_movementDirectionX = 0; + m_movementDirectionY = 0; } FloatingTextWidgetController::~FloatingTextWidgetController() { |