Public bug reported:

Binary package hint: mono-gmcs

I got this when compiled the attached program:

Stacktrace:

  at System.BitConverter..cctor () <0xffffffff>
  at System.BitConverter..cctor () <0x0000d>
  at (wrapper runtime-invoke) System.Collections.Hashtable.runtime_invoke_void 
(object,intptr,intptr,intptr) <0xffffffff>
  at System.Text.UnicodeEncoding.GetBytesInternal (char*,int,byte*,int) 
<0xffffffff>
  at System.Text.UnicodeEncoding.GetBytesInternal (char*,int,byte*,int) 
<0x0004a>
  at System.Text.UnicodeEncoding.GetBytes (char[],int,int,byte[],int) <0x0017a>
  at System.Text.Encoding.GetBytes (char[],int,int) <0x00071>
  at System.IO.BinaryWriter.Write (char[]) <0x0004e>
  at System.Resources.Win32VersionResource.WriteTo (System.IO.Stream) <0x000f1>
  at System.Reflection.Emit.AssemblyBuilder.AddUnmanagedResource 
(System.Resources.Win32Resource) <0x0004c>
  at System.Reflection.Emit.AssemblyBuilder.DefineVersionInfoResourceImpl 
(string) <0x00115>
  at System.Reflection.Emit.AssemblyBuilder.Save 
(string,System.Reflection.PortableExecutableKinds,System.Reflection.ImageFileMachine)
 <0x00566>
  at System.Reflection.Emit.AssemblyBuilder.Save (string) <0x00024>
  at Mono.CSharp.CodeGen.Save (string) <0x00062>
  at Mono.CSharp.Driver.MainDriver (string[]) <0x013fc>
  at Mono.CSharp.Driver.Main (string[]) <0x00079>
  at (wrapper runtime-invoke) Mono.CSharp.Driver.runtime_invoke_int_string[] 
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /usr/bin/mono [0x51bb67]
        /usr/bin/mono [0x43dacd]
        /lib/libpthread.so.0 [0x7ffcc938d7d0]
        /lib/libc.so.6(memcpy+0x60) [0x7ffcc8e18d50]
        /usr/bin/mono(mono_breakpoint_clean_code+0x1b) [0x42725b]
        /usr/bin/mono [0x43f78d]
        /usr/bin/mono [0x44005e]
        [0x41c9b15b]

Debug info from gdb:

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffcca06c7a0 (LWP 1297)]
[New Thread 0x415f0950 (LWP 1299)]
[New Thread 0x406fe950 (LWP 1298)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x00007ffcc938c5cb in read () from /lib/libpthread.so.0
  3 Thread 0x406fe950 (LWP 1298)  0x00007ffcc938ce81 in nanosleep ()
   from /lib/libpthread.so.0
  2 Thread 0x415f0950 (LWP 1299)  0x00007ffcc9389b99 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  1 Thread 0x7ffcca06c7a0 (LWP 1297)  0x00007ffcc938c5cb in read ()
   from /lib/libpthread.so.0

Thread 3 (Thread 0x406fe950 (LWP 1298)):
#0  0x00007ffcc938ce81 in nanosleep () from /lib/libpthread.so.0
#1  0x00000000004b8f4f in ?? ()
#2  0x00007ffcc93853f7 in start_thread () from /lib/libpthread.so.0
#3  0x00007ffcc8e73b2d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x415f0950 (LWP 1299)):
#0  0x00007ffcc9389b99 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00000000004bb585 in ?? ()
#2  0x00000000004bdb37 in ?? ()
#3  0x00000000004cbc03 in ?? ()
#4  0x000000000046b3c1 in ?? ()
#5  0x00000000004855c3 in ?? ()
#6  0x00000000004cb287 in ?? ()
#7  0x00000000004e07d2 in ?? ()
#8  0x00007ffcc93853f7 in start_thread () from /lib/libpthread.so.0
#9  0x00007ffcc8e73b2d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffcca06c7a0 (LWP 1297)):
#0  0x00007ffcc938c5cb in read () from /lib/libpthread.so.0
#1  0x00007ffcc9808a90 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffcc9808f7e in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffcc98098df in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#4  0x00007ffcc9809d98 in g_spawn_command_line_sync ()
   from /usr/lib/libglib-2.0.so.0
#5  0x000000000051bbf9 in ?? ()
#6  0x000000000043dacd in ?? ()
#7  <signal handler called>
#8  0x00007ffcc8e18d50 in memcpy () from /lib/libc.so.6
#9  0x000000000042725b in mono_breakpoint_clean_code ()
#10 0x000000000043f78d in ?? ()
#11 0x000000000044005e in ?? ()
#12 0x0000000041c9b15b in ?? ()
#13 0x0000000000000000 in ?? ()
#0  0x00007ffcc938c5cb in read () from /lib/libpthread.so.0


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

Aborted

** Affects: mono (Ubuntu)
     Importance: Undecided
         Status: New

-- 
SIGSEGV compiling with gmcs
https://bugs.launchpad.net/bugs/241964
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to