Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

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

Details

Hello!

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:

[code]
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
[/code]

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):
[code]
[ 1013.531194] fbi[1272]: segfault at 0 ip 00007f7d6ba4e4a0 sp 00007fffccc80690 error 6 in libcurl.so.4.3.0[7f7d6ba1c000+5d000]
[/code]

Questions:
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).
http://curl.haxx.se/docs/adv_20130206.html

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.

Thanks

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
https://www.kraxel.org/cgit/fbida/tree/curl.c

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:
https://bugs.archlinux.org/task/33811
fixed here with a backport:
https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/curl&id=04526b068214411fe4887e3c6e205740fb456bc5

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.

Loading...