delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/04/18:22:00

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=ko9
RRkt8IIF02WX93iM1awCrSwDdHHXjrACzM1qFwJW3lisApqgmC0KffLsJF5fMQrZ
OIEcpPpicJt2ShBuBtU4jDwnQg4wRjeiFcBqIPGAYIdcDLqHc5jm9XNG01URm1+P
drbFGNfLiuXFdDhMtJVp5W/jXsh7mqDpf1g7h0sQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=8FYSxeDl1
4HuotkrusVN78N+09A=; b=lHuKgiqBNUVLNIQg1+1ivYCaauuYpFK/BzLSFafOg
QcBnFV89deym9lUcEfgdEmCZ12L7YySV5vCM4qMOJXluqCnTVGKl8LueJiiQ78Mw
gOn9oflMnGEC9LlYLC/mP/mo0P6rBpOu6IWSd/eZZVkjsYZInUj95y6PboVXnl0J
n0=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f169.google.com
X-Received: by 10.50.57.80 with SMTP id g16mr65812202igq.30.1404512496325; Fri, 04 Jul 2014 15:21:36 -0700 (PDT)
Message-ID: <53B728EF.1030402@cygwin.com>
Date: Fri, 04 Jul 2014 17:21:35 -0500
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: man-db: crashes and possible fix

WRT mandb -c crashing or aborting:

* I can reproduce this on x86_64, but not on x86.

* I can reproduce that mandb -cd doesn't crash but it doesn't complete 
successfully either; the difference being if there is a 
/var/cache/man/index.db or just a numbered file there (the PID, 
specifically).  So that is not really a solution.

* On x86_64, increasing the stack commit size seems to help:

peflags -X0x20000 /usr/bin/mandb.exe

(Note that is a capital X.)

* Even with that, it still takes over 20 minutes to complete.

Has anyone found differently, and does the peflags command above help?


Yaakov

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019