Bug 78015 - New media-gfx/fbv-1.0b has a small segfault.
Bug#: 78015 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dragonheart@gentoo.org Reported By: leffeman@gmail.com
Component: Ebuilds
URL:  http://s-tech.elsat.net.pl/fbv/
Summary: New media-gfx/fbv-1.0b has a small segfault.
Keywords:  
Status Whiteboard: 
Opened: 2005-01-14 13:35 0000
Description:   Opened: 2005-01-14 13:35 0000
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 From Philip Nilsson 2005-01-14 13:37:04 0000 -------
Created an attachment (id=48494) [details]
the patch

the patch

------- Comment #2 From Robin Johnson 2005-01-15 19:29:20 0000 -------
please add a metadata.xml for your package.

------- Comment #3 From Daniel Black 2005-01-15 20:33:19 0000 -------
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 From Philip Nilsson 2005-01-20 07:12:07 0000 -------
  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 From Daniel Black 2005-01-30 00:32:03 0000 -------
added patch to 1.0b.