Re: Deity floating point exception on Alpha.
Hi,
the SIGSEGV was happening at.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2609)]
0x00000200004c2168 in GtkUI::signalKeyPress ()
from /usr/lib/deity/modules/gtk.so
There is a "Need to Fix" comment in the particular function
BTW the deity version that i am testing is 0.8.0.6
-aneesh
On Wed, 2002-09-18 at 14:25, Aneesh Kumar K.V wrote:
> Hi,
>
> I am not sure whether it is the right fix.Once i also got a SIGSEGV in
> the gtkmodule. I was not able to reproduce it again.Right now i am
> trying to reproduce the SIGSEGV.
>
> Thanks guys for this wonderful utility.
>
> -aneesh
>
> --- acquire.cc.old 2002-09-18 19:23:59.000000000 +0530
> +++ acquire.cc 2002-09-18 19:31:54.000000000 +0530
> @@ -418,6 +418,12 @@
> DT.TotalBytes = TotalBytes;
> DT.CurrentItems = CurrentItems;
> DT.TotalItems = TotalItems;
> + /* To fix the FPE on Alpha
> + * IF CurrentCPS is zero take it to be least
> + */
> + if(CurrentCPS == 0 )
> + CurrentCPS = 1;
> +
> DT.CurrentCPS = CurrentCPS;
> DT.ETA = int((TotalBytes - CurrentBytes) / CurrentCPS);
>
Reply to: