https://bugs.kde.org/show_bug.cgi?id=453955

            Bug ID: 453955
           Summary: Krunner crashes when trying to calculate a function
                    value
           Product: krunner
           Version: 5.24.5
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: calculator
          Assignee: alexander.loh...@gmx.de
          Reporter: li...@dierheimer.de
                CC: plasma-b...@kde.org
  Target Milestone: ---

OBSERVED RESULT

When you type =log( and then enter a number, krunner crashes. Same behaviour
when using sin, cos etc. Closing the bracket without entering a number, and
then entering the number does work perfectly fine. 

Following output is produced when starting krunner from a terminal:

Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
free(): invalid pointer
21 -- exe=/usr/bin/krunner
13 -- platform=xcb
11 -- display=:0
16 -- appname=krunner
17 -- apppath=/usr/bin
9 -- signal=6
10 -- pid=59079
18 -- appversion=5.24.5
20 -- programname=krunner
31 -- bugaddress=sub...@bugs.kde.org
12 -- startupid=0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = krunner path = /usr/bin pid = 59079
KCrash: Arguments: /usr/bin/krunner 
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
KCrash: Attempting to start /usr/lib/drkonqi
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...
QSocketNotifier: Invalid socket 18 and type 'Read', disabling...
The X11 connection broke (error 1). Did the X11 server die?
file:///usr/lib/qt/qml/org/kde/milou/ResultsView.qml:56: TypeError: Cannot read
property 'iconSizes' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:31: TypeError: Cannot
read property 'gridUnit' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:175: TypeError: Cannot
read property 'smallSpacing' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:181: TypeError: Cannot
read property 'iconSizes' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:182: TypeError: Cannot
read property 'iconSizes' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:144: TypeError: Cannot
read property 'largeSpacing' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:259: TypeError: Cannot
read property 'iconSizes' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:260: TypeError: Cannot
read property 'iconSizes' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:31: TypeError: Cannot
read property 'gridUnit' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:175: TypeError: Cannot
read property 'smallSpacing' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:181: TypeError: Cannot
read property 'iconSizes' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:182: TypeError: Cannot
read property 'iconSizes' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:144: TypeError: Cannot
read property 'largeSpacing' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:31: TypeError: Cannot
read property 'gridUnit' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:175: TypeError: Cannot
read property 'smallSpacing' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:181: TypeError: Cannot
read property 'iconSizes' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:182: TypeError: Cannot
read property 'iconSizes' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:144: TypeError: Cannot
read property 'largeSpacing' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:31: TypeError: Cannot
read property 'gridUnit' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:175: TypeError: Cannot
read property 'smallSpacing' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:181: TypeError: Cannot
read property 'iconSizes' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:182: TypeError: Cannot
read property 'iconSizes' of null
file:///usr/lib/qt/qml/org/kde/milou/ResultDelegate.qml:144: TypeError: Cannot
read property 'largeSpacing' of null

EXPECTED RESULT

KRunner doesn't crash

SOFTWARE/OS VERSION

Linux/KDE Plasma: 5.17.7 / 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4, with KDE patch collection

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

Reply via email to