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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |usability
                 CC|                            |n...@kde.org
           Severity|normal                      |crash
            Summary|Sharing a file/folder via   |Attempting to share via
                   |email causes the screen to  |email when there are no
                   |panic                       |suitable email clients
                   |                            |installed causes the
                   |                            |calling app to crash in
                   |                            |Purpose::EmailJob::start()

--- Comment #4 from Nate Graham <n...@kde.org> ---
Thanks, that backtrace is helpful. Pasting the relevant part inline:


#5  KService::desktopEntryName (this=0x0) at ./src/services/kservice.cpp:930
#6  0x00007f3fcda02222 in (anonymous namespace)::EmailJob::start
(this=0x5597d3c16d00) at ./src/plugins/email/emailplugin.cpp:40
#7  0x00007f3fcdbb18df in Purpose::JobController::startJob
(this=0x5597d80eef70) at ./src/jobcontroller.cpp:45
#8  0x00007f3fcdbb1950 in Purpose::JobController::configure (this=<optimized
out>) at ./src/jobcontroller.cpp:22
#9  0x00007f3fcdba63f6 in Purpose::JobController::qt_static_metacall
(_o=_o@entry=0x5597d80eef70, _c=_c@entry=QMetaObject::InvokeMetaMethod,
_id=_id@entry=5, _a=_a@entry=0x7fffcb46f680) at
./obj-x86_64-linux-gnu/src/KF5Purpose_autogen/EWIEGA46WW/moc_jobcontroller.cpp:148
#10 0x00007f3fcdba7073 in Purpose::JobController::qt_metacall
(this=0x5597d80eef70, _c=QMetaObject::InvokeMetaMethod, _id=5,
_a=0x7fffcb46f680) at
./obj-x86_64-linux-gnu/src/KF5Purpose_autogen/EWIEGA46WW/moc_jobcontroller.cpp:257

Looks like it's not handling the case of zero email apps, so it passes a blank
string or a nullptr to kservice, which crashes.

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

Reply via email to