[Bug 528872] Re: equal rgb values when calling common/common.h:rgbToHsv causes segfault
Sebastien Bacher
seb128 at ubuntu.com
Tue Aug 3 21:42:02 BST 2010
does the change there still needs sponsoring or should the sponsors be
unsubscribed?
--
equal rgb values when calling common/common.h:rgbToHsv causes segfault
https://bugs.launchpad.net/bugs/528872
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in “gtk2-engines-qtcurve” package in Ubuntu: Triaged
Bug description:
Binary package hint: gtk2-engines-qtcurve
when calling common/common.h:rgbToHsv with rgb equal and so max == min means delta is 0 causing a divide by zero segfault. attached is a possible fix although there may be a better one it should be fairly reasonable
Program received signal SIGFPE, Arithmetic exception.
0x00007fffef83c596 in rgbToHsv (r=1, g=<value optimised out>, b=1,
h=0x7fffffffbd80, s=0x7fffffffbd78, v=0x7fffffffbd70)
at /build/buildd/gtk2-engines-qtcurve-1.0.2/common/common.h:1160
1160 /build/buildd/gtk2-engines-qtcurve-1.0.2/common/common.h: No such file or directory.
in /build/buildd/gtk2-engines-qtcurve-1.0.2/common/common.h
(gdb) bt
#0 0x00007fffef83c596 in rgbToHsv (r=1, g=<value optimised out>, b=1,
h=0x7fffffffbd80, s=0x7fffffffbd78, v=0x7fffffffbd70)
at /build/buildd/gtk2-engines-qtcurve-1.0.2/common/common.h:1160
#1 0x00007fffef856f55 in getCellCol (style=0xd5db00,
window=<value optimised out>, state=<va
ProblemType: Bug
Architecture: amd64
CheckboxSubmission: 716d1b0e0549c96a138b059317db58fe
CheckboxSystem: d7486a0cf4dbe4bfdbdc5f2407943d41
Date: Sat Feb 27 07:04:01 2010
DistroRelease: Ubuntu 10.04
NonfreeKernelModules: nvidia
Package: gtk2-engines-qtcurve 1.0.2-1ubuntu1
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: gtk2-engines-qtcurve
Uname: Linux 2.6.32-14-generic x86_64
More information about the Ubuntu-sponsors
mailing list