Monodoc docbrowser crashes and outputs a stack trace to the terminal.
A functioning documentation browser.
This is because there is effectively no HTML engine packaged by modern distros for GTK2. I have a WIP PR to port Monodoc to GTK3 so it can use WebKit 2 in mono/mono-tools#50.
[ ] macOS
[X] Linux
[ ] Windows
Version Used:
$ monodoc --about
Mono Documentation Browser
4.2.0.0
$ mono --version
Mono JIT compiler version 5.12.0.226 (tarball Thu May 3 09:42:09 UTC 2018)
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
Interpreter: yes
LLVM: supported, not enabled.
GC: sgen (concurrent by default)
$ monodoc
Gtk-Message: 13:32:13.210: Failed to load module "canberra-gtk-module"
libgluezilla not found. To have webbrowser support, you need libgluezilla installed
libgluezilla not found. To have webbrowser support, you need libgluezilla installed
Unhandled Exception:
System.Exception: Couldn't find html renderer!
at Monodoc.Tab..ctor (Monodoc.Browser br) [0x000b8] in <b4da4098e0624d6597039c51bfefde8c>:0
at Monodoc.Browser.AddTab () [0x00001] in <b4da4098e0624d6597039c51bfefde8c>:0
at Monodoc.Browser..ctor (System.String basedir, System.Collections.Generic.IEnumerable`1[T] sources, System.String engine) [0x001fa] in <b4da4098e0624d6597039c51bfefde8c>:0
at Monodoc.Driver.Main (System.String[] args) [0x0029f] in <b4da4098e0624d6597039c51bfefde8c>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: Couldn't find html renderer!
at Monodoc.Tab..ctor (Monodoc.Browser br) [0x000b8] in <b4da4098e0624d6597039c51bfefde8c>:0
at Monodoc.Browser.AddTab () [0x00001] in <b4da4098e0624d6597039c51bfefde8c>:0
at Monodoc.Browser..ctor (System.String basedir, System.Collections.Generic.IEnumerable`1[T] sources, System.String engine) [0x001fa] in <b4da4098e0624d6597039c51bfefde8c>:0
at Monodoc.Driver.Main (System.String[] args) [0x0029f] in <b4da4098e0624d6597039c51bfefde8c>:0
@directhex does this look familiar?
Pretty much expected. There are no HTML renderers for Gtk+2 in any recent distributions
Am a bit surprised it looks for gluezilla though - though it would look for webkit-sharp (still outdated, I know..) at least. Gluezilla is very old...
see: mono/mono-tools#50
Most helpful comment
see: mono/mono-tools#50