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

[LDM #IGL-550013]: pqact bug in 6.10.0



Harry,

> pqact in 6.10.0 crashes if a problem occurs in a command run by pqact
> that contains a "%":
> 
> Program terminated with signal 11, Segmentation fault.
> #0  0x00007f498fdbbd8a in _IO_vfprintf_internal (s=0x7fff3bd4c9f0,
> format=<value optimized out>, ap=0x7fff3bd4d4e0) at vfprintf.c:1614
> 1614    vfprintf.c: No such file or directory.
> in vfprintf.c
> (gdb) where
> #0  0x00007f498fdbbd8a in _IO_vfprintf_internal (s=0x7fff3bd4c9f0,
> format=<value optimized out>, ap=0x7fff3bd4d4e0) at vfprintf.c:1614
> #1  0x00007f498fddd3f2 in _IO_vsnprintf (
> string=0x7fff3bd4cb98 "pbuf_flush(): fd=8, cmd=(decode_nexrad -v
> -gdata/images/nexrad/RTX/Broken pipe -sRTX -r1
> -ooutlines/RTX/res_0.0.gif): ",
> maxlen=<value optimized out>,
> format=0x7fff3bd4d5d0 "pbuf_flush(): fd=8, cmd=(decode_nexrad -v
> -gdata/images/nexrad/RTX/%s -sRTX -r1 -ooutlines/RTX/res_%.1f.gif): %s",
> args=0x7fff3bd4d4e0) at vsnprintf.c:120
> #2  0x00007f49914d0c79 in vulog (pri=187,
> fmt=0x7fff3bd4d5d0 "pbuf_flush(): fd=8, cmd=(decode_nexrad -v
> -gdata/images/nexrad/RTX/%s -sRTX -r1 -ooutlines/RTX/res_%.1f.gif): %s",
> args=0x7fff3bd4d4e0)
> at ulog.c:589
> #3  0x00007f49914d0fa7 in ulog (pri=3,
> fmt=0x7fff3bd4d5d0 "pbuf_flush(): fd=8, cmd=(decode_nexrad -v
> -gdata/images/nexrad/RTX/%s -sRTX -r1 -ooutlines/RTX/res_%.1f.gif): %s")
> at ulog.c:759
> #4  0x00007f49914d1225 in serror (fmt=0x40bf6c "pbuf_flush(): fd=%d,
> cmd=(%s)")
> at ulog.c:930
> #5  0x0000000000408b56 in pbuf_flush (buf=0x619f60, block=1, timeo=60,
> id=0x6753b4 "decode_nexrad -v -gdata/images/nexrad/RTX/%s -sRTX -r1
> -ooutlines/RTX/res_%.1f.gif") at pbuf.c:152
> #6  0x0000000000408d7a in pbuf_write (buf=0x619f60,
> ptr=0x7f46cf9715e0 <Address 0x7f46cf9715e0 out of bounds>,
> nbytes=4111,
> timeo=60,
> id=0x6753b4 "decode_nexrad -v -gdata/images/nexrad/RTX/%s -sRTX -r1
> -ooutlines/RTX/res_%.1f.gif") at pbuf.c:222
> #7  0x0000000000405dcf in pipe_put (entry=0x675380,
> ignored=0x7fff3bd4deb1 "SDUS26 KPQR 182104 /pN1QRTX !nids/",
> data=0x7f46cf9705e0, sz=8207) at filel.c:1546
> #8  0x000000000040623f in pipe_out (entry=0x675380, prodp=0x7fff3bd4dd10,
> data=0x7f46cf9705e0, sz=8207) at filel.c:1715
> #9  0x000000000040634e in pipe_prodput (prodp=0x7fff3bd4dd10, argc=6,
> argv=0x610a40, ignored=0x7f46cf970560, also_ignored=8336) at
> filel.c:1747
> #10 0x000000000040839b in prodAction (prod=0x7fff3bd4dd10, pal=0x618910,
> xprod=0x7f46cf970560, xlen=8336) at palt.c:1134
> #11 0x00000000004085e9 in processProduct (infop=0x7fff3bd4de30,
> datap=0x7f46cf9705e0, xprod=0x7f46cf970560, xlen=8336, otherargs=0x0)
> at palt.c:1202
> #12 0x00007f49914aa6da in pq_sequence (pq=0x6195b0, mt=TV_GT,
> clss=0x7fff3bd4f140, ifMatch=0x4083c5 <processProduct>, otherargs=0x0)
> at pq.c:6789
> #13 0x000000000040a506 in main (ac=8, av=0x7fff3bd4f348) at pqact.c:763

Fixed.

You don't want to know how long that bug's been in the code. :-)

> --
> Dr. Harry Edmon                        E-MAIL: address@hidden
> 206-543-0547 FAX: 206-543-0308
> Director of IT, College of the Environment and
> Director of Computing, Dept of Atmospheric Sciences
> University of Washington, Box 351640, Seattle, WA 98195-1640

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: IGL-550013
Department: Support LDM
Priority: Normal
Status: Closed