[libalkimia] [Bug 485993] New: Online quotes editor crashes when running from craft shell

Ralf Habacker bugzilla_noreply at kde.org
Tue Apr 23 08:14:15 BST 2024


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

            Bug ID: 485993
           Summary: Online quotes editor crashes when running from craft
                    shell
    Classification: Frameworks and Libraries
           Product: libalkimia
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Online Quotes Editor
          Assignee: kmymoney-devel at kde.org
          Reporter: ralf.habacker at freenet.de
  Target Milestone: ---

STEPS TO REPRODUCE
1. install craft on Linux https://community.kde.org/Craft
2. enter craft shell
3.  build alkimia with 'craft --target=master alkimia'
3. run 'craft --run onlinequoteseditor5'

OBSERVED RESULT
The application crashes 

EXPECTED RESULT
The application should not crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
The application crashes at
https://invent.kde.org/office/alkimia/-/blob/master/tools/onlinequoteseditor/main.cpp?ref_type=heads#L48
where it tries to access an action from the help menu

    helpMenu.action(KHelpMenu::menuReportBug)->setVisible(false);

In this case a null pointer is returned and leads to the crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list