[ARGUS] Another Core Dump
Carter Bullard
carter at qosient.com
Wed Apr 14 11:53:51 EDT 2004
Ooops, sorry about that.
(gdb) print &ArgusOutputTask->clients[0]
(gdb) print *ArgusOutputTask->clients[0].sock
Carter
-----Original Message-----
From: owner-argus-info at lists.andrew.cmu.edu
[mailto:owner-argus-info at lists.andrew.cmu.edu] On Behalf Of eric
Sent: Wednesday, April 14, 2004 11:15 AM
To: Carter Bullard
Cc: argus-info at lists.andrew.cmu.edu
Subject: Re: [ARGUS] Another Core Dump
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