Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: Core on input_from_server: fd != aconnection.sock (PR#
Home

[Freeciv-Dev] Re: Core on input_from_server: fd != aconnection.sock (PR#

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kaufman@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Core on input_from_server: fd != aconnection.sock (PR#4175)
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Tue, 8 Jul 2003 16:44:15 -0700
Reply-to: rt@xxxxxxxxxxxxxx

I am as confused as you are. The 'Unexpected buffers!' message is
unknown to me.
FWIW I believe Raimar changed code around that area (try_to_connect) some
time ago.

I will try to reproduce it when I have some time, but that may only
happen in the weekend.

Regards,

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa

On Tue, 8 Jul 2003, Mike Kaufman wrote:

>
> I can reliably reproduce this bug with the following patch.
>
> Here's some debugging output:
>
> in try_to_connect
>         top sock: 0
>         post socket() sock: 4
>         post connect() sock: 4
> add_net_input() sock: 4
> input_from_server: fd:4 sock:4
> input_from_server: fd:4 sock:4
> input_from_server: fd:4 sock:4
> input_from_server: fd:4 sock:4
> input_from_server: fd:4 sock:4
> in try_to_connect
>         top sock: 4
>         post socket() sock: 7
>         post connect() sock: 7
> Unexpected buffers!
> 1: Unexpected buffers in try_to_connect()
> add_net_input() sock: 7
> input_from_server: fd:4 sock:7
> civclient: clinet.c:329: input_from_server: Assertion `fd ==
> aconnection.sock' failed.
> Aborted (core dumped)
>
> I'm wondering if remove_net_input() needs to be called and isn't...
>
> -mike
>
>




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: Core on input_from_server: fd != aconnection.sock (PR#4175), Vasco Alexandre da Silva Costa <=