[Mono-bugs] [Bug 682236] New: SIGSEGV when running MonoDevelop with SGen
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Mar 24 06:38:33 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=682236
https://bugzilla.novell.com/show_bug.cgi?id=682236#c0
Summary: SIGSEGV when running MonoDevelop with SGen
Classification: Mono
Product: Mono: Runtime
Version: SVN
Platform: x86-64
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: GC
AssignedTo: lupus at novell.com
ReportedBy: lluis at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
I got a crash at startup when running MonoDevelop using SGen.
This is with mono HEAD.
Stacktrace:
at (wrapper managed-to-native)
System.MonoCustomAttrs.GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0xffffffff>
at System.MonoCustomAttrs.GetCustomAttributesBase
(System.Reflection.ICustomAttributeProvider,System.Type) <0x00057>
at System.MonoCustomAttrs.GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x000a3>
at System.Reflection.MonoField.GetCustomAttributes (System.Type,bool)
<0x0001b>
at System.Attribute.GetCustomAttributes
(System.Reflection.MemberInfo,System.Type,bool) <0x000ab>
at MonoDevelop.Core.Serialization.TypeAttributeProvider.GetCustomAttributes
(object,System.Type,bool) <0x00207>
at MonoDevelop.Core.Serialization.ClassDataType.AddProperty
(object,string,System.Type) <0x00062>
at MonoDevelop.Core.Serialization.ClassDataType.Initialize () <0x009bf>
at MonoDevelop.Core.Serialization.DataType.SetContext
(MonoDevelop.Core.Serialization.DataContext) <0x0004e>
at MonoDevelop.Core.Serialization.DataContext.GetConfigurationDataType
(System.Type) <0x000cf>
at MonoDevelop.Core.Serialization.CollectionDataType.GetMapData
(object[],string) <0x00193>
at MonoDevelop.Core.Serialization.ItemProperty.Initialize (object[],string)
<0x0002e>
at MonoDevelop.Core.Serialization.ClassDataType.AddProperty
(object,string,System.Type) <0x0058b>
at MonoDevelop.Core.Serialization.ClassDataType.Initialize () <0x009bf>
at MonoDevelop.Core.Serialization.DataType.SetContext
(MonoDevelop.Core.Serialization.DataContext) <0x0004e>
at MonoDevelop.Core.Serialization.DataContext.GetConfigurationDataType
(System.Type) <0x000cf>
at MonoDevelop.Core.Serialization.DataContext.LoadConfigurationData
(MonoDevelop.Core.Serialization.SerializationContext,System.Type,MonoDevelop.Core.Serialization.DataNode)
<0x0001f>
at MonoDevelop.Core.Serialization.DataSerializer.Deserialize
(System.Type,MonoDevelop.Core.Serialization.DataNode) <0x00033>
at MonoDevelop.Core.Serialization.XmlDataSerializer.Deserialize
(System.Xml.XmlReader,System.Type) <0x00047>
at MonoDevelop.Core.AddIns.TargetFrameworkNode.CreateFramework () <0x0017b>
at MonoDevelop.Core.Assemblies.SystemAssemblyService.CreateFrameworks ()
<0x0015b>
at MonoDevelop.Core.Assemblies.SystemAssemblyService.Initialize () <0x00037>
at MonoDevelop.Core.Runtime.Initialize (bool) <0x00367>
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:
/home/lluis/install/bin/mono-sgen() [0x4928a6]
/home/lluis/install/bin/mono-sgen() [0x4e86cf]
/home/lluis/install/bin/mono-sgen() [0x41a749]
/lib64/libpthread.so.0(+0xf2e0) [0x7f200e4612e0]
/home/lluis/install/bin/mono-sgen() [0x552680]
/home/lluis/install/bin/mono-sgen() [0x552826]
/home/lluis/install/bin/mono-sgen() [0x5528b2]
/home/lluis/install/bin/mono-sgen() [0x55939e]
/home/lluis/install/bin/mono-sgen() [0x55b4ca]
/home/lluis/install/bin/mono-sgen() [0x55b919]
/home/lluis/install/bin/mono-sgen() [0x55bb5f]
/home/lluis/install/bin/mono-sgen(mono_string_new_size+0x4c) [0x56420c]
/home/lluis/install/bin/mono-sgen(mono_string_new_utf16+0x20) [0x5642c0]
/home/lluis/install/bin/mono-sgen(mono_string_new_len+0x41) [0x564a01]
/home/lluis/install/bin/mono-sgen() [0x58816d]
/home/lluis/install/bin/mono-sgen() [0x5886d1]
/home/lluis/install/bin/mono-sgen() [0x588b5b]
/home/lluis/install/bin/mono-sgen(mono_reflection_get_custom_attrs_by_type+0x42)
[0x588c82]
/home/lluis/install/bin/mono-sgen() [0x522c28]
[0x4159c880]
Debug info from gdb:
Missing separate debuginfo for /lib64/libm.so.6
Try: zypper install -C
"debuginfo(build-id)=f05646449077dfbf15d5f78251a3b25e0f955dd9"
Missing separate debuginfo for /lib64/librt.so.1
Try: zypper install -C
"debuginfo(build-id)=d56892aae99874e3a6f41a277011ce0d114acf96"
Missing separate debuginfo for /lib64/libdl.so.2
Try: zypper install -C
"debuginfo(build-id)=b32241719a8a0234bb425377e47155231deadf26"
Missing separate debuginfo for /lib64/libpthread.so.0
Try: zypper install -C
"debuginfo(build-id)=0bfcf306c464b3ab89bd3e485c4f813196fecca5"
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C
"debuginfo(build-id)=8626ba66937eea83fbe594766f27ecd27bc0ab0d"
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C
"debuginfo(build-id)=cb584e8640c40d7b4adb4c44eb44e2f30bb274dc"
Missing separate debuginfo for /usr/lib64/gconv/UTF-16.so
Try: zypper install -C
"debuginfo(build-id)=b6a351b5b1fda5ab4b78138a230d7fc36a392298"
Missing separate debuginfo for /usr/lib64/libglib-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=ebf30fadc0ef9074292cfbe0675af8b32c5e3076"
Missing separate debuginfo for /lib64/libpcre.so.0
Try: zypper install -C
"debuginfo(build-id)=6e3c2456900ef68f8411c931225c953de3156d22"
Missing separate debuginfo for /usr/lib64/libgobject-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=74332e86b0aa2949001168def5f24b6befac1fe5"
Missing separate debuginfo for /usr/lib64/libgthread-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=296ec105a0d9f07ff5070549c53f1617305195d2"
Missing separate debuginfo for /usr/lib64/libgtk-x11-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=8788a393254a392eb0436b7ffc86997983e325ff"
Missing separate debuginfo for /usr/lib64/libgdk-x11-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=f3f93d21cc221f2225220380535721e4c60ad9e4"
Missing separate debuginfo for /usr/lib64/libgdk_pixbuf-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=9c5755a44eedc9667a03d66fcd8a2ad9e53f5010"
Missing separate debuginfo for /usr/lib64/libpangocairo-1.0.so.0
Try: zypper install -C
"debuginfo(build-id)=8d50c952f8d9a44fc64f30aeb673ccdd0de64461"
Missing separate debuginfo for /usr/lib64/libX11.so.6
Try: zypper install -C
"debuginfo(build-id)=17e600f15c63aeac9328041c89be2de49b8d7f99"
Missing separate debuginfo for /usr/lib64/libXfixes.so.3
Try: zypper install -C
"debuginfo(build-id)=572b060ff226ba8667a7629b8693edecbf594381"
Missing separate debuginfo for /usr/lib64/libatk-1.0.so.0
Try: zypper install -C
"debuginfo(build-id)=58f6f3d32ecb5e1f9c743bbe415689059948e780"
Missing separate debuginfo for /usr/lib64/libcairo.so.2
Try: zypper install -C
"debuginfo(build-id)=06eb30f33804c748fb1dd44b06e19253f4e7fe72"
Missing separate debuginfo for /usr/lib64/libgio-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=0cde7664733068c95b7a82a0c0d71b3b5abc01c0"
Missing separate debuginfo for /usr/lib64/libpangoft2-1.0.so.0
Try: zypper install -C
"debuginfo(build-id)=83cee4e3b75f10af22c0301f1e01f357aca37c0e"
Missing separate debuginfo for /usr/lib64/libpango-1.0.so.0
Try: zypper install -C
"debuginfo(build-id)=14f8676f9366b9aedd128b4a5e272f90e8f763fb"
Missing separate debuginfo for /usr/lib64/libfontconfig.so.1
Try: zypper install -C
"debuginfo(build-id)=63709c37c1b7b8722ccec025e203856ed6cd57f8"
Missing separate debuginfo for /usr/lib64/libgmodule-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=23fc67b6bf77526fce6705215a6fcc36068bade4"
Missing separate debuginfo for /usr/lib64/libXext.so.6
Try: zypper install -C
"debuginfo(build-id)=79635f0a6f78c5049bfa5f25fb69a80fd6177015"
Missing separate debuginfo for /usr/lib64/libXrender.so.1
Try: zypper install -C
"debuginfo(build-id)=3b608bb48f593a38ebf82ccaaeac5f89299b1ced"
Missing separate debuginfo for /usr/lib64/libXinerama.so.1
Try: zypper install -C
"debuginfo(build-id)=f5986ff9ab11968d79d0d0e70c81003164e0c434"
Missing separate debuginfo for /usr/lib64/libXi.so.6
Try: zypper install -C
"debuginfo(build-id)=7a5f1d2d14981f30d697e9b52c1bbcdab9af4c89"
Missing separate debuginfo for /usr/lib64/libXrandr.so.2
Try: zypper install -C
"debuginfo(build-id)=055295be4d0e4c37a1c8353bc089037a48909f1b"
Missing separate debuginfo for /usr/lib64/libXcursor.so.1
Try: zypper install -C
"debuginfo(build-id)=ebc6c4e346480aa64cecd80f0fd9296fb8034665"
Missing separate debuginfo for /usr/lib64/libXcomposite.so.1
Try: zypper install -C
"debuginfo(build-id)=9f03a0971f9858b5382165073498dc8f26edd35d"
Missing separate debuginfo for /usr/lib64/libXdamage.so.1
Try: zypper install -C
"debuginfo(build-id)=190774f08de3c2b28cd7b677d8b4c0603e3c30c2"
Missing separate debuginfo for /usr/lib64/libfreetype.so.6
Try: zypper install -C
"debuginfo(build-id)=2a5caed5e0fb8c98103efab052784a9a578ef5b8"
Missing separate debuginfo for /usr/lib64/libxcb.so.1
Try: zypper install -C
"debuginfo(build-id)=bf8b04e9add0caf5f5167acfc3e4b5237e877647"
Missing separate debuginfo for /usr/lib64/libpixman-1.so.0
Try: zypper install -C
"debuginfo(build-id)=b18c54ea63f103db480602e7a0cee6401d93adce"
Missing separate debuginfo for /usr/lib64/libpng14.so.14
Try: zypper install -C
"debuginfo(build-id)=851eae6f02fa3d618ce73ede3a9046c28e76763d"
Missing separate debuginfo for /usr/lib64/libxcb-render-util.so.0
Try: zypper install -C
"debuginfo(build-id)=1df2daef9001dd2c1a7022403996e19ba44f32bf"
Missing separate debuginfo for /usr/lib64/libxcb-render.so.0
Try: zypper install -C
"debuginfo(build-id)=8cd22ead21130cde0d745f4658597e36613c134c"
Missing separate debuginfo for /lib64/libz.so.1
Try: zypper install -C
"debuginfo(build-id)=cb036401316b8a63b5e6cc3ac3c584f77d649b7b"
Missing separate debuginfo for /lib64/libresolv.so.2
Try: zypper install -C
"debuginfo(build-id)=18f304f3f439046d949e965da1ba7e5f46565429"
Missing separate debuginfo for /lib64/libselinux.so.1
Try: zypper install -C
"debuginfo(build-id)=bb1da8966b8532972e6d85d8c305cb675d0e3e75"
Missing separate debuginfo for /lib64/libexpat.so.1
Try: zypper install -C
"debuginfo(build-id)=56aae03d92de394fb1ddc83d2af56b3e0304af23"
Missing separate debuginfo for /usr/lib64/libXau.so.6
Try: zypper install -C
"debuginfo(build-id)=3bb7bb07bf750bc38ce319d70d2730b1ac2fe208"
Missing separate debuginfo for /usr/lib64/gtk-2.0/2.10.0/engines/libmurrineso
Try: zypper install -C
"debuginfo(build-id)=eab929dbc8285838803dc04f7b5ee9338ae8d748"
Missing separate debuginfo for
/usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
Try: zypper install -C
"debuginfo(build-id)=5c16adabbb644a5c7640b246b23512bb07cd210c"
Missing separate debuginfo for /usr/lib64/libcanberra-gtk.so.0
Try: zypper install -C
"debuginfo(build-id)=63ecfc68a0adc49d0e411cf19ec8f751e0778ed5"
Missing separate debuginfo for /usr/lib64/libcanberra.so.0
Try: zypper install -C
"debuginfo(build-id)=ff4e9c4df591c3c70b16fda5319189cc38a7fd30"
Missing separate debuginfo for /usr/lib64/libvorbisfile.so.3
Try: zypper install -C
"debuginfo(build-id)=c176983b9e474f2843fa63ea5f6ebad9d659d84f"
Missing separate debuginfo for /usr/lib64/libltdl.so.7
Try: zypper install -C
"debuginfo(build-id)=9cd39222fc18064325b5de28ab116b2939a874ef"
Missing separate debuginfo for /usr/lib64/libvorbis.so.0
Try: zypper install -C
"debuginfo(build-id)=9d84df8326a82e0e60db2eb8e7d081852edb81ac"
Missing separate debuginfo for /usr/lib64/libogg.so.0
Try: zypper install -C
"debuginfo(build-id)=6a46fd18dafd7d6d3bbd92eb4086b3039a1d6b55"
Missing separate debuginfo for /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
Try: zypper install -C
"debuginfo(build-id)=95f2a7a11ba389cc9526db553e0b782f529f7dbb"
Missing separate debuginfo for /usr/lib64/libelf.so.1
Try: zypper install -C
"debuginfo(build-id)=78ff01a2430b74c8de92981fe88e03196cc79bc3"
Missing separate debuginfo for
/usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
Try: zypper install -C
"debuginfo(build-id)=44eb3c254a6839ca81ddbca68c351926c6db9f3a"
Missing separate debuginfo for /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
Try: zypper install -C
"debuginfo(build-id)=a0d628c28ef71aa67876ba62f8be378ac71d63b3"
Missing separate debuginfo for /lib64/libgcc_s.so.1
Try: zypper install -C
"debuginfo(build-id)=92c1bf9d71eaca088ccc44ec457d0642096b13b4"
Mono support loaded.
[Thread debugging using libthread_db enabled]
[New Thread 0x7f20051df710 (LWP 8890)]
[New Thread 0x7f200c944710 (LWP 8889)]
0x00007f200e46038d in read () from /lib64/libpthread.so.0
3 Thread 0x7f200c944710 (LWP 8889) 0x00007f200e124d84 in sigsuspend ()
from /lib64/libc.so.6
2 Thread 0x7f20051df710 (LWP 8890) 0x00007f200e124d84 in sigsuspend ()
from /lib64/libc.so.6
* 1 Thread 0x7f200eec8780 (LWP 8886) 0x00007f200e46038d in read ()
from /lib64/libpthread.so.0
Thread 3 (Thread 0x7f200c944710 (LWP 8889)):
#0 0x00007f200e124d84 in sigsuspend () from /lib64/libc.so.6
#1 0x0000000000551b4b in suspend_handler (sig=<value optimized out>,
siginfo=<value optimized out>, context=0x7f200c943900) at sgen-gc.c:5140
#2 <signal handler called>
#3 0x00007f200e45f5fe in sem_wait () from /lib64/libpthread.so.0
#4 0x00000000005e4d68 in mono_sem_wait (sem=0x90aa60, alertable=1)
at mono-semaphore.c:113
#5 0x00000000005b3c35 in finalizer_thread (unused=<value optimized out>)
at gc.c:1066
#6 0x00000000005952f1 in start_wrapper_internal (data=0x9b4e80)
at threads.c:774
#7 start_wrapper (data=0x9b4e80) at threads.c:822
#8 0x00000000005cb134 in thread_start_routine (args=0x9970e0)
at wthreads.c:285
#9 0x00000000005546cd in gc_start_thread (arg=0x9b48f0) at sgen-gc.c:5930
#10 0x00007f200e458a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f200e1c282d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7f20051df710 (LWP 8890)):
#0 0x00007f200e124d84 in sigsuspend () from /lib64/libc.so.6
#1 0x0000000000551b4b in suspend_handler (sig=<value optimized out>,
siginfo=<value optimized out>, context=0x7f20051de340) at sgen-gc.c:5140
#2 <signal handler called>
#3 0x00007f200e45d39a in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
#4 0x00000000005d9713 in _wapi_handle_timedwait_signal_handle (handle=0x408,
timeout=0x0, alertable=1, poll=<value optimized out>) at handles.c:1636
#5 0x00000000005c8235 in WaitForSingleObjectEx (handle=0x408, timeout=
4294967295, alertable=1) at wait.c:203
#6 0x00000000005c8838 in WaitForMultipleObjectsEx (numobjects=1, handles=
0x7f2000004fd0, waitall=1, timeout=4294967295, alertable=1) at wait.c:579
#7 0x0000000000594e30 in
ves_icall_System_Threading_WaitHandle_WaitAll_internal
(mono_handles=0x7f200dc11000, ms=-1, exitContext=<value optimized out>)
at threads.c:1541
#8 0x0000000041f89510 in ?? ()
#9 0x0000000000bdbdf0 in ?? ()
#10 0x0000000000933470 in ?? ()
#11 0x00007f200dc0f9e8 in ?? ()
#12 0x0000000000000001 in ?? ()
#13 0x0000000000bd5460 in ?? ()
#14 0x00007f20051deb50 in ?? ()
#15 0x00007f20051dea90 in ?? ()
#16 0x0000000000933470 in ?? ()
#17 0x00007f200dc0f9e8 in ?? ()
#18 0x0000000000000001 in ?? ()
#19 0x00007f200dc11000 in ?? ()
#20 0x0000000041f8926c in ?? ()
#21 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7f200eec8780 (LWP 8886)):
#0 0x00007f200e46038d in read () from /lib64/libpthread.so.0
#1 0x0000000000492a2e in mono_handle_native_sigsegv (
signal=<value optimized out>, ctx=<value optimized out>)
at mini-exceptions.c:2207
#2 0x00000000004e86cf in mono_arch_handle_altstack_exception (sigctx=
0x7fff64751340, fault_addr=<value optimized out>, stack_ovf=0)
at exceptions-amd64.c:956
#3 0x000000000041a749 in mono_sigsegv_signal_handler (_dummy=7, info=
0x7fff64751470, context=0x7fff64751340) at mini.c:5868
#4 <signal handler called>
#5 conservatively_pin_objects_from (start=0x7fff64754000, end=0x7fff64756000,
start_nursery=0x7f200dc00000, end_nursery=0x7f200e000000,
pin_type=<value optimized out>) at sgen-gc.c:1989
#6 0x0000000000552826 in scan_thread_data (start_nursery=0x7f200dc00000,
end_nursery=0x7f200e000000, precise=0) at sgen-gc.c:5296
#7 0x00000000005528b2 in pin_from_roots (start_nursery=0x7f200dc00000,
end_nursery=0x7f200e000000) at sgen-gc.c:2072
#8 0x000000000055939e in collect_nursery (
requested_size=<value optimized out>) at sgen-gc.c:3029
#9 0x000000000055b4ca in minor_collect_or_expand_inner (size=4096)
at sgen-gc.c:3435
#10 0x000000000055b919 in mono_gc_alloc_obj_nolock (vtable=0x935120,
size=<value optimized out>) at sgen-gc.c:3777
#11 0x000000000055bb5f in mono_gc_alloc_string (vtable=0x935120, size=54, len=
14) at sgen-gc.c:3962
#12 0x000000000056420c in mono_string_new_size (domain=0x933470, len=14)
at object.c:4847
#13 0x00000000005642c0 in mono_string_new_utf16 (domain=<value optimized out>,
text=0xf1c270, len=14) at object.c:4813
#14 0x0000000000564a01 in mono_string_new_len (domain=0x933470,
text=<value optimized out>, length=<value optimized out>) at objectc:4876
#15 0x000000000058816d in load_cattr_value (image=0x9cc030,
t=<value optimized out>, p=0x7f200c49e550 "publicKeyToken\001", end=
0x7fff64751b68) at reflection.c:7827
#16 0x00000000005886d1 in create_custom_attr (image=0x9cc030, method=
"MonoDevelop.Core.Serialization.ItemPropertyAttribute:.ctor ()",
data=<value optimized out>, len=<value optimized out>,
error=<value optimized out>) at reflection.c:8140
#17 0x0000000000588b5b in mono_custom_attrs_construct_by_type (cinfo=0xf248a0,
attr_klass="System.Attribute", error=0x7fff64751c40) at reflection.c:8423
#18 0x0000000000588c82 in mono_reflection_get_custom_attrs_by_type (
obj=<value optimized out>, attr_klass="System.Attribute", error=
0x7fff64751c40) at reflection.c:8880
#19 0x0000000000522c28 in custom_attrs_get_by_type (obj=0x7f200dfe1c70,
attr_type=<value optimized out>) at icall.c:7517
#20 0x000000004159c880 in ?? ()
#21 0x0000000000931c40 in ?? ()
#22 0x0000000000000000 in ?? ()
=================================================================
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.
=================================================================
S'ha finalitzat l'aplicació degut a un senyal: SIGIOT
--
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