From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steven Wu Newsgroups: gmane.lisp.guile.bugs Subject: Re: guile-2.0.0 crash when started on MacOS X 10.6.0 Date: Sat, 5 Mar 2011 18:03:07 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299373410 25822 80.91.229.12 (6 Mar 2011 01:03:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2011 01:03:30 +0000 (UTC) Cc: bug-guile@gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Mar 06 02:03:23 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw2NX-0004gq-0B for guile-bugs@m.gmane.org; Sun, 06 Mar 2011 02:03:23 +0100 Original-Received: from localhost ([127.0.0.1]:58273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pw2NW-00087F-Eb for guile-bugs@m.gmane.org; Sat, 05 Mar 2011 20:03:22 -0500 Original-Received: from [140.186.70.92] (port=56879 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pw2NQ-00087A-E7 for bug-guile@gnu.org; Sat, 05 Mar 2011 20:03:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pw2NP-0004rx-Ci for bug-guile@gnu.org; Sat, 05 Mar 2011 20:03:16 -0500 Original-Received: from mpls-qmqp-03.inet.qwest.net ([63.231.195.114]:49990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pw2NP-0004rm-9b for bug-guile@gnu.org; Sat, 05 Mar 2011 20:03:15 -0500 Original-Received: from [10.0.0.5] (63-229-74-67.phnx.qwest.net [63.229.74.67]) by mpls-qmqp-03.inet.qwest.net (Postfix) with ESMTP id B33C693B43C; Sun, 6 Mar 2011 01:03:12 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.1082) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 63.231.195.114 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5296 Archived-At: I stopped in the function, and it seems to be correct. I checked to the = map, and the value was right, it wasn't NULL. I tried to stop in strncmp = and see what that parameters were. Wasn't very successful the first = tried. I haven't used gdb for a while, and need to refresh it. steve On Mar 5, 2011, at 2:25 PM, Andy Wingo wrote: > On Sat 05 Mar 2011 18:27, Steven Wu writes: >=20 >> #0 0x00007fff83bec7f0 in strncmp () >> #1 0x00000001019e9684 in init_bouncing_parens [inlined] () at = /Users/wus/local/src/gnu/guile-2.0.0/guile-readline/readline.c:445 >=20 > This function is defined as follows: >=20 > static void > init_bouncing_parens () > { > if (strncmp (rl_get_keymap_name (rl_get_keymap ()), "vi", 2)) > { > rl_bind_key (')', match_paren); > rl_bind_key (']', match_paren); > rl_bind_key ('}', match_paren); > } > } >=20 > This would seem to indicate that rl_get_keymap_name is returning NULL = or > some other invalid value. >=20 > Are you certain you are using GNU readline and not some sort of = wrapper? >=20 > Regards, >=20 > Andy > --=20 > http://wingolog.org/