[regression] lensfun 0.2.3-0ubuntu4 freezes UFRaw.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lensfun (Ubuntu) |
Fix Released
|
Undecided
|
StefanPotyra | ||
Bug Description
After updating lensfun from 0.2.3-0ubuntu3 to 0.2.3-0ubuntu4 I have been hit by a severe regression on Karmic (amd64).
When rebuilding the UFRaw cvs code base configured by "./configure --with-lensfun" the resulting ufraw binary freezes with no error messages when loading an image file. The same version without lensfun runs as expected. Lensfun 0.2.3-0ubuntu3 did not have this problem.
The problem arises in the compiled method lfLens:
switch (model)
{
case LF_TCA_MODEL_NONE:
[..]
return "None";
case LF_TCA_
[..]
return "Linear";
}
[..]
return NULL;
Looking at this function with objdump leads to the assumption, that gcc-4.4 believes that the only possibility to exit this method is by either return statement in the switch/case block, and optimizes the remainder (return NULL) away.
(see attached objdump snippets for quick overview).
However ucfraw (as per ppa) calls this method in a loop, where model is incremented until NULL is return, which never happens here. (so it's also a problem there, since model is then out of bounds).
Changed in lensfun (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
I can verify this problem. UFRaw with LensFun stopped working for me as well, after updating to 0ubuntu4. After reverting to 0ubuntu3 everything worked again.
This problem can be checked without manually building UFRaw... I maintain a PPA, with UFRaw CVS checkouts with LensFun support: /launchpad. net/~pmjdebruij n/+archive/ ppa
https:/
My PPA packages suffer from the same issue as reported bij Niels...