[kmail2] [Bug 481228] New: Crashes when trying to edit a failed mail from Outbox

Mehrad Mahmoudian bugzilla_noreply at kde.org
Sun Feb 11 14:35:48 GMT 2024


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

            Bug ID: 481228
           Summary: Crashes when trying to edit a failed mail from Outbox
    Classification: Applications
           Product: kmail2
           Version: 5.24.4
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: commands and actions
          Assignee: kdepim-bugs at kde.org
          Reporter: m.mahmoudian at gmail.com
  Target Milestone: ---

**Disclaimer**: I tried to follow KDE guideline (
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
) to provide backtrace, but my lack of familiarity with gdb and poor KDE
documentation lead to waste of my time and getting stuck at `(gdb)` after
running `gdb kmail ~/core.core`. No GUI window openned, and typing `help` told
showed some commands such as "status", but none of them were valid commands and
they resaulted in gdb error! Well, I tried! If there is anything I can provide,
please give me a step-by-step guide and I will follow and report back. Until
then, this bug report is to  the best of my efforts.

SUMMARY

Opening the signed (not encrypted, just signed) from the outbox causes crash.

I was sending an email with a ZIP attachment which contained a js file. KMail
failed to send the email and put it inside Outbox. This is the error I got:
"Failed to transport message. Server error: Rejected: forbidden file type in
zip attachment: test/static/script.js"

I opened Outbox, right-clicked on the email and pressed "Edit as new" and it
crashed. removing the singing solves the issue. It is possible that its is also
due to having a Zip file.

STEPS TO REPRODUCE
1. create an email that will fail (add a javascript file to a zip file and send
to gmail)
2. when the sending fails, it goes to outbox. open the outbox
3. right-click and select "Edit as new"
4. observe the crash

OBSERVED RESULT
Crash.


EXPECTED RESULT
Not to crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Manjaro KDE Plasma Wayland
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12
Kernel Version: 6.6.10-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7440HQ CPU @ 2.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Manufacturer: LENOVO

ADDITIONAL INFORMATION

❯  kmail
org.kde.pim.kmail: setFcc: collection invalid  ""
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: setGrabPopup called with a parent,
QtWaylandClient::QWaylandXdgSurface(0x558a3c27c750) which does not match the
current topmost grabbing popup,
QtWaylandClient::QWaylandXdgSurface(0x558a3b93e660) According to the xdg-shell
protocol, this is not allowed. The wayland QPA plugin is currently handling it
by setting the parent to the topmost grabbing popup. Note, however, that this
may cause positioning errors and popups closing unxpectedly because xdg-shell
mandate that child popups close before parents
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
gpg.qgpgme: found no group for entry verbose of component "tpm2daemon"
gpg.qgpgme: found no group for entry quiet of component "tpm2daemon"
gpg.qgpgme: found no group for entry debug-level of component "tpm2daemon"
gpg.qgpgme: found no group for entry log-file of component "tpm2daemon"
qt.qpa.wayland: setGrabPopup called with a parent,
QtWaylandClient::QWaylandXdgSurface(0x558a3c27c750) which does not match the
current topmost grabbing popup,
QtWaylandClient::QWaylandXdgSurface(0x558a3b1c92a0) According to the xdg-shell
protocol, this is not allowed. The wayland QPA plugin is currently handling it
by setting the parent to the topmost grabbing popup. Note, however, that this
may cause positioning errors and popups closing unxpectedly because xdg-shell
mandate that child popups close before parents
qt.qpa.wayland: setGrabPopup called with a parent,
QtWaylandClient::QWaylandXdgSurface(0x558a3c27c750) which does not match the
current topmost grabbing popup,
QtWaylandClient::QWaylandXdgSurface(0x558a3b1c92a0) According to the xdg-shell
protocol, this is not allowed. The wayland QPA plugin is currently handling it
by setting the parent to the topmost grabbing popup. Note, however, that this
may cause positioning errors and popups closing unxpectedly because xdg-shell
mandate that child popups close before parents
qt.qpa.wayland: setGrabPopup called with a parent,
QtWaylandClient::QWaylandXdgSurface(0x558a3c27c750) which does not match the
current topmost grabbing popup,
QtWaylandClient::QWaylandXdgSurface(0x558a3ca2dd80) According to the xdg-shell
protocol, this is not allowed. The wayland QPA plugin is currently handling it
by setting the parent to the topmost grabbing popup. Note, however, that this
may cause positioning errors and popups closing unxpectedly because xdg-shell
mandate that child popups close before parents
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
/tmp/messageviewer_bDNqOv.index.1.2 was not removed .
/tmp/messageviewer_eueWeE.index.1.2 was not removed .
/tmp/messageviewer_YpRDbE.index.2 was not removed .
/tmp/messageviewer_bDNqOv.index.1.2 was removed .
/tmp/messageviewer_eueWeE.index.1.2 was removed .
/tmp/messageviewer_YpRDbE.index.2 was removed .
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kmail path = /usr/bin pid = 119850
KCrash: Arguments: /usr/bin/kmail
[1]    119850 segmentation fault (core dumped)  kmail

Error code 139

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


More information about the Kdepim-bugs mailing list