[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LDM #YEW-253326]: LDM 6.13.5 dumps core with missing product queue
- Subject: [LDM #YEW-253326]: LDM 6.13.5 dumps core with missing product queue
- Date: Tue, 15 Nov 2016 16:22:34 -0700
Gilbert,
It appears that the SIGSEGV is due to the variable "loc" because it's the only
one that couldn't be printed.
Unfortunately, further diagnosis would require that the LDM package be rebuilt
with optimization turned completely off. I'm not sure you should go down that
road -- especially since the problem only arises when something that shouldn't
happen and is outside the LDM occurs (the product queue is deleted).
> I renamed the file core.old in case this happens again, FYI.
>
> noaaport2:~> gdb /home/ldm/bin/ldmd /home/ldm/core.old
> GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
> Copyright (C) 2015 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from /home/ldm/bin/ldmd...done.
> [New LWP 41654]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Core was generated by `ldmd -I 0.0.0.0 -P 388 -M 256 -m 3600 -o 3600 -q
> /dev/shm/ldm.pq /home/ldm/etc/'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0 ___fprintf_chk (fp=0x0, flag=flag@entry=1,
> format=format@entry=0x7f788f6de800 "%04d%02d%02dT%02d%02d%02d.%06ldZ
> %s[%d] %s %s:%d:%s() %.*s\n") at fprintf_chk.c:30
> 30 fprintf_chk.c: No such file or directory.
> (gdb) frame 2
> #2 stream_log (dest=0x7f788f9143c0 <dest>, level=<optimized out>,
> loc=<optimized out>, msg=0x2563af0 "SIGTERM received") at
> log2slog.c:204
> 204 (void)fprintf(dest->stream,
> (gdb) print tm
> $1 = {tm_sec = 5, tm_min = 0, tm_hour = 1, tm_mday = 15, tm_mon = 10,
> tm_year = 116, tm_wday = 2, tm_yday = 319, tm_isdst = 0, tm_gmtoff = 0,
> tm_zone = 0x7f788f2198b2 "GMT"}
> (gdb) print now
> $2 = {tv_sec = 1479171605, tv_usec = 154663}
> (gdb) print ident
> $3 = "cdstats.cod.edu(feed)", '\000' <repeats 1002 times>
> (gdb) print level
> $4 = <optimized out>
> (gdb) print loc
> $5 = <optimized out>
> (gdb) print *loc
> value has been optimized out
> (gdb) print msglen
> $6 = 16
> (gdb) print msg
> $7 = 0x2563af0 "SIGTERM received"
> (gdb) quit
> noaaport2:~>
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: YEW-253326
Department: Support LDM
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata
inquiry tracking system and then made publicly available through the web. If
you do not want to have your interactions made available in this way, you must
let us know in each email you send to us.