[Mono-dev] 2.10rc1 sgen crashes when running Radegast

Latif Khalifa latifer at radegastclient.org
Thu Jan 20 01:19:34 EST 2011

I often get asset failed in sgen-major-scan-object.h:81 when running
Second Life text client Radegast. An example:

Mono JIT compiler version 2.10 (tarball Thu Jan 20 06:31:56 CET 2011)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug
	LLVM:          supported, not enabled.
	GC:            sgen

[New Thread 0x461eb70 (LWP 28607)]
07:12:53 [ERROR]: - <Tester Anton>: Grid_OnCoarseLocationUpdate:
System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Windows.Forms.ListView+ListViewItemCollection.get_Item
(Int32 index) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ListView.GetItemAtDisplayIndex (Int32
display_index) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ListView.get_FocusedItem () [0x00000] in
<filename unknown>:0
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.ListView:get_FocusedItem ()
  at System.Windows.Forms.ListViewItem.get_Focused () [0x00000] in
<filename unknown>:0
  at System.Windows.Forms.ListView+ListViewItemCollection.RemoveAt
(Int32 index) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ListView+ListViewItemCollection.RemoveByKey
(System.String key) [0x00000] in <filename unknown>:0
  at Radegast.ChatConsole.Grid_CoarseLocationUpdate (System.Object
sender, OpenMetaverse.CoarseLocationUpdateEventArgs e) [0x00000] in
<filename unknown>:0
* Assertion: should not be reached at sgen-major-scan-object.h:81

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x461eb70 (LWP 28607)]
0x0012d422 in __kernel_vsyscall ()

(gdb) bt
#0  0x0012d422 in __kernel_vsyscall ()
#1  0x001a4651 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0x001a7a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0x0823fee6 in monoeg_g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
    format=0x825121c "* Assertion: should not be reached at %s:%d\n",
    args=0x461dc14 "c\376&\bQ") at goutput.c:134
#4  0x0823ff65 in monoeg_assertion_message (
    format=0x825121c "* Assertion: should not be reached at %s:%d\n")
    at goutput.c:154
#5  0x081d23fe in minor_scan_vtype (start=0xb5e8a5a0 "", desc=29556742,
    from_start=0xb7800000 "\202\016\062\b",
    from_end=0xb7c00000 <Address 0xb7c00000 out of bounds>, queue=0x6)
    at sgen-major-scan-object.h:81
#6  0x0816a38f in sgen_cardtable_scan_object (obj=0xb5e89ff0 "\240\004X\257",
    obj_size=2040, cards=0x461dd1b "", queue=0x8305814) at sgen-cardtable.c:345
#7  0x081d2b99 in major_scan_card_table (queue=0x8305814)
    at sgen-marksweep.c:1655
#8  0x0816f7bc in scan_from_card_tables (requested_size=<value optimized out>)
    at sgen-cardtable.c:237
#9  collect_nursery (requested_size=<value optimized out>) at sgen-gc.c:3003
#10 0x08170ee8 in minor_collect_or_expand_inner (size=4096) at sgen-gc.c:3381
#11 0x0817155b in mono_gc_alloc_obj_nolock (vtable=<value optimized out>,
    size=24) at sgen-gc.c:3723

More information about the Mono-devel-list mailing list