Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 78015

Summary: New media-gfx/fbv-1.0b has a small segfault.
Product: Gentoo Linux Reporter: Philip Nilsson <leffeman>
Component: New packagesAssignee: Daniel Black (RETIRED) <dragonheart>
Status: RESOLVED FIXED    
Severity: normal CC: graphics+disabled, usata
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://s-tech.elsat.net.pl/fbv/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the patch

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.