[Mono-bugs] [Bug 682236] SIGSEGV when running MonoDevelop with SGen

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 30 08:25:04 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=682236#c1


--- Comment #1 from Lluis Sanchez <lluis at novell.com> 2011-03-30 12:25:02 UTC ---
I updated Mono today and I consistently get this crash when MD starts:

* Assertion at sgen-gc.c:4070, condition `*p == NULL' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at System.Net.Sockets.Socket.get_LocalEndPoint () <0x0006f>
  at Mono.Unix.UnixListener.Init (Mono.Unix.UnixEndPoint) <0x0019f>
  at Mono.Unix.UnixListener..ctor (string) <0x0006b>
  at (wrapper remoting-invoke-with-check) Mono.Unix.UnixListener..ctor (string)
<0xffffffff>
  at Mono.Remoting.Channels.Unix.UnixServerChannel.StartListening (object)
<0x0003b>
  at Mono.Remoting.Channels.Unix.UnixServerChannel.Init
(System.Runtime.Remoting.Channels.IServerChannelSinkProvider) <0x0019b>
  at Mono.Remoting.Channels.Unix.UnixServerChannel..ctor
(System.Collections.IDictionary,System.Runtime.Remoting.Channels.IServerChannelSinkProvider)
<0x004b3>
  at (wrapper runtime-invoke)
<Module>.runtime_invoke_void__this___object_object
(object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke
(System.Reflection.MonoCMethod,object,object[],System.Exception&) <0xffffffff>
  at System.Reflection.MonoCMethod.Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
<0x001c7>
  at System.Reflection.MonoCMethod.Invoke
(System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
<0x0003d>
  at System.Activator.CreateInstance
(System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[])
<0x002e7>
  at System.Activator.CreateInstance (System.Type,object[],object[]) <0x00033>
  at System.Activator.CreateInstance (System.Type,object[]) <0x0002f>
  at System.Runtime.Remoting.Channels.Ipc.Unix.IpcServerChannel..ctor
(System.Collections.IDictionary,System.Runtime.Remoting.Channels.IServerChannelSinkProvider)
<0x00177>
  at System.Runtime.Remoting.Channels.Ipc.Unix.IpcChannel..ctor
(System.Collections.IDictionary,System.Runtime.Remoting.Channels.IClientChannelSinkProvider,System.Runtime.Remoting.Channels.IServerChannelSinkProvider)
<0x0021f>
  at System.Runtime.Remoting.Channels.Ipc.IpcChannel..ctor
(System.Collections.IDictionary,System.Runtime.Remoting.Channels.IClientChannelSinkProvider,System.Runtime.Remoting.Channels.IServerChannelSinkProvider)
<0x00053>
  at MonoDevelop.Core.Execution.RemotingService.RegisterRemotingChannel ()
<0x00213>
  at MonoDevelop.Core.Instrumentation.InstrumentationService.PublishService ()
<0x0000f>
  at MonoDevelop.Core.Runtime.SetupInstrumentation () <0x00057>
  at MonoDevelop.Core.Runtime.Initialize (bool) <0x0003f>
  at MonoDevelop.Ide.IdeStartup.Run (string[]) <0x00e1b>
  at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) <0x0006f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

    mono-sgen() [0x4934e6]
    /lib64/libpthread.so.0(+0xf2d0) [0x7ff212e1c2d0]
    /lib64/libc.so.6(gsignal+0x35) [0x7ff212ad2ab5]
    /lib64/libc.so.6(abort+0x186) [0x7ff212ad3fb6]
    mono-sgen() [0x5ea09e]
    mono-sgen() [0x5ea24f]
    mono-sgen() [0x54c342]
    mono-sgen() [0x557b91]
    mono-sgen(mono_string_new_size+0x4c) [0x56041c]
    mono-sgen(mono_string_new_utf16+0x20) [0x5604d0]
    mono-sgen() [0x560c5f]
    mono-sgen() [0x44279a]
    mono-sgen() [0x41c397]
    mono-sgen() [0x41e48a]
    mono-sgen() [0x41ed0d]
    mono-sgen() [0x495022]
    mono-sgen() [0x495b93]
    [0x41772bba]

Debug info from gdb:

Missing separate debuginfo for /lib64/libm.so.6
Try: zypper install -C
"debuginfo(build-id)=5ac64cd348d3581ec2a223ee70f42e73cad029cc"
Missing separate debuginfo for /lib64/librt.so.1
Try: zypper install -C
"debuginfo(build-id)=e3e6773e84151cf7b70051b1e22f0254ede44f08"
Missing separate debuginfo for /lib64/libdl.so.2
Try: zypper install -C
"debuginfo(build-id)=9a8d0811525ec7a152dca9e109292adca81857c1"
Missing separate debuginfo for /lib64/libpthread.so.0
Try: zypper install -C
"debuginfo(build-id)=e23cbc772e670af00bea9874f925e2e61afda713"
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C
"debuginfo(build-id)=1493bf69b1d671cbad9be1d1b0284fbd9138444b"
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C
"debuginfo(build-id)=b1d398a5cb1609e7ac1c51a26588e87fc20f753c"
Missing separate debuginfo for /usr/lib64/gconv/UTF-16.so
Try: zypper install -C
"debuginfo(build-id)=d98ccff0277daee53b9bd1d6bebd20fe177af96a"
Missing separate debuginfo for /lib64/libglib-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=67137e1a88a14d2341020d1368ec7736117d23dc"
Missing separate debuginfo for /lib64/libpcre.so.0
Try: zypper install -C
"debuginfo(build-id)=7d0cbd7e39faac70a4bcd0d67af1cec8f764a6a8"
Missing separate debuginfo for /lib64/libgobject-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=bb77c7bc654953bf0a7e7b46d80317fc9f7ef207"
Missing separate debuginfo for /lib64/libgthread-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=f8841dba1a0d53e1edb0d0f94c3b9490b123c742"
Missing separate debuginfo for /usr/lib64/libgtk-x11-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=ea41e03b193946690e3e5d56939c1722fd6f47b0"
Missing separate debuginfo for /usr/lib64/libgdk-x11-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=21ea4e6d9a4ba9308341815066720e17f74f68c1"
Missing separate debuginfo for /usr/lib64/libpangocairo-1.0.so.0
Try: zypper install -C
"debuginfo(build-id)=c030dc27206246dd94dfd36171bcbea91fd150d9"
Missing separate debuginfo for /usr/lib64/libX11.so.6
Try: zypper install -C
"debuginfo(build-id)=638ec0c11b4dbb04c5fa510b99372762bed50099"
Missing separate debuginfo for /usr/lib64/libXfixes.so.3
Try: zypper install -C
"debuginfo(build-id)=3bc046d7ea5494d8770309240eeb198e9ec76d19"
Missing separate debuginfo for /usr/lib64/libatk-1.0.so.0
Try: zypper install -C
"debuginfo(build-id)=3dbce8ea13e6b590bf4dae718f04762cc7a0b9ea"
Missing separate debuginfo for /usr/lib64/libcairo.so.2
Try: zypper install -C
"debuginfo(build-id)=b874b0f2fa4f7523f3709911bbcbf636f1bc8301"
Missing separate debuginfo for /usr/lib64/libgdk_pixbuf-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=5f066c50bff409c19645facfae0302e5e8792a13"
Missing separate debuginfo for /lib64/libgio-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=f4fb5fde3b4493164c7a72e4dd4558be805d728a"
Missing separate debuginfo for /usr/lib64/libpangoft2-1.0.so.0
Try: zypper install -C
"debuginfo(build-id)=5a41e5ca91c31ef6310ce4b7bc1fe45d20c9d296"
Missing separate debuginfo for /usr/lib64/libpango-1.0.so.0
Try: zypper install -C
"debuginfo(build-id)=4a9b1992c43c2f0bbd0e4b2ffa771cdeb9140814"
Missing separate debuginfo for /usr/lib64/libfontconfig.so.1
Try: zypper install -C
"debuginfo(build-id)=079de7e2c79b5c198f17e8fbba85232e667e3257"
Missing separate debuginfo for /lib64/libgmodule-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=691c1fb49f55b61d6fb9d852c1e45bf31070c968"
Missing separate debuginfo for /usr/lib64/libXext.so.6
Try: zypper install -C
"debuginfo(build-id)=113ba00ae2c1794de40dbd41b41133e6152f7956"
Missing separate debuginfo for /usr/lib64/libXrender.so.1
Try: zypper install -C
"debuginfo(build-id)=de71a5848fcdab06a8bb6a94033bc4e6602c5d31"
Missing separate debuginfo for /usr/lib64/libXinerama.so.1
Try: zypper install -C
"debuginfo(build-id)=2b8b08af78d84c15b6c0677de113dc3484bc5aa7"
Missing separate debuginfo for /usr/lib64/libXi.so.6
Try: zypper install -C
"debuginfo(build-id)=b3d6bff7edbe099485337c639ec23d6e38d8994c"
Missing separate debuginfo for /usr/lib64/libXrandr.so.2
Try: zypper install -C
"debuginfo(build-id)=97dd1c72790807f4d3e190a3fc3cd4ab7c6b6b94"
Missing separate debuginfo for /usr/lib64/libXcursor.so.1
Try: zypper install -C
"debuginfo(build-id)=760dc20e4a30d5f884cb23995002851839ada888"
Missing separate debuginfo for /usr/lib64/libXcomposite.so.1
Try: zypper install -C
"debuginfo(build-id)=ff0f70e6a4c568adb3e5e39f26bdc00f7c6893c5"
Missing separate debuginfo for /usr/lib64/libXdamage.so.1
Try: zypper install -C
"debuginfo(build-id)=621754f0682cfe985d2d9788a509985f08816b7e"
Missing separate debuginfo for /usr/lib64/libfreetype.so.6
Try: zypper install -C
"debuginfo(build-id)=85286cb42e21a9fb6a37b4373e4523ab1cbdd28a"
Missing separate debuginfo for /usr/lib64/libxcb.so.1
Try: zypper install -C
"debuginfo(build-id)=0b8f337f2a376dd55d362fe232f2e624de3c7537"
Missing separate debuginfo for /usr/lib64/libpixman-1.so.0
Try: zypper install -C
"debuginfo(build-id)=f2fd043b5d93233d43a03f8818d989c9653a2f4c"
Missing separate debuginfo for /usr/lib64/libpng14.so.14
Try: zypper install -C
"debuginfo(build-id)=f314597014509993e3a017a8e1ca0c5f9f8cdb91"
Missing separate debuginfo for /lib64/libz.so.1
Try: zypper install -C
"debuginfo(build-id)=ee6d5be258253b68e79deb7358732b43bd00347a"
Missing separate debuginfo for /lib64/libresolv.so.2
Try: zypper install -C
"debuginfo(build-id)=8e33af585b9136f2b4806d240e55f0b4f5c0fc82"
Missing separate debuginfo for /lib64/libselinux.so.1
Try: zypper install -C
"debuginfo(build-id)=4aac28a710d37eb1ef0b1de2b0d970da78b57d92"
Missing separate debuginfo for /lib64/libexpat.so.1
Try: zypper install -C
"debuginfo(build-id)=d3c374e3fac85ab361376639a09173ac48d418fe"
Missing separate debuginfo for /usr/lib64/libXau.so.6
Try: zypper install -C
"debuginfo(build-id)=52b8895380f152bf00f1ffa86e3e76a882cce61d"
Missing separate debuginfo for /usr/lib64/gtk-2.0/2.10.0/engines/libmurrine.so
Try: zypper install -C
"debuginfo(build-id)=b099234b74b06d8cc307f4e9ffdf040a67e2cb85"
Missing separate debuginfo for
/usr/lib64/gtk-2.0/modules/libgnomesegvhandler.so
Try: zypper install -C
"debuginfo(build-id)=78973d7473ba819a1ae64d053456c6cb82e8bee2"
Missing separate debuginfo for
/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
Try: zypper install -C
"debuginfo(build-id)=702b226f52ff510961eae83a596fad9137dda8af"
Missing separate debuginfo for /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
Try: zypper install -C
"debuginfo(build-id)=431121ef1587267acebc96fbd7758186a8eba44c"
Missing separate debuginfo for /lib64/libgcc_s.so.1
Try: zypper install -C
"debuginfo(build-id)=e6eb8011838a065946e5808e036550844548379f"
Mono support loaded.
[Thread debugging using libthread_db enabled]
[New Thread 0x7ff20af1f700 (LWP 15969)]
[New Thread 0x7ff211143700 (LWP 15968)]
0x00007ff212e1b37d in read () from /lib64/libpthread.so.0
  3 Thread 0x7ff211143700 (LWP 15968)  0x00007ff212e1a5f0 in sem_wait () from
/lib64/libpthread.so.0
  2 Thread 0x7ff20af1f700 (LWP 15969)  0x00007ff212e1838c in
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
* 1 Thread 0x7ff2138817a0 (LWP 15967)  0x00007ff212e1b37d in read () from
/lib64/libpthread.so.0

Thread 3 (Thread 0x7ff211143700 (LWP 15968)):
#0  0x00007ff212e1a5f0 in sem_wait () from /lib64/libpthread.so.0
#1  0x00000000005e22b8 in mono_sem_wait (sem=0x909bc0, alertable=1) at
mono-semaphore.c:113
#2  0x00000000005af945 in finalizer_thread (unused=<value optimized out>) at
gc.c:1072
#3  0x0000000000591001 in start_wrapper_internal (data=0x9b6d70) at
threads.c:549
#4  start_wrapper (data=0x9b6d70) at threads.c:597
#5  0x00000000005c7a73 in thread_start_routine (args=0x997f80) at
wthreads.c:285
#6  0x000000000054fb1d in gc_start_thread (arg=0x9b67e0) at sgen-gc.c:6187
#7  0x00007ff212e13a3f in start_thread () from /lib64/libpthread.so.0
#8  0x00007ff212b7367d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff20af1f700 (LWP 15969)):
#0  0x00007ff212e1838c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00000000005d6473 in _wapi_handle_timedwait_signal_handle (handle=0x408,
timeout=0x0, alertable=1, poll=<value optimized out>) at handles.c:1632
#2  0x00000000005c4b65 in WaitForSingleObjectEx (handle=0x408,
timeout=4294967295, alertable=1) at wait.c:203
#3  0x00000000005c5697 in WaitForMultipleObjectsEx (numobjects=1,
handles=0xbd5cb0, waitall=1, timeout=4294967295, alertable=1) at wait.c:577
#4  0x0000000000590b50 in
ves_icall_System_Threading_WaitHandle_WaitAll_internal
(mono_handles=0x7ff212419060, ms=-1, exitContext=<value optimized out>) at
threads.c:1326
#5  0x0000000041785ea0 in ?? ()
#6  0x0000000000bd56a0 in ?? ()
#7  0x0000000000931330 in ?? ()
#8  0x00007ff212418060 in ?? ()
#9  0x0000000000000001 in ?? ()
#10 0x0000000000bb1d50 in ?? ()
#11 0x00007ff20af1eb30 in ?? ()
#12 0x00007ff20af1ea70 in ?? ()
#13 0x0000000000931330 in ?? ()
#14 0x00007ff212418060 in ?? ()
#15 0x0000000000000001 in ?? ()
#16 0x00007ff212419060 in ?? ()
#17 0x0000000041785c0c in ?? ()
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff2138817a0 (LWP 15967)):
#0  0x00007ff212e1b37d in read () from /lib64/libpthread.so.0
#1  0x0000000000493653 in mono_handle_native_sigsegv (signal=<value optimized
out>, ctx=<value optimized out>) at mini-exceptions.c:2253
#2  <signal handler called>
#3  0x00007ff212ad2ab5 in raise () from /lib64/libc.so.6
#4  0x00007ff212ad3fb6 in abort () from /lib64/libc.so.6
#5  0x00000000005ea09e in monoeg_g_logv (log_domain=0x0,
log_level=G_LOG_LEVEL_ERROR, format=0x6056e8 "* Assertion at %s:%d, condition
`%s' not met\n", args=0x7fff03efcb60) at goutput.c:134
#6  0x00000000005ea24f in monoeg_assertion_message (format=0x6056e8 "*
Assertion at %s:%d, condition `%s' not met\n") at goutput.c:154
#7  0x000000000054c342 in mono_gc_try_alloc_obj_nolock (vtable=<value optimized
out>, size=<value optimized out>) at sgen-gc.c:4070
#8  0x0000000000557b91 in mono_gc_alloc_string (vtable=vtable("string"),
size=28, len=1) at sgen-gc.c:4165
#9  0x000000000056041c in mono_string_new_size (domain=0x931330, len=1) at
object.c:4862
#10 0x00000000005604d0 in mono_string_new_utf16 (domain=<value optimized out>,
text=0x7ff210a6cefe, len=1) at object.c:4828
#11 0x0000000000560c5f in mono_ldstr_metadata_sig (domain=0x931330, sig=<value
optimized out>) at object.c:5363
#12 0x000000000044279a in mono_method_to_ir (cfg=<value optimized out>,
method="Mono.Unix.UnixEndPoint:Create ()", start_bblock=0xe3c150,
end_bblock=0xe3c278, return_var=0x0, dont_inline=0xe59a40 = {...},
inline_args=0x0, inline_offset=0, is_virtual_call=0) at method-to-ir.c:7944
#13 0x000000000041c397 in mini_method_compile
(method="Mono.Unix.UnixEndPoint:Create ()", opts=51472895, domain=0x931330,
run_cctors=<value optimized out>, compile_aot=0, parts=0) at mini.c:4423
#14 0x000000000041e48a in mono_jit_compile_method_inner
(method="Mono.Unix.UnixEndPoint:Create ()", opt=51472895, ex=0x7fff03efd2d8) at
mini.c:5129
#15 mono_jit_compile_method_with_opt (method="Mono.Unix.UnixEndPoint:Create
()", opt=51472895, ex=0x7fff03efd2d8) at mini.c:5353
#16 0x000000000041ed0d in mono_jit_compile_method (method=<value optimized
out>) at mini.c:5378
#17 0x0000000000495022 in common_call_trampoline (regs=0x7fff03efd5b8,
code=0x41525070 "L\213<$H\203\304(\303I\213\aH\213@ H\213\370H\213",
m="Mono.Unix.UnixEndPoint:Create ()", tramp=<value optimized out>,
vt=vtable("Mono.Unix.UnixEndPoint"), vtable_slot=<value optimized out>,
need_rgctx_tramp=0) at mini-trampolines.c:479
#18 0x0000000000495b93 in mono_vcall_trampoline (regs=0x7fff03efd5b8,
code=0x41525070 "L\213<$H\203\304(\303I\213\aH\213@ H\213\370H\213",
slot=<value optimized out>, tramp=0x41736046 "\350\005\312\003") at
mini-trampolines.c:662
#19 0x0000000041772bba in ?? ()
#20 0x00007fff03efd430 in ?? ()
#21 0x00000000005f0c9b in monoeg_g_hash_table_lookup_extended (hash=Traceback
(most recent call last):
  File "/usr/share/glib-2.0/gdb/glib.py", line 123, in children
    return self._iterator(self.val, self.keys_are_strings)
  File "/usr/share/glib-2.0/gdb/glib.py", line 79, in __init__
    self.array = ht["nodes"]
RuntimeError: There is no member named nodes.
0x934e70, key=0x7ff212500c90, orig_key=0x7ff21249e888, value=0x0) at
ghashtable.c:300
#22 0x0000000041525070 in ?? ()
#23 0x00007ff212500990 in ?? ()
#24 0x00007ff212500e30 in ?? ()
#25 0x0000000000000000 in ?? ()

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

Avortat
lluis at linux-wovx:~/work/monodevelop/main/build/bin>

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


More information about the mono-bugs mailing list