Description of problem: The command "fbi" aborts with a stack trace. Version-Release number of selected component (if applicable): 2.06-5.fc9 How reproducible: Always Steps to Reproduce: 1. switch to a framebuffer console 2. wget http://www.google.com/intl/en_ALL/images/logo.gif 3. fbi -v logo.gif Actual results: Command aborts with stack trace. Expected results: Command displays image. Additional info: fbida-2.06-4.fc8 works as expected. See fb0.txt (attached) for struct fb_var_screeninfo and struct fb_fix_screeninfo information about my framebuffer console. It is a 32-bit direct-color visual, but the 8-bit pseudo-color visual ("fbset -depth 8") fails in the same way.
Created attachment 306516 [details] Stack trace of "fbi -v logo.gif"
Created attachment 306517 [details] fb_fix_screeninfo and fb_var_screeninfo for /dev/fb0
I will contact upstream to see if this is a known bug. Maybe there is already a fix for it.
Hmm, not reproducable. Can you try running "valgrind fbi -v logo.gif" and attach the valgrind report please?
Created attachment 307197 [details] valgrind output valgrind -v --leak-check=full --show-reachable=yes fbi -v logo.gif
I have attached the valgrind report as requested.
Created attachment 307199 [details] valgrind report
Created attachment 307318 [details] valgrind report Regenerated with debuginfo packages installed.
Created attachment 308585 [details] Fix 2nd argument passed to swprintf I found the problem: swprintf() is called several times with an incorrect 2nd argument. It should be the size of the 1st parameter in "wchar_t"s, not bytes.
Created attachment 308614 [details] Fix 2nd argument passed to swprintf Amended to use the existing ARRAY_SIZE macro.
Great spotting. I've even looked at the swprintf calls and didn't see the bug. Oops. fbida-2.07 release rolled out (http://dl.bytesex.org/releases/fbida/).
fbida-2.07-1.fc9 has been submitted as an update for Fedora 9
fbida-2.07-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update fbida'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5225
Thanks for reporting, fixing and testing the new release!
fbida-2.07-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.