Skip to content

Clone throwing <unknown> <0xffffffff> #1454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Maxdg opened this issue Jun 2, 2017 · 18 comments
Closed

Clone throwing <unknown> <0xffffffff> #1454

Maxdg opened this issue Jun 2, 2017 · 18 comments

Comments

@Maxdg
Copy link

Maxdg commented Jun 2, 2017

I'm currently working on backup software so we can mass download repositories. Using SharpBucket to collect the repository names from BitBucket.

It crashed withing Gtk# so tried to remake the software in C# Console Application, both giving me same stracktrace.

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) LibGit2Sharp.Core.NativeMethods.git_clone (LibGit2Sharp.Core.git_repository*&,string,LibGit2Sharp.Core.FilePath,LibGit2Sharp.Core.GitCloneOptions&) [0x00476] in <9f09b2b30ef34f0b8a3a0a6bdde2be90>:0
  at LibGit2Sharp.Core.Proxy.git_clone (string,string,LibGit2Sharp.Core.GitCloneOptions&) [0x0000a] in <9f09b2b30ef34f0b8a3a0a6bdde2be90>:0
  at LibGit2Sharp.Repository.Clone (string,string,LibGit2Sharp.CloneOptions) [0x000e5] in <9f09b2b30ef34f0b8a3a0a6bdde2be90>:0
  at SW_BitBucket_Backup_Console.MainClass.Proceed () [0x001bf] in /home/-/Documents/GITProjects/SW_BitBucket_Backup_Console/Program.cs:117
  at SW_BitBucket_Backup_Console.MainClass.Main (string[]) [0x00164] in /home/-/Documents/GITProjects/SW_BitBucket_Backup_Console/Program.cs:62
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x00051] in <72cae96117ab47eb8c0157ef60450b73>:0
/proc/self/maps:
00400000-007b1000 r-xp 00000000 08:02 5508481                            /usr/bin/mono-sgen
009b0000-009b1000 r--p 003b0000 08:02 5508481                            /usr/bin/mono-sgen
009b1000-009b4000 rw-p 003b1000 08:02 5508481                            /usr/bin/mono-sgen
009b4000-009e7000 rw-p 00000000 00:00 0 
01aff000-02487000 rw-p 00000000 00:00 0                                  [heap]
40add000-40aed000 rwxp 00000000 00:00 0 
415e0000-418e6000 rwxp 00000000 00:00 0 
7fc32c000000-7fc32c021000 rw-p 00000000 00:00 0 
7fc32c021000-7fc330000000 ---p 00000000 00:00 0 
7fc330000000-7fc330021000 rw-p 00000000 00:00 0 
7fc330021000-7fc334000000 ---p 00000000 00:00 0 
7fc334dd4000-7fc334dd5000 ---p 00000000 00:00 0 
7fc334dd5000-7fc3355d5000 rw-p 00000000 00:00 0 
7fc3355d5000-7fc3355de000 r-xp 00000000 08:02 11801032                   /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fc3355de000-7fc3357dd000 ---p 00009000 08:02 11801032                   /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fc3357dd000-7fc3357de000 r--p 00008000 08:02 11801032                   /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fc3357de000-7fc3357df000 rw-p 00009000 08:02 11801032                   /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fc3357df000-7fc33580d000 rw-p 00000000 00:00 0 
7fc33580d000-7fc3358dc000 r-xp 00000000 08:02 5514300                    /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fc3358dc000-7fc335adc000 ---p 000cf000 08:02 5514300                    /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fc335adc000-7fc335adf000 r--p 000cf000 08:02 5514300                    /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fc335adf000-7fc335ae1000 rw-p 000d2000 08:02 5514300                    /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fc335ae1000-7fc335ae2000 rw-p 00000000 00:00 0 
7fc335ae2000-7fc335b28000 r-xp 00000000 08:02 5513820                    /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fc335b28000-7fc335d28000 ---p 00046000 08:02 5513820                    /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fc335d28000-7fc335d2a000 r--p 00046000 08:02 5513820                    /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fc335d2a000-7fc335d2c000 rw-p 00048000 08:02 5513820                    /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fc335d2c000-7fc335d2d000 rw-p 00000000 00:00 0 
7fc335d2d000-7fc335d3b000 r-xp 00000000 08:02 5513802                    /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fc335d3b000-7fc335f3a000 ---p 0000e000 08:02 5513802                    /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fc335f3a000-7fc335f3b000 r--p 0000d000 08:02 5513802                    /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fc335f3b000-7fc335f3c000 rw-p 0000e000 08:02 5513802                    /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fc335f3c000-7fc335f63000 r-xp 00000000 08:02 5514473                    /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fc335f63000-7fc336163000 ---p 00027000 08:02 5514473                    /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fc336163000-7fc336164000 r--p 00027000 08:02 5514473                    /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fc336164000-7fc336165000 rw-p 00028000 08:02 5514473                    /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fc336165000-7fc33616c000 r-xp 00000000 08:02 5513535                    /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fc33616c000-7fc33636b000 ---p 00007000 08:02 5513535                    /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fc33636b000-7fc33636c000 r--p 00006000 08:02 5513535                    /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fc33636c000-7fc33636d000 rw-p 00007000 08:02 5513535                    /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fc33636d000-7fc336382000 r-xp 00000000 08:02 5514214                    /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7fc336382000-7fc336581000 ---p 00015000 08:02 5514214                    /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7fc336581000-7fc336582000 r--p 00014000 08:02 5514214                    /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7fc336582000-7fc336583000 rw-p 00015000 08:02 5514214                    /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7fc336583000-7fc3365b3000 r-xp 00000000 08:02 5513800                    /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7fc3365b3000-7fc3367b3000 ---p 00030000 08:02 5513800                    /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7fc3367b3000-7fc3367b4000 r--p 00030000 08:02 5513800                    /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7fc3367b4000-7fc3367b5000 rw-p 00031000 08:02 5513800                    /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7fc3367b5000-7fc3367b6000 rw-p 00000000 00:00 0 
7fc3367b6000-7fc336855000 r-xp 00000000 08:02 5513240                    /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7fc336855000-7fc336a54000 ---p 0009f000 08:02 5513240                    /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7fc336a54000-7fc336a55000 r--p 0009e000 08:02 5513240                    /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7fc336a55000-7fc336a58000 rw-p 0009f000 08:02 5513240                    /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7fc336a58000-7fc336adc000 r-xp 00000000 08:02 5513905                    /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7fc336adc000-7fc336cdb000 ---p 00084000 08:02 5513905                    /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7fc336cdb000-7fc336cde000 r--p 00083000 08:02 5513905                    /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7fc336cde000-7fc336ce1000 rw-p 00086000 08:02 5513905                    /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7fc336ce1000-7fc336ce2000 rw-p 00000000 00:00 0 
7fc336ce2000-7fc336cea000 r-xp 00000000 08:02 5513804                    /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7fc336cea000-7fc336ee9000 ---p 00008000 08:02 5513804                    /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7fc336ee9000-7fc336eea000 r--p 00007000 08:02 5513804                    /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7fc336eea000-7fc336eeb000 rw-p 00008000 08:02 5513804                    /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7fc336eeb000-7fc336eee000 r-xp 00000000 08:02 11801075                   /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7fc336eee000-7fc3370ed000 ---p 00003000 08:02 11801075                   /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7fc3370ed000-7fc3370ee000 r--p 00002000 08:02 11801075                   /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7fc3370ee000-7fc3370ef000 rw-p 00003000 08:02 11801075                   /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7fc3370ef000-7fc337100000 r-xp 00000000 08:02 5514319                    /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7fc337100000-7fc337300000 ---p 00011000 08:02 5514319                    /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7fc337300000-7fc337301000 r--p 00011000 08:02 5514319                    /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7fc337301000-7fc337302000 rw-p 00012000 08:02 5514319                    /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7fc337302000-7fc33735b000 r-xp 00000000 08:02 5514090                    /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7fc33735b000-7fc33755a000 ---p 00059000 08:02 5514090                    /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7fc33755a000-7fc337564000 r--p 00058000 08:02 5514090                    /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7fc337564000-7fc337566000 rw-p 00062000 08:02 5514090                    /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7fc337566000-7fc3375a3000 r-xp 00000000 08:02 5513723                    /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7fc3375a3000-7fc3377a3000 ---p 0003d000 08:02 5513723                    /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7fc3377a3000-7fc3377a4000 r--p 0003d000 08:02 5513723                    /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7fc3377a4000-7fc3377a6000 rw-p 0003e000 08:02 5513723                    /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7fc3377a6000-7fc3377a7000 rw-p 00000000 00:00 0 
7fc3377a7000-7fc3377c0000 r-xp 00000000 08:02 5514241                    /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7fc3377c0000-7fc3379c0000 ---p 00019000 08:02 5514241                    /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7fc3379c0000-7fc3379c1000 r--p 00019000 08:02 5514241                    /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7fc3379c1000-7fc3379c2000 rw-p 0001a000 08:02 5514241                    /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7fc3379c2000-7fc3379cc000 r-xp 00000000 08:02 5513909                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fc3379cc000-7fc337bcb000 ---p 0000a000 08:02 5513909                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fc337bcb000-7fc337bcc000 r--p 00009000 08:02 5513909                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fc337bcc000-7fc337bcd000 rw-p 0000a000 08:02 5513909                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fc337bcd000-7fc337bd0000 r-xp 00000000 08:02 11801023                   /lib/x86_64-linux-gnu/libcom_err.so.2.1
7fc337bd0000-7fc337dcf000 ---p 00003000 08:02 11801023                   /lib/x86_64-linux-gnu/libcom_err.so.2.1
7fc337dcf000-7fc337dd0000 r--p 00002000 08:02 11801023                   /lib/x86_64-linux-gnu/libcom_err.so.2.1
7fc337dd0000-7fc337dd1000 rw-p 00003000 08:02 11801023                   /lib/x86_64-linux-gnu/libcom_err.so.2.1
7fc337dd1000-7fc337dfd000 r-xp 00000000 08:02 5513901                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fc337dfd000-7fc337ffc000 ---p 0002c000 08:02 5513901                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fc337ffc000-7fc337ffe000 r--p 0002b000 08:02 5513901                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fc337ffe000-7fc337fff000 rw-p 0002d000 08:02 5513901                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fc337fff000-7fc338000000 rw-p 00000000 00:00 0 
7fc338000000-7fc3381cb000 rw-p 00000000 00:00 0 
7fc3381cb000-7fc33c000000 ---p 00000000 00:00 0 
7fc33c000000-7fc33c037000 rw-p 00000000 00:00 0 
7fc33c037000-7fc340000000 ---p 00000000 00:00 0 
7fc340000000-7fc340021000 rw-p 00000000 00:00 0 
7fc340021000-7fc344000000 ---p 00000000 00:00 0 
7fc3441f6000-7fc3442b9000 r-xp 00000000 08:02 5513907                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7fc3442b9000-7fc3444b9000 ---p 000c3000 08:02 5513907                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7fc3444b9000-7fc3444c6000 r--p 000c3000 08:02 5513907                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7fc3444c6000-7fc3444c8000 rw-p 000d0000 08:02 5513907                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7fc3444c8000-7fc344547000 r-xp 00000000 08:02 5513668                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7fc344547000-7fc344746000 ---p 0007f000 08:02 5513668                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7fc344746000-7fc344747000 r--p 0007e000 08:02 5513668                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7fc344747000-7fc344748000 rw-p 0007f000 08:02 5513668                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7fc344748000-7fc34477c000 r-xp 00000000 08:02 5514027                    /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7fc34477c000-7fc34497b000 ---p 00034000 08:02 5514027                    /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7fc34497b000-7fc34497d000 r--p 00033000 08:02 5514027                    /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7fc34497d000-7fc34497e000 rw-p 00035000 08:02 5514027                    /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7fc34497e000-7fc3449b0000 r-xp 00000000 08:02 5513806                    /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7fc3449b0000-7fc344baf000 ---p 00032000 08:02 5513806                    /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7fc344baf000-7fc344bb0000 r--p 00031000 08:02 5513806                    /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7fc344bb0000-7fc344bb1000 rw-p 00032000 08:02 5513806                    /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7fc344bb1000-7fc344cd4000 r-xp 00000000 08:02 5513686                    /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7fc344cd4000-7fc344ed3000 ---p 00123000 08:02 5513686                    /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7fc344ed3000-7fc344ede000 r--p 00122000 08:02 5513686                    /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7fc344ede000-7fc344ee0000 rw-p 0012d000 08:02 5513686                    /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7fc344ee0000-7fc344ee1000 rw-p 00000000 00:00 0 
7fc344ee1000-7fc344f2e000 r-xp 00000000 08:02 5513920                    /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7fc344f2e000-7fc34512d000 ---p 0004d000 08:02 5513920                    /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7fc34512d000-7fc34512f000 r--p 0004c000 08:02 5513920                    /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7fc34512f000-7fc345130000 rw-p 0004e000 08:02 5513920                    /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7fc345130000-7fc345132000 rw-p 00000000 00:00 0 
7fc345132000-7fc34513f000 r-xp 00000000 08:02 5513915                    /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7fc34513f000-7fc34533f000 ---p 0000d000 08:02 5513915                    /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7fc34533f000-7fc345340000 r--p 0000d000 08:02 5513915                    /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7fc345340000-7fc345341000 rw-p 0000e000 08:02 5513915                    /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7fc345341000-7fc345388000 r-xp 00000000 08:02 5513725                    /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
7fc345388000-7fc345587000 ---p 00047000 08:02 5513725                    /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
7fc345587000-7fc345589000 r--p 00046000 08:02 5513725                    /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
7fc345589000-7fc34558b000 rw-p 00048000 08:02 5513725                    /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
7fc34558b000-7fc3455a6000 r-xp 00000000 08:02 5515143                    /usr/lib/x86_64-linux-gnu/librtmp.so.1
7fc3455a6000-7fc3457a5000 ---p 0001b000 08:02 5515143                    /usr/lib/x86_64-linux-gnu/librtmp.so.1
7fc3457a5000-7fc3457a6000 r--p 0001a000 08:02 5515143                    /usr/lib/x86_64-linux-gnu/librtmp.so.1
7fc3457a6000-7fc3457a7000 rw-p 0001b000 08:02 5515143                    /usr/lib/x86_64-linux-gnu/librtmp.so.1
7fc3457a7000-7fc3457d8000 r-xp 00000000 08:02 5513855                    /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7fc3457d8000-7fc3459d8000 ---p 00031000 08:02 5513855                    /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7fc3459d8000-7fc3459d9000 r--p 00031000 08:02 5513855                    /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7fc3459d9000-7fc3459da000 rw-p 00032000 08:02 5513855                    /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7fc3459da000-7fc345bf4000 r-xp 00000000 08:02 11801026                   /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fc345bf4000-7fc345df3000 ---p 0021a000 08:02 11801026                   /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fc345df3000-7fc345e0f000 r--p 00219000 08:02 11801026                   /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fc345e0f000-7fc345e1b000 rw-p 00235000 08:02 11801026                   /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fc345e1b000-7fc345e1e000 rw-p 00000000 00:00 0 
7fc345e1e000-7fc345e7c000 r-xp 00000000 08:02 11801180                   /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fc345e7c000-7fc34607c000 ---p 0005e000 08:02 11801180                   /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fc34607c000-7fc346080000 r--p 0005e000 08:02 11801180                   /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fc346080000-7fc346087000 rw-p 00062000 08:02 11801180                   /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fc346087000-7fc3460f2000 r-xp 00000000 08:02 5513402                    /usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0
7fc3460f2000-7fc3462f2000 ---p 0006b000 08:02 5513402                    /usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0
7fc3462f2000-7fc3462f5000 r--p 0006b000 08:02 5513402                    /usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0
7fc3462f5000-7fc3462f6000 rw-p 0006e000 08:02 5513402                    /usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0
7fc3462f6000-7fc3463fc000 r-xp 00000000 08:02 13768170                   /home/-/Documents/GITProjects/SW_BitBucket_Backup_Console/bin/Debug/lib/linux/x86_64/libgit2-a5cf255.so
7fc3463fc000-7fc3465fc000 ---p 00106000 08:02 13768170                   /home/-/Documents/GITProjects/SW_BitBucket_Backup_Console/bin/Debug/lib/linux/x86_64/libgit2-a5cf255.so
7fc3465fc000-7fc3465fd000 r--p 00106000 08:02 13768170                   /home/-/Documents/GITProjects/SW_BitBucket_Backup_Console/bin/Debug/lib/linux/x86_64/libgit2-a5cf255.so
7fc3465fd000-7fc346600000 rw-p 00107000 08:02 13768170                   /home/-/Documents/GITProjects/SW_BitBucket_Backup_Console/bin/Debug/lib/linux/x86_64/libgit2-a5cf255.so
7fc346600000-7fc346700000 rw-p 00000000 00:00 0 
7fc3467cc000-7fc3467e5000 r-xp 00000000 08:02 11802125                   /lib/x86_64-linux-gnu/libz.so.1.2.8
7fc3467e5000-7fc3469e4000 ---p 00019000 08:02 11802125                   /lib/x86_64-linux-gnu/libz.so.1.2.8
7fc3469e4000-7fc3469e5000 r--p 00018000 08:02 11802125                   /lib/x86_64-linux-gnu/libz.so.1.2.8
7fc3469e5000-7fc3469e6000 rw-p 00019000 08:02 11802125                   /lib/x86_64-linux-gnu/libz.so.1.2.8
7fc3469e6000-7fc346a26000 r-xp 00000000 08:02 5508553                    /usr/lib/libMonoPosixHelper.so
7fc346a26000-7fc346c25000 ---p 00040000 08:02 5508553                    /usr/lib/libMonoPosixHelper.so
7fc346c25000-7fc346c26000 r--p 0003f000 08:02 5508553                    /usr/lib/libMonoPosixHelper.so
7fc346c26000-7fc346c27000 rw-p 00040000 08:02 5508553                    /usr/lib/libMonoPosixHelper.so
7fc346c27000-7fc346c28000 rw-p 00000000 00:00 0 
7fc346c28000-7fc346db0000 r-xp 00000000 08:02 5508552                    /usr/lib/libmono-btls-shared.so
7fc346db0000-7fc346fb0000 ---p 00188000 08:02 5508552                    /usr/lib/libmono-btls-shared.so
7fc346fb0000-7fc346fc2000 r--p 00188000 08:02 5508552                    /usr/lib/libmono-btls-shared.so
7fc346fc2000-7fc346fc5000 rw-p 0019a000 08:02 5508552                    /usr/lib/libmono-btls-shared.so
7fc346fc5000-7fc346fdc000 r-xp 00000000 08:02 11800914                   /lib/x86_64-linux-gnu/libresolv-2.23.so
7fc346fdc000-7fc3471dc000 ---p 00017000 08:02 11800914                   /lib/x86_64-linux-gnu/libresolv-2.23.so
7fc3471dc000-7fc3471dd000 r--p 00017000 08:02 11800914                   /lib/x86_64-linux-gnu/libresolv-2.23.so
7fc3471dd000-7fc3471de000 rw-p 00018000 08:02 11800914                   /lib/x86_64-linux-gnu/libresolv-2.23.so
7fc3471de000-7fc3471e0000 rw-p 00000000 00:00 0 
7fc3471e0000-7fc3471e5000 r-xp 00000000 08:02 11801033                   /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7fc3471e5000-7fc3473e5000 ---p 00005000 08:02 11801033                   /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7fc3473e5000-7fc3473e6000 r--p 00005000 08:02 11801033                   /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7fc3473e6000-7fc3473e7000 rw-p 00006000 08:02 11801033                   /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7fc3473e7000-7fc3473e9000 r-xp 00000000 08:02 11801119                   /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fc3473e9000-7fc3475e8000 ---p 00002000 08:02 11801119                   /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fc3475e8000-7fc3475e9000 r--p 00001000 08:02 11801119                   /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fc3475e9000-7fc3475ea000 rw-p 00002000 08:02 11801119                   /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fc3475ea000-7fc3475f5000 r-xp 00000000 08:02 11796570                   /lib/x86_64-linux-gnu/libnss_files-2.23.so
7fc3475f5000-7fc3477f4000 ---p 0000b000 08:02 11796570                   /lib/x86_64-linux-gnu/libnss_files-2.23.so
7fc3477f4000-7fc3477f5000 r--p 0000a000 08:02 11796570                   /lib/x86_64-linux-gnu/libnss_files-2.23.so
7fc3477f5000-7fc3477f6000 rw-p 0000b000 08:02 11796570                   /lib/x86_64-linux-gnu/libnss_files-2.23.so
7fc3477f6000-7fc3477fc000 rw-p 00000000 00:00 0 
7fc3477fc000-7fc347805000 ---p 00000000 00:00 0 
7fc347805000-7fc3479fd000 rw-p 00000000 00:00 0 
7fc3479fd000-7fc347a06000 ---p 00000000 00:00 0 
7fc347a06000-7fc347bfe000 rw-p 00000000 00:00 0 
7fc347bfe000-7fc347c07000 ---p 00000000 00:00 0 
7fc347c07000-7fc347dff000 rw-p 00000000 00:00 0 
7fc347dff000-7fc347e08000 ---p 00000000 00:00 0 
7fc347e08000-7fc348000000 rw-p 00000000 00:00 0 
7fc348000000-7fc348021000 rw-p 00000000 00:00 0 
7fc348021000-7fc34c000000 ---p 00000000 00:00 0 
7fc34c000000-7fc34c033000 rw-p 00000000 00:00 0 
7fc34c033000-7fc350000000 ---p 00000000 00:00 0 
7fc350000000-7fc350021000 rw-p 00000000 00:00 0 
7fc350021000-7fc354000000 ---p 00000000 00:00 0 
7fc354074000-7fc3540f4000 rw-p 00000000 00:00 0 
7fc3540f8000-7fc354178000 rw-p 00000000 00:00 0 
7fc35417c000-7fc3541fc000 rw-p 00000000 00:00 0 
7fc3541ff000-7fc354208000 ---p 00000000 00:00 0 
7fc354208000-7fc354500000 rw-p 00000000 00:00 0 
7fc35455b000-7fc354562000 r--s 00000000 08:02 5769130                    /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7fc354562000-7fc354572000 rwxp 00000000 00:00 0 
7fc354572000-7fc354592000 rw-p 00000000 00:00 0 
7fc354592000-7fc3545b0000 r--p 00000000 08:02 5643553                    /usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
7fc3545b0000-7fc3545d6000 r--p 00000000 08:02 5648798                    /usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.pdb
7fc3545d6000-7fc354623000 r--p 00000000 08:02 5643598                    /usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll
7fc354623000-7fc354750000 r--p 00000000 08:02 5648789                    /usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.pdb
7fc354750000-7fc354a53000 r--p 00000000 08:02 5643566                    /usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll
7fc354a53000-7fc354a71000 r--p 00000000 08:02 6841846                    /usr/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
7fc354a71000-7fc354b5d000 r--p 00000000 08:02 5648788                    /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.pdb
7fc354b5d000-7fc354de8000 r--p 00000000 08:02 5643558                    /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
7fc354de8000-7fc354e12000 r--p 00000000 08:02 13768157                   /home/-/Documents/GITProjects/SW_BitBucket_Backup_Console/bin/Debug/RestSharp.dll
7fc354e12000-7fc354e72000 r--p 00000000 08:02 5770984                    /usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.pdb
7fc354e72000-7fc354f69000 r--p 00000000 08:02 5770942                    /usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
7fc354f69000-7fc354fd2000 r--p 00000000 08:02 13768159                   /home/-/Documents/GITProjects/SW_BitBucket_Backup_Console/bin/Debug/LibGit2Sharp.dll
7fc354fd2000-7fc354fdb000 ---p 00000000 00:00 0 
7fc354fdb000-7fc3551d3000 rw-p 00000000 00:00 0 
7fc3551d3000-7fc3551dc000 ---p 00000000 00:00 0 
7fc3551dc000-7fc355455000 rw-p 00000000 00:00 0 
7fc355455000-7fc355456000 rw-p 00000000 00:00 0 
7fc355456000-7fc3557ff000 r--p 00000000 08:02 5643741                    /usr/lib/mono/4.5/mscorlib.dll
7fc3557ff000-7fc3567ff000 rw-p 00000000 00:00 0 
7fc3567ff000-7fc356800000 ---p 00000000 00:00 0 
7fc356800000-7fc357400000 rw-p 00000000 00:00 0 
7fc357400000-7fc35740e000 r--p 00000000 08:02 5648793                    /usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.pdb
7fc35740e000-7fc357410000 r--p 00000000 08:02 6163553                    /usr/lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.pdb
7fc357410000-7fc35741d000 r--p 00000000 08:02 6842976                    /usr/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.pdb
7fc35741d000-7fc3576f5000 r--p 00000000 08:02 5507800                    /usr/lib/locale/locale-archive
7fc3576f5000-7fc3578b4000 r-xp 00000000 08:02 11796566                   /lib/x86_64-linux-gnu/libc-2.23.so
7fc3578b4000-7fc357ab4000 ---p 001bf000 08:02 11796566                   /lib/x86_64-linux-gnu/libc-2.23.so
7fc357ab4000-7fc357ab8000 r--p 001bf000 08:02 11796566                   /lib/x86_64-linux-gnu/libc-2.23.so
7fc357ab8000-7fc357aba000 rw-p 001c3000 08:02 11796566                   /lib/x86_64-linux-gnu/libc-2.23.so
7fc357aba000-7fc357abe000 rw-p 00000000 00:00 0 
7fc357abe000-7fc357ad4000 r-xp 00000000 08:02 11802632                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc357ad4000-7fc357cd3000 ---p 00016000 08:02 11802632                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc357cd3000-7fc357cd4000 r--p 00015000 08:02 11802632                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc357cd4000-7fc357cd5000 rw-p 00016000 08:02 11802632                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc357cd5000-7fc357ced000 r-xp 00000000 08:02 11796577                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7fc357ced000-7fc357eec000 ---p 00018000 08:02 11796577                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7fc357eec000-7fc357eed000 r--p 00017000 08:02 11796577                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7fc357eed000-7fc357eee000 rw-p 00018000 08:02 11796577                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7fc357eee000-7fc357ef2000 rw-p 00000000 00:00 0 
7fc357ef2000-7fc357ef5000 r-xp 00000000 08:02 11796505                   /lib/x86_64-linux-gnu/libdl-2.23.so
7fc357ef5000-7fc3580f4000 ---p 00003000 08:02 11796505                   /lib/x86_64-linux-gnu/libdl-2.23.so
7fc3580f4000-7fc3580f5000 r--p 00002000 08:02 11796505                   /lib/x86_64-linux-gnu/libdl-2.23.so
7fc3580f5000-7fc3580f6000 rw-p 00003000 08:02 11796505                   /lib/x86_64-linux-gnu/libdl-2.23.so
7fc3580f6000-7fc3580fd000 r-xp 00000000 08:02 11796573                   /lib/x86_64-linux-gnu/librt-2.23.so
7fc3580fd000-7fc3582fc000 ---p 00007000 08:02 11796573                   /lib/x86_64-linux-gnu/librt-2.23.so
7fc3582fc000-7fc3582fd000 r--p 00006000 08:02 11796573                   /lib/x86_64-linux-gnu/librt-2.23.so
7fc3582fd000-7fc3582fe000 rw-p 00007000 08:02 11796573                   /lib/x86_64-linux-gnu/librt-2.23.so
7fc3582fe000-7fc358406000 r-xp 00000000 08:02 11796564                   /lib/x86_64-linux-gnu/libm-2.23.so
7fc358406000-7fc358605000 ---p 00108000 08:02 11796564                   /lib/x86_64-linux-gnu/libm-2.23.so
7fc358605000-7fc358606000 r--p 00107000 08:02 11796564                   /lib/x86_64-linux-gnu/libm-2.23.so
7fc358606000-7fc358607000 rw-p 00108000 08:02 11796564                   /lib/x86_64-linux-gnu/libm-2.23.so
7fc358607000-7fc35862d000 r-xp 00000000 08:02 11796567                   /lib/x86_64-linux-gnu/ld-2.23.so
7fc35862d000-7fc35862e000 rw-p 00000000 00:00 0 
7fc35862e000-7fc358634000 r--p 00000000 08:02 6163457                    /usr/lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
7fc358634000-7fc358637000 rw-p 00000000 00:00 0 
7fc358637000-7fc35864b000 r--p 00000000 08:02 13768158                   /home/-/Documents/GITProjects/SW_BitBucket_Backup_Console/bin/Debug/SharpBucket.dll
7fc35864b000-7fc35864c000 r--p 00000000 08:02 13768173                   /home/-/Documents/GITProjects/SW_BitBucket_Backup_Console/bin/Debug/SW_BitBucket_Backup_Console.pdb
7fc35864c000-7fc3587a9000 r--p 00000000 08:02 5648778                    /usr/lib/mono/4.5/mscorlib.pdb
7fc3587a9000-7fc3587aa000 rw-p 00000000 00:00 0 
7fc3587aa000-7fc358809000 ---p 00000000 00:00 0 
7fc358809000-7fc358812000 rw-p 00000000 00:00 0 
7fc358812000-7fc35881b000 rw-p 00000000 00:00 0 
7fc35881b000-7fc35881e000 r--p 00000000 08:02 13768174                   /home/-/Documents/GITProjects/SW_BitBucket_Backup_Console/bin/Debug/SW_BitBucket_Backup_Console.exe
7fc35881e000-7fc35881f000 rw-s 00000000 00:16 17                         /dev/shm/mono.6429
7fc35881f000-7fc35882c000 rw-p 00000000 00:00 0 
7fc35882c000-7fc35882d000 r--p 00025000 08:02 11796567                   /lib/x86_64-linux-gnu/ld-2.23.so
7fc35882d000-7fc35882e000 rw-p 00026000 08:02 11796567                   /lib/x86_64-linux-gnu/ld-2.23.so
7fc35882e000-7fc35882f000 rw-p 00000000 00:00 0 
7ffe61a79000-7ffe61a81000 ---p 00000000 00:00 0 
7ffe62257000-7ffe62278000 rw-p 00000000 00:00 0                          [stack]
7ffe623bc000-7ffe623be000 r--p 00000000 00:00 0                          [vvar]
7ffe623be000-7ffe623c0000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

Native stacktrace:

	/usr/bin/mono() [0x4ac59f]
	/usr/bin/mono() [0x50fac6]
	/lib/x86_64-linux-gnu/libssl.so.1.0.0(SSL_ctrl+0x183) [0x7fc345e5adc3]

Debug info from gdb:

[New LWP 6430]
[New LWP 6432]
[New LWP 6433]
[New LWP 6435]
[New LWP 6436]
[New LWP 6437]
[New LWP 6438]
[New LWP 6439]
Mono support loaded.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fc357ce5f7b in __waitpid (pid=6444, stat_loc=0x7ffe62271a1c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
29	../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
  Id   Target Id         Frame 
* 1    Thread 0x7fc358809740 (LWP 6429) "mono" 0x00007fc357ce5f7b in __waitpid (pid=6444, stat_loc=0x7ffe62271a1c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
  2    Thread 0x7fc356fff700 (LWP 6430) "SGen worker" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  3    Thread 0x7fc3553d3700 (LWP 6432) "Finalizer" 0x00007fc357ce4827 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x9d66a0) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  4    Thread 0x7fc3551d2700 (LWP 6433) "Debugger agent" 0x00007fc357ce587f in __libc_recv (fd=3, buf=0x7fc3551d1d90, n=11, flags=0) at ../sysdeps/unix/sysv/linux/x86_64/recv.c:28
  5    Thread 0x7fc3543ff700 (LWP 6435) "Timer-Scheduler" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  6    Thread 0x7fc347fff700 (LWP 6436) "mono" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  7    Thread 0x7fc347dfe700 (LWP 6437) "Threadpool work" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  8    Thread 0x7fc347bfd700 (LWP 6438) "Threadpool work" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  9    Thread 0x7fc3479fc700 (LWP 6439) "Threadpool work" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225

Thread 9 (Thread 0x7fc3479fc700 (LWP 6439)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00000000005cbd00 in ?? ()
#2  0x00000000005c34ef in ?? ()
#3  0x00000000006805c8 in ?? ()
#4  0x00007fc357cdc6ba in start_thread (arg=0x7fc3479fc700) at pthread_create.c:333
#5  0x00007fc3577fb82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fc347bfd700 (LWP 6438)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00000000005cbd00 in ?? ()
#2  0x00000000005c34ef in ?? ()
#3  0x00000000006805c8 in ?? ()
#4  0x00007fc357cdc6ba in start_thread (arg=0x7fc347bfd700) at pthread_create.c:333
#5  0x00007fc3577fb82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fc347dfe700 (LWP 6437)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00000000005cbd00 in ?? ()
#2  0x00000000005c34ef in ?? ()
#3  0x00000000006805c8 in ?? ()
#4  0x00007fc357cdc6ba in start_thread (arg=0x7fc347dfe700) at pthread_create.c:333
#5  0x00007fc3577fb82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fc347fff700 (LWP 6436)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x000000000068102b in ?? ()
#2  0x00000000005caeb6 in ?? ()
#3  0x00000000005c34ef in ?? ()
#4  0x00000000006805c8 in ?? ()
#5  0x00007fc357cdc6ba in start_thread (arg=0x7fc347fff700) at pthread_create.c:333
#6  0x00007fc3577fb82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fc3543ff700 (LWP 6435)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00000000005e2059 in ?? ()
#2  0x00000000005e23be in ?? ()
#3  0x00000000005e29f0 in ?? ()
#4  0x00000000005c2a36 in ?? ()
#5  0x00000000005c5129 in ?? ()
#6  0x00000000417fb4dd in ?? ()
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc3551d2700 (LWP 6433)):
#0  0x00007fc357ce587f in __libc_recv (fd=3, buf=0x7fc3551d1d90, n=11, flags=0) at ../sysdeps/unix/sysv/linux/x86_64/recv.c:28
#1  0x00000000004d6b15 in ?? ()
#2  0x00000000004d9b4b in ?? ()
#3  0x00000000006805c8 in ?? ()
#4  0x00007fc357cdc6ba in start_thread (arg=0x7fc3551d2700) at pthread_create.c:333
#5  0x00007fc3577fb82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fc3553d3700 (LWP 6432)):
#0  0x00007fc357ce4827 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x9d66a0) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x9d66a0, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007fc357ce48d4 in __new_sem_wait_slow (sem=0x9d66a0, abstime=0x0) at sem_waitcommon.c:181
#3  0x00007fc357ce497a in __new_sem_wait (sem=<optimized out>) at sem_wait.c:29
#4  0x00000000005ec0ef in ?? ()
#5  0x00000000005c34ef in ?? ()
#6  0x00000000006805c8 in ?? ()
#7  0x00007fc357cdc6ba in start_thread (arg=0x7fc3553d3700) at pthread_create.c:333
#8  0x00007fc3577fb82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fc356fff700 (LWP 6430)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000066b537 in ?? ()
#2  0x00007fc357cdc6ba in start_thread (arg=0x7fc356fff700) at pthread_create.c:333
#3  0x00007fc3577fb82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fc358809740 (LWP 6429)):
#0  0x00007fc357ce5f7b in __waitpid (pid=6444, stat_loc=0x7ffe62271a1c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00000000004ac659 in ?? ()
#2  0x000000000050fac6 in ?? ()
#3  0x00007fc345e5adc3 in SSL_ctrl () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
#4  0x0000000000000000 in ?? ()

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

My Code



using System;
using SharpBucket.V2;
using SharpBucket.V2.EndPoints;
using Repository = SharpBucket.V2.Pocos.Repository;
using System.Collections.Generic;
using LibGit2Sharp;
using System.Threading.Tasks;
using System.Threading;

namespace SW_BitBucket_Backup_Console
{
	class MainClass
	{
		static string _OAuthKey = PRIVACY;
		static string _OAuthsK = PRIVACY;
		static string user;
		static string password;


		public static void Main (string[] args)
		{
			Console.WriteLine ("Welcome to the backupsoftware");
			Console.WriteLine ("Please enter your username");
			user = Console.ReadLine ();
			Console.WriteLine ("sup " + user);
			Console.WriteLine ("Please enter your password");
			password = Console.ReadLine ();
			Console.WriteLine ("Listing all available repositories");

			string _url = "https://" + user + "@bitbucket.org/COMPANY/";
			SharpBucketV2 sharpBucket = new SharpBucketV2 ();
			sharpBucket.OAuth2LeggedAuthentication (_OAuthKey, _OAuthsK);
			UsersEndpoint userEndPoint = new UsersEndpoint ("-", sharpBucket);
			List<Repository> teamRepo = userEndPoint.ListRepositories ();

			for(int i = 0; i < teamRepo.Count; i++)
			{
				Console.WriteLine ("*--------------       "+ teamRepo[i].name + "|| Size: " +teamRepo[i].size
				);
				Thread.Sleep (50);
			}
			bool confirmed = false;
			do
			{
			ConsoleKey response;
			do
			{
				Console.Write("Want to copy all above repositories? [y/n]");
				response = Console.ReadKey(false).Key;   // true is intercept key (dont show), false is show
				if (response != ConsoleKey.Enter)
					Console.WriteLine();

			} while (response != ConsoleKey.Y && response != ConsoleKey.N);

			confirmed = response == ConsoleKey.Y;
			}while (!confirmed);
			Proceed ();
		}
		static string localUser;
		static string location;
		static string currentRepo;
		static string combinedUrl;
		static CloneOptions co;
		static List<Repository> repositories;
		private static void Proceed()
		{
			bool confirmed = false;
			do{
				

				Console.WriteLine ("Enter your local username");
				localUser = Console.ReadLine ();
				Console.WriteLine ("Your downloads folder is located in");
				Console.WriteLine ("/home/{0}/Downloads", localUser);
				location = "/home/"+localUser+"/Downloads/";
				ConsoleKey response;
				do
				{
					Console.Write ("Is that correct? [y/n]");
					response = Console.ReadKey(false).Key;   // true is intercept key (dont show), false is show
					if (response != ConsoleKey.Enter)
						Console.WriteLine();
					
				} while (response != ConsoleKey.Y && response != ConsoleKey.N);
				
				confirmed = response == ConsoleKey.Y;
			} while (!confirmed);
			
			co = new CloneOptions{ Checkout = false };
			co.CredentialsProvider = (string url, string usernameFromUrl, SupportedCredentialTypes types) => new UsernamePasswordCredentials {	Username = user, Password = password};
			Console.WriteLine ("Starting Download");
			
			
			
			string _url = "https://" + user + "@bitbucket.org/COMPANY/";
			SharpBucketV2 sharpBucket = new SharpBucketV2 ();
			sharpBucket.OAuth2LeggedAuthentication (_OAuthKey, _OAuthsK);
			UsersEndpoint userEndPoint = new UsersEndpoint ("-", sharpBucket);
			repositories = userEndPoint.ListRepositories ();
			int i = 0;

			var cal = System.Globalization.DateTimeFormatInfo.CurrentInfo.Calendar;
			var ms = cal.GetWeekOfYear (DateTime.Today, System.Globalization.CalendarWeekRule.FirstDay, DayOfWeek.Monday);
			string date = "Week " + (ms - 1);
			location = location + date;


			foreach (var repo in repositories)
			{
				combinedUrl = (_url + repo.name.ToLower () + ".git").ToLower ();
				currentRepo = repo.name.ToLower ();
				location = location + "/" + repo.name.ToLower ();
				
				LibGit2Sharp.Repository.Clone(combinedUrl, location, co);
				drawTextProgressBar (i, repositories.Count);
				i++;
			}
			
		}
		private static void drawTextProgressBar(int progress, int total)
		{
			//draw empty progress bar
			Console.CursorLeft = 0;
			Console.Write("["); //start
			Console.CursorLeft = 32;
			Console.Write("]"); //end
			Console.CursorLeft = 1;
			float onechunk = 30.0f / total;

			//draw filled part
			int position = 1;
			for (int i = 0; i < onechunk * progress; i++)
			{
				Console.BackgroundColor = ConsoleColor.Gray;
				Console.CursorLeft = position++;
				Console.Write(" ");
			}

			//draw unfilled part
			for (int i = position; i <= 31; i++)
			{
				Console.BackgroundColor = ConsoleColor.Black;
				Console.CursorLeft = position++;
				Console.Write(" ");
			}

			//draw totals
			Console.CursorLeft = 35;
			Console.BackgroundColor = ConsoleColor.Black;
			Console.Write(progress.ToString() + " of " + total.ToString()+"    "); //blanks at the end remove any excess
		}
	}
}

buggitsharp
Picture of repositories being found and read by SharpBucket

@bording
Copy link
Member

bording commented Jun 2, 2017

Have you tried cloning any other repositories to see if they work? For example, try cloning a local repository and a GitHub repository. If those work, then we know it's something specific to BitBucket that's causing the problem.

I'd also suggest trying some different BitBucket repos, just to make sure it's not the specific repo you're trying that's the source of the problem.

@bording
Copy link
Member

bording commented Jun 2, 2017

Also, what linux distro and mono version are you using?

@Maxdg
Copy link
Author

Maxdg commented Jun 6, 2017

I'll try different repo and GitHub, running Ubuntu 16.04 with mono 5.0.1.1

@Maxdg
Copy link
Author

Maxdg commented Jun 6, 2017

Tried cloning GitHub Repo and different BitBucket repo, issue still persists.

@Maxdg
Copy link
Author

Maxdg commented Jun 9, 2017

I've been looking into the issue myself by integrating the source code into my project, it seems to be coming from the NativeBinaries since the source doesn't throw the error but throws above error instead.

@Maxdg
Copy link
Author

Maxdg commented Jun 9, 2017

Tried some stuff around the project. it now started to throw the following error:

image

seems that it cant find the needed file, so i tried reversing back to using NuGets. it still throws this one

@Maxdg
Copy link
Author

Maxdg commented Jun 9, 2017

@bording i'm surrendering, tried a lot of things. recompiling the natives(which isnt the easiest task on Linux), reimporting nugets, working with Native package and 2Sharp source. Nothing works, it throws the same DllNotFound

@ethomson
Copy link
Member

ethomson commented Jun 9, 2017

The DllNotFound problem should be reasonably easy to solve - you should be able to strace to see where it's trying to open the library that you built. It should be relative to where you're running the application itself.

The original crash is puzzling though. Never seen it and I can't reproduce it on my Linux system. Having you run a debug build and getting some more information would be helpful. But that's dependent on being able to load it. ☹️

@Maxdg
Copy link
Author

Maxdg commented Jun 9, 2017 via email

@Maxdg
Copy link
Author

Maxdg commented Jun 12, 2017

Another 4 hours spend on this issue. Manually added newest binary packages together with compiled version of commit a852e1c kept complaining about DLL. Switched over to latest NuGet of LibGit2Sharp, back to original error. Added latest LibGit2Sharp source, back at the DLL error. I keep getting pushed back and forward between these two. Anyone has any ideas since i've almost became bald because i am pulling hairs for days now 😄

@ethomson
Copy link
Member

I'm sorry that you're having such troubles here.

It's hard to know what exactly the problem is here. You've mentioned a couple of things, so it's not clear to me which version(s) of LibGit2Sharp you are using, and the corresponding version of libgit2 that you're using. You mention a852e1c for example, which is quite ancient. I would limit myself to the most recent prelease of LibGit2Sharp, or I suppose building from master.

Are you being quite careful to only build the libgit2 that corresponds to the version of LibGit2Sharp that you're using? Otherwise you will not have API compatibility.

Are you ensuring that the resulting binary had the correct name?

Again, I think that straceing and looking for the appropriate opens to see where it's looking for the binary would be very helpful.

It does seem like there are two errors here: first, that when you compile it yourself, it cannot find the binary. This suggests that it's simply not finding it, although strace would tell you if that's the case, or if there is some other problem, like not being able to find a dependant library. (Though this seems rather unlikely since you've built it yourself.)

The other error seems like it is finding the library but there is a problem executing it. Again, strace could verify this.

@Maxdg
Copy link
Author

Maxdg commented Jun 12, 2017

I just tried something new, created a new project for the 3rd time, and it worked. i added SharpBucket in, it started to throw the error again. it seems to be conflicting with each other. i'm giving it a look and see if i can construct it now with this knowledge.

Although i am unsure why the error is referencing towards your code while SharpBucket could be the cause of this issue

@Maxdg
Copy link
Author

Maxdg commented Jun 12, 2017

Nope, unresolved. Stripped out SharpBucket and wrote my own way to get all the repositories listed. however it starts crashing AGAIN! Same error...

@Maxdg
Copy link
Author

Maxdg commented Jun 13, 2017

Allright here is my lead to fix this issue, but i can't fix it since it seems to go wrong with the Native Binaries.

Listing the repositories with this code:

public static List<string> GetRepositories()
		{

			Dictionary<string,string> repositoriesList = new Dictionary<string, string> ();

			string credentials = Convert.ToBase64String(ASCIIEncoding.ASCII.GetBytes("username" + ":" + "password"));

			HttpWebRequest request = (HttpWebRequest)WebRequest.Create ("https://bitbucket.org/!api/2.0/repositories/team/");
			request.Method = "GET";
			request.Accept = "json";
			request.Headers.Add("Authorization", "Basic " + credentials);
			request.UserAgent = "curl/7.37.0";
			request.ContentType = "json";
			var response = request.GetResponse () as HttpWebResponse;
			string json;
			
				var reader = new StreamReader(response.GetResponseStream());
				json = reader.ReadToEnd ();

			response.Close ();
			reader.Close ();
			RootObject data = JsonConvert.DeserializeObject<RootObject> (json);

			List<string> repos = new List<string> ();
			foreach (var value in data.values)
			{
				repositoriesList.Add (value.name, value.size.ToString());
				repos.Add (value.links.clone [0].href);
			}
			repositoriesList.Add("test1","44");
			repositoriesList.Add("test2","44");
			repositoriesList.Add("test3","44");
			repositoriesList.Add("test4","44");
			repositoriesList.Add("test5","44");
			repositoriesList.Add("test6","44");
			repositoriesList.Add("test7","44");

			Console.Write(repositoriesList.ToMarkdownTable ().WithHeaders("Repository", "Size"));
			request.Abort ();
			return repos;
		}

returns the error stated at the start of this issue. Removing the part where it connects to the API(HtttpWebRequest part) solves this issue and it will run on preset repository URL's.

A workaround i've created for this is doing a HttpWebRequest towards the server, write the response back to a file on the local system. Relaunch the app and use the file on the local system to initiate the cloning.

all done with the latest NuGets.

@Maxdg
Copy link
Author

Maxdg commented Jun 26, 2017

Any news on the issue?

@ethomson
Copy link
Member

No, there's no news: nobody else has experienced this and we cannot reproduce it.

Does this work with a different mono version? I would expect the latest LibGit2Sharp to change anything, but it would be worth trying anyway.

@bording
Copy link
Member

bording commented Jun 26, 2017

@Maxdg Give mono 4.8 a try and see if that helps. I've seen some odd behavior with mono 5.0, but I haven't had time to investigate it yet.

@ethomson
Copy link
Member

No activity on this issue suggests to me that it's been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants