[Mono-bugs] [Bug 414845] [PS3/PPC] Bootstraping MCS failed when making Mono from source

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Aug 29 12:57:26 EDT 2008


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

User vwvw at yandex.ru added comment
https://bugzilla.novell.com/show_bug.cgi?id=414845#c10


Alexander Petrov <vwvw at yandex.ru> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |vwvw at yandex.ru




--- Comment #10 from Alexander Petrov <vwvw at yandex.ru>  2008-08-29 10:57:25 MDT ---
I have figured out more precisely a location of the bug.
It is occured during the compilation of expression.cs module
from the mono-2.0/mcs/mcs directory
( I have tried Mono 2.0 preview 2 version).

1) Trying to use mono-wrapper and monolite/mcs.exe gives

$ MONO_PATH="/home/user002/mono-2.0/mcs/class/lib/monolite:$MONO_PATH"
/home/user002/mono-2.0/runtime/mono-wrapper 
/home/user002/mono-2.0/mcs/class/lib/monolite/mcs.exe expression.cs
** Message: Unknown errno: Unknown error 8192

expression.cs(284,56): error CS8025: Parsing error** Message: Unknown errno: No
CSI structure available

expression.cs(284,56): error CS8025: Parsing error** Message: Unknown errno: No
CSI structure available

Compilation failed: 1 error(s), 0 warnings** Message: Unknown errno: No message
of desired type

Compilation failed: 1 error(s), 0 warnings** Message: Unknown errno: No message
of desired type


** ERROR **: file mini.c: line 13657 (remove_signal_handler): assertion failed:
(sigaction (signo, &sa, NULL) != -1)
aborting...
Stacktrace:


Native stacktrace:

      /home/user002/mono-2.0/mono/mini/mono [0x10024844]
      [0x100350]
      [0x1]
      /lib/libc.so.6(abort+0x23c) [0xfd17ddc]
      /lib/libglib-2.0.so.0(g_logv+0x424) [0xfc124b4]
      /lib/libglib-2.0.so.0(g_log+0x68) [0xfc12528]
      /lib/libglib-2.0.so.0(g_assert_warning+0x8c) [0xfc125cc]
      /home/user002/mono-2.0/mono/mini/mono [0x10154480]
      /home/user002/mono-2.0/mono/mini/mono [0x10154500]
      /home/user002/mono-2.0/mono/mini/mono(mono_main+0x1098) [0x10012738]
      /home/user002/mono-2.0/mono/mini/mono [0x10010f70]
      /lib/libc.so.6 [0xfcfde0c]
      /lib/libc.so.6 [0xfcfe060]

** (process:8475): ERROR (recursed) **: file mini-exceptions.c: line 1287
(mono_handle_native_sigsegv): assertion failed: (res != -1)
aborting...
Aborted

2) From the other side, a trying to use pre-installed mcs.exe ( from the Mono
1.2.3 ) gives:

mcs]$ mono /usr/lib/mono/1.0/mcs.exe expression.cs    ** Message: Unknown
errno: Unknown error 8192

Stacktrace:

 at (wrapper managed-to-native) System.MonoEnumInfo.get_enum_info
(System.Type,System.MonoEnumInfo&) <0xffffffff>
 at (wrapper managed-to-native) System.MonoEnumInfo.get_enum_info
(System.Type,System.MonoEnumInfo&) <0x00094>
 at System.MonoEnumInfo.GetInfo (System.Type,System.MonoEnumInfo&) <0x00130>
 at System.Enum.GetUnderlyingType (System.Type) <0x00070>
 at System.Enum.Format (System.Type,object,string) <0x000dc>
 at System.Enum.ToString (string,System.IFormatProvider) <0x00094>
 at System.String.FormatHelper
(System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x00484>
 at System.String.Format (System.IFormatProvider,string,object[]) <0x00070>
 at System.String.Format (string,object,object) <0x00098>
 at System.IO.MonoIO.GetException (string,System.IO.MonoIOError) <0x00668>
 at System.IO.FileStream.ReadData (intptr,byte[],int,int) <0x000dc>
 at System.IO.FileStream.RefillBuffer () <0x00054>
 at System.IO.FileStream.ReadInternal (byte[],int,int) <0x00118>
 at System.IO.FileStream.Read (byte[],int,int) <0x00120>
 at System.IO.StreamReader.ReadBuffer () <0x00074>
 at System.IO.StreamReader.Read (char[],int,int) <0x0009c>
 at Mono.CSharp.SeekableStreamReader.ReadBuffer () <0x000d4>
 at Mono.CSharp.SeekableStreamReader.Read () <0x00040>
 at Mono.CSharp.Tokenizer.getChar () <0x00050>
 at Mono.CSharp.Tokenizer.consume_identifier (int,bool) <0x001cc>
 at Mono.CSharp.Tokenizer.consume_identifier (int) <0x00058>
 at Mono.CSharp.Tokenizer.xtoken () <0x00578>
 at Mono.CSharp.Tokenizer.token () <0x00028>
 at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput) <0x00c4c>
 at Mono.CSharp.CSharpParser.parse () <0x000d0>
 at Mono.CSharp.Driver.parse (Mono.CSharp.SourceFile) <0x00274>
 at Mono.CSharp.Driver.ProcessFiles () <0x000c4>
 at Mono.CSharp.Driver.MainDriver (string[]) <0x00608>
 at Mono.CSharp.Driver.Main (string[]) <0x00078>
 at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0x00074>

Native stacktrace:

      mono [0x1011dbd8]
      mono [0x100e350c]
      [0x100350]
      [0xf75cb6e8]
      mono(mono_gc_out_of_memory+0x18) [0x1007a578]
      mono [0x100db094]
      mono [0x100db288]
      mono(mono_array_new_specific+0x188) [0x10088f88]
      mono [0x10131e74]
      [0xf75cb9e0]
      [0xf75cb6ec]
      [0xf75cb444]
      [0xf75ca818]
      [0xf75ca530]
      [0xf75c97b8]
      [0xf75c92d4]
      [0xf75c9214]
      [0xf75c905c]
      [0xf757edf8]
      [0xf757ea70]
      [0xf757e864]
      [0xf757e3d4]
      [0xf757e0b0]
      [0xf75801a8]
      [0xf75800b8]
      [0xf757ff24]
      [0xf75b2e5c]
      [0xf75b72a8]
      [0xf75b6ee4]
      [0xf75b2544]
      [0xf75b1f74]
      [0xf758f1b0]
      [0xf75889dc]
      [0xf757b850]
      [0xf757b000]
      [0xf756420c]
      [0xf75608c4]
      [0xf7553b58]
      mono [0x10106e68]
      mono(mono_runtime_invoke+0x1c) [0x10083e7c]
      mono(mono_runtime_exec_main+0xd4) [0x10089cc4]
      mono(mono_runtime_run_main+0x1d4) [0x10089fa4]
      mono(mono_jit_exec+0xa0) [0x100104d0]
      mono(mono_main+0xfd0) [0x100114e0]
      mono [0x1000fe60]
      /lib/libc.so.6 [0xfcfde0c]
      /lib/libc.so.6 [0xfcfe060]

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


** ERROR **: file mini-exceptions.c: line 1098 (mono_handle_native_sigsegv):
assertion failed: (sigaction (SIGABRT, &sa, NULL) != -1)
aborting...
Aborted

3) Similarly, a trying to use gmcs.exe gives

mcs]$ mono /usr/lib/mono/2.0/gmcs.exe expression.cs          ** Message:
Unknown errno: Unknown error 8192

Stacktrace:


Native stacktrace:

      mono [0x1011dbd8]
      mono [0x100e350c]
      [0x100350]
      [0xf75ff990]
      [0xf75ff608]
      [0xf75ff3fc]
      [0xf75fef6c]
      [0xf75fec48]
      [0xf7600ea0]
      [0xf7600db0]
      [0xf7600c1c]
      [0xf763b3ec]
      [0xf763fa58]
      [0xf763f694]
      [0xf763aad4]
      [0xf763a41c]
      [0xf7612e8c]
      [0xf760b67c]
      [0xf75f7510]
      [0xf75f6720]
      [0xf75dd170]
      [0xf75d98fc]
      [0xf75c50e8]
      mono [0x10106e68]
      mono(mono_runtime_invoke+0x1c) [0x10083e7c]
      mono(mono_runtime_exec_main+0xd4) [0x10089cc4]
      mono(mono_runtime_run_main+0x1d4) [0x10089fa4]
      mono(mono_jit_exec+0xa0) [0x100104d0]
      mono(mono_main+0xfd0) [0x100114e0]
      mono [0x1000fe60]
      /lib/libc.so.6 [0xfcfde0c]
      /lib/libc.so.6 [0xfcfe060]

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


** ERROR **: file mini-exceptions.c: line 1098 (mono_handle_native_sigsegv):
assertion failed: (sigaction (SIGABRT, &sa, NULL) != -1)
aborting...
Aborted


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