[1199] in Moira

home help back first fref pref prev next nref lref last post

core dump when getting database statistics

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Thu Oct 22 01:26:35 1998

To: bug-moira@MIT.EDU
Date: Thu, 22 Oct 1998 01:26:29 EDT
From: Garry Zacheiss <zacheiss@MIT.EDU>

	When using the moira client on an 8.2.13 Sun, this occured:

                               Miscellaneous Menu
 1. (statistics)   Show database statistics.
 2. (clients)      Show active Moira clients.
 3. (getval)       Show a database variable value.
 4. (getalias)     Show an alias relation.
 r. (return)       Return to previous menu.
 t. (toggle)       Toggle logging on and off.
 q. (quit)         Quit.
Command: 1
Show database statistics
Segmentation fault (core dumped)

gdb says:

(gdb) where
#0  0xef62458c in strlen ()
#1  0xef65a35c in _doprnt ()
#2  0xef663534 in sprintf ()
#3  0x333f4 in PrintStats (info=0xcc0e8) at misc.c:52
#4  0x2f358 in Loop (elem=0xb1c88, func=0x333c0 <PrintStats>) at utils.c:633
#5  0x334f4 in TableStats (argc=1, argv=0xefffd140) at misc.c:76
#6  0x27d9c in Do_menu (m=0x9a74c, margc=1, margv=0xefffe220) at menu.c:396
#7  0x27e10 in Do_menu (m=0x9b01c, margc=-1, margv=0x0) at menu.c:401
#8  0x268b4 in Start_menu (m=0x9b01c) at menu.c:121
#9  0x265c0 in main (argc=1, argv=0xeffff81c) at main.c:182

	I still have the core dump if anyone would like to do a more
detailed postmortem.

Garry
 

home help back first fref pref prev next nref lref last post