This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: man-db: crashes and possible fix
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Sat, 05 Jul 2014 06:51:04 +0200
- Subject: Re: man-db: crashes and possible fix
- Authentication-results: sourceware.org; auth=none
- References: <53B728EF dot 1030402 at cygwin dot com>
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