Bug 448126
| Summary: | The fbi command aborts with a stack trace. | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jesse Thilo <jessethilo> | ||||||||||||||||
| Component: | fbida | Assignee: | Adrian Reber <adrian> | ||||||||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | low | Docs Contact: | |||||||||||||||||
| Priority: | low | ||||||||||||||||||
| Version: | 9 | CC: | kraxel | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | i386 | ||||||||||||||||||
| OS: | Linux | ||||||||||||||||||
| Whiteboard: | |||||||||||||||||||
| Fixed In Version: | 2.07-1.fc9 | Doc Type: | Bug Fix | ||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2008-06-13 02:21:10 UTC | Type: | --- | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
Jesse Thilo
2008-05-23 16:11:27 UTC
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. |