[Mono-bugs] [Bug 602593] New: SIGSEGV whenever I use SSL (Mono.Security.X509.OSX509Certificates.SecTrustCreateWithCertificates)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 4 18:02:11 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=602593

http://bugzilla.novell.com/show_bug.cgi?id=602593#c0


           Summary: SIGSEGV whenever I use SSL
                    (Mono.Security.X509.OSX509Certificates.SecTrustCreateW
                    ithCertificates)
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: fak at kruegersystems.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem:

Whenever I use SSL in an app, I get the following dump.

Oddly, the app still seems to work.

But this stuff scares the heck out of me.


Stacktrace:

  at (wrapper managed-to-native)
Mono.Security.X509.OSX509Certificates.SecTrustCreateWithCertificates
(intptr,intptr,intptr&) <0x00004>
  at (wrapper managed-to-native)
Mono.Security.X509.OSX509Certificates.SecTrustCreateWithCertificates
(intptr,intptr,intptr&) <0x00004>
  at Mono.Security.X509.OSX509Certificates._TrustEvaluateSsl
(Mono.Security.X509.X509CertificateCollection) <0x001b6>
  at Mono.Security.X509.OSX509Certificates.TrustEvaluateSsl
(Mono.Security.X509.X509CertificateCollection) <0x00017>
  at
Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates
(Mono.Security.X509.X509CertificateCollection) <0x00260>
  at
Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1
() <0x000bf>
  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <0x00044>
  at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage
(Mono.Security.Protocol.Tls.TlsStream) <0x00087>
  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback
(System.IAsyncResult) <0x0024e>
  at System.Net.Sockets.Socket/SocketAsyncResult.Complete () <0x001c5>
  at System.Net.Sockets.Socket/Worker.Receive () <0x00016>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__
(object,intptr,intptr,intptr) <0x00040>

Native stacktrace:

    0   CommPadd                            0x000c16b8
mono_handle_native_sigsegv + 376
    1   CommPadd                            0x0000d8da
mono_sigsegv_signal_handler + 313
    2   libSystem.B.dylib                   0x9092542b _sigtramp + 43
    3   ???                                 0xffffffff 0x0 + 4294967295
    4   Security                            0x029fe622
SecTrustCreateWithCertificates + 247
    5   ???                                 0x09dd84e6 0x0 + 165512422
    6   ???                                 0x09dd810f 0x0 + 165511439
    7   ???                                 0x09dd7e90 0x0 + 165510800
    8   ???                                 0x09dc3749 0x0 + 165427017
    9   ???                                 0x09dbf988 0x0 + 165411208
    10  ???                                 0x09db927d 0x0 + 165384829
    11  ???                                 0x09dbdfc0 0x0 + 165404608
    12  ???                                 0x09dbc3c7 0x0 + 165397447
    13  ???                                 0x0a882a4e 0x0 + 176695886
    14  ???                                 0x0a882877 0x0 + 176695415
    15  ???                                 0x050e2e21 0x0 + 84815393
    16  CommPadd                            0x0000d69e mono_jit_runtime_invoke
+ 1360
    17  CommPadd                            0x001c723d mono_runtime_invoke +
137
    18  CommPadd                            0x001c96e0
mono_runtime_invoke_array + 1725
    19  CommPadd                            0x001cc883 mono_message_invoke +
501
    20  CommPadd                            0x001fecdb mono_async_invoke + 164
    21  CommPadd                            0x001fd7b1 async_invoke_io_thread +
542
    22  CommPadd                            0x0020237a start_wrapper + 608
    23  CommPadd                            0x00245b5b thread_start_routine +
207
    24  CommPadd                            0x00276047 GC_start_routine + 107
    25  libSystem.B.dylib                   0x908eca19 _pthread_start + 345
    26  libSystem.B.dylib                   0x908ec89e thread_start + 34

Debug info from gdb:

warning: Trying to remove a section from the ordered section list that did not
exist at 0x364000.
warning: Could not find object file
"/var/folders/i7/i7qGCU12EJyERd6E5iKVT++++TI/-Tmp-//ccuSV8KC.o" - no debug
information available for "template.m".

warning: .o file
"/Developer/MonoTouch/SDKs/MonoTouch1.0.iphonesimulator.sdk/usr/lib/libmonotouch.a(gc.x86.o)"
more recent than executable timestamp in "/Users/fak/Library/Application
Support/iPhone
Simulator/3.1/Applications/B06AD6D4-968B-4764-99AD-3F1D10B0EF59/CommPadd.app/CommPadd"
warning: Could not open OSO file
/Developer/MonoTouch/SDKs/MonoTouch1.0.iphonesimulator.sdk/usr/lib/libmonotouch.a(gc.x86.o)
to scan for pubtypes for objfile /Users/fak/Library/Application Support/iPhone
Simulator/3.1/Applications/B06AD6D4-968B-4764-99AD-3F1D10B0EF59/CommPadd.app/CommPadd
warning: .o file
"/Developer/MonoTouch/SDKs/MonoTouch1.0.iphonesimulator.sdk/usr/lib/libmonotouch.a(zlib-helper.x86.o)"
more recent than executable timestamp in "/Users/fak/Library/Application
Support/iPhone
Simulator/3.1/Applications/B06AD6D4-968B-4764-99AD-3F1D10B0EF59/CommPadd.app/CommPadd"
warning: Could not open OSO file
/Developer/MonoTouch/SDKs/MonoTouch1.0.iphonesimulator.sdk/usr/lib/libmonotouch.a(zlib-helper.x86.o)
to scan for pubtypes for objfile /Users/fak/Library/Application Support/iPhone
Simulator/3.1/Applications/B06AD6D4-968B-4764-99AD-3F1D10B0EF59/CommPadd.app/CommPadd
warning: .o file
"/Developer/MonoTouch/SDKs/MonoTouch1.0.iphonesimulator.sdk/usr/lib/libmonotouch.a(monotouch-glue.x86.o)"
more recent than executable timestamp in "/Users/fak/Library/Application
Support/iPhone
Simulator/3.1/Applications/B06AD6D4-968B-4764-99AD-3F1D10B0EF59/CommPadd.app/CommPadd"
warning: Could not open OSO file
/Developer/MonoTouch/SDKs/MonoTouch1.0.iphonesimulator.sdk/usr/lib/libmonotouch.a(monotouch-glue.x86.o)
to scan for pubtypes for objfile /Users/fak/Library/Application Support/iPhone
Simulator/3.1/Applications/B06AD6D4-968B-4764-99AD-3F1D10B0EF59/CommPadd.app/CommPadd


Steps to reproduce the problem:
1. 
2. 


Actual Results:


Expected Results:


How often does this happen? 


Additional Information:

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list