[MonoDevelop] ToggleMark crash (missing libglib-2.0-0.dll dllmap)

Rudi rudi.pettazzi at gmail.com
Mon Sep 3 18:10:55 EDT 2007


Hello to all,

I was using monodevelop from svn on a fresh opensuse 10.2 install
(mono 1.2.4, everything mono/gtk related coming from yast) and I had
crashes due to a missing mapping for libglib-2.0-0.dll into the
sourceeditor module. Precisely

1) Trying to "clear bookmarks" or "toggle bookmark" using the
corresponding right-click menu commands triggered the error message

[...] System.DllNotFoundException: libglib-2.0-0.dll  at (wrapper
managed-to-native)
MonoDevelop.SourceEditor.Gui.SourceEditorBuffer:g_slist_free (intptr)
[...]

2) Clicking on an existing bookmark stopped monodevelop abruptly (segfault)

The problem seemed to be SourceEditorBuffer looking for that library,
so I added a proper dllmap to /etc/mono/config and I solved the
problem.

What I was wondering is if this is the right solution.
Do I have a misconfiguration and monodevelop expected that library to
be already mapped into /etc/mono/config ? Or that mapping should be
set explicitly for "MonoDevelop.SourceEditor.dll" as it is for
"MonoDevelop.Projects.dll" ?
By the way, I attach a patch to the automake/autoconf files for the
latter case
(builds a MonoDevelop.SourceEditor.dll.config into
$PREFIX/lib/monodevelop/AddIns)




-- 
rd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: source-editor-dllmap.path.gz
Type: application/x-gzip
Size: 678 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070904/2a159666/attachment.gz 


More information about the Monodevelop-list mailing list