bugGNUstep - Bugs: bug #34601, base/NSStream/socket.m test fails...

Group
 
 

bug #34601: base/NSStream/socket.m test fails with gnustep-base from svn

Submitter:  Sebastian Reitenbach <buzzdee>
Submitted:  Wed 19 Oct 2011 04:16:26 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 20 Oct 2011 07:07:56 AM UTC, comment #3: 

Thanks ... you tested before I'd even got round to announcing a fix!

Richard Frith-Macdonald <CaS>
Group Member
Thu 20 Oct 2011 06:53:06 AM UTC, comment #2: 

Hi,

just tried a new svn from this morning, and now it compiles and the test works:

Passed test:       socket.m:172 ... read www.google.com https
Completed file:  socket.m

Sebastian

Sebastian Reitenbach <buzzdee>
Group Member
Wed 19 Oct 2011 04:51:02 PM UTC, comment #1: 

gnutls-2.12.10 is installed.

Sebastian Reitenbach <buzzdee>
Group Member
Wed 19 Oct 2011 04:16:26 PM UTC, original submission:  

There must have been a change in the last couple of days. This was working, or there was no test for it, some days ago, its a new failed test:

Testing socket.m...
Running base/NSStream/socket.m...
Start set:       socket.m:144 ... NSStream SSL
2011-10-19 02:59:09.838 socket[22012] Attempt to use SSL/TLS without support.
2011-10-19 02:59:09.845 socket[22012] Please reconfigure gnustep-base with GNU TLS.
2011-10-19 02:59:09.875 socket[22012] Got 1 on 0x6a8def04
2011-10-19 02:59:09.875 socket[22012] Got 1 on 0x5f348504
2011-10-19 02:59:09.875 socket[22012] Got 4 on 0x5f348504
2011-10-19 02:59:09.875 socket[22012] Written request
2011-10-19 02:59:09.875 socket[22012] Got 4 on 0x5f348504
2011-10-19 02:59:09.909 socket[22012] Got 2 on 0x6a8def04
2011-10-19 02:59:09.909 socket[22012] Connection reset by peer
2011-10-19 02:59:09.909 socket[22012] socket.m:74  Assertion failed in Listener(instance), method stream:handleEvent:.  read error
EXCEPTION: NSInternalInconsistencyException socket.m:74  Assertion failed in Listener(instance), method stream:handleEvent:.  read error (null)
Failed set:        socket.m:144 ... problem in NSStream SSL.
End set:         socket.m:175 ... NSStream SSL
Completed file:  socket.m
...

but in config.log I have:
HAVE_GNUTLS='1'

and I also have this there:

TLS_CFLAGS='-I/usr/local/include -pthread'
TLS_CONFIG=''
TLS_LIBS='-L/usr/local/lib -pthread -lgnutls'

in config.make I have:
HAVE_GNUTLS=1

and in base.make I have:
base.make:  GNUSTEP_BASE_HAVE_GNUTLS=1

Sebastian Reitenbach <buzzdee>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by buzzdee (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-20 CaS StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code