[Digikam-devel] [Bug 274940] digikam freezes when using "sharpen: refocus" (cpu 100%)

Francesco Riosa francesco+kde at pnpitalia.it
Fri Jun 17 22:01:27 BST 2011


https://bugs.kde.org/show_bug.cgi?id=274940


Francesco Riosa <francesco+kde at pnpitalia.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |francesco+kde at pnpitalia.it




--- Comment #8 from Francesco Riosa <francesco+kde pnpitalia it>  2011-06-17 23:01:26 ---
It's not a Gentoo bug either, if you use something else than "-O2 -pipe
-fomit-frame-pointer".
In particular using flags which affect math precision on all packages is simply
plain wrong, packages which can benefit from these generally set them by
themself.

you can still open a bug on gentoo bugzilla asking for them to filter-flags
providing also a `emerge --info sci-libs/clapack`

thank you for investigating this issue

http://en.gentoo-wiki.com/wiki/Safe_Cflags (unofficial)

(In reply to comment #7)
> I did some more debugging tonight:
> 
> The infinity loop seems to be at
> "/var/tmp/portage/sci-libs/clapack-3.2.1-r4/work/clapack-3.2.1-CMAKE/INSTALL/dlamch.c"
> lines 348 to 355.
> 
> The source code is:
> ------------------------ CODE ------------------------
>     lt = 0;
>     a = 1.;
>     c__ = 1.;
> 
> 
> /* +       WHILE( C.EQ.ONE )LOOP */
> L30:
>     if (c__ == one) {
>         ++lt;
>         a *= lbeta;
>         c__ = dlamc3_(&a, &one);
>         d__1 = -a;
>         c__ = dlamc3_(&c__, &d__1);
>         goto L30;
>     }
> /* +       END WHILE */
> ------------------------ /CODE ------------------------
> and it is entered with:
>    one = 1
>    lbeta = 0
> 
> 
> The reason might be found in this bug report: 
> https://mailman.cae.wisc.edu/pipermail/bug-octave/2009-November/016247.html
> 
> An important sentence in one of the answers:
>  "the SLAMCH and DLAMCH routines are sensitive to compiler optimizations."
> 
> And since I'm using a gentoo linux, I have plenty of options to "kill" DLAMCH
> with various compiler options. :(
> 
> I guess it is a gentoo bug now and should further be handled at
> bugs.gentoo.org. What do you think?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list