Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#33782 - fbida seem to be incompatible to libcurl >= 7.29.0

Attached to Project: Arch Linux
Opened by Peter Weber (hoschi) - Saturday, 09 February 2013, 14:53 GMT
Last edited by Dave Reisner (falconindy) - Monday, 11 February 2013, 16:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



I figured out that the image-viewer fbi seems to be incomaptible to curl >= "7.29.0". The functions fb_cleanup() and fb_catch_exit_signals() print this error messages during regular application termination:

ioctl KDSETMODE: Bad file descriptor
ioctl FBIOPUT_VSCREENINFO: Bad file descriptor
ioctl FBIOGET_FSCREENINFO: Bad file descriptor
ioctl VT_SETMODE: Bad file descriptor
Oops: Segmentation fault

Also fbi dies if invoked with "fbi --version" and dmesg shows this output (the version string is printed from version() and exit() is called immediately afterwards):
[ 1013.531194] fbi[1272]: segfault at 0 ip 00007f7d6ba4e4a0 sp 00007fffccc80690 error 6 in[7f7d6ba1c000+5d000]

Why does that happen?
Why does fbi depend/call libcurl?

Downgrading curl to a version below 7.29 fixed the issue.
Warning: Downgrade curl only for testing purposes! The latest release includes an important security fix, which could be trigged by web based programs on the client (e.g. webbrowser).

Additional notes:
The package of fbi is out-of-date 2.08 was replaced through 2.09, but this version also suffers the same problem. So I decided not to flag the package of fbi out-of-date, because this could just add additional, and unnecessary, round-trips.

The fbi project doesn't offer a upstream bugtracker, so I decided to report this issue at least here. Also I send the original program author a link to this report.


This task depends upon

Closed by  Dave Reisner (falconindy)
Monday, 11 February 2013, 16:05 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#33811 
Comment by Peter Weber (hoschi) - Saturday, 09 February 2013, 16:41 GMT

Seem these are a kind of GCC based CTORS for C (NON-Standard), which are called at application startup.
Comment by Peter Weber (hoschi) - Monday, 11 February 2013, 15:58 GMT
A bug in curl 7.29 seem to be the cause:
fixed here with a backport:

So it looks like, we must just wait a little bit. Until this new package-release hits stable. So we can take a look at the new release 2.09 of fbida itself.
Comment by Peter Weber (hoschi) - Monday, 11 February 2013, 15:58 GMT
It tested curl-7.29-2 and it works fine with fbida.