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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=t0wi6 fiFlP6Ju5lLm857mV12XNh7eXCo7vH9xID0xMKA4QHiWcMJGdBAQGu+GTpgUALQ5 RiWEH7KCZxnjo+8PJjOf6Kcrq8rSxoGos/cW2hoKHHXtPnwjla1MNBwAEeXBdOTz mZyJQ/ql159eMB03idyOHdOi8iEoV6zFgpnXeo= 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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=U5Dhcq64dFw iWeef4Ho/4+Hsg+k=; b=PE3dVegvFW6iF9n1vTRXxQbbbyQc/4laWAaGwfmMc8Y b8ICENSu2vRrIlJnpSYm8usFZMhThDIgYI7ELpD6c2BqUhRI8Y4yOWG/mjZbUbjX mam9ys7iqJsrt1IWUCKdElSK+OJnPqvotlQotrWda0jQRSIRSkx3YCPi73lQm3Hs = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-11.arcor-online.net X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-17.arcor-online.net 95B69CBC48 From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: man-db: crashes and possible fix References: <53B728EF DOT 1030402 AT cygwin DOT com> Date: Sat, 05 Jul 2014 06:51:04 +0200 In-Reply-To: <53B728EF.1030402@cygwin.com> (Yaakov Selkowitz's message of "Fri, 04 Jul 2014 17:21:35 -0500") Message-ID: <87vbrcpfwn.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Yaakov Selkowitz writes: > WRT mandb -c crashing or aborting: > > * I can reproduce this on x86_64, but not on x86. I've had a single crash on x86, but it may have been due to BLODA since the second run completed. > * 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 most machines, including all new installs of x86_64 during the last week, man-db didn't crash. The crashes I've had before cuold be resolved by starting man-db in debug mode and the index DB is certainly present, otherwise man wouldn't find any apropos. > * On x86_64, increasing the stack commit size seems to help: > > peflags -X0x20000 /usr/bin/mandb.exe > > (Note that is a capital X.) Never tried this so far. > * Even with that, it still takes over 20 minutes to complete. Yes, although it is about twice as fast on an SSD. > Has anyone found differently, and does the peflags command above help? See above, although I do an incremental rebase after each install that also corrects PE flags (not touching the stacksize though). New installs get a full rebase obviously. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- 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