[MonoDevelop] monodevelop fails to start

Nicholas Frechette zeno490 at gmail.com
Sat Aug 11 16:51:20 UTC 2012

After realizing that the gtk sharp master branch was for gtk3+ and not
gtk2 which monodevelop uses, I had to manually apply the patch here
to the lastest stable gtksharp 2.12.11 to get monodevelop to work. (I
just hacked Thread.cs locally)

This means that with the latest stable mono/gtk#/monodevelop all built
from sources in ubuntu 12.04 default install will not work for any
gtk2# applications.

On Sat, Aug 11, 2012 at 11:15 AM, Nicholas Frechette <zeno490 at gmail.com> wrote:
> Running it in gdb does not yield any information.
> [mono-2.10] /opt/mono-2.10/lib/monodevelop/bin @ gdb --args mono
> --debug MonoDevelop.exe
> GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-linux-gnu".
> For bug reporting instructions, please see:
> <http://bugs.launchpad.net/gdb-linaro/>...
> Reading symbols from /opt/mono-2.10/bin/mono...done.
> Mono support loaded.
> (gdb) handle SIGXCPU SIG33 SIG35 SIGPWR nostop noprint
> Signal        Stop      Print   Pass to program Description
> SIGXCPU       No        No      Yes             CPU time limit exceeded
> SIGPWR        No        No      Yes             Power fail/restart
> SIG33         No        No      Yes             Real-time event 33
> SIG35         No        No      Yes             Real-time event 35
> (gdb) b mono_handle_exception_internal
> Breakpoint 1 at 0x80e1b10: file mini-exceptions.c, line 1351.
> (gdb) run
> Starting program: /opt/mono-2.10/bin/mono --debug MonoDevelop.exe
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
> [New Thread 0xb7bc9b40 (LWP 26189)]
> [New Thread 0xb6f4eb40 (LWP 26190)]
> [Thread 0xb6f4eb40 (LWP 26190) exited]
> [Thread 0xb7bc9b40 (LWP 26189) exited]
> [Inferior 1 (process 26186) exited with code 0177]
> (gdb)
> On Sat, Aug 11, 2012 at 10:16 AM, Nicholas Frechette <zeno490 at gmail.com> wrote:
>> I have tried compiling gtk# from git/master and recompiled everything
>> dependent on it from scratch, including monodevelop without luck.
>> Nothing appears in the console at all making this very hard to debug.
>> Is there a log somewhere or some other way to debug this?
>> On Mon, Aug 6, 2012 at 10:24 AM, Nicholas Frechette <zeno490 at gmail.com> wrote:
>>> Actually, only non-GTK# applications seem to start properly.
>>> While I do not have anything in the output for monodevelop, other
>>> applications complain about g_thread_support or something similar
>>> missing. I did see a commit for this in gtk# and was wondering if this
>>> could be the cause?
>>> I'm using the default libgtk2-dev branch from the ubuntu 12.04 repos.
>>> On Sun, Aug 5, 2012 at 1:36 PM, Nicholas Frechette <zeno490 at gmail.com> wrote:
>>>> Hi,
>>>> I just upgraded to ubuntu 12.04 and re-installed my mono/monodevelop
>>>> from sources as I always do.
>>>> mono 2.10.8
>>>> monodevelop (and had the same issue)
>>>> Launching monodevelop does nothing. It returns right away and nothing
>>>> is printed to the console output.
>>>> I can launch other C# applications fine as far as I can tell.
>>>> Any ideas how I can debug/fix this?
>>>> I installed:
>>>> gnome-desktop-sharp 2.24.0
>>>> gnome-sharp 2.24.1
>>>> gtk-sharp 2.12.11
>>>> mono-addins 0.6.2
>>>> mono-debugger 2.10
>>>> monodevelop-debugger

More information about the Monodevelop-list mailing list