-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 21 March 2003 19:30, Juan F. Codagnone wrote:
> On Friday 21 March 2003 10:27, Norberto BENSA wrote:
> > Well, I am not that crazy after all!!!!!!! :-)))
>
> i was able to reproduce it in a simpler way: i had changed the icq server
> field to a name that doesn't exists.

i didn't research much after posting that email (friday...) but what i can
tell that there is a deadlock. i don't know why the deadlock
happens, but probably tomorrow i will make same time for it.

exhibit a:
debug patch:
diff -u -d -p -r1.25 icqd-threads.cpp
- --- icqd-threads.cpp    12 Mar 2003 17:38:08 -0000      1.25
+++ icqd-threads.cpp    22 Mar 2003 06:42:32 -0000
@@ -80,10 +80,12 @@ void *ProcessRunningEvent_Server_tep(voi

   if (!d) pthread_exit(NULL);

+  printf("before send_mutex\n");
   // Must send packets in sequential order
   pthread_mutex_lock(&send_mutex);
+  printf("after sedn_mutex\n");
   pthread_mutex_lock(&d->mutex_sendqueue_server);
- -
+  printf("after sendqueue_server\n---------------\n");
   list<ICQEvent *>::iterator iter;
   ICQEvent *e = NULL;



exhibit b: fresh icq...Go online
03:38:59: [SRV] Requesting logon (#19329)...
before send_mutex
after sedn_mutex
after sendqueue_server
- ---------------
03:38:59: [SRV] Connecting to login server.
03:38:59: [SRV] Resolving login.icq.coma port 5190...
03:38:59: [ERR] Unable to resolve login.icq.coma:
                Unknown host.
03:38:59: [SRV] Connecting to login server failed, failing event
03:39:03: [SRV] Requesting logon (#19330)...
before send_mutex

(and nothing else)

now, i *must* go to bed.

Best wishes,
        juan.


- --
Buenos Aires, Argentina






-----BEGIN PGP SIGNATURE-----

iD8DBQE+fAZrUMlRieHkprgRAlAMAKCqTsGPCX3xctxZ0WE1TEqSe+IbQQCfdRwU
PxGyUu6yYEpa+LH7co01pC0=
=HCLl
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to