[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linux 2.4.2



Hello there,

A bug report for pq.c in ldm-5.1.4 (and presumably earlier
versions).

In pq_sequence the code section:

       if(ulogIsDebug()) {     /* delay to process product, useful to
see if it's falling behind */
         timestampt now;
         if(gettimeofday(&now, 0) == 0) {
           double delay = d_diff_timestamp(&now, &tqep->tv);
           udebug("Delay: %.4f sec", delay);
         }
       }

is called after the 

        status = ctl_rel(pq, 0);

call. Under linux 2.4.2 this also prevents access to "tqep" a
pointer to tqelem which presumably is pointing to something
associated with the ctl region released by the ct_rel call.
You end up getting a segmentation fault.

As the logging is basically a debug call I commented out the
above delay reporting and rebuilt the necessary software which
now works.

Paul.
-- 
Paul Hamer
phone: 303.497.6342