[Mono-bugs] [Bug 688013] New: System.Diagnostics.Process SIGSEGV

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Apr 16 16:53:48 EDT 2011


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

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


           Summary: System.Diagnostics.Process SIGSEGV
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.10.x
          Platform: x86
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: generics
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: d0ugmac1 at yahoo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
           Blocker: ---


Application calling native executable started SEGV'ing with the 2.10.x build. 
Works fine with 2.8 (OSX and Linux) and .NET (with OS specific compiled native
executable -- ffmpeg in this case).  Have downgraded to 2.8 and all is fine
again.

Previous version had:
_wapi_handle_unref: Attempting to unref unused handle 0x24a941

errors, but not sure if that is related.

Stacktrace:

  at (wrapper managed-to-native)
System.Diagnostics.Process.CreateProcess_internal
(System.Diagnostics.ProcessStartInfo,intptr,intptr,intptr,System.Diagnostics.Process/ProcInfo&)
<0xffffffff>
  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartInfo,System.Diagnostics.Process) <0x008d3>
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo,System.Diagnostics.Process) <0x00103>
  at System.Diagnostics.Process.Start () <0x00049>
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start ()
<0xffffffff>
  at MyApp.myvidproc.getVideoMetaData () <0x00273>
  at MyApp.myvidproc.isFileSupported (string) <0x0005d>
  at MyApp.ShowRecord.Setupmyvidproc () <0x00061>
  at MyApp.ShowRecord..ctor (string,ulong,ulong) <0x0003d>
  at MyApp.ShowDb.AddShow (string,string) <0x00093>
  at MyApp.ShowDb.FindNewShows () <0x0036d>
  at MyApp.ShowDb.MaintainShowList () <0x0002f>
  at MyApp.ShowDb.<ShowDb>m__1 (object) <0x0003b>
  at System.Threading.Timer/Scheduler/<SchedulerThread>c__AnonStorey3.<>m__6
(object) <0x0005e>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

    0   mono                                0x000b7009 _mh_execute_header +
745481
    1   mono                                0x0000704e _mh_execute_header +
24654
    2   libSystem.B.dylib                   0x93f0f2bb _sigtramp + 43
    3   ???                                 0xffffffff 0x0 + 4294967295
    4   mono                                0x0021e3e4 _mh_execute_header +
2216932
    5   mono                                0x0021ec61 _mh_execute_header +
2219105
    6   mono                                0x001c57ba _mh_execute_header +
1853370
    7   ???                                 0x0135a428 0x0 + 20292648
    8   ???                                 0x013594cc 0x0 + 20288716
    9   ???                                 0x01358a6c 0x0 + 20286060
    10  ???                                 0x01358942 0x0 + 20285762
    11  ???                                 0x013588c6 0x0 + 20285638
    12  ???                                 0x013b1954 0x0 + 20650324
    13  ???                                 0x013b14fe 0x0 + 20649214
    14  ???                                 0x013b1412 0x0 + 20648978
    15  ???                                 0x013b137e 0x0 + 20648830
    16  ???                                 0x013b116c 0x0 + 20648300
    17  ???                                 0x013af34e 0x0 + 20640590
    18  ???                                 0x013aef88 0x0 + 20639624
    19  ???                                 0x013aef44 0x0 + 20639556
    20  ???                                 0x013a58df 0x0 + 20601055
    21  ???                                 0x003b6c03 0x0 + 3894275
    22  mono                                0x000114e4 _mh_execute_header +
66788
    23  mono                                0x001bcca6 _mh_execute_header +
1817766
    24  mono                                0x001be1fd _mh_execute_header +
1823229
    25  mono                                0x001f4313 _mh_execute_header +
2044691
    26  mono                                0x001f6c56 _mh_execute_header +
2055254
    27  mono                                0x001f89c4 _mh_execute_header +
2062788
    28  mono                                0x001f8a64 _mh_execute_header +
2062948
    29  mono                                0x00236a1f _mh_execute_header +
2316831
    30  mono                                0x00267f2b _mh_execute_header +
2518827
    31  libSystem.B.dylib                   0x93ed4155 _pthread_start + 321
    32  libSystem.B.dylib                   0x93ed4012 thread_start + 34

Debug info from gdb:


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

Abort trap

-- 
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