Re: Oddity after adding inter-mob aggression . . .

From: Thomas Arp (
Date: 09/11/02

From: "Mathew Earle Reuther" <graymere@ZIPCON.NET>
> My version of GDB is the cygwin GUI version so I'm not entirely sure what
> I can look at to get a better idea of what's happening.  (Typically when I
> find out where it crashes, I have had a decent idea of why . . . not this
> time sadly.)
> The lines it manages to crash at (in stop_followers) are below:
> if (ch->master->followers->follower == ch) { /* Head of follower-list? */
> or
> for (k = ch->master->followers; k->next->follower != ch; k = k->next);
probably a dereferenced NULL somewhere in that. Are you sure there's even
a valid ch->master inthere?

> I'm sorry for the poor quality of this report, but I'm unsure of what
> other information is of use that I can acquire from this version of GDB.

use the '-nw' switch to avoid the GUI.
It's more of a pain than a help, after all. ie:
gdb -nw bin/circle lib/core


   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT