sciter-sdk
sciter-sdk copied to clipboard
Sciter Notes, HTML Notepad: segfault when pasting html with animated gif
The problem occurs with both Sciter Notes and HTML Notepad.
Steps to reproduce in HTML Notepad:
- Start HTML Notepad
- Click on the "Show source" button
- Replace the source wih the following code:
<html>
<body>
<figure>
<img src="https://cdn-images-1.medium.com/max/800/1*LnJwoZLOuEZ1v1eAN-UWZg.gif">
<figcaption>Caption</figcaption>
</figure>
</body>
</html>
- Click on the "Show source" button again
After a few seconds (for the gif to download), HTML Notepad crashed with the following message:
error in reading DataBlock
Segmentation error (core dumped)
My environment:
- Ubuntu 18.10
- Sciter Notes 4.2.7.3
Using the latest version (4.3.0.7), I didn't experience the segmentation fault any longer ; but the image is not displayed, and the following error message is still produced
error in reading DataBlock
I cannot reproduce the issue. I see that GIF file in at least html-notepad. It takes some time to download it, yes, but it gets shown.
The gif has bad structure, but it is rendered.
Just double-checked. I'm afraid the gif doesn't show up here.
However, I looked for a smaller gif and picked the first I found:
https://media.giphy.com/media/xUPGcfbMG6a2k2z57O/giphy.gif
This one showed up correctly.
Here is what I see (at least on Linux/Mint): http://cloud.sciter.com/index.php/s/qrKwf2vbZauZvA5