[krunner] [Bug 470312] krunner crashed when typing in 4000000

2023-06-07 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=470312

Fushan Wen  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #6 from Fushan Wen  ---


*** This bug has been marked as a duplicate of bug 470219 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 470312] krunner crashed when typing in 4000000

2023-06-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=470312

--- Comment #5 from maggiejosep...@protonmail.com ---
Created attachment 159461
  --> https://bugs.kde.org/attachment.cgi?id=159461=edit
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  0x7f4994e69840 in MathStructure::type() const () from
/lib64/libqalculate.so.22
#5  0x7f4994e63f90 in MathStructure::MathStructure(MathStructure const&) ()
from /lib64/libqalculate.so.22
#6  0x7f4994dd8ff0 in CalculateThread::run() () from
/lib64/libqalculate.so.22
#7  0x7f4994e71d6f in Thread::doRun(void*) () from
/lib64/libqalculate.so.22
[...]
#2  0x7f4994e72950 in sleep_ms(int) () from /lib64/libqalculate.so.22

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 470312] krunner crashed when typing in 4000000

2023-06-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=470312

maggiejosep...@protonmail.com changed:

   What|Removed |Added

 CC||maggiejoseph96@protonmail.c
   ||om

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 470312] krunner crashed when typing in 4000000

2023-05-31 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=470312

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=470219

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 470312] krunner crashed when typing in 4000000

2023-05-31 Thread Andrei Rybak
https://bugs.kde.org/show_bug.cgi?id=470312

--- Comment #4 from Andrei Rybak  ---
Created attachment 159365
  --> https://bugs.kde.org/attachment.cgi?id=159365=edit
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 "3"
(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".

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 470312] krunner crashed when typing in 4000000

2023-05-30 Thread Alexander Lohnau
https://bugs.kde.org/show_bug.cgi?id=470312

--- Comment #3 from Alexander Lohnau  ---
I am on neon and can not reproduce. 

Does the crash happen after typing "400" or do you prefix the query/add a
math operator after it?

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 470312] krunner crashed when typing in 4000000

2023-05-30 Thread Andrei Rybak
https://bugs.kde.org/show_bug.cgi?id=470312

--- Comment #2 from Andrei Rybak  ---
libqalculate22

installed version is 4.6.1-0xneon+22.04+jammy+release+build9

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 470312] krunner crashed when typing in 4000000

2023-05-27 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=470312

Fushan Wen  changed:

   What|Removed |Added

 CC||qydwhotm...@gmail.com

--- Comment #1 from Fushan Wen  ---
What version of libqalculate do you have?

-- 
You are receiving this mail because:
You are watching all bug changes.