monodevelop won't start

Bug #63212 reported by Removed by request
6
Affects Status Importance Assigned to Milestone
monodevelop (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: monodevelop

Version: 0.12-0ubuntu2

$ monodevelop

** (./MonoDevelop.exe:9704): WARNING **: The following assembly referenced from /usr/lib/monodevelop/bin/MonoDevelop.Core.dll could not be loaded:
     Assembly: log4net (assemblyref_index=5)
     Version: 1.2.9.0
     Public Key: a5715cc6d5c3540b
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/lib/monodevelop/bin).

** (./MonoDevelop.exe:9704): WARNING **: Could not load file or assembly 'log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=a5715cc6d5c3540b' or one of its dependencies.

** (./MonoDevelop.exe:9704): WARNING **: Missing method Configure in assembly /usr/lib/monodevelop/bin/MonoDevelop.Core.dll, type log4net.Config.XmlConfigurator

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=a5715cc6d5c3540b' or one of its dependencies.
  at <0x00000> <unknown method>
  at MonoDevelop.Core.Runtime.get_LoggingService () [0x00000]
  at MonoDevelop.Core.ServiceManager.FetchService (System.Type serviceType) [0x00000]
  at MonoDevelop.Core.ServiceManager.GetService (System.Type serviceType) [0x00000]
  at MonoDevelop.Core.AddIns.Setup.SetupService..ctor () [0x00000]
  at MonoDevelop.Core.Runtime.get_SetupService () [0x00000]
  at MonoDevelop.Core.AddIns.AddInService.Initialize () [0x00000]

Revision history for this message
bretticus (bretticus) wrote :

I just experienced the same issue:

** (./MonoDevelop.exe:14831): WARNING **: The following assembly referenced from /usr/lib/monodevelop/bin/MonoDevelop.Core.dll could not be loaded:
     Assembly: log4net (assemblyref_index=5)
     Version: 1.2.9.0
     Public Key: a5715cc6d5c3540b
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/lib/monodevelop/bin).

** (./MonoDevelop.exe:14831): WARNING **: Could not load file or assembly 'log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=a5715cc6d5c3540b' or one of its dependencies.

** (./MonoDevelop.exe:14831): WARNING **: Missing method Configure in assembly /usr/lib/monodevelop/bin/MonoDevelop.Core.dll, type log4net.Config.XmlConfigurator

Unhandled Exception: System.ArgumentException: Invalid sequence in conversion input

-----------------------------------------------------------------------------

Linux version 2.6.17-10-386 (root@palmer) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu4))

Revision history for this message
tjvm (tvanmeir) wrote :

I had the same issue today, after upgrading to Edgy Eft.

I reinstalled the log4net package with Synaptic, and that appears to have fixed the problem.

Revision history for this message
bretticus (bretticus) wrote :

Thanks tjvm,

That fixed me up too. I did have it installed and just marked it for reinstall as you indicated. Works well now.

Revision history for this message
Removed by request (removed637280) wrote :
Download full text (3.3 KiB)

I did reinstall and now I get:

krzak@ptakubu:~$ monodevelop
no implementation for interface method MonoDevelop.Ide.Codons.IDisplayBinding::get_DisplayName() in class MonoDevelop.XmlEditor.XmlDisplayBinding
METHOD .ctor()
METHOD CanCreateContentForMimeType(string)
METHOD CreateContentForMimeType(string,System.IO.Stream)
METHOD CanCreateContentForFile(string)
METHOD CreateContentForFile(string)

** ERROR **: file class.c: line 2049 (mono_class_setup_vtable_general): should not be reached
aborting...

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:

  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0x00004>
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0xffffffff>
  at System.Reflection.Assembly.GetTypes () <0x0000c>
  at MonoDevelop.Core.AddIns.DefaultAddInTree.LoadCodonsAndConditions (System.Reflection.Assembly) <0x00023>
  at MonoDevelop.Core.AddIns.DefaultAddInTree.LoadAssembly (string) <0x0008d>
  at MonoDevelop.Core.AddIns.AddIn.AddRuntimeLibraries (string,System.Xml.XmlElement) <0x00151>
  at MonoDevelop.Core.AddIns.AddIn.ReadXmlContents (string,System.Xml.XmlElement) <0x000ce>
  at MonoDevelop.Core.AddIns.AddIn.Initialize (string) <0x0022a>
  at MonoDevelop.Core.AddIns.AddInTreeSingleton.InsertAddIn (string) <0x00057>
  at MonoDevelop.Core.AddIns.AddInService.PreloadAddin (MonoDevelop.Core.IProgressMonitor,string) <0x0029e>
  at MonoDevelop.Core.AddIns.AddInService.PreloadAddins (MonoDevelop.Core.IProgressMonitor,string[]) <0x00329>
  at MonoDevelop.Ide.Gui.IdeStartup.Run (string[]) <0x00a8d>
  at MonoDevelop.Core.AddIns.AddInService.StartApplication (string,string[]) <0x0017c>
  at MonoDevelop.Startup.SharpDevelopMain.Main (string[]) <0x00039>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /usr/bin/mono(mono_handle_native_sigsegv+0xde) [0x81566de]
        [0xffffe440]
        /lib/tls/i686/cmov/libc.so.6(abort+0x103) [0xb7d67ef3]
        /usr/lib/libglib-2.0.so.0(g_logv+0x4c2) [0xb7efe122]
        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7efe159]
        /usr/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0xb7efe1d6]
        /usr/bin/mono [0x80f1e32]
        /usr/bin/mono [0x80f24fa]
        /usr/bin/mono(mono_class_init+0x62d) [0x80f2b6d]
        /usr/bin/mono(mono_type_get_object+0x96) [0x815fbd6]
        /usr/bin/mono [0x80a10fc]
        /usr/bin/mono [0x80a2cc0]
        [0xb6f85ce3]
        [0xb6f85c9d]
        [0xb6f85adc]
        [0xb6f6bdd6]
        [0xb6f6bb92]
        [0xb6f6b8c7]
        [0xb6f6b21b]
        [0xb6f6ac28]
        [0xb6f8bcd7]
        [0xb5b4f99a]
        [0xb6a3516e]
        [0xb705f6ad]
        [0xb7475b42]
        [0xb7475a84]
        /usr/bin/mono(mono_runtime_exec_main+0x9f) [0x809972f]
        /usr/bin/mono(mono_runtime_run_main+0x1b9) [0x80999d9]
        /usr/bin/mono(mono_main+0xe47) [0x805d4b7]
     ...

Read more...

Changed in monodevelop:
status: Unconfirmed → Confirmed
Revision history for this message
Vince (v-brz) wrote :
Revision history for this message
Matthew Caron (matt-mattcaron) wrote :

Had some problem after edgy upgrade, uninstall/reinstall of log4net fixed it for me too.

Revision history for this message
Removed by request (removed637280) wrote :

I give it one more try, and trick with reinstall log4net don't work:

krzak@ptakubu:~$ LANG=C sudo apt-get install monodevelop
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  liblog4net1.2-cil
Suggested packages:
  monodevelop-boo monodevelop-java monodevelop-nunit
  monodevelop-versioncontrol monodevelop-query nemerle
The following NEW packages will be installed:
  liblog4net1.2-cil monodevelop
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1872kB of archives.
After unpacking 5841kB of additional disk space will be used.
Do you want to continue [Y/n]?
Selecting previously deselected package liblog4net1.2-cil.
(Reading database ... 144964 files and directories currently installed.)
Unpacking liblog4net1.2-cil (from .../liblog4net1.2-cil_1.2.9beta-0ubuntu2_all.deb) ...
Selecting previously deselected package monodevelop.
Unpacking monodevelop (from .../monodevelop_0.12-0ubuntu2_all.deb) ...
Setting up liblog4net1.2-cil (1.2.9beta-0ubuntu2) ...
* Installing 1 assembly from liblog4net1.2-cil into Mono

Setting up monodevelop (0.12-0ubuntu2) ...
***
* Updating MIME database in /usr/share/mime...
Wrote 514 strings at 20 - 2aa0
Wrote aliases at 2aa0 - 2c54
Wrote parents at 2c54 - 3648
Wrote literal globs at 3648 - 36bc
Wrote suffix globs at 36bc - 6f74
Wrote full globs at 6f74 - 6f98
Wrote magic at 6f98 - c740
Wrote namespace list at c740 - c750
***

krzak@ptakubu:~$ LANG=C monodevelop
2006-11-16 01:10:06,527 [-1211459904] ERROR MonoDevelop.Core.ILoggingService [(null)] - Add-in failed to load: MonoQuery
2006-11-16 01:10:06,553 [-1211459904] ERROR MonoDevelop.Core.ILoggingService [(null)] - MonoDevelop.Core.AddIns.MissingDependencyException: Required add-in not found: MonoDevelop.Core v0.10.0
  at MonoDevelop.Core.AddIns.AddIn.CheckDependencies (System.Xml.XmlElement deps, Boolean rootDependencies) [0x00000]
  at MonoDevelop.Core.AddIns.AddIn.Initialize (System.String fileName) [0x00000]
  at MonoDevelop.Core.AddIns.AddInTreeSingleton.InsertAddIn (System.String addInFile) [0x00000]
no implementation for interface method MonoDevelop.Ide.Codons.IDisplayBinding::get_DisplayName() in class MonoDevelop.XmlEditor.XmlDisplayBinding
METHOD .ctor()
METHOD CanCreateContentForMimeType(string)
METHOD CreateContentForMimeType(string,System.IO.Stream)
METHOD CanCreateContentForFile(string)
METHOD CreateContentForFile(string)

** ERROR **: file class.c: line 2049 (mono_class_setup_vtable_general): should not be reached
aborting...

Revision history for this message
Matthew Caron (matt-mattcaron) wrote :

Marcin - that might be because the error is not related to log4net, since I see nothing about log4net in the output. I'd say that it can't seem to find the MonoQuery add-in.

Revision history for this message
Removed by request (removed637280) wrote :

Should I install something by myself to have it ? my ~/.config/monodevelop is empty

Revision history for this message
Matthew Caron (matt-mattcaron) wrote :

I'd try installing monodevelop-query. It's listed in the suggested packages, and that appears to be what it's complaining about.

Revision history for this message
Removed by request (removed637280) wrote :
Download full text (3.3 KiB)

It wont help after install monodevelop-query. I have no clue whay is it so.

$ monodevelop
no implementation for interface method MonoDevelop.Ide.Codons.IDisplayBinding::get_DisplayName() in class MonoDevelop.XmlEditor.XmlDisplayBinding
METHOD .ctor()
METHOD CanCreateContentForMimeType(string)
METHOD CreateContentForMimeType(string,System.IO.Stream)
METHOD CanCreateContentForFile(string)
METHOD CreateContentForFile(string)

** ERROR **: file class.c: line 2049 (mono_class_setup_vtable_general): should not be reached
aborting...

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:

  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0x00004>
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0xffffffff>
  at System.Reflection.Assembly.GetTypes () <0x0000c>
  at MonoDevelop.Core.AddIns.DefaultAddInTree.LoadCodonsAndConditions (System.Reflection.Assembly) <0x00023>
  at MonoDevelop.Core.AddIns.DefaultAddInTree.LoadAssembly (string) <0x0008d>
  at MonoDevelop.Core.AddIns.AddIn.AddRuntimeLibraries (string,System.Xml.XmlElement) <0x00151>
  at MonoDevelop.Core.AddIns.AddIn.ReadXmlContents (string,System.Xml.XmlElement) <0x000ce>
  at MonoDevelop.Core.AddIns.AddIn.Initialize (string) <0x0022a>
  at MonoDevelop.Core.AddIns.AddInTreeSingleton.InsertAddIn (string) <0x00057>
  at MonoDevelop.Core.AddIns.AddInService.PreloadAddin (MonoDevelop.Core.IProgressMonitor,string) <0x0029e>
  at MonoDevelop.Core.AddIns.AddInService.PreloadAddins (MonoDevelop.Core.IProgressMonitor,string[]) <0x00329>
  at MonoDevelop.Ide.Gui.IdeStartup.Run (string[]) <0x00a8d>
  at MonoDevelop.Core.AddIns.AddInService.StartApplication (string,string[]) <0x0017c>
  at MonoDevelop.Startup.SharpDevelopMain.Main (string[]) <0x00039>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /usr/bin/mono(mono_handle_native_sigsegv+0xde) [0x815644e]
        [0xffffe440]
        /lib/tls/i686/cmov/libc.so.6(abort+0x103) [0xb7d1eef3]
        /usr/lib/libglib-2.0.so.0(g_logv+0x4c2) [0xb7eb5122]
        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7eb5159]
        /usr/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0xb7eb51d6]
        /usr/bin/mono [0x80f1ba2]
        /usr/bin/mono [0x80f226a]
        /usr/bin/mono(mono_class_init+0x62d) [0x80f28dd]
        /usr/bin/mono(mono_type_get_object+0x96) [0x815f946]
        /usr/bin/mono [0x80a10bc]
        /usr/bin/mono [0x80a2c80]
        [0xb6f1d81b]
        [0xb6f1d7d5]
        [0xb6f1d614]
        [0xb6f03dd6]
        [0xb6f03b92]
        [0xb6f038c7]
        [0xb6f0321b]
        [0xb6f02c28]
        [0xb6f23a7f]
        [0xb5ae57e2]
        [0xb69ccfce]
        [0xb6ff754d]
        [0xb740db42]
        [0xb740da84]
        /usr/bin/mono(mono_runtime_exec_main+0x9f) [0x80996ef]
        /usr/bin/mono(mono_runtime_run_main+0x1b9) [0x8099999]
        /usr/bin/mono(mono...

Read more...

Revision history for this message
Matthew Caron (matt-mattcaron) wrote :

Note that the monodevelop-query error has gone away - it appears that this is something else.

I wonder if a complete removal and reinstall of monodevelop might help?

Revision history for this message
Removed by request (removed637280) wrote :

I did complete removal monodevelop before, few times and after installation still have the same issue.

Revision history for this message
Matthew Caron (matt-mattcaron) wrote :

Unfortunately then, I don't have any more useful ideas.

Sorry, Marcin.

Revision history for this message
Removed by request (removed637280) wrote :

It's working now, I don't know, I did reinstall whole mono, uninstall some old packages, remove .config directory and now it starts ok.

Changed in monodevelop:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.