Bug 36513 - Attempt to start corrade, it was working now every time I get "The given key was not present in the dictionary."
Summary: Attempt to start corrade, it was working now every time I get "The given key...
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: GC ()
Version: 4.2.0 (C6)
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-12-03 03:11 UTC by Vince
Modified: 2016-02-21 19:29 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Vince 2015-12-03 03:11:41 UTC
# mono-service --debug Corrade.exe

Unhandled Exception:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
  at System.ThrowHelper.ThrowKeyNotFoundException () <0x416062d0 + 0x00017> in <filename unknown>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (System.Collections.Generic.TKey key) <0x4158d1e0 + 0x00056> in <filename unknown>:0 
  at Amib.Threading.Internal.SynchronizedDictionary`2[TKey,TValue].get_Item (Amib.Threading.Internal.TKey key) <0x416061d0 + 0x0004a> in <filename unknown>:0 
  at Amib.Threading.SmartThreadPool.ProcessQueuedItems () <0x416057c0 + 0x00097> in <filename unknown>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) <0x415e3790 + 0x00083> in <filename unknown>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) <0x415e2f30 + 0x0021a> in <filename unknown>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) <0x415e2c90 + 0x00028> in <filename unknown>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) <0x415e2bd0 + 0x00061> in <filename unknown>:0 
  at System.Threading.ThreadHelper.ThreadStart () <0x415e2a30 + 0x00034> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
  at System.ThrowHelper.ThrowKeyNotFoundException () <0x416062d0 + 0x00017> in <filename unknown>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (System.Collections.Generic.TKey key) <0x4158d1e0 + 0x00056> in <filename unknown>:0 
  at Amib.Threading.Internal.SynchronizedDictionary`2[TKey,TValue].get_Item (Amib.Threading.Internal.TKey key) <0x416061d0 + 0x0004a> in <filename unknown>:0 
  at Amib.Threading.SmartThreadPool.ProcessQueuedItems () <0x416057c0 + 0x00097> in <filename unknown>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) <0x415e3790 + 0x00083> in <filename unknown>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) <0x415e2f30 + 0x0021a> in <filename unknown>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) <0x415e2c90 + 0x00028> in <filename unknown>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) <0x415e2bd0 + 0x00061> in <filename unknown>:0 
  at System.Threading.ThreadHelper.ThreadStart () <0x415e2a30 + 0x00034> in <filename unknown>:0 
[root@la Corrade]# mono -V
Mono JIT compiler version 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Nov 12 04:43:41 EST 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug 
        LLVM:          supported, not enabled.
        GC:            sgen


Hmmm this is not on an amd device, but rather an intel 64 bit processor.
# uname -a
Linux  2.6.32-042stab104.1 #1 SMP Thu Jan 29 12:58:41 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release 
CentOS Linux release 7.1.1503 (Core) 



Corrade is V 9.40, which seems to run fine on Windoz.
Hope I have provided every thing you need.   Fuzzy on the component.

Steps to reproduce:  every time I try to start corrade it fails.  when I use the debug option I get the above output.
I creates a lock file. 

Actual Results: What the application did after performing the above steps.

    The application crashed.

Expected Results: What the application should have done, were the bug not present.
the corrade user should login to second life.  it was working before the recent update to 4.2.1

Application name:  Corrade.exe



----------
Vince
Comment 1 Alex Rønne Petersen 2015-12-22 09:42:14 UTC
Hi,

I don't know what application this is. Can you please include more info on where to get it?
Comment 2 Vince 2015-12-22 17:37:46 UTC
Here is a link to the latest version.
http://grimore.org/_media/secondlife/scripted_agents/corrade-9.44.zip

Just now tested this latest version,  seems to same problem,
-----------
Vince
Comment 3 Vince 2015-12-22 17:50:25 UTC
If mono starts working then its purpose is to long on to the virtual world Second Life.  Unzip creates a Corrade folder.
Within that folder,  run it as follows:
# mono-service --debug Corrade.exe

It will create a lock file  /tmp/Corrade.exe.lock
and fail.

Once mono is fixed, it should end immediately because:
1.  in the Corrade.ini ( an XML file ) there  is an entry:
  <TOSAccepted>false</TOSAccepted>


which should generate an error message in Corrade/logs/Corrade.log complaining
about accepting the TOS.  

2. Even changing that, will fail for you without a
login account setting on Second Life.

If it gets that far,  I suspect the mono issue is likely repaired.

Thanks for your attention, let me know if there is any thing more I can provide.
-----------
Vince
Comment 4 Vince 2015-12-22 18:08:13 UTC
Just tested it on win 10.  worked.
the Corrade/logs/Corrade.log 
should look something like this for you once mono is happy again:

Corrade : [23-11-2015 15:41:25] : reading Corrade configuration
Corrade : [23-11-2015 15:41:26] : read Corrade configuration
Corrade : [23-11-2015 15:41:26] : stopping TCP notifications server
Corrade : [23-11-2015 15:41:26] : stopping HTTP server
Corrade : [23-11-2015 15:41:26] : 
Corrade : [23-11-2015 15:41:26] :        _..--=--..._  
Corrade : [23-11-2015 15:41:26] :     .-'            '-.  .-.  
Corrade : [23-11-2015 15:41:26] :    /.'              '.\/  /  
Corrade : [23-11-2015 15:41:26] :   |=-     Corrade    -=| (  
Corrade : [23-11-2015 15:41:26] :    \'.              .'/\  \  
Corrade : [23-11-2015 15:41:26] :     '-.,_____ _____.-'  '-'  
Corrade : [23-11-2015 15:41:26] :           [_____]=8  
Corrade : [23-11-2015 15:41:26] :                \  
Corrade : [23-11-2015 15:41:26] :                  Good day!  
Corrade : [23-11-2015 15:41:26] : 
Corrade : [23-11-2015 15:41:26] : Version: 9.39.5802.41821, Compiled: Friday, November 20, 2015
Corrade : [23-11-2015 15:41:26] : Copyright: (c) Copyright 2013 Wizardry and Steamworks
Corrade : [23-11-2015 15:41:26] : the Terms of Service (TOS) for the grid you are connecting to have not been accepted, please check your configuration file
Comment 5 Vince 2015-12-28 20:00:55 UTC
Can I provide any help? Need any more documentation?
Comment 6 Vince 2016-01-07 13:38:17 UTC
Hmmm Can I change the status, after supplying the requested information?
Whose responsibility is it to change this status? I don't want to over step.
Comment 7 Vince 2016-02-21 19:29:12 UTC
Mono JIT compiler version 4.2.2 (Stable 4.2.2.30/996df3c Mon Feb 15 11:49:27 EST 2016)

has resolved my problems.