Re: [bme-develop] sign in bug
Status: Planning
Brought to you by:
sirmik
|
From: Simon T. <sim...@nt...> - 2004-04-15 13:03:39
|
> Hi guys,
>
> I traced a bug that keeps showing the sign in window also when doing
> other
> things...
> the bug is caused by line 390 of the handleServerCommand in
> MsnServerHandler.cpp:
>
> 389 }catch(const NetworkException &netEx){
> 390 //
> Common::msnSingInWindowMessenger.SendMessage(MSN_SIGNIN_FAILED);
> 391 netEx.fprint(Common::log_file);
> 392 int error = netEx.getError();
> 393 if ((error == ECONNRESET) // Connection reset by
> peer
> 394 || (error == ENOTCONN) // Not connected
> 395 || (error == -2147459072)){ // Bad file descriptor
> 396 logoff();
> 397 }
> 398 }
>
> I commented out this line...and no sign in window gets shown at weird
> moments...commenting out wouldn't be the solution...and as I do not
> entirely
> understand the code, maybe you (Daniel) can squash this bug,
Well discovered.
I looked in the log, there are a lot of:
"Exception thrown: ERROR while receiving message: Interrupted system
call - 8000000A"
I think this is probably caused when a message is sent by a socket that
is currently waiting to receive data. The receive operation would have
to be stopped, probably throwing an exception.
Daniel? :D
Simon
|