Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: assertion failed in cityrep.c (PR#1019)
Home

[Freeciv-Dev] Re: assertion failed in cityrep.c (PR#1019)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: guerby@xxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: assertion failed in cityrep.c (PR#1019)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Oct 2001 23:22:55 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Thu, Oct 18, 2001 at 12:29:04PM -0700, guerby@xxxxxxx wrote:
> Full_Name: Laurent Guerby
> Version: 1.12.0
> Distribution: Mandrake binary
> Client: Gtk+
> OS: GNU/Linux
> Submission from: (NULL) (193.251.49.166)
> 
> 
> In the F1 menu (cities), I was doing a serie of Alt-B to spend my gold, up and
> after five or six the client did blow up saying:
> 
> ** ERROR **: file cityrep.c: line 1038 (city_buy_callback): assertion failed:
> (current)
> aborting...

$ cvs annotate -r R1_12_0 client/gui-gtk/cityrep.c

1.36         (thue     20-Feb-01): static void city_buy_callback(GtkWidget *w, 
gpointer data)
1.1          (freeciv  13-Apr-99): {
1.19         (jjm      11-Nov-99):   GList *current = 
GTK_CLIST(city_list)->selection;
1.1          (freeciv  13-Apr-99):
1.19         (jjm      11-Nov-99):   g_assert(current);
1.1          (freeciv  13-Apr-99):
1.19         (jjm      11-Nov-99):   for(; current; current = 
g_list_next(current))

However the button city_buy_callback is connected to
(city_buy_command) is made disabled/enabled in city_list_callback
every time a row is (de)selected.

I have no idea.

> I did not try to reproduce the problem.

I would be suprised if you could do this, but please try.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Transported to a surreal landscape, a young girl kills the first woman
  she meets and then teams up with three complete strangers to kill again."
    -- TV listing for the Wizard of Oz in the Marin Independent Journal


[Prev in Thread] Current Thread [Next in Thread]