#1101331 fbi: segfault on ^C

Package:
fbi
Source:
fbi
Description:
Linux frame buffer image viewer
Submitter:
Jakub Wilk
Date:
2025-03-25 20:36:02 UTC
Severity:
normal
#1101331#3
Date:
2025-03-25 20:33:30 UTC
From:
To:
fbi crashes with segmentation fault if I try to interrupt it with ^C:

     $ fbi /usr/share/pixmaps/debian-logo.png
     using "DejaVu Sans Mono-16", pixelsize=16.67 file=/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
     map: vt03 => fb0
     ioctl KDSETMODE: Bad file descriptor
     ioctl FBIOPUT_VSCREENINFO: Bad file descriptor
     ioctl FBIOGET_FSCREENINFO: Bad file descriptor
     ioctl VT_SETMODE: Bad file descriptor
     Segmentation fault (core dumped)

Backtrace:

#0  0x565ef730 in strsignal@plt ()
#1  0x565f4824 in fb_catch_exit_signals () at ./fbtools.c:530
#2  0x00000000 in ?? ()