[sr #107647] Gnutls fails several tests - A TLS packet with unexpected length was received.

LRN INVALID.NOREPLY at gnu.org
Mon Apr 4 14:49:31 CEST 2011


URL:
  <http://savannah.gnu.org/support/?107647>

                 Summary: Gnutls fails several tests - A TLS packet with
unexpected length was received.
                 Project: GnuTLS
            Submitted by: lrn
            Submitted on: Mon 04 Apr 2011 12:49:30 PM GMT
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Probable cause might be located by this line in the log:
|<7>| WRITE: enqueued 83 bytes for ffffffff. Total 83 bytes.
Which, AFAIU, means that transport_send_ptr is -1. transport_recv_ptr is also
-1, and reading from it suddenly fails. Makes me wonder.
AFAIU, transport_*_ptr are set by gnutls_transport_set_ptr() or
gnutls_transport_set_ptr2(). The only in-library functions that call any of
these are weirdly-defined s_scm_gnutls_set_session_transport_fd_x and
s_scm_gnutls_set_session_transport_port_x. These two are not used by mini.c,
and neither are transport_*_ptr.
Log is attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 04 Apr 2011 12:49:30 PM GMT  Name: gdb.log.tar.xz  Size: 3kB   By:
lrn
Log of a debugging session
<http://savannah.gnu.org/support/download.php?file_id=23100>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?107647>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





More information about the Gnutls-devel mailing list