I am currently using gdb on Solaris and Linux.  I am really trying to
debug on the cheap because I don't know if my employer will opt for Sun
Studio...  :(  But I guess it doesn't hurt to ask.  I wish I could find
this bug on Linux too... because the code would show up on linux too I
would think... but it doesn't....  I ran it for a really long time
Linux with no ill effects.....  It never crashed... I wish it would
have because it would help because I think the free tools there are
great.

The crash actually sometimes happens in both a listening and a
connected socket.  The wildest thing is that the crash never seems to
happen in the same place. But it is always at a PR_Close.  I have
witnessed the backtrace point to 2 different locations in the code,
maybe both of them are faulty.  Maybe I am opening and closing the
sockets poorly. :(  I am opening  a listening connection... getting a
socket.... performing read/write operations... then closing the socket
and the accompanying listening socket...... I am also calling
PR_Shutdown on the read/write socket before it is closed...  Does
anything seem screwy there??  I am definitely in agreement that the
problem probably is my fault... My thinking is that I must be mis-using
the library or calling something out of order.  Thanks for your help...
 I really appreciate it...

-David

_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to