sixels crashing foot #427

Closed
opened 7 months ago by ndagestad · 3 comments

Hi,
I think I just stumbled upon a bug in foot related to sixels.
I came across this tweet about somebody having fun with sixel data in the git email field and tried it.
The fist time it works fine but running it a seccond time crashes foot.

Here the backtrace I got with gdb, and here is the error log form running foot -c /dev/null and then doing the git log twice.

I haven't really looked into what happend yet.

foot version: 1.7.1-4-g37245fe (Mar 29 2021, branch 'master') +ime -pgo

Hi, I think I just stumbled upon a bug in foot related to sixels. I came across [this tweet](https://twitter.com/12Me21_/status/1376561058165489664) about somebody having fun with sixel data in the git email field and tried it. The fist time it works fine but running it a seccond time crashes foot. [Here](https://paste.git.dagestad.fr/~nicolai/9e3d9142c6f2defdd4184cda886fe418f6377234) the backtrace I got with gdb, and [here](https://paste.git.dagestad.fr/~nicolai/d9a6d756a4fd4d9e51da206adf23b0a016331cdf) is the error log form running `foot -c /dev/null` and then doing the `git log` twice. I haven't really looked into what happend yet. `foot version: 1.7.1-4-g37245fe (Mar 29 2021, branch 'master') +ime -pgo`
Owner

Interesting! I'll try to take a look at this tomorrow, unless you've already solved it by then ;)

Interesting! I'll try to take a look at this tomorrow, unless you've already solved it by then ;)
dnkl added the
bug
label 7 months ago
Poster

I don't mind trying to solve it, just not tonight. I need some sleep 🙃

I don't mind trying to solve it, just not tonight. I need some sleep 🙃
Owner

With #428 it now works!

Did you know? It's actually an animation. For me at least, a release build of foot was so fast that you only see the last frame. But a debug build slows things down enough for it to become noticable.

For slowmo, run it in XTerm instead ;)

I also noticed there something wrong with the sixel(s) - it (tries to) emit an XTSMGRAPHICS CSI sequence in the middle of the sixel DCS sequence... But oh well, it works :)

With https://codeberg.org/dnkl/foot/pulls/428 it now works! Did you know? It's actually an animation. For me at least, a release build of foot was so fast that you only see the last frame. But a debug build slows things down enough for it to become noticable. For slowmo, run it in XTerm instead ;) I also noticed there something wrong with the sixel(s) - it (tries to) emit an `XTSMGRAPHICS` CSI sequence in the middle of the sixel DCS sequence... But oh well, it works :)
dnkl closed this issue 7 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.