Skip to content

[Mono][Android] Unhandled Exception: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') #54913

@fanyang-mono

Description

@fanyang-mono

Failed test:

  • GC/LargeMemory/API/gc/gettotalmemory/gettotalmemory.sh

Full log

      06-21 22:24:56.833 19237 19255 I DOTNET  : MonoRunner initialize,, entryPointLibName=gettotalmemory.dll
      06-21 22:24:56.833 19237 19255 D DOTNET  : file_path: /data/user/0/net.dot.GC_LargeMemory/files/runtimeconfig.bin
      06-21 22:24:56.835 19237 19255 D DOTNET  : assembly_preload_hook: System.Private.CoreLib (null) /data/user/0/net.dot.GC_LargeMemory/files
      06-21 22:24:56.854 19237 19255 D DOTNET  : assembly_preload_hook: gettotalmemory.dll (null) /data/user/0/net.dot.GC_LargeMemory/files
      06-21 22:24:56.854 19237 19255 D DOTNET  : Executable: gettotalmemory.dll
      06-21 22:24:56.854 19237 19255 D DOTNET  : assembly_preload_hook: System.Runtime  /data/user/0/net.dot.GC_LargeMemory/files
      06-21 22:24:56.854 19237 19255 D DOTNET  : assembly_preload_hook: memcheck  /data/user/0/net.dot.GC_LargeMemory/files
      06-21 22:24:56.854 19237 19255 D DOTNET  : assembly_preload_hook: System.Console  /data/user/0/net.dot.GC_LargeMemory/files
      06-21 22:24:56.914 19237 19255 E mono    : 
      06-21 22:24:56.914 19237 19255 E mono    : Unhandled Exception:
      06-21 22:24:56.914 19237 19255 E mono    : System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
      06-21 22:24:56.914 19237 19255 E mono    :    at System.Array.InternalArray__IReadOnlyList_get_Item[String](Int32 index) in System.Private.CoreLib.dll:token 0x600011c+0x9
      06-21 22:24:56.914 19237 19255 E mono    :    at MemCheck.ParseSizeMBArgument(IReadOnlyList`1 args) in memcheck.dll:token 0x6000007+0x33
      06-21 22:24:56.914 19237 19255 E mono    :    at MemCheck.ParseSizeMBAndLimitByAvailableMem(IReadOnlyList`1 args) in memcheck.dll:token 0x6000006+0x0
      06-21 22:24:56.914 19237 19255 E mono    :    at GetTotalMemoryTest.Main(String[] args) in gettotalmemory.dll:token 0x6000003+0x0
      06-21 22:24:56.914 19237 19255 E DOTNET  : UnhandledException: System.ArgumentOutOfRangeException Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')    at System.Array.InternalArray__IReadOnlyList_get_Item[String](Int32 index) in System.Private.CoreLib.dll:token 0x600011c+0x9
      06-21 22:24:56.914 19237 19255 E DOTNET  :    at MemCheck.ParseSizeMBArgument(IReadOnlyList`1 args) in memcheck.dll:token 0x6000007+0x33
      06-21 22:24:56.914 19237 19255 E DOTNET  :    at MemCheck.ParseSizeMBAndLimitByAvailableMem(IReadOnlyList`1 args) in memcheck.dll:token 0x6000006+0x0
      06-21 22:24:56.914 19237 19255 E DOTNET  :    at GetTotalMemoryTest.Main(String[] args) in gettotalmemory.dll:token 0x6000003+0x0
      06-21 22:24:56.970  1792 15506 I ActivityManager: Process net.dot.GC_LargeMemory (pid 19237) has died: fore FGS 
      06-21 22:24:56.971  1792 15506 W ActivityManager: Crash of app net.dot.GC_LargeMemory running instrumentation ComponentInfo{net.dot.GC_LargeMemory/net.dot.MonoRunner}
      06-21 22:24:56.971  1792 15506 I ActivityManager: Force stopping net.dot.GC_LargeMemory appid=10144 user=0: finished inst
      06-21 22:24:56.972  1792 18653 W Binder  : Outgoing transactions from this process must be FLAG_ONEWAY
      06-21 22:24:56.972  1792 18653 W Binder  : java.lang.Throwable
      06-21 22:24:56.972  1792 18653 W Binder  : 	at android.os.BinderProxy.transact(BinderProxy.java:480)
      06-21 22:24:56.972  1792 18653 W Binder  : 	at android.app.IInstrumentationWatcher$Stub$Proxy.instrumentationFinished(IInstrumentationWatcher.java:205)
      06-21 22:24:56.972  1792 18653 W Binder  : 	at com.android.server.am.InstrumentationReporter$MyThread.run(InstrumentationReporter.java:86)
      06-21 22:24:56.974 19227 19227 D AndroidRuntime: Shutting down VM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions