Bug 454045
| Summary: | DrGeo reliably crashes | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Przemek Klosowski <przemek> |
| Component: | drgeo | Assignee: | Eric Tanguy <eric.tanguy> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 9 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.1.0-13.fc9 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-07-15 12:16:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Przemek Klosowski
2008-07-04 03:37:13 UTC
You are right. I can reproduce the problem but i don't know how to solve it because there is no more support upstream. diff -u geo/drgeo_figure.cc*
--- geo/drgeo_figure.cc 2008-07-08 02:38:50.000000000 -0400
Bug results from a gint () function failing to return a value. The following
patch fixes the problem. Please test and send it up to Fedora updates, as this is
a neat application, and it would be a pity if it was left broken for long.
--- geo/drgeo_figure.cc 2008-07-08 02:38:50.000000000 -0400
+++ geo/drgeo_figure.cc~ 2005-07-14 03:30:01.000000000 -0400
@@ -1309,7 +1309,7 @@
gint
drgeoFigure::preferedUndoLevel ()
{
- return atoi (drgeoConfigGet (":undoLevel"));
+ atoi (drgeoConfigGet (":undoLevel"));
}
void
Thanks your patch seems to solve the problem but there is a mistake in the patch :
--- geo/drgeo_figure.cc 2008-07-08 02:38:50.000000000 -0400
+++ geo/drgeo_figure.cc~ 2005-07-14 03:30:01.000000000 -0400
@@ -1309,7 +1309,7 @@
gint
drgeoFigure::preferedUndoLevel ()
{
- atoi (drgeoConfigGet (":undoLevel"));
+ return atoi (drgeoConfigGet (":undoLevel"));
}
void
drgeo-1.1.0-13.fc9 has been submitted as an update for Fedora 9 drgeo-1.1.0-13.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update drgeo'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-6257 drgeo-1.1.0-13.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. |