[Mono-bugs] [Bug 683895] New: SIGABRT error accessing OperationContext.Current.OutgoingMessageHeaders

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 30 16:26:08 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=683895

https://bugzilla.novell.com/show_bug.cgi?id=683895#c0


           Summary: SIGABRT error accessing
                    OperationContext.Current.OutgoingMessageHeaders
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: iPhone
        OS/Version: Apple iOS 4.3
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jworley at thinketg.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem: When accessing the OutgoingMessageHeaders property on
the current instance of OperationContext for the second time on an open channel
throws an ExecutionEngineException. This only happen on a devices, it doesn't
happen in the simulator.

Steps to reproduce the problem:
Using code similar to the following:

using (OperationContextScope scope = new
OperationContextScope(this.WCFServiceClient.InnerChannel))
{
   string ns = "http://something.com";
   OperationContext.Current.OutgoingMessageHeaders.Add(new
MessageHeader<string>("testValue"))
                                                                   
GetUntypedHeader("testName", ns));
   this.WCFServiceClient.SomeMethodAsync();
}

Run through the code twice, on the second run through an error will occur when
accessing the OutgoingMessageHeaders property.

Actual Results:
Unhandled Exception: System.ExecutionEngineException: SIGILL
* Assertion: should not be reached at ../../../../mono/mini/mini.c:2629

Stacktrace:


Native stacktrace:

    0   ETGTenPointSixUIiOS                 0x00690b98
mono_handle_native_sigsegv + 412
    1   ETGTenPointSixUIiOS                 0x006b7d74 sigabrt_signal_handler +
148
    2   libsystem_c.dylib                   0x3636872f _sigtramp + 42
    3   libsystem_c.dylib                   0x3635d3bb pthread_kill + 58
    4   libsystem_c.dylib                   0x36355bff abort + 78
    5   ETGTenPointSixUIiOS                 0x007cc1c0 monoeg_g_logv + 248
    6   ETGTenPointSixUIiOS                 0x007cc254 monoeg_assertion_message
+ 44
    7   ETGTenPointSixUIiOS                 0x0067275c mono_thread_abort + 108
    8   ETGTenPointSixUIiOS                 0x0068ffe0
mono_handle_exception_internal + 2436
    9   ETGTenPointSixUIiOS                 0x006908c8 mono_handle_exception +
108
    10  ETGTenPointSixUIiOS                 0x006b6f54 handle_signal_exception
+ 152
    11  ETGTenPointSixUIiOS                 0x00383790
System_ServiceModel_OperationContext_get_OutgoingMessageHeaders + 88
    12  ETGTenPointSixUIiOS                 0x001428f0
ETG_TenPointSix_Logic_DataAccess_LoginAccessor_LoginAsync_string_string_string
+ 448
    13  ETGTenPointSixUIiOS                 0x001329f4
ETG_TenPointSix_Logic_Controllers_LoginController_DoLogin + 260
    14  ETGTenPointSixUIiOS                 0x005f5c30
ETG_TenPointSix_UI_iOS_LoginViewController__doLoginm__3_object + 224
    15  ETGTenPointSixUIiOS                 0x0053bb74
System_Threading_Thread_StartUnsafe + 248
    16  ETGTenPointSixUIiOS                 0x0055d264
wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr
+ 200
    17  ETGTenPointSixUIiOS                 0x00676800 mono_jit_runtime_invoke
+ 2800
    18  ETGTenPointSixUIiOS                 0x0076538c mono_runtime_invoke +
140
    19  ETGTenPointSixUIiOS                 0x00766db8
mono_runtime_delegate_invoke + 124
    20  ETGTenPointSixUIiOS                 0x0078f588 start_wrapper_internal +
756
    21  ETGTenPointSixUIiOS                 0x0078f628 start_wrapper + 24
    22  ETGTenPointSixUIiOS                 0x007b4368 thread_start_routine +
228
    23  ETGTenPointSixUIiOS                 0x007e4028 GC_start_routine + 132
    24  libsystem_c.dylib                   0x3635d311 _pthread_start + 248
    25  libsystem_c.dylib                   0x3635ebbc start_wqthread + 0

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Expected Results:
For the message header to add to the collection and the request to be sent.

How often does this happen? 
It happens everytime on the second web service call when running on an actual
device and not the simulator

Additional Information:
This is being compiled against Monotouch v3.99.13

-- 
Configure bugmail: https://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