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

Peter Albrecht px79 at crazymonkeys.de
Fri Jun 17 21:39:09 BST 2011


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





--- Comment #7 from Peter Albrecht <px79 crazymonkeys de>  2011-06-17 22:39:07 ---
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