Problem running C server with Cygwin

Mark Fisher
Mon May 28 14:16:00 GMT 2007

On 28/05/07, Nick048 wrote:
> I have written a C Server program and I have compiled this with Cygwin
> without errors.
> Running the exe file with Cygwin, if the client (telnet) send to Server a
> word (in italian language "parola"), in the Cygwin window this message is
> displayed:
> 5 [main] myserver 2736 _cygtls:: handle_exception: Error while dumping state
> (probably corrupted stack)

i don't get this error running the code you linked.
i'm running "gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)"

i did notice a simple bug in your program though, line 141 should be:

      if (NodoTrovato == NULL){

otherwise you never create words in your list.

after that, it ran fine.
(if by fine you wanted each connection to only add one word to your server)


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list