Summary: | KAlgebra crashed when a end parentheses was entered in an equation | ||
---|---|---|---|
Product: | [Applications] kalgebra | Reporter: | ryanloringcooper |
Component: | general | Assignee: | Aleix Pol <aleixpol> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aleixpol, cfeck |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/analitza/d850addaf3cd1916eb3b7977232948652db76413 | Version Fixed In: | 4.9.1 |
Description
ryanloringcooper
2012-08-23 00:23:58 UTC
Reproducible on today's master with the steps from comment #0. Yep. The problem is that you put x(...) so it thought you were using x as a function. For the moment, if you want it to work, you'll have to add a *. I'll add an error message so that the crash doesn't happen again. Thanks for the report! You're welcome. Thank you for the work around. On Aug 26, 2012 5:39 PM, "Aleix Pol" <aleixpol@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=305642 > > Aleix Pol <aleixpol@kde.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |aleixpol@kde.org > > --- Comment #2 from Aleix Pol <aleixpol@kde.org> --- > Yep. The problem is that you put x(...) so it thought you were using x as a > function. > > For the moment, if you want it to work, you'll have to add a *. I'll add an > error message so that the crash doesn't happen again. > > Thanks for the report! > > -- > You are receiving this mail because: > You reported the bug. > Git commit f92e8951d0c729ad0ca51f518f35fde86d07f556 by Aleix Pol. Committed on 28/08/2012 at 02:15. Pushed by apol into branch 'KDE/4.9'. Fix crash when calling (x(x^2))^2 When resolving the type of an arithmetic function, check that all the operands are valid first. M +1 -0 analitza/expressiontypechecker.cpp M +1 -0 analitza/tests/typechecktest.cpp http://commits.kde.org/analitza/f92e8951d0c729ad0ca51f518f35fde86d07f556 Git commit d850addaf3cd1916eb3b7977232948652db76413 by Aleix Pol. Committed on 28/08/2012 at 02:15. Pushed by apol into branch 'master'. Fix crash when calling (x(x^2))^2 When resolving the type of an arithmetic function, check that all the operands are valid first. M +1 -0 analitza/expressiontypechecker.cpp M +1 -0 analitza/tests/typechecktest.cpp http://commits.kde.org/analitza/d850addaf3cd1916eb3b7977232948652db76413 |