JulesMBooth / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

Not being able to debug in debug nor release mode #134

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect in debug mode (Debugging)
2. Connect in release mode (Debugging)

What is the expected output? What do you see instead?
Jabber client immediately disconnects after a connection. I have already tried 
changing the Debug.Assert(map.TryGetValue(value, out val));

What version of the product are you using? On what operating system?
2.1.0.710, Windows Vista

Please provide any additional information below.
I am only using the 2005-jabber-net.csproj and netlib.dns.csproj projects. 
When trying to debug I get disconnected immediately after calling Connect 
method.

I have checked what I receive in the handler "m_stream_OnReadText":

<?xml version='1.0' encoding='UTF-8'?>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" 
xmlns="jabber:client" from="my-openfire-server" id="7235f6b6" xml:lang="en" 
version="1.0">
<stream:features>
    <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls>
    <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
        <mechanism>DIGEST-MD5</mechanism>
        <mechanism>PLAIN</mechanism>
        <mechanism>ANONYMOUS</mechanism>
        <mechanism>CRAM-MD5</mechanism>
    </mechanisms>
    <compression xmlns="http://jabber.org/features/compress">
        <method>zlib</method>
    </compression>
    <auth xmlns="http://jabber.org/features/iq-auth"/>
    <register xmlns="http://jabber.org/features/iq-register"/>
</stream:features>

<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

<?xml version='1.0' encoding='UTF-8'?>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" 
xmlns="jabber:client" from="my-openfire-server" id="7235f6b6" xml:lang="en" 
version="1.0">
<stream:features>
    <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
        <mechanism>DIGEST-MD5</mechanism>
        <mechanism>PLAIN</mechanism>
        <mechanism>ANONYMOUS</mechanism>
        <mechanism>CRAM-MD5</mechanism>
    </mechanisms>
    <compression xmlns="http://jabber.org/features/compress">
        <method>zlib</method>
    </compression>
    <auth xmlns="http://jabber.org/features/iq-auth"/>
    <register xmlns="http://jabber.org/features/iq-register"/>
</stream:features>

<compressed xmlns='http://jabber.org/protocol/compress'/>

After this, I get disconnected.

Original issue reported on code.google.com by danyrabi...@gmail.com on 8 Mar 2013 at 6:05

GoogleCodeExporter commented 9 years ago
The operative system is Windows 7, not Windows Vista.
The same sample works fine from Windows XP.

Original comment by danyrabi...@gmail.com on 8 Mar 2013 at 6:19