[Mono-list] sgen-case-23400.cs
s6nx
s6nx at yandex.ru
Wed Jul 8 19:46:45 UTC 2015
Hello.
Do you expect to error-free execution mono/tests/sgen-case-23400.cs when
setting
MONO_GC_DEBUG=check-nursery-pinned and MONO_GC_DEBUG=nursery-canaries ?
In my case I get an error:
D:\tmp>set MONO_GC_DEBUG=check-nursery-pinned
D:\tmp>mono-sgen sgen-case-23400.exe
* Assertion at ..\mono\metadata\sgen-debug.c:604, condition
`SGEN_OBJECT_IS_PINNED (obj)' not met
D:\tmp>set MONO_GC_DEBUG=nursery-canaries
D:\tmp>mono-sgen sgen-case-23400.exe
// An unhandled exception at 0x1018DF51 (monosgen-2.0.dll) in mono-sgen.exe:
0xC0000005: Access violation reading at 0x00000004.
// ((MonoObject*)obj)->vtable is NULL
// sgen-copy-object.h
static MONO_NEVER_INLINE void*
copy_object_no_checks (void *obj, SgenGrayQueue *queue)
{
MonoVTable *vt = ((MonoObject*)obj)->vtable;
gboolean has_references = SGEN_VTABLE_HAS_REFERENCES (vt);
...
}
D:\tmp>mono-sgen -V
Mono JIT compiler version 4.0.2 (Visual Studio built mono)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com
TLS: normal
SIGSEGV: normal
Notification: Thread + polling
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
--
View this message in context: http://mono.1490590.n4.nabble.com/sgen-case-23400-cs-tp4666303.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list