primax: Thread: R: Suggestion


[<<] [<] Page 1 of 1 [>] [>>]
Subject: R: Suggestion
From: "Mandelli Alessandro" ####@####.####
Date: 16 Mar 2000 16:42:32 -0000
Message-Id: <000e01bf8f65$8019b320$0dc8c8c8@amand>

----- Original Message ----- 
From: Christian Ordig ####@####.####
To: Alessandro Mandelli ####@####.####
Cc: ####@####.####
Sent: Thursday, March 16, 2000 5:00 PM
Subject: RE: Suggestion


> > But with "primax_scan -l off" it switches off fine.
> > 
> hmmm...
> ever tried to find out with a debugger where the program crashes?

Can you suggest me a debugger to do the dirty job? :-)

Ciao
Alex.
_______________________________________________
MONTAIR Srl - Viale Italia, 28
23846  GARBAGNATE MONASTERO (Lecco) Italy
Tel.  +39/031.873111 - Fax  +39/031.870443
http://www.montair.it - email ####@####.####


Subject: Re: R: Suggestion
From: ####@####.#### (Schano)
Date: 16 Mar 2000 19:48:27 -0000
Message-Id: <38D13806.C3D43768@t-online.de>

Mandelli Alessandro schrieb:
> 
> ----- Original Message -----
> From: Christian Ordig ####@####.####
> To: Alessandro Mandelli ####@####.####
> Cc: ####@####.####
> Sent: Thursday, March 16, 2000 5:00 PM
> Subject: RE: Suggestion
> 
> > > But with "primax_scan -l off" it switches off fine.
> > >
> > hmmm...
> > ever tried to find out with a debugger where the program crashes?
> 
> Can you suggest me a debugger to do the dirty job? :-)


ddd could be the right thing for you.

Thomas
> 
> Ciao
> Alex.
> _______________________________________________
> MONTAIR Srl - Viale Italia, 28
> 23846  GARBAGNATE MONASTERO (Lecco) Italy
> Tel.  +39/031.873111 - Fax  +39/031.870443
> http://www.montair.it - email ####@####.####
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
Subject: Re: R: Suggestion
From: Alessandro Mandelli ####@####.####
Date: 16 Mar 2000 20:35:07 -0000
Message-Id: <38D13FA7.40FFDC49@varicad.com>

Schano wrote:

> ddd could be the right thing for you.

Right then. Here's the output:
floating point exception at line 282.


//    printdata(count , 1 , max_pix);
        for (pix_count = 0; pix_count < max_pix; pix_count++){
          line[pix_count] = (avg[pix_count] / count[pix_count]) & 0xff; <---
line 282 FP exception
            if( (0xff / 2.95) > (line[pix_count] & 0xff ))
            {/* printf("schleife\n");*/

status of locals

line      = (unsigned char *) 0x8057380 '\001' <repeats 200 times>...
avg       = (long unsigned int *) 0x8059168
count     = (unsigned char *) 0x80608f8 ""
pix_count = 0
max_pix   = 7650

Hope this helps.

Ciao
Alex.

-- 
   __   _
  / /  (_)__  __ ____  __    * Powerful * Flexible * Compatible * Reliable *
 / /__/ / _ \/ // /\ \/ /  *Well Supported * Thousands of New Users Every Day*
/____/_/_//_/\_,_/ /_/\_\    The Cost Effective Choice - Linux Means Business!

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.