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

[LDM #IPY-349366]: ldmd segfaulting



Don,

I've seen this before. It's due to a bug in the configuration-file parser. 
Sorry about that.

It'll be fixed in the next release.

In the meantime, use Tom's workaround.

> We are attempting to run 6.11.6.
> 
> I ran it under gdb and here is the stack trace...
> 
> [ldm@castor ~]$ gdb bin/ldmd
> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
> Copyright (C) 2010 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-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /opt/ldm/ldm-6.11.6/bin/ldmd...done.
> (gdb) run -vl - -n etc/ldmd.conf
> Starting program: /opt/ldm/ldm-6.11.6/bin/ldmd -vl - -n etc/ldmd.conf
> [Thread debugging using libthread_db enabled]
> Mar 19 19:13:57 ldmd[22388] NOTE: Starting Up (version: 6.11.6; built: Feb 11 
> 2014 16:26:21)
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000003f24281321 in __strlen_sse2 () from /lib64/libc.so.6
> Missing separate debuginfos, use: debuginfo-install 
> glibc-2.12-1.107.el6_4.2.x86_64 libxml2-2.7.6-12.el6_4.1.x86_64 
> zlib-1.2.3-29.el6.x86_64
> (gdb) where
> #0  0x0000003f24281321 in __strlen_sse2 () from /lib64/libc.so.6
> #1  0x0000003f24281036 in strdup () from /lib64/libc.so.6
> #2  0x00002abbf8b609fe in sus_new (string=0x0, integer=296) at acl.c:86
> #3  0x00002abbf8b62fba in source_new (feedtype=268435456,
> pattern=0x7fffc5814550 ".*", hostId=<value optimized out>,
> port=<value optimized out>, lineNo=296, pathname=0x0) at acl.c:212
> #4  acl_addRequest (feedtype=268435456, pattern=0x7fffc5814550 ".*",
> hostId=<value optimized out>, port=<value optimized out>, lineNo=296,
> pathname=0x0) at acl.c:2782
> #5  0x0000000000404fd1 in decodeRequestEntry (
> feedtypeSpec=<value optimized out>, prodPattern=0x7fffc5814550 ".*",
> hostSpec=<value optimized out>) at parser.y:344
> #6  0x00000000004056bb in yyparse () at parser.y:480
> #7  0x0000000000405b6d in read_conf (conf_path=0x2abbf8da41c0 "etc/ldmd.conf",
> doSomething=0, defaultPort=388) at parser.y:572
> #8  0x0000000000406d09 in main (ac=<value optimized out>,
> av=<value optimized out>) at ldmd.c:980
> (gdb)
> 
> --Don

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: IPY-349366
Department: Support LDM
Priority: Normal
Status: Closed