Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#52939 - [monodevelop] monodevelop crashes

Attached to Project: Arch Linux
Opened by Eric Wang (enihcam) - Monday, 13 February 2017, 00:58 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 25 October 2017, 16:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 12
Private No

Details

Description:

----
2月 13 08:48:37 archmate kernel: traps: monodevelop[481] trap int3 ip:3aef64fff1 sp:7fff27c03540 error:0
2月 13 08:48:38 archmate systemd-coredump[493]: Process 481 (monodevelop) of user 1000 dumped core.

Stack trace of thread 481:
#0 0x0000003aef64fff1 n/a (libglib-2.0.so.0)
#1 0x0000003aef651047 g_log_default_handler (libglib-2.0.so.0)
#2 0x0000003aef651354 g_logv (libglib-2.0.so.0)
#3 0x0000003aef65155f g_log (libglib-2.0.so.0)
#4 0x0000003af0b07ed2 n/a (libgio-2.0.so.0)
#5 0x0000003af0615583 n/a (libgobject-2.0.so.0)
#6 0x0000003af061710e g_object_new_valist (libgobject-2.0.so.0)
#7 0x0000003af06173b1 g_object_new (libgobject-2.0.so.0)
#8 0x00000000407d2b00 n/a (n/a)
----

Additional info:
* package version(s)
* config and/or log files etc.

nanw@archmate ~ $ pacman -Qi monodevelop
名字 : monodevelop
版本 : 6.2.0.1778-1
描述 : An IDE primarily designed for C# and other .NET languages
架构 : x86_64
URL : http://www.monodevelop.com
软件许可 : GPL
组 : 无
提供 : monodevelop-debugger-gdb
依赖于 : mono>=4.0.1 mono-addins>=0.6.2 gtk-sharp-2 referenceassemblies-pcl fsharp libssh2 curl
可选依赖 : xsp: To run ASP.NET pages directly from monodevelop[已安装]
要求被 : 无
被可选依赖 : 无
冲突与 : 无
取代 : monodevelop-debugger-gdb
安装后大小 : 108.38 MiB
打包者 : Jan de Groot <jgc@archlinux.org>
编译日期 : 2017年01月26日 星期四 06时10分53秒
安装日期 : 2017年02月13日 星期一 07时13分55秒
安装原因 : 单独指定安装
安装脚本 : 否
验证者 : SHA-256 校验值


Steps to reproduce:
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 25 October 2017, 16:32 GMT
Reason for closing:  Won't fix
Additional comments about closing:  monodevelop has been dropped
Comment by Antonio Corbi bellot (acorbi) - Sunday, 26 March 2017, 12:07 GMT
I still experiment monodevelop (version 6.2.0.1778-2) crashes (irrecuperable error) when opening a project but not when opening a file.
Comment by Behrooz Amoozad (FastCode) - Tuesday, 25 April 2017, 05:15 GMT
Still the same with 6.2.0.1778-2
Disable version-control globally in the settings fixes the issue.

INFO [2017-04-25 09:42:32Z]: Add-in loaded: MonoDevelop.Debugger.Gdb
INFO [2017-04-25 09:42:32Z]: Add-in loaded: MonoDevelop.Debugger.Soft
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.DllNotFoundException: git2-e8b8948
at (wrapper managed-to-native) LibGit2Sharp.Core.NativeMethods:git_libgit2_init ()
at LibGit2Sharp.Core.NativeMethods+LibraryLifetimeObject..ctor () [0x00007] in /build/monodevelop/src/monodevelop/main/external/libgit2sharp/LibGit2Sharp/Core/NativeMethods.cs:32
at LibGit2Sharp.Core.NativeMethods..cctor () [0x0005c] in /build/monodevelop/src/monodevelop/main/external/libgit2sharp/LibGit2Sharp/Core/NativeMethods.cs:78
--- End of inner exception stack trace ---
at LibGit2Sharp.Core.Proxy.git_buf_free (LibGit2Sharp.Core.Handles.GitBuf buf) [0x00002] in /build/monodevelop/src/monodevelop/main/external/libgit2sharp/LibGit2Sharp/Core/Proxy.cs:280
at LibGit2Sharp.Core.Handles.GitBuf.Dispose () [0x00002] in /build/monodevelop/src/monodevelop/main/external/libgit2sharp/LibGit2Sharp/Core/GitBuf.cs:15
at LibGit2Sharp.Core.Proxy.ConvertPath (System.Func`2[T,TResult] pathRetriever) [0x0003e] in /build/monodevelop/src/monodevelop/main/external/libgit2sharp/LibGit2Sharp/Core/Proxy.cs:3358
at LibGit2Sharp.Core.Proxy.git_repository_discover (LibGit2Sharp.Core.FilePath start_path) [0x0001a] in /build/monodevelop/src/monodevelop/main/external/libgit2sharp/LibGit2Sharp/Core/Proxy.cs:2294
at LibGit2Sharp.Repository.Discover (System.String startingPath) [0x00007] in /build/monodevelop/src/monodevelop/main/external/libgit2sharp/LibGit2Sharp/Repository.cs:610
at MonoDevelop.VersionControl.Git.GitVersionControl.OnGetRepositoryPath (MonoDevelop.Core.FilePath path, System.String id) [0x0000d] in /build/monodevelop/src/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs:69
at MonoDevelop.VersionControl.VersionControlSystem.GetRepositoryPath (MonoDevelop.Core.FilePath path, System.String id) [0x00004] in /build/monodevelop/src/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlSystem.cs:104
at MonoDevelop.VersionControl.VersionControlService.GetRepositoryReference (System.String path, System.String id) [0x0002a] in /build/monodevelop/src/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs:234
at MonoDevelop.VersionControl.VersionControlService.GetRepository (MonoDevelop.Projects.WorkspaceObject entry) [0x00060] in /build/monodevelop/src/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs:214
at MonoDevelop.VersionControl.VersionControlNodeExtension.BuildNode (MonoDevelop.Ide.Gui.Components.ITreeBuilder builder, System.Object dataObject, MonoDevelop.Ide.Gui.Components.NodeInfo nodeInfo) [0x00089] in /build/monodevelop/src/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlNodeExtension.cs:67
at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView+TreeBuilder.GetNodeInfo (MonoDevelop.Ide.Gui.Components.NodeInfo nodeInfo, MonoDevelop.Ide.Gui.Components.ExtensibleTreeView tree, MonoDevelop.Ide.Gui.Components.ITreeBuilder tb, MonoDevelop.Ide.Gui.Components.NodeBuilder[] chain, System.Object dataObject) [0x0001d] in /build/monodevelop/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/TreeBuilder.cs:304



I havn't tried, but a symlink or someone willing to s/e8b8948/0/g could probably fix this too.
Comment by Alexandre Bique (babali) - Wednesday, 14 June 2017, 14:57 GMT
This things crash all the time.
Completely unusable!
Comment by NotFood (notfood) - Monday, 03 July 2017, 16:12 GMT
-dup-
Comment by NotFood (notfood) - Monday, 03 July 2017, 16:17 GMT
It wants a very specific version of libgit2 e8b8948

[pid 3642] 11:08:58 open("/usr/lib/monodevelop/AddIns/VersionControl/libgit2-e8b8948", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/usr/lib/monodevelop/AddIns/VersionControl/libgit2-e8b8948.la", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/usr/lib/monodevelop/AddIns/VersionControl/libgit2-e8b8948.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/usr/lib/monodevelop/AddIns/VersionControl/libgit2-e8b8948.so.la", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 readlink("/proc/self/exe", "/usr/bin/mono-sgen", 4095) = 18
[pid 3642] 11:08:58 readlink("/usr", 0x7ffe6b4b5270, 4096) = -1 EINVAL (Invalid argument)
[pid 3642] 11:08:58 readlink("/usr/bin", 0x7ffe6b4b5270, 4096) = -1 EINVAL (Invalid argument)
[pid 3642] 11:08:58 readlink("/usr/bin/mono-sgen", 0x7ffe6b4b5270, 4096) = -1 EINVAL (Invalid argument)
[pid 3642] 11:08:58 open("/usr/lib/libgit2-e8b8948", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/usr/lib/libgit2-e8b8948.la", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/usr/lib/libgit2-e8b8948.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/usr/lib/libgit2-e8b8948.so.la", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/opt/opencascade/lib/libgit2-e8b8948", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 18
[pid 3642] 11:08:58 open("/usr/lib/tls/libgit2-e8b8948", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/usr/lib/libgit2-e8b8948", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("libgit2-e8b8948.la", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/opt/opencascade/lib/libgit2-e8b8948.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 18
[pid 3642] 11:08:58 open("/usr/lib/tls/libgit2-e8b8948.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/usr/lib/libgit2-e8b8948.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("libgit2-e8b8948.so.la", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/opt/opencascade/lib/git2-e8b8948", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 18
[pid 3642] 11:08:58 open("/usr/lib/tls/git2-e8b8948", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("/usr/lib/git2-e8b8948", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 3642] 11:08:58 open("git2-e8b8948.la", O_RDONLY) = -1 ENOENT (No such file or directory)

Creating this link goes around the issue. The build really needs to be fixed.

sudo ln -s /usr/lib/libgit2.so /usr/lib/libgit2-e8b8948.so
Comment by Andre Esteve (esteve) - Saturday, 07 October 2017, 03:11 GMT
Reproes on 6.2.0.1778-2

It seems that libgit2 is not a required dependency of monodevelop package, which I guess it cannot live without, given I had to install libgit2.
I had to add the extra symlink as NotFood pointed out.

Loading...