This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
On Thu, 8 Aug 2002, [ISO-8859-1] Christian Pagé wrote: > Hi everyone, > > I installed the patch, but pqsurf still exit with a signal 10 and bring > down the whole LDM. I checked to be sure that everything got recompiled > and installed. I am running IRIX 6.5.13m on an SGI 64-bit machine. > Christian, The signal 10 dumps a core file, so could you run dbx on the file. Do % file core to see if it's pqsurf core. I think the syntax is % dbx pqsurf core where This should show the problem. Otherwise, if I could get the core file to do some debugging. Is this a 32 bit build? Any other info would help,logs Also, are you sure that the pqsurf file was replace? I'm on vacation tomorrow, so I'll look at it Monday. If you need, you can us the pqusrf from the LDM 5.1.4 distribution with the LDM 5.2 release. Robb... > On Thursday, August 8, 2002, at 01:01 PM, Robb Kambic wrote: > > > On Wed, 7 Aug 2002, Steve Ochani wrote: > > > >> Is this patch publicly available? Or will it be incorporated into the > >> next > > minor version? > >> > > > > Hiya, > > > > The patch only applies to ldm-users who are running pqsurf. The problem > > was the processing of the short NIL type bulletins that caused buffer > > overflow. Of course, the patch will be included in the next minor > > version > > of the LDM that will be released soon. > > > > To get the code: > > > > The surf_split.c file is located in the ftp directory under > > > > pub/ldm5 > > > > To install the code: > > > > Copy the surf_split.c into the src/pqsurf directory > > > > type: > > > > % cd src/pqsurf > > % make > > % cp pqsurf ../../bin > > > > stop/start the ldm. > > > > > > For users of of the patch program the follow patch is included for > > surf_split.c. > > > > > > Robb... > > > > > > > > Index: surf_split.c > > =================================================================== > > RCS file: /upc/share/CVS/ldm5/pqsurf/surf_split.c,v > > retrieving revision 1.36 > > diff -r1.36 surf_split.c > > 172,173c172,179 > > < memcpy( header, datap, 48 ); > > < header[48] = '\0'; > > --- > >> /* inspect header as a string to see if to use PIL processing */ > >> if(infop->sz > 48 ) { > >> memcpy( header, datap, 48 ); > >> header[48] = '\0'; > >> } else { > >> memcpy( header, datap, infop->sz ); > >> header[infop->sz] = '\0'; > >> } > > > >> > >> > >> On 7 Aug 2002 at 17:37, Gilbert Sebenste wrote: > >> > >>> Hello all, > >>> > >>> Weather2.admin.niu.edu, and my other machines, are running > >>> successfully on > >>> LDM 5.2 with a patch. We were getting memfault errors with the pqsurf > >>> program that brought down the entire LDM. I've now gone a full 24 > >>> hours on > >>> it with no problems, by far and away the longest period without it > >>> crashing. The patch is a success! I'll monitor tonight and each night > >>> through Friday, as well as this weekend, but it looks like this > >>> problem > >>> has been nipped in the bud. BTW, this only appears to be a RedHat > >>> thing, > >>> as it doesn't do this on Solaris. Glibc is a little pickier on > >>> Linux, I > >>> guess! > >> > >> > >> > >> «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» > >> Education is what remains after one has forgotten everything he > >> learned in school. -Albert Einstein > >> > >> Steve O. > >> http://www.steveo.us > >> > >> See updated NCC weather conditions at > >> http://wr.psi.ncc.edu/~data > >> > >> http://www.ncc.edu/dptpages/physci/ > >> > >> http://www.hitechcreations.com/ > >> Come fly the unfriendly skies > >> > >> > >> > >> > > > > ========================================================================= > > ====== > > Robb Kambic Unidata Program Center > > Software Engineer III Univ. Corp for Atmospheric > > Research > > address@hidden WWW: http://www.unidata.ucar.edu/ > > ========================================================================= > > ====== > > > > > > Christian Page > address@hidden > http://meteocentre.com/ http://meteoalerte.com/ > > Agent de recherche et de planif. +1 514 987 3000 ext. 2376 > Departement des Sci. de la Terre et de l'Atmosphere UQAM > > > ------- End of Forwarded Message > > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================