| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_SV,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | jojelino <jojelino AT gmail DOT com> |
| Subject: | please fix heap_init |
| Date: | Mon, 18 Jul 2011 05:20:30 +0900 |
| Lines: | 30 |
| Message-ID: | <ivvg3l$ios$1@dough.gmane.org> |
| Mime-Version: | 1.0 |
| User-Agent: | Mozilla/5.0 (Windows NT 5.2; rv:7.0a2) Gecko/20110716 Thunderbird/7.0a2 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
this is following of 'infinite recursion in git-svn'
#to reproduce this problem,
#1. please use latest cvs trunk
#2. set HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\heap_chunk_in_mb=0x400
Starting program: /usr/bin/perl.exe /usr/lib/git-core/git-svn clone
-rHEAD http://google-perftools.googlecode.com/svn/trunk/
[New Thread 5352.0x9c4]
warning: section .gnu_debuglink not found in
/cygdrive/d/cygwin/bin/cygwin1.dbg
Breakpoint 1, heap_init () at /tmp/winsup/winsup/cygwin/heap.cc:81
81 start_address = roundup2 (start_address +
mbi.RegionSize,
2: largest_found_size = 0x35680000
1: start_address = 0x55690000
(gdb) i b
Num Type Disp Enb Address What
1 breakpoint keep y 0x61078875 in heap_init()
at
/tmp/winsup/winsup/cygwin/heap.cc:81
breakpoint already hit 1 time
(gdb)
start_address continues to grow, and in heap.cc:94 it is used as base
address.
which is not we wanted. and sbrk could fail if it used up MINHEAP_SIZE.
please fix this problem
Regards
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |