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

[LDM #KXP-405917]: LDM 6.12.6 crashed again



Gilbert,

> No, how do I get one?

The LDM has to be built with debugging enabled by specifying "CFLAGS=-g" to the 
configure(1) script. Was it?

The LDM user account must be configured for an unlimited core-file size. For 
example, by the command "ulimit -c unlimited". Is it?

A stack-trace is then obtained by executing a debugger as "root". For example,

    # su - ldm                       # as LDM user
    $ cd                             # in home directory
    $ su                             # become root
    $ gdb bin/ldmd data/core.1234    # pathname of core-file will be different
    ...
    gdb> where                       # get stack trace
    ...
    gdb> quit                        # exit

Being "root" is likely necessary because ldmd(1) is setuid and owned by root.

> Gilbert
> 
> *******************************************************************************
> Gilbert Sebenste                                                    ********
> (My opinions only!)                                                  ******
> Staff Meteorologist, Northern Illinois University                      ****
> E-mail: address@hidden                                  ***
> web: http://weather.admin.niu.edu                                      **
> Twitter: http://www.twitter.com/NIU_Weather                            **
> Facebook: http://www.facebook.com/niu.weather                           *
> *******************************************************************************
> 
> 

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: KXP-405917
Department: Support LDM
Priority: Normal
Status: Closed