From unknown Fri Jun 20 07:16:46 2025 X-Loop: don@donarmstrong.com Subject: bug#1491: bug in ebrowse 22.1 Reply-To: Lars Rasmusson , 1491@debbugs.gnu.org Resent-From: Lars Rasmusson Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 04 Dec 2008 14:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1491 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122840100922179 (code B ref -1); Thu, 04 Dec 2008 14:40:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.0 required=4.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Dec 2008 14:30:09 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB4EU3LA021858 for ; Thu, 4 Dec 2008 06:30:04 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8FDO-0001Ty-At for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 09:30:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8FDM-0001Sh-SL for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 09:30:02 -0500 Received: from [199.232.76.173] (port=43384 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8FDM-0001SX-Oj for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 09:30:00 -0500 Received: from nf-out-0910.google.com ([64.233.182.187]:53649) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8FDM-0001qw-Eu for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 09:30:00 -0500 Received: by nf-out-0910.google.com with SMTP id c7so2457709nfi.26 for ; Thu, 04 Dec 2008 06:29:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:to:content-type :content-transfer-encoding:subject:mime-version:date:x-mailer:from; bh=qX3e2V1SoxupRkLC6Pu1XKsTyJ/W01Dp+uHc0oP/Org=; b=D8IfHgBSTBOlyTKqJIT9ZoaeE5xOIjUyVs4GIt5KChsYwT9lhSKLciEnppGXzOJ1YZ +qbne7ZwaiRE3mkR4E/prqjCDJ+yHcK2k9tljd7t76sGVE/7qXzcnhEf3OkWJNsbGtVB s20+ISXcX//D77bu78Lz07RF5cl4olWWGI274= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:to:content-type:content-transfer-encoding:subject :mime-version:date:x-mailer:from; b=w1s8VjAFECTZkbF/oWAJNMgTtuuisGI5kJPyGuIfPwKGRp92dG599T8rrNQz2AAtIE iFpbUqYqBmupw1C1xzz6wAQ6U4HKNGUCUATEhj6gO/PQORhk5yNKsfyAo+DfIF4XD4vx joe+Neod4LIeSdFOmLLFSRKzZ07SnOOxK/DJ0= Received: by 10.210.52.9 with SMTP id z9mr16508335ebz.177.1228400998264; Thu, 04 Dec 2008 06:29:58 -0800 (PST) Received: from lmac.sics.se (lmac.sics.se [193.10.67.39]) by mx.google.com with ESMTPS id 7sm6258338eyb.44.2008.12.04.06.29.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Dec 2008 06:29:57 -0800 (PST) Message-Id: <92AFFC27-186C-4473-9C85-8F8C00C311FF@gmail.com> To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 4 Dec 2008 15:29:55 +0100 X-Mailer: Apple Mail (2.929.2) From: Lars Rasmusson X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Hi, ebrowse 22.1 crashes with a "Bus error on the following input: struct a { }; However, ebrowse works fine with the following input: struct a { }; I'm running on a PPC Mac G4 on and OS X 10.5.5. Cheers, /Lars From unknown Fri Jun 20 07:16:46 2025 X-Loop: don@donarmstrong.com Subject: bug#1491: bug in ebrowse 22.1 Reply-To: "richardeng" , 1491@debbugs.gnu.org Resent-From: "richardeng" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 04 Dec 2008 16:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1491 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1491-submit@emacsbugs.donarmstrong.com id=B1491.122840825921787 (code B ref 1491); Thu, 04 Dec 2008 16:40:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1491) by emacsbugs.donarmstrong.com; 4 Dec 2008 16:30:59 +0000 Received: from smtpbg1.foxmail.com (smtpbg1.foxmail.com [58.61.33.111]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mB4GUr3n021774 for <1491@emacsbugs.donarmstrong.com>; Thu, 4 Dec 2008 08:30:54 -0800 Received: from 172.23.147.140 (foxmail.com [172.23.147.140]) by smtpbg1 (foxmail.com) with SMTP id EhWVmMXG; Fri, 05 Dec 2008 00:30:44 +0800 (envelope-from richardeng@foxmail.com) X-QQ-mid: esmtp5122840824395116937 Received: from 889D3A80E680420 (unknown [116.224.216.131]) by smtp.foxmail.com (Postfix) with ESMTP id ; Fri, 5 Dec 2008 00:30:43 +0800 (CST) Date: Fri, 5 Dec 2008 00:30:45 +0800 From: "richardeng" To: "Lars Rasmusson" , "1491" <1491@debbugs.gnu.org> References: <92AFFC27-186C-4473-9C85-8F8C00C311FF@gmail.com> Message-ID: <200812050030446133293@foxmail.com> X-mailer: Foxmail 6, 14, 103, 20 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit try the last Emacs cvs version 23.0.60. Maybe your problem is solved. # ebrowse --version ebrowse 23.0.60 Copyright (C) 2008 Free Software Foundation, Inc. This program is distributed under the same terms as Emacs. From unknown Fri Jun 20 07:16:46 2025 X-Loop: don@donarmstrong.com Subject: bug#1491: Same problem in 23.0.60 Reply-To: Lars Rasmusson , 1491@debbugs.gnu.org Resent-From: Lars Rasmusson Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 05 Dec 2008 00:00:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1491 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1491-submit@emacsbugs.donarmstrong.com id=B1491.12284348208436 (code B ref 1491); Fri, 05 Dec 2008 00:00:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.7 required=4.0 tests=BAYES_00,FB_WORD1_END_DOLLAR, FOURLA,FVGT_m_MULTI_ODD,IMPRONONCABLE_1,MURPHY_WRONG_WORD2 autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1491) by emacsbugs.donarmstrong.com; 4 Dec 2008 23:53:40 +0000 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB4Nra8l008427 for <1491@emacsbugs.donarmstrong.com>; Thu, 4 Dec 2008 15:53:37 -0800 Received: by nf-out-0910.google.com with SMTP id 30so2189964nfu.31 for <1491@emacsbugs.donarmstrong.com>; Thu, 04 Dec 2008 15:53:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:to:content-type :content-transfer-encoding:subject:mime-version:date:x-mailer:from; bh=KDp0Fu9iotV0/2bGeQJHNZ8VdWOdAQhJswL0IoAfDDM=; b=r3x8f9Lu5SL/jmnh5AvEGklB/HEb7WKRQq+wmAHsK1YRFPw7m4ij5GTeh/lx0sdf9n hzbrJGFMeiPqSJ9JUjHTMabgP8Gs/Iiw/S/54Wcx8R1y/dCBGJOvGhCnp/I4UrlUUid7 9XgEwRWztpnbJXC2LbOB/fDVjo3/VE57nKNcE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:to:content-type:content-transfer-encoding:subject :mime-version:date:x-mailer:from; b=OOKsnNW5SNzYXgIJOFbEXqKDGQN3pfB0rNds+GbmT67pSyBQEGMQ3Eo0RemeEwAPEp P+7+NEJg6p343vI6aW/iL5npf0svEXqOuxoiWHFBvkrrQe6WDjWBKD8YAX9XV907+ebN RzBypCM1+dpr9OoBTP8VIBcenZ5kQDTaN/fiE= Received: by 10.210.67.4 with SMTP id p4mr4166571eba.192.1228434815360; Thu, 04 Dec 2008 15:53:35 -0800 (PST) Received: from ?192.168.10.196? (ua-83-227-144-6.cust.bredbandsbolaget.se [83.227.144.6]) by mx.google.com with ESMTPS id 3sm6599630eyi.45.2008.12.04.15.53.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Dec 2008 15:53:34 -0800 (PST) Message-Id: <4DDE8D7E-285A-4A36-A05B-86A2A9E4F691@gmail.com> To: 1491@debbugs.gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Fri, 5 Dec 2008 00:53:32 +0100 X-Mailer: Apple Mail (2.929.2) From: Lars Rasmusson Sorry, I still get the same error... This is what I do: $ uname -a Darwin lmac.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3 11:31:44 PDT 2008; root:xnu-1228.7.58~1/RELEASE_PPC Power Macintosh $ cd /tmp $ cvs -d :pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs $ cd emacs $ ./configure --without-gif $ cd lib-src $ make ebrowse cp /tmp/emacs/lib-src/getopt_.h getopt.h-t mv getopt.h-t getopt.h gcc -c -DHAVE_CONFIG_H -I. -I../src -I/tmp/emacs/lib-src -I/tmp/emacs/ lib-src/../src -g -O2 -Wno-pointer-sign /tmp/emacs/lib-src/getopt.c gcc -c -DHAVE_CONFIG_H -I. -I../src -I/tmp/emacs/lib-src -I/tmp/emacs/ lib-src/../src -g -O2 -Wno-pointer-sign /tmp/emacs/lib-src/getopt1.c gcc -DHAVE_CONFIG_H -I. -I../src -I/tmp/emacs/lib-src -I/tmp/emacs/lib- src/../src -g -O2 -Wno-pointer-sign -DVERSION="\"23.0.60\"" /tmp/ emacs/lib-src/ebrowse.c getopt.o getopt1.o -o ebrowse $ ./ebrowse --version ebrowse 23.0.60 Copyright (C) 2008 Free Software Foundation, Inc. This program is distributed under the same terms as Emacs. lmac:lib-src larsr$ cat > eb.h struct a { }; $ ebrowse eb.h Bus error $ From GDB I found that it crashes like this: (gdb) file ./ebrowse (gdb) run eb.h Starting program: /private/tmp/emacs/lib-src/ebrowse eb.h Reading symbols for shared libraries ++. done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00015fff matching_regexp () at /tmp/emacs/lib-src/ebrowse.c:2039 2039 if (*p == '\n') (gdb) bt #0 matching_regexp () at /tmp/emacs/lib-src/ebrowse.c:2039 #1 0x00007fe8 in class_definition (containing=, tag=321, flags=0, nested=0) at / tmp/emacs/lib-src/ebrowse.c:3149 #2 0x00008498 in globals (start_flags=0) at /tmp/emacs/lib-src/ ebrowse.c:3521 #3 0x00008568 in yyparse () at /tmp/emacs/lib-src/ebrowse.c:3554 #4 0x000086b4 in process_file (file=) at /tmp/emacs/lib-src/ebrowse.c:3741 #5 0x00009248 in main (argc=2, argv=0xbffff958) at /tmp/emacs/lib-src/ ebrowse.c:3946 (gdb) Hope it is useful... From unknown Fri Jun 20 07:16:46 2025 X-Loop: don@donarmstrong.com Subject: bug#1491: Same problem in 23.0.60 Reply-To: "richardeng" , 1491@debbugs.gnu.org Resent-From: "richardeng" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 05 Dec 2008 03:55:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1491 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1491-submit@emacsbugs.donarmstrong.com id=B1491.122844893310444 (code B ref 1491); Fri, 05 Dec 2008 03:55:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1491) by emacsbugs.donarmstrong.com; 5 Dec 2008 03:48:53 +0000 Received: from smtpbg1.foxmail.com (smtpbg1.foxmail.com [58.61.33.111]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mB53mlPe010430 for <1491@emacsbugs.donarmstrong.com>; Thu, 4 Dec 2008 19:48:49 -0800 Received: from 172.23.147.51 (foxmail.com [172.23.147.51]) by smtpbg1 (foxmail.com) with SMTP id IEHIpbjg; Fri, 05 Dec 2008 11:48:37 +0800 (envelope-from richardeng@foxmail.com) X-QQ-mid: esmtp4122844891685816514 Received: from 889D3A80E680420 (unknown [116.224.99.253]) by smtp.foxmail.com (Postfix) with ESMTP id ; Fri, 5 Dec 2008 11:48:36 +0800 (CST) Date: Fri, 5 Dec 2008 11:48:39 +0800 From: "richardeng" To: "Lars Rasmusson" , "1491" <1491@debbugs.gnu.org> References: <4DDE8D7E-285A-4A36-A05B-86A2A9E4F691@gmail.com> Message-ID: <200812051148385270143@foxmail.com> X-mailer: Foxmail 6, 14, 103, 20 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit $ uname -a Linux debian 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686 GNU/Linux $ cat > eb.h struct a { }; $ ebrowse eb.h // no problem here, BROWSE file is generated. Maybe, ebrowse have some problem with '\r' in MacOS, you can change '\r' to '\n' and try again. From unknown Fri Jun 20 07:16:46 2025 X-Loop: don@donarmstrong.com Subject: bug#1491: Info received (Same problem in 23.0.60) Reply-To: Lars Rasmusson , 1491@debbugs.gnu.org Resent-From: Lars Rasmusson Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 06 Dec 2008 07:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1491 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1491-submit@emacsbugs.donarmstrong.com id=B1491.12285468667331 (code B ref 1491); Sat, 06 Dec 2008 07:10:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1491) by emacsbugs.donarmstrong.com; 6 Dec 2008 07:01:06 +0000 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB6713vQ007325 for <1491@emacsbugs.donarmstrong.com>; Fri, 5 Dec 2008 23:01:04 -0800 Received: by yx-out-2324.google.com with SMTP id 8so182541yxg.31 for <1491@emacsbugs.donarmstrong.com>; Fri, 05 Dec 2008 23:01:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:subject :mime-version:date:references:x-mailer; bh=iDTOY0/tsYldNO5fKNFm/k0JD5X+XVusFQ/El/oAhP0=; b=LDSopYuv4pHxp30axfDDeYijMs8FjPVa/kL+rjJdiI6pAfMsJr/+UVZAS/0AfSkxDq L5jKKg1GPf+thkw+XQ/4Xv4UOQ/JRO441VPuOtN49mQpWBtSbfNbcuPProMG0y5wQj+r jD9lQ5UWj3jKzFxrPGw1pB6b+rQ/d0Oh0HvTc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:subject:mime-version:date:references :x-mailer; b=bsg+IMsOMnRyrSKypEIWHFI2odF96SLdjjV20Lc4g8TklIo4Tr99nvmfIXl6poKmqS k3oIGh0L3kBqU0tLCku/Ec0sHO5bc5HTgMXZL6z3BIB3tFUhUjksUYF7lYFe1ch7EggI UF+KQiaTGjZvfnPMJkskxE7Hok1/9P2qczh2Y= Received: by 10.64.243.19 with SMTP id q19mr715449qbh.50.1228546862886; Fri, 05 Dec 2008 23:01:02 -0800 (PST) Received: from ?172.21.0.193? (rrcs-67-52-140-5.west.biz.rr.com [67.52.140.5]) by mx.google.com with ESMTPS id k29sm5312371qba.27.2008.12.05.23.01.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Dec 2008 23:01:01 -0800 (PST) Message-Id: <69E941AA-590F-43C4-ABEA-02B58022C311@gmail.com> From: Lars Rasmusson To: 1491@debbugs.gnu.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Sat, 6 Dec 2008 08:00:59 +0100 References: <4DDE8D7E-285A-4A36-A05B-86A2A9E4F691@gmail.com> X-Mailer: Apple Mail (2.929.2) Isn't this a bug? On line ebrowse.c:2037 for (--p; p >= inbuffer && *p != '\n'; --p) ; I think it should be for (--p; p > inbuffer && *p != '\n'; --p) ; otherwise p may point to one character before inbuffer. The backwards scanning is done correctly nine lines further up, on ebrowse.c:2028 (OS X really has some neat features to prevent accessing data from screwed up pointers! :-) ) /Lars Btw, is it really ok to write as in ebrowse.c:1530 ? /* Skip over white space. The `#' has been consumed already. */ while (WHITEP (GET (c))) ; GET(c) will eat up one character of the input, no matter whether it is a white space or not... From unknown Fri Jun 20 07:16:46 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1491: bug in ebrowse 22.1 Reply-To: Chong Yidong , 1491@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 14 Jan 2009 04:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1491 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1491-submit@emacsbugs.donarmstrong.com id=B1491.123190602331126 (code B ref 1491); Wed, 14 Jan 2009 04:15:02 +0000 Received: (at 1491) by emacsbugs.donarmstrong.com; 14 Jan 2009 04:07:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0E470a1031120 for <1491@emacsbugs.donarmstrong.com>; Tue, 13 Jan 2009 20:07:01 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id B59A557E211; Tue, 13 Jan 2009 23:07:16 -0500 (EST) From: Chong Yidong To: Lars Rasmusson Cc: 1491@debbugs.gnu.org Date: Tue, 13 Jan 2009 23:07:16 -0500 Message-ID: <873afm34zv.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Isn't this a bug? > On line ebrowse.c:2037 > for (--p; p >= inbuffer && *p != '\n'; --p) > ; > I think it should be > for (--p; p > inbuffer && *p != '\n'; --p) > ; > otherwise p may point to one character before inbuffer. It looks wrong, indeed. Does changing >= to > fix the crash for you? From unknown Fri Jun 20 07:16:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Lars Rasmusson Subject: bug#1491 closed by Chong Yidong (Re: bug in ebrowse 22.1 and in 23.0.60) Message-ID: References: <87wscyt363.fsf@cyd.mit.edu> <92AFFC27-186C-4473-9C85-8F8C00C311FF@gmail.com> X-Emacs-PR-Message: they-closed 1491 X-Emacs-PR-Package: emacs Reply-To: 1491@debbugs.gnu.org Date: Wed, 14 Jan 2009 13:50:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1231941003-15346-1" This is a multi-part message in MIME format... ------------=_1231941003-15346-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1491: bug in ebrowse 22.1=20 It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 1491: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1491 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1231941003-15346-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1491-done) by emacsbugs.donarmstrong.com; 14 Jan 2009 13:42:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0EDfucD014082 for <1491-done@emacsbugs.donarmstrong.com>; Wed, 14 Jan 2009 05:41:57 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 9DDB157E1D7; Wed, 14 Jan 2009 08:42:12 -0500 (EST) From: Chong Yidong To: Lars Rasmusson Cc: 1491-done@debbugs.gnu.org Subject: Re: bug in ebrowse 22.1 and in 23.0.60 References: <873afm34zv.fsf@cyd.mit.edu> <95D3CAD9-F786-46CA-AAA6-C374D3C25078@gmail.com> Date: Wed, 14 Jan 2009 08:42:12 -0500 In-Reply-To: <95D3CAD9-F786-46CA-AAA6-C374D3C25078@gmail.com> (Lars Rasmusson's message of "Wed, 14 Jan 2009 09:00:22 +0100") Message-ID: <87wscyt363.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lars Rasmusson writes: >> It looks wrong, indeed. Does changing >= to > fix the crash for you? > > Yes it does. I've checked in your fix. Thanks. ------------=_1231941003-15346-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From lars.rasmusson@gmail.com Thu Dec 4 06:30:09 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.0 required=4.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Dec 2008 14:30:09 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB4EU3LA021858 for ; Thu, 4 Dec 2008 06:30:04 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8FDO-0001Ty-At for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 09:30:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8FDM-0001Sh-SL for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 09:30:02 -0500 Received: from [199.232.76.173] (port=43384 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8FDM-0001SX-Oj for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 09:30:00 -0500 Received: from nf-out-0910.google.com ([64.233.182.187]:53649) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8FDM-0001qw-Eu for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 09:30:00 -0500 Received: by nf-out-0910.google.com with SMTP id c7so2457709nfi.26 for ; Thu, 04 Dec 2008 06:29:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:to:content-type :content-transfer-encoding:subject:mime-version:date:x-mailer:from; bh=qX3e2V1SoxupRkLC6Pu1XKsTyJ/W01Dp+uHc0oP/Org=; b=D8IfHgBSTBOlyTKqJIT9ZoaeE5xOIjUyVs4GIt5KChsYwT9lhSKLciEnppGXzOJ1YZ +qbne7ZwaiRE3mkR4E/prqjCDJ+yHcK2k9tljd7t76sGVE/7qXzcnhEf3OkWJNsbGtVB s20+ISXcX//D77bu78Lz07RF5cl4olWWGI274= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:to:content-type:content-transfer-encoding:subject :mime-version:date:x-mailer:from; b=w1s8VjAFECTZkbF/oWAJNMgTtuuisGI5kJPyGuIfPwKGRp92dG599T8rrNQz2AAtIE iFpbUqYqBmupw1C1xzz6wAQ6U4HKNGUCUATEhj6gO/PQORhk5yNKsfyAo+DfIF4XD4vx joe+Neod4LIeSdFOmLLFSRKzZ07SnOOxK/DJ0= Received: by 10.210.52.9 with SMTP id z9mr16508335ebz.177.1228400998264; Thu, 04 Dec 2008 06:29:58 -0800 (PST) Received: from lmac.sics.se (lmac.sics.se [193.10.67.39]) by mx.google.com with ESMTPS id 7sm6258338eyb.44.2008.12.04.06.29.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Dec 2008 06:29:57 -0800 (PST) Message-Id: <92AFFC27-186C-4473-9C85-8F8C00C311FF@gmail.com> To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Subject: bug in ebrowse 22.1 Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 4 Dec 2008 15:29:55 +0100 X-Mailer: Apple Mail (2.929.2) From: Lars Rasmusson X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Hi, ebrowse 22.1 crashes with a "Bus error on the following input: struct a { }; However, ebrowse works fine with the following input: struct a { }; I'm running on a PPC Mac G4 on and OS X 10.5.5. Cheers, /Lars ------------=_1231941003-15346-1--