linebender / linebender/resvg

Freeze when trying to render some svg

Open
#939 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
4.1k
Forks
348
Avg merge
1d 14h
Merged PRs (30d)
3

Description

File content(at the bottom should be attached raw, not formatted file - github removes some non-printable characters, so copying from here may not work):
```

```

command
```
timeout -v 100 resvg TEST___FILE.svg
```

cause this
```
timeout: sending signal TERM to command ‘resvg’

##### Automatic Fuzzer note, output status "Some(124)", output signal "None"
```

[compressed.zip](https://github.com/user-attachments/files/21315774/compressed.zip)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the hang with the SVG content in the issue and the provided `timeout -v 100 resvg TEST___FILE.svg` command. Trace the rendering path reached by this malformed SVG and identify why it does not terminate; done means the input completes without freezing and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.