#108 SIGSEGV when qalc is given a nonsense

open
nobody
5
2010-01-11
2010-01-11
Anonymous
No

I tried to count this (I know that for qalc it means something entirely different, but that doesn't matter, because this just shouldn't happen)

lim (ln (x/(x+1))) as x->infinity

and qalc (and qalculate-kde) crashed with SIGSEGV (both 0.9.6)

Discussion

  • Still broken in 0.9.7

     
  • Navid Zamani
    Navid Zamani
    2011-05-24

    Uuum, have you checked what it actually does when you enter that? Because it interprets that as:
    (link ∙ meter ∙ ln(x ∕ (x + 1))  ∙ attosecond ∙ x) > Infinity

    Although it shouldn’t… I’d crash on that too, lol.
    I can give you the answer though: False. Since by definition, nothing is bigger than infinity.