[okular] [Bug 443057] New: Okular crashes on markdown files with an image without alt text

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Sep 28 07:39:10 BST 2021


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

            Bug ID: 443057
           Summary: Okular crashes on markdown files with an image without
                    alt text
           Product: okular
           Version: 21.08.1
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: markdown backend
          Assignee: okular-devel at kde.org
          Reporter: nl6720 at gmail.com
                CC: nl6720 at gmail.com
  Target Milestone: ---

Created attachment 141978
  --> https://bugs.kde.org/attachment.cgi?id=141978&action=edit
test

SUMMARY
Okular crashes when opening a markdown file that contains an embedded image
without alt text.
This happens using when the file contains something like:
![](/path/to/img.jpg)

But not with:
![Alt text](/path/to/img.jpg)

Though, the image is not displayed anyway, only the alt text.

STEPS TO REPRODUCE
1. create a test.md file containing:

![](https://kde.org/stuff/clipart/logo/kde-logo-white-blue-rounded-128x128.png)

2. Open the file in okular

OBSERVED RESULT

Okular doesn't open.
Journal shows:
Process 12264 (okular) of user 1000 dumped core.

EXPECTED RESULT
Okular opens and shows the file.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Try opening the attached test file.

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


More information about the Okular-devel mailing list