Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: civclient: cma_fec.c:160: cmafec_preset_remove: Assert
Home

[Freeciv-Dev] Re: civclient: cma_fec.c:160: cmafec_preset_remove: Assert

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: matthew@xxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: civclient: cma_fec.c:160: cmafec_preset_remove: Assertion `index >= 0 && index < cmafec_preset_num()' failed. (PR#1618)
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Mon, 24 Jun 2002 18:01:59 +0200

On Mon, Jun 24, 2002 at 07:05:09AM -0700, matthew@xxxxxxxxxxxxx wrote:
> Full_Name: Matthew O'Connor
> Version: CVS Jun 24 2002
> Distribution: Built from source
> Client: Gtk+
> OS: Debian GNU/Linux (unstable)
> Submission from: (NULL) (216.68.183.51)
> 
> 
> The civclient crashes with the following assertion failure:
> 
> civclient: cma_fec.c:160: cmafec_preset_remove: Assertion `index >= 0 && 
> index <
> cmafec_preset_num()' failed.
> 
> It's easy to repeat, here's how.  Start a game, build a city, in the city
> management window click the CMA tab, click on "Add preset", click OK on the
> popup, click "Delete preset", click "Yes" on the popup.  Then the client
> crashes.

My fault since I didn't change all callback after the
popup_message_dialog change. Vasco fixed some already. I have now
audit all callers.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
    1) Customers cause problems.
    2) Marketing is trying to create more customers.
  Therefore:
    3) Marketing is evil.


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