Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78015 - New media-gfx/fbv-1.0b has a small segfault.
Summary: New media-gfx/fbv-1.0b has a small segfault.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL: http://s-tech.elsat.net.pl/fbv/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-14 13:35 UTC by Philip Nilsson
Modified: 2005-01-30 00:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the patch (oob-segfault-fbv-1.0b.diff,559 bytes, patch)
2005-01-14 13:37 UTC, Philip Nilsson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Nilsson 2005-01-14 13:35:52 UTC
The new version changed a line to support the ywrap/pan
options of the framebuffer. Somehow that segfaults, I've
traced around the code to figure out how or why it
happens... but I've been unable to find the cause. I doubt
I would be able to fix a testcase as this bug seems very
environment dependant.

  I hacked together a small patch that reverts part of the
new version. It should not have any effect on performance
as I can not see how the code would work with ywrap/pan
anyway (I should read up on that). If anything it improves
performance. Otherwise the patched version works without
problem. Maybe I should submit it upstream or at least
alert the maintainers of the issue...

  The patch might have a bad format, if so -- I'm sorry!
Comment 1 Philip Nilsson 2005-01-14 13:37:04 UTC
Created attachment 48494 [details, diff]
the patch

the patch
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-15 19:29:20 UTC
please add a metadata.xml for your package.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-01-15 20:33:19 UTC
patch format is fine. 

Submit patch upstream.

You haven't described what condition needed to occur for the segv to occur.

I'm hesitant about including this patch at this stage.
Comment 4 Philip Nilsson 2005-01-20 07:12:07 UTC
  No response from upstream (one of the e-mails bounced too).

  I still don't know how the bug is triggered. But I know
that the patch would be most stable as it is a partial
revert to 0.99 which never segfaulted. Check the #if 0 in
the source (might be visible in my patch), the code that has
been #if0ed out was what it looked like in the previous
version.

Comment 5 Daniel Black (RETIRED) gentoo-dev 2005-01-30 00:32:03 UTC
added patch to 1.0b.