[ARGUS] Another Core Dump

eric eric-list-argus at catastrophe.net
Wed Apr 14 11:15:14 EDT 2004


On Wed, 2004-04-14 at 11:12:59 -0400, Carter Bullard proclaimed...

> Well, there you go.  While the ArgusOutputTask.client[0] struct looks
> decent, the output socket fd is -1.  This isn't right, since we shouldn't
> have gotten this far if the (fd == -1).
> 
> So in your backtrace, you're calling ArgusWriteSocket with (asock ==
> 0x8181000)
> but the client has the socket as, (ArgusOutputTask.clients[0].sock ==
> 0x8160000).
> 
> Could you print out this info?
> 
> (gdb) print ArgusOutputTask
> (gdb) print &ArgusOutputTask.clients[0]
> (gdb) print *ArgusOutputTask.clients[0].sock

No problem....

(gdb) print ArgusOutputTask
$1 = (struct ArgusOutputStruct *) 0x8134000
(gdb) print &ArgusOutputTask.clients[0]
There is no member named clients.
(gdb)  print *ArgusOutputTask.clients[0].sock
There is no member named clients.




More information about the argus mailing list