Summary: | krunner crashed when typing in 4000000 | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Andrei Rybak <rybak.a.v> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | alexander.lohnau, maggiejoseph96, natalie_clarius, nate, qydwhotmail |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.27.5 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=470219 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
demonstration of krunner closing unexpectedly
New crash information added by DrKonqi |
Description
Andrei Rybak
2023-05-26 20:13:39 UTC
What version of libqalculate do you have? libqalculate22 installed version is 4.6.1-0xneon+22.04+jammy+release+build9 I am on neon and can not reproduce. Does the crash happen after typing "4000000" or do you prefix the query/add a math operator after it? Created attachment 159365 [details] demonstration of krunner closing unexpectedly Originally, the crash happened just after typing "40" or "400". On 2023-05-26 I managed to reproduce the _crash_ (with drkonqi) a couple of times. Since then, I've installed debug symbols for libqalculate22. Now, after an upgrade and restart I'm not able to reproduce the crash, but there's still some weird behavior going on – krunner closes unexpectedly, but drkonqi doesn't appear. drkonqi itself seems to be working, e.g. I'm able to reproduce the crash from https://bugs.kde.org/show_bug.cgi?id=469919 and drkonqi reports the crash in Spectacle. Unfortunately, I can't pin down the exact steps to reproduce the weird behavior. As far as I can tell, it has something to do with having a quote-unquote "incomplete" math expression in history. In my case, it's a trailing minus sign. For example: 1. Open krunner (in my case, via shortcut Alt+F2) 2. Type `1000-` (one thousand and a trailing minus) 3. Press Enter 4. Press Esc 5. Open krunner again 6. Start typing some number In some cases, during step 6 krunner closes unexpectedly. As an example, on the attached screen recording (kde-krunner-glitch-2023-05-31.mp4) at the very end I'm trying to type "30000" (thirty thousand), but I'm only able to type in "3000" (three thousand). krunner closes unexpectedly just after I press the fourth zero. The screen recording includes a demo of the keys being pressed via an application called "screenkey". Created attachment 159461 [details]
New crash information added by DrKonqi
krunner (5.27.5) using Qt 5.15.9
(Posting from KDE Crash Handler)
KRunner quits unexpectedly every time I open it (usually alt+space) and try to perform a calculation. Dr Konqi does not appear every time.
I do not have to type in a large number. It crashes even if I try to multiply/subtract/calculate one digit, immediatley after I put a symbol, or moments after. Started to happen recently (but unsure how recent..)
-- Backtrace (Reduced):
#4 0x00007f4994e69840 in MathStructure::type() const () from /lib64/libqalculate.so.22
#5 0x00007f4994e63f90 in MathStructure::MathStructure(MathStructure const&) () from /lib64/libqalculate.so.22
#6 0x00007f4994dd8ff0 in CalculateThread::run() () from /lib64/libqalculate.so.22
#7 0x00007f4994e71d6f in Thread::doRun(void*) () from /lib64/libqalculate.so.22
[...]
#2 0x00007f4994e72950 in sleep_ms(int) () from /lib64/libqalculate.so.22
*** This bug has been marked as a duplicate of bug 470219 *** |