Summary: | KIG crashes with sine-curve.kig due to an assert failing | ||
---|---|---|---|
Product: | [Applications] kig | Reporter: | Henrique Pinto <henrique.pinto> |
Component: | general | Assignee: | Pino Toscano <pino> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | devriese |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Henrique Pinto
2005-02-26 03:41:58 UTC
Henrique Pinto writes: > If I try to load kdeedu/kig/examples/sine-curve.kig, the program > exits due to an assert failing. The console output is: > kig: /home/tawhaki/KDE/src/kdeedu/kig/misc/object_hierarchy.cc:538: > ObjectHierarchy::ObjectHierarchy(const QDomElement&): Assertion > `type' failed. > This probably happens because I haven't enabled the Python scripting > support. Yet it would be nice if Kig could show a nice messagebox > telling that an error occurred instead of crashing. Hm, I thought I fixed this some time ago.. I'll check.. cheers domi Dominique Devriese writes: > Henrique Pinto writes: >> If I try to load kdeedu/kig/examples/sine-curve.kig, the program >> exits due to an assert failing. The console output is: >> kig: /home/tawhaki/KDE/src/kdeedu/kig/misc/object_hierarchy.cc:538: >> ObjectHierarchy::ObjectHierarchy(const QDomElement&): Assertion >> `type' failed. >> This probably happens because I haven't enabled the Python >> scripting support. Yet it would be nice if Kig could show a nice >> messagebox telling that an error occurred instead of crashing. > Hm, I thought I fixed this some time ago.. I'll check.. Strange, when I simulate this on my system, by changing Python*Type to Appel*Type ( this should be identical to your situation ), it shows a nice detailedError() dialog with in the details box "This Kig file uses an object of type "AppelCompileType", which this Kig version does not support.Perhaps you have compiled Kig without support for this object type,or perhaps you are using an older Kig version." When did you last update and recompile your Kig checkout ? If the problem persists, I'll try to recompile without python to replicate your situation more exactly.. cheers domi Hi!
Em Sáb 26 Fev 2005 00:35, Dominique Devriese escreveu:
> When did you last update and recompile your Kig checkout ?
30 minutes ago. The problem still persists. Please let me know if I can do
something to help.
Henrique Pinto writes: > Hi! > Em S CVS commit by pino: Fixing bug 100292: KIG crashes with sine-curve.kig due to an assert failing. I'm going to backport it soon, since it doesn't modify any string. CCBUG: 100292 M +9 -15 filters/native-filter.cc 1.37 M +1 -1 misc/lists.cc 1.25 M +33 -31 misc/object_hierarchy.cc 1.26 M +11 -3 misc/object_hierarchy.h 1.15 M +61 -44 objects/object_imp_factory.cc 1.11 M +1 -1 objects/object_imp_factory.h 1.5 CVS commit by pino: Backport fix for bug 100292: KIG crashes with sine-curve.kig due to an assert failing. BUG: 100292 M +9 -15 filters/native-filter.cc 1.36.2.1 M +1 -1 misc/lists.cc 1.24.2.1 M +33 -31 misc/object_hierarchy.cc 1.25.2.1 M +11 -3 misc/object_hierarchy.h 1.14.2.1 M +61 -44 objects/object_imp_factory.cc 1.10.2.1 M +1 -1 objects/object_imp_factory.h 1.4.2.1 |