elementary / calculator

Calculator app designed for elementary OS
https://elementary.io
GNU General Public License v3.0
79 stars 29 forks source link

Crash when pasting with multiply/divide #258

Closed GammaGames closed 1 year ago

GammaGames commented 1 year ago

What Happened?

I tried to paste a number after a multiplication and it crashed

Steps to Reproduce

  1. Enter 1* into the calculator
  2. Try to paste a number
  3. Crash

Expected Behavior

No crash

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

Jun 15 09:02:09 io.elementary.c[703500]: Invalid UTF-8 string passed to pango_layout_set_text()
Jun 15 09:02:09 io.elementary.c[703500]: g_variant_new_string: assertion 'g_utf8_validate (string, -1, NULL)' failed
Jun 15 09:02:09 io.elementary.c[703500]: g_variant_new_variant: assertion 'value != NULL' failed
Jun 15 09:02:09 kernel: [89600.312806] io.elementary.c[703500]: segfault at 30 ip 00007fd310aa30f4 sp 00007ffe13e60218 error 4 in libglib-2.0.so.0.7600.0[7fd310a17000+a0000]

Hardware Info

No response

jeremypw commented 1 year ago

Crashes with multiply/divide but not with plus/minus. Does not crash with DND.