From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11090 invoked from network); 25 Aug 2007 14:51:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Aug 2007 14:51:37 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 87013 invoked from network); 25 Aug 2007 14:51:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Aug 2007 14:51:29 -0000 Received: (qmail 18635 invoked by alias); 25 Aug 2007 14:51:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23796 Received: (qmail 18624 invoked from network); 25 Aug 2007 14:51:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 25 Aug 2007 14:51:26 -0000 Received: (qmail 86786 invoked from network); 25 Aug 2007 14:51:26 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 25 Aug 2007 14:51:17 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id CF01B5CF30; Sat, 25 Aug 2007 10:51:12 -0400 (EDT) Date: Sat, 25 Aug 2007 10:51:12 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Cc: Robin Lee Powell , 439425-forwarded@bugs.debian.org Subject: Re: Bug#439425: Random, but fairly regular, zsh segfaults Message-ID: <20070825145112.GA24393@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk, Robin Lee Powell , 439425-forwarded@bugs.debian.org References: <20070825004026.12883.52907.reportbug@chain.digitalkingdom.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070825004026.12883.52907.reportbug@chain.digitalkingdom.org> User-Agent: Mutt/1.5.16 (2007-06-11) On Fri, Aug 24, 2007 at 05:40:26PM -0700, Robin Lee Powell wrote: > zsh does the following to me fairly regularily; this seems different > to me than the other segfault bug reports. It seems to do it > slightly more often in my root shells. It seems to motly occur when > I'm typing ahead (due to engaging in complicated history searching > or whatever during machine slowdowns). > > I'm not sure how to get further data on this; it's pretty random. > I'd be happy to work with the maintainer or upstream people, but > note that I'm AFK from 28 Aug 2007 to 11 Sep 2007. What are your history-related options? What are the values of $HISTSIZE and $SAVEHIST ? > root@chain.digitalkingdom.org> *** glibc detected *** -su: munmap_chunk(): invalid pointer: 0x0000000000710c70 *** /etc/exim4 > ======= Backtrace: ========= > /lib/libc.so.6(cfree+0x1b6)[0x2b66d38806b6] > /usr/lib/zsh/4.3.4/zsh/zle.so[0x2b66d439aeb0] > /usr/lib/zsh/4.3.4/zsh/zle.so(vihistorysearchbackward+0x6f)[0x2b66d439be9f] > /usr/lib/zsh/4.3.4/zsh/zle.so(execzlefunc+0xd8)[0x2b66d43a1438] > /usr/lib/zsh/4.3.4/zsh/zle.so(zlecore+0xed)[0x2b66d43a1a9d] > /usr/lib/zsh/4.3.4/zsh/zle.so(zleread+0x41b)[0x2b66d43a20db] > -su(ingetc+0x120)[0x43d080] > -su[0x437f1a] > -su(gettok+0x1b)[0x445a5b] > -su(yylex+0x18)[0x446258] > -su(parse_event+0x27)[0x461867] > -su(loop+0x58)[0x43baa8] > -su(zsh_main+0x1dc)[0x43c80c] > /lib/libc.so.6(__libc_start_main+0xf4)[0x2b66d3828b44] > -su[0x40f5b9] > ======= Memory map: ======== > 00400000-00492000 r-xp 00000000 07:00 6246972 /bin/zsh4 > 00691000-00697000 rw-p 00091000 07:00 6246972 /bin/zsh4 > 00697000-00732000 rw-p 00697000 00:00 0 [heap] > 2b66d2cf2000-2b66d2d0f000 r-xp 00000000 07:00 2965513 /lib/ld-2.6.1.so > 2b66d2d0f000-2b66d2d16000 rw-p 2b66d2d0f000 00:00 0 > 2b66d2f0e000-2b66d2f10000 rw-p 0001c000 07:00 2965513 /lib/ld-2.6.1.so > 2b66d2f10000-2b66d2f12000 r-xp 00000000 07:00 2965522 /lib/libdl-2.6.1.so > 2b66d2f12000-2b66d3112000 ---p 00002000 07:00 2965522 /lib/libdl-2.6.1.so > 2b66d3112000-2b66d3114000 rw-p 00002000 07:00 2965522 /lib/libdl-2.6.1.so > 2b66d3114000-2b66d3129000 r-xp 00000000 07:00 2965514 /lib/libnsl-2.6.1.so > 2b66d3129000-2b66d3329000 ---p 00015000 07:00 2965514 /lib/libnsl-2.6.1.so > 2b66d3329000-2b66d332b000 rw-p 00015000 07:00 2965514 /lib/libnsl-2.6.1.so > 2b66d332b000-2b66d332d000 rw-p 2b66d332b000 00:00 0 > 2b66d332d000-2b66d337b000 r-xp 00000000 07:00 11571957 /lib/libncurses.so.5.6 > 2b66d337b000-2b66d357a000 ---p 0004e000 07:00 11571957 /lib/libncurses.so.5.6 > 2b66d357a000-2b66d3589000 rw-p 0004d000 07:00 11571957 /lib/libncurses.so.5.6 > 2b66d3589000-2b66d3609000 r-xp 00000000 07:00 2965526 /lib/libm-2.6.1.so > 2b66d3609000-2b66d3808000 ---p 00080000 07:00 2965526 /lib/libm-2.6.1.so > 2b66d3808000-2b66d380a000 rw-p 0007f000 07:00 2965526 /lib/libm-2.6.1.so > 2b66d380a000-2b66d380b000 rw-p 2b66d380a000 00:00 0 > 2b66d380b000-2b66d3958000 r-xp 00000000 07:00 2965518 /lib/libc-2.6.1.so > 2b66d3958000-2b66d3b58000 ---p 0014d000 07:00 2965518 /lib/libc-2.6.1.so > 2b66d3b58000-2b66d3b5b000 r--p 0014d000 07:00 2965518 /lib/libc-2.6.1.so > 2b66d3b5b000-2b66d3b5d000 rw-p 00150000 07:00 2965518 /lib/libc-2.6.1.so > 2b66d3b5d000-2b66d3b63000 rw-p 2b66d3b5d000 00:00 0 > 2b66d3b63000-2b66d3b6a000 r-xp 00000000 07:00 2965519 /lib/libnss_compat-2.6.1.so > 2b66d3b6a000-2b66d3d6a000 ---p 00007000 07:00 2965519 /lib/libnss_compat-2.6.1.so > 2b66d3d6a000-2b66d3d6c000 rw-p 00007000 07:00 2965519 /lib/libnss_compat-2.6.1.so > 2b66d3d6c000-2b66d3d76000 r-xp 00000000 07:00 2965512 /lib/libnss_nis-2.6.1.so > 2b66d3d76000-2b66d3f75000 ---p 0000a000 07:00 2965512 /lib/libnss_nis-2.6.1.so > 2b66d3f75000-2b66d3f77000 rw-p 00009000 07:00 2965512 /lib/libnss_nis-2.6.1.so > 2b66d3f77000-2b66d3f81000 r-xp 00000000 07:00 2965527 /lib/libnss_files-2.6.1.so > 2b66d3f81000-2b66d4180000 ---p 0000a000 07:00 2965527 /lib/libnss_files-2.6.1.so > 2b66d4180000-2b66d4182000 rw-p 00009000 07:00 2965527 /lib/libnss_files-2.6.1.so > 2b66d4183000-2b66d4185000 r-xp 00000000 07:00 13058896 /usr/lib/zsh/4.3.4/zsh/terminfo.so > 2b66d4185000-2b66d4384000 ---p 00002000 07:00 13058896 /usr/lib/zsh/4.3.4/zsh/terminfo.so > 2b66d4384000-2b66d4385000 rw-p 00001000 07:00 13058896 /usr/lib/zsh/4.3.4/zsh/terminfo.so > 2b66d4385000-2b66d43be000 r-x%