jochene

  • *
  • 73
    • Modellheliflieger
Problems about problem.
« on: December 12, 2015, 11:59:33 am »
Hello,
i do everything according to these instructions.
https://librepilot.atlassian.net/wiki/display/LPDOC/Windows+Building+and+Packaging

I'd like to continue to support your project with my heli and Copter.
Unfortunately there after nearly every new update problme . The last problem is still very serious.



I make this today:

Windows 10 64-bit
Git-2.6.3-32-bit.exe


Start bash
cd ..
cd ..
mkdir code
cd code
git clone https://bitbucket.org/librepilot/librepilot.git

Error:
Cloning into 'librepilot'...
fatal: unable to access 'https://bitbucket.org/librepilot/librepilot.git/': error setting certificate verify locations:
  CAfile: C:/Git/mingw64/ssl/certs/ca-bundle.crt
  CApath: none

What is this?

-------------------------------------

I make all new

Windows 10 64-bit
Git-2.6.3-64-bit.exe


Start bash
cd ..
cd ..
mkdir code
cd code
git clone https://bitbucket.org/librepilot/librepilot.git

OK

cd librepilot
git checkout next

OK

make/scripts/win_sdk_install.sh

OK

echo "export PATH=\"\$PATH:/C/code/librepilot/tools/bin\"" >> ~/.profile

OK

I change in tool.mk
BUILD_SDK_TARGETS += osg sdl nsis mesawin openssl ccache
to
BUILD_SDK_TARGETS += osg sdl nsis mesawin openssl #ccache


make all_sdk_install
NOTE        Sanitized disallowed variable 'TMPDIR' from environment
      0 [main] sh 2640 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x 400000 - 0x600000), Win32 error 487
   1009 [main] sh 2640 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
      1 [main] sh 4676 fork: child -1 - forked process 2640 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
1043292 [main] sh 2340 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
1043803 [main] sh 2340 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
1219710 [main] sh 4676 fork: child -1 - forked process 2340 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
3273372 [main] sh 8884 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
3273722 [main] sh 8884 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
3449468 [main] sh 4676 fork: child -1 - forked process 8884 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
7498478 [main] sh 7992 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
7498876 [main] sh 7992 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
7654197 [main] sh 4676 fork: child -1 - forked process 7992 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
15698878 [main] sh 8904 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
15699217 [main] sh 8904 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
15895113 [main] sh 4676 fork: child -1 - forked process 8904 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: Resource temporarily unavailable
      1 [main] sh 2196 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
    807 [main] sh 2196 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
      1 [main] sh 7632 fork: child -1 - forked process 2196 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
1038241 [main] sh 264 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
1038681 [main] sh 264 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
1185355 [main] sh 7632 fork: child -1 - forked process 264 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
3227781 [main] sh 3944 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
3228210 [main] sh 3944 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
3374169 [main] sh 7632 fork: child -1 - forked process 3944 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
7422535 [main] sh 4576 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
7422893 [main] sh 4576 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
7592969 [main] sh 7632 fork: child -1 - forked process 4576 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
15642527 [main] sh 8872 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
15642941 [main] sh 8872 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
15786758 [main] sh 7632 fork: child -1 - forked process 8872 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: Resource temporarily unavailable
      0 [main] sh 9100 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
    345 [main] sh 9100 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
      1 [main] sh 8760 fork: child -1 - forked process 9100 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
1042284 [main] sh 8992 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
1042865 [main] sh 8992 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
1190527 [main] sh 8760 fork: child -1 - forked process 8992 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
3241783 [main] sh 7676 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
3242133 [main] sh 7676 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
3421157 [main] sh 8760 fork: child -1 - forked process 7676 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
7468031 [main] sh 1872 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
7468420 [main] sh 1872 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
7640155 [main] sh 8760 fork: child -1 - forked process 1872 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: retry: No child processes
15693234 [main] sh 4416 C:\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
15693653 [main] sh 4416 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
15867195 [main] sh 8760 fork: child -1 - forked process 4416 died unexpectedly, retry 0, exit code 0x100, errno 11
/usr/bin/sh: fork: Resource temporarily unavailable
C:/code/librepilot/make/tools.mk:289: *** Please install curl first ('apt-get install curl' or similar).  Stop.
-----------------------------------------------

What can i do?

A recent working instructions would help there but very.

Thank you

Jochen
Gruß
Jochen
---------------------------------------------------------------------------------
Wer Rechtschreibfehler findet darf diese auch behalten.
---------------------------------------------------------------------------------

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Problems about problem.
« Reply #1 on: December 12, 2015, 12:20:50 pm »
This is a Gitbash issue, microsoft changed something.

If i remember another user fixed this issue using the 32bit version but looks like you have a mix between the 32 and 64version

f5soh

  • *****
  • 4572
    • LibrePilot

jochene

  • *
  • 73
    • Modellheliflieger
Re: Problems about problem.
« Reply #3 on: December 12, 2015, 01:38:37 pm »
Hello,
i have uninstalled after each test, everything and newly uploaded.
The Windows registry has been adjusted by program.
As there mixing comes about, I can not explain it.

How can I resolve this ?

Thank you

Jochen
Gruß
Jochen
---------------------------------------------------------------------------------
Wer Rechtschreibfehler findet darf diese auch behalten.
---------------------------------------------------------------------------------

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Problems about problem.
« Reply #4 on: December 12, 2015, 01:51:32 pm »
I'm not sure the 32bit version still need C:/Git/mingw64/ssl/certs/ca-bundle.crt, try to resolve this error running Git-2.6.3-32-bit.exe

Sorry, i just use a WinXP virtual machine that still works fine.

Maybe some Git config file that still here after the 64bit use.

~/.gitconfig  where ~/ is your home path
« Last Edit: December 12, 2015, 01:55:28 pm by f5soh »

jochene

  • *
  • 73
    • Modellheliflieger
Re: Problems about problem.
« Reply #5 on: December 12, 2015, 02:16:08 pm »
Thank you.
I have now make a copy from mingw32 to mingw64 , now running at least the command git clone https://bitbucket.org/librepilot/librepilot.git .
Will next time try.

jochen
Gruß
Jochen
---------------------------------------------------------------------------------
Wer Rechtschreibfehler findet darf diese auch behalten.
---------------------------------------------------------------------------------

hwh

  • *
  • 1018
Re: Problems about problem.
« Reply #6 on: December 12, 2015, 05:56:31 pm »
I was the one who had problems running the 64bit git-for-windows on 64bit Windows 10 and got around it as described in the other thread by forcing the download of the 32bit version of git-for-windows.  When I tried running the 64bit version I got exactly the same errors about forking that jochene got.  Once I installed the 32bit version of git-for-windows I never had any problems.