dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #10500] System.Net.Socket Solaris 9 SocketType.S


From: anonymous
Subject: [Pnet-developers] [bugs #10500] System.Net.Socket Solaris 9 SocketType.Stream Incorrect
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #10500] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10500>
Project: DotGNU Portable.NET
Submitted by: 0
On: Sun 09/26/2004 at 02:59

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open


Summary:  System.Net.Socket Solaris 9 SocketType.Stream Incorrect

Original Submission:  Description:
Running pnet on sparc Solaris 9 sockets are constructed with 
System.Net.Sockets.SocketType.Stream are getting built as SOCK_DGRAM.

C# Code:
Socket listenSocket =
             new Socket(AddressFamily.InterNetwork,
                 SocketType.Stream,
                 ProtocolType.Tcp);

Error Message:
# truss -fl -t so_socket -x so_socket ilrun SocketTest.exe
17071/1:            Incurred fault #6, FLTBOUNDS  %pc = 0x000D540C
17071/1:              siginfo: SIGSEGV SEGV_MAPERR addr=0xFFC00000
17071/1:            Received signal #11, SIGSEGV [caught]
17071/1:              siginfo: SIGSEGV SEGV_MAPERR addr=0xFFC00000
17071/1:        so_socket(PF_INET, SOCK_DGRAM, IPPROTO_TCP,
0x00000000, 1) Err#98 EPROTOTYPE
17071/1:             0x00000000: ""
Uncaught exception: System.Net.Sockets.SocketException: Protocol not supported
      at System.Net.Sockets.Socket..ctor(AddressFamily, SocketType,
ProtocolType) in ./Net/Sockets/Socket.cs:116
      at AdamTest.SocketTest.Main(String[])

Reproduce:
Build pnet on sparc solaris 9.
compile and run the attached sample program.





File Attachments
-------------------

-------------------------------------------------------
Date: Sun 09/26/2004 at 02:59  Name: SocketTest.cs  Size: 763B   By: None
Small Test App for reproducing the bug
http://savannah.gnu.org/bugs/download.php?item_id=10500&amp;item_file_id=1708






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10500>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]