Jump to content

Recommended Posts

Posted

Summary: The attached SVG file crashes Affinity Designer upon opening.  It has an embedded malformed PNG image.

Application:  Affinity Designer 2.1.1

OS: MacOS 13.5

Reproducable: Yes

tink.svg

Posted

Hi @purplie,

Most likely because the png in the file is linked rather than embedded, something which Inkscape supports. I realise this relates to your other post about linking files in SVG exports but Affinity apps don't currently support this.

Having said that, I would have expected Designer to open the file and but as a blank page because it can't locate the external png, as other Vector apps do.

tink.png.4ef0506a400b7e0df02112e47b9610b3.png

 

 

Affinity Designer 2.6.3 | Affinity Photo 2.6.3 | Affinity Publisher 2.6.3
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Posted
2 minutes ago, purplie said:

The attached sample file includes an embedded (corrupt) image, not a linked one.

Maybe that's why it's crashing Designer if the embedded file is corrupt... What is your expectation when opening the file or is it more to highlight that it crashes Designer?

Affinity Designer 2.6.3 | Affinity Photo 2.6.3 | Affinity Publisher 2.6.3
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Posted

It's to highlight the crash.  (Obviously I don't expect it to read a bad file.)

I lost some other open files that hadn't been saved yet, because when AD restarts, and asks you whether to 'Restore unsaved files', if you say Yes, it'll just crash again trying to reopen the bad file.

Also, if bad input causes a crash, it can be a sign of a security vulnerability, if it's caused by a buffer overflow or something like that.

Posted

Ah, okay, that makes more sense now, hopefully, someone from the moderation team can comment since your file opens in other apps without them crashing...

Affinity Designer 2.6.3 | Affinity Photo 2.6.3 | Affinity Publisher 2.6.3
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

  • 4 months later...
  • Staff
Posted

The issue "SVG crashing app when Opening/Placing" (REF: AF-286) has been fixed by the developers in internal build "2.4.0.2185".
This fix should soon be available as a customer beta and is planned for inclusion in the next customer release.
Customer beta builds are announced here and you can participate by following these instructions.
If you still experience this problem once you are using that build version (or later) please reply to this thread including @Serif Info Bot to notify us.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.