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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=LzcJtaZ42j8IUaispmG4viUPV5UK6QSJihyAk7ACj0/z352bENkOI 2DZS1UiOJsFU7NEpUN8x9ZSlOKlNwXPPkDlEzGwAQNBTU4jPomtQ+LEK6Z+ziXd4 qFayltN6mjufs4LdtfTqGsUCON2I/3RlfIuuZR9doeAEKwA7Fye0Jo= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=f8z9bZCKqLP5Og6a3wdx0oCiUYs=; b=c3c6t/LLETNfhaFg9ovQyO8yQEml S6Bt+zir06hoZV8pbCui9KMf12QpMqVvIetXUL7weHbhin/QE+LS2jQeRCUhsrfU /gTuxIMPyA/3QIAHaFd5951m1s0vo7/4Ag9+5CLVWYNyx9TYcxSlkqzXXgiIagHG JniRbAPTXbao/eE= 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=-1.6 required=5.0 tests=AWL,BAYES_00,KAM_ADVERT2 autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 28 Oct 2013 17:17:09 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com, Eric Blake Subject: Re: cygwin64 1.7.25 "locate" core dumps Message-ID: <20131028161709.GB2544@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com, Eric Blake References: <259CE9393F69194AB01E47805F15F0625A8B2D8E AT HOU1065 DOT verit DOT dnv DOT com> <20131026111118 DOT GB15394 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NMuMz9nt05w80d4+" Content-Disposition: inline In-Reply-To: <20131026111118.GB15394@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) --NMuMz9nt05w80d4+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Oct 26 13:11, Corinna Vinschen wrote: > On Oct 25 20:19, Steve wrote: > > On Mon, Sep 16, 2013 at 6:45 PM, wrote: > > > Could not find reports on core dumps in system programs recently, or = problems > > > with the locate tool. > > > > > > What I do: > > > > > > ---------------------------------------------------------------------= ----- > > > JNEWM AT FSEL7800 ~ > > > $ locate junk > > > /home/JNEWM/.cpan/build/Email-Simple-2.102-AftJAF/t/header-junk.t > > > /home/JNEWM/.cpan/build/Email-Simple-2.102-AftJAF/t/test-mails/junk-i= n-header > > > /home/JNEWM/.cpan/build/MIME-tools-5.503-wxTSaY/testmsgs/uu-junk-extr= acted.ref > > > /home/JNEWM/.cpan/build/MIME-tools-5.503-wxTSaY/testmsgs/uu-junk-targ= et.msg > > > /home/JNEWM/.cpan/build/MIME-tools-5.503-wxTSaY/testmsgs/uu-junk.msg > > > /home/JNEWM/.cpan/build/MIME-tools-5.503-wxTSaY/testmsgs/uu-junk.ref > > > Segmentation fault (core dumped) >=20 > WJFFM. I created a new updatedb like this: >=20 > $ LC_ALL=3DC updatedb --prunefs=3D'nfs smbfs' --prunepaths=3D'/dev /cyg= drive /proc /tmp /var/cache/ccache /var/spool /var/tmp /usr/bin /usr/lib' >=20 > > > --- Process 9720, exception c0000005 at 000000010040368B > ^^^^^^^^^^^^^^^^ >=20 > This is an address within the locate executable itself, line 58 in > lib/splitstring.c. Either a wrong pointer or a broken length > information. >=20 > Does it work if you regenerate your updatedb, perhaps? >=20 > Eric, is this perhaps a know bug in locate from findutils 4.5.11? I found the cause for the crash. locate from findutils 4.5.11 has a bug which results in trying to dereference a NULL string pointer. It happens because it neglects to check the string for being non-NULL at one point in the source... which, unfortunately, can be hit easily. Apart from a findutils update to 4.5.12, a temporary workaround is easy: $ export LOCATE_PATH=3D/var/locatedb $ locate junk [...no crash...] $=20 HTH, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --NMuMz9nt05w80d4+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBAgAGBQJSbo4FAAoJEPU2Bp2uRE+gVF8P/0MHhDmASbCn055ojSdcLc7K fjv0slXtRNLiRK5DKYvh4F2vj0JnaFIc9LHwdHcqoGAdnvy1SOj/W0LLv+6/ThVG 90nXkgIy320qP8WDwLjCr3E6wwFDNSblwIMhnrls+VgqzctUpiZAFgNUr8ResNK/ yTy1rWrYOZlR/lbPQaPFDq22wPcU/0dDp9E3JybAnLHipcrM3rl1iYXWXiGoPPXr CitiBPeOgwA963NlauflNRzG2O9ENT3b+KBjh4Td7PmiOUTGQxJLqDm2FCT5u6ac OFL9XyqYsQVtbgT2rwViv36Ai8VqJ222M9zTtqd84GWcBkOItqiP8EGIEl6RgW8b dX05Fw/EKTmP63txZQJtYX9ZXkGs623wI5PWdXrrYCcaikWPBwZB1tMgL1Cj9TcC FK5todDMhl5olOzO22KPwgupHe5MRXNST11xK7J8kuQ2aemvwYJyZvA7sE9clJK/ RoHdQiBY7BV1S1meDBo8uzN/IA4CJ6BMq/dvK20i0Ple77Ay1H06MdtJABxWwmar digDvLpnadzuUKR6ua9d+G7wNQZAU1xzkinJutGltvghrqnxRyhGcPRo9kxMFSLH Sh19tNGmewIa/CI2Vw69e4aLVgSe8uou8M+hTAS6SCmY4GI853gMBoLI83e3ZZLc uuSwDvlQnsAw59uSBRHl =uZYU -----END PGP SIGNATURE----- --NMuMz9nt05w80d4+--