From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#11351: 24.1.50; marker does not point anywhere Date: Mon, 30 Apr 2012 18:21:25 -0400 Message-ID: References: <87lilisjsu.fsf@gnu.org> <83ipgmioyr.fsf@gnu.org> <87397qh5mk.fsf@gnu.org> <83bomeiinp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1335824509 4213 80.91.229.3 (30 Apr 2012 22:21:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Apr 2012 22:21:49 +0000 (UTC) Cc: 11351@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 01 00:21:47 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SOyyX-0001en-P0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 May 2012 00:21:46 +0200 Original-Received: from localhost ([::1]:47924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOyyX-0000lx-4Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Apr 2012 18:21:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOyyT-0000lS-CA for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2012 18:21:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOyyR-0003qd-3J for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2012 18:21:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOyyQ-0003qZ-TO for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2012 18:21:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SOyzl-0006CA-L4 for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2012 18:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Apr 2012 22:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11351 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11351-submit@debbugs.gnu.org id=B11351.133582457723803 (code B ref 11351); Mon, 30 Apr 2012 22:23:01 +0000 Original-Received: (at 11351) by debbugs.gnu.org; 30 Apr 2012 22:22:57 +0000 Original-Received: from localhost ([127.0.0.1]:59400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOyzg-0006Br-Ln for submit@debbugs.gnu.org; Mon, 30 Apr 2012 18:22:57 -0400 Original-Received: from mail-iy0-f172.google.com ([209.85.210.172]:44662) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOyze-0006Bf-FM for 11351@debbugs.gnu.org; Mon, 30 Apr 2012 18:22:55 -0400 Original-Received: by iazz13 with SMTP id z13so4597253iaz.3 for <11351@debbugs.gnu.org>; Mon, 30 Apr 2012 15:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=9cvJyFfy4JhbJfRI11s1UCqzdftXmbfHYCJKmkurOX0=; b=x5c0MvJtzQ6as+sUagX8Xw9PlPcnDy3jWbq8puKcQZn+98TJHmUaC21ZjF+uXi9KXP vwyQp+GhfZkb+3AiGc20n8hWm9AX81+yNTuGiLCqPzW9Uzx7BZFt1gEVXVRCZD330vUt WWP2e/pOO1tRWpzGYpNrOEEIQnRKYsrXw/gFvvUwkNPdyGwJJEsNEpq25MRvsx9T3cTU qTn5KjphNooka1IIBtSbbB0NkJT1ZEWvUZjSyxEO+sYdfx+5AcNyDQGvdUb0bMeOy08H k11Y1CZ/b9r9UsBf5uQOq/IdupQ5WyPj7QgBzVSQV8pJ9vPYZWdoquhufCb84hw5tv7c S5cg== Original-Received: by 10.43.51.10 with SMTP id vg10mr2716892icb.11.1335824485529; Mon, 30 Apr 2012 15:21:25 -0700 (PDT) Original-Received: by 10.42.172.65 with HTTP; Mon, 30 Apr 2012 15:21:25 -0700 (PDT) In-Reply-To: <83bomeiinp.fsf@gnu.org> X-Google-Sender-Auth: KBYL-fod_sTycnVajxeQQpjyWIg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59661 Archived-At: On Thu, Apr 26, 2012 at 12:04, Eli Zaretskii wrote: > Start by seeing if this is reproducible in an unoptimized build, > otherwise the backtrace and the values of variables are untrustworthy. (gdb) where #0 0x00007ffff4182613 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x000000000053b601 in xg_select (max_fds=18, rfds=0x7fffffffa010, wfds=0x7fffffffa090, efds=0x0, timeout=0x7fffffffa210) at /home/sds/src/emacs/trunk/src/xgselect.c:100 #2 0x0000000000651faf in wait_reading_process_output (time_limit=30, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=12720514, wait_proc=0x0, just_wait_proc=0) at /home/sds/src/emacs/trunk/src/process.c:4620 #3 0x000000000041bc51 in sit_for (timeout=120, reading=1, do_display=1) at /home/sds/src/emacs/trunk/src/dispnew.c:6067 #4 0x000000000055b792 in read_char (commandflag=1, nmaps=2, maps=0x7fffffffa6d0, prev_event=12720514, used_mouse_menu=0x7fffffffa818, end_time=0x0) at /home/sds/src/emacs/trunk/src/keyboard.c:2692 #5 0x0000000000569515 in read_key_sequence (keybuf=0x7fffffffa9e0, bufsize=30, prompt=12720514, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at /home/sds/src/emacs/trunk/src/keyboard.c:9335 #6 0x0000000000558f2a in command_loop_1 () at /home/sds/src/emacs/trunk/src/keyboard.c:1449 #7 0x00000000005f68c5 in internal_condition_case (bfun=0x558b45 , handlers=12772754, hfun=0x55840a ) at /home/sds/src/emacs/trunk/src/eval.c:1448 #8 0x0000000000558834 in command_loop_2 (ignore=12720514) at /home/sds/src/emacs/trunk/src/keyboard.c:1160 #9 0x00000000005f627c in internal_catch (tag=12842178, func=0x55880e , arg=12720514) at /home/sds/src/emacs/trunk/src/eval.c:1205 #10 0x0000000000558798 in command_loop () at /home/sds/src/emacs/trunk/src/keyboard.c:1125 #11 0x0000000000557f4e in recursive_edit_1 () at /home/sds/src/emacs/trunk/src/keyboard.c:759 #12 0x00000000005580f1 in Frecursive_edit () at /home/sds/src/emacs/trunk/src/keyboard.c:823 #13 0x00000000005f9bf9 in Ffuncall (nargs=1, args=0x7fffffffaf30) at /home/sds/src/emacs/trunk/src/eval.c:2932 #14 0x0000000000645f14 in exec_byte_code (bytestr=77240273, vector=55632165, maxdepth=116, args_template=12720514, nargs=0, args=0x0) at /home/sds/src/emacs/trunk/src/bytecode.c:785 #15 0x00000000005fa63d in funcall_lambda (fun=75784917, nargs=2, arg_vector=0x7fffffffb4d8) at /home/sds/src/emacs/trunk/src/eval.c:3166 #16 0x00000000005f9e25 in Ffuncall (nargs=3, args=0x7fffffffb4d0) at /home/sds/src/emacs/trunk/src/eval.c:2984 #17 0x00000000005f8e17 in Fapply (nargs=2, args=0x7fffffffb5c0) at /home/sds/src/emacs/trunk/src/eval.c:2440 #18 0x00000000005f935e in apply1 (fn=12842594, arg=55655030) at /home/sds/src/emacs/trunk/src/eval.c:2678 #19 0x00000000005f4768 in call_debugger (arg=55655030) at /home/sds/src/emacs/trunk/src/eval.c:227 #20 0x00000000005f75ab in maybe_call_debugger (conditions=9382454, sig=12772754, data=55655078) at /home/sds/src/emacs/trunk/src/eval.c:1863 #21 0x00000000005f7087 in Fsignal (error_symbol=12772754, data=55655078) at /home/sds/src/emacs/trunk/src/eval.c:1684 #22 0x00000000005f719a in xsignal (error_symbol=12772754, data=55655078) at /home/sds/src/emacs/trunk/src/eval.c:1719 #23 0x00000000005f71ef in xsignal1 (error_symbol=12772754, arg=51091057) at /home/sds/src/emacs/trunk/src/eval.c:1734 #24 0x00000000005f77ef in verror (m=0x6accc0 "Marker does not point anywhere", ap=0x7fffffffc748) at /home/sds/src/emacs/trunk/src/eval.c:1932 #25 0x00000000005f788e in error (m=0x6accc0 "Marker does not point anywhere") at /home/sds/src/emacs/trunk/src/eval.c:1944 #26 0x0000000000594f05 in marker_position (marker=36849115) at /home/sds/src/emacs/trunk/src/marker.c:777 #27 0x0000000000583c26 in overlays_at (pos=68, extend=0, vec_ptr=0x7fffffffca80, len_ptr=0x7fffffffca88, next_ptr=0x0, prev_ptr=0x0, change_req=0) at /home/sds/src/emacs/trunk/src/buffer.c:2541 #28 0x0000000000669efd in get_char_property_and_overlay (position=272, prop=12910066, object=12748565, overlay=0x0) at /home/sds/src/emacs/trunk/src/textprop.c:626 #29 0x000000000066a07d in Fget_char_property (position=272, prop=12910066, object=12748565) at /home/sds/src/emacs/trunk/src/textprop.c:665 #30 0x0000000000667e2d in get_local_map (position=68, buffer=0xc28710, type=12910066) at /home/sds/src/emacs/trunk/src/intervals.c:2306 #31 0x0000000000568cee in read_key_sequence (keybuf=0x7fffffffce70, bufsize=30, prompt=12720514, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at /home/sds/src/emacs/trunk/src/keyboard.c:9147 #32 0x0000000000558f2a in command_loop_1 () at /home/sds/src/emacs/trunk/src/keyboard.c:1449 #33 0x00000000005f68c5 in internal_condition_case (bfun=0x558b45 , handlers=12772754, hfun=0x55840a ) at /home/sds/src/emacs/trunk/src/eval.c:1448 #34 0x0000000000558834 in command_loop_2 (ignore=12720514) at /home/sds/src/emacs/trunk/src/keyboard.c:1160 #35 0x00000000005f627c in internal_catch (tag=12768498, func=0x55880e , arg=12720514) at /home/sds/src/emacs/trunk/src/eval.c:1205 #36 0x00000000005587e7 in command_loop () at /home/sds/src/emacs/trunk/src/keyboard.c:1139 #37 0x0000000000557f4e in recursive_edit_1 () at /home/sds/src/emacs/trunk/src/keyboard.c:759 #38 0x00000000005580f1 in Frecursive_edit () at /home/sds/src/emacs/trunk/src/keyboard.c:823 #39 0x0000000000556192 in main (argc=1, argv=0x7fffffffd758) at /home/sds/src/emacs/trunk/src/emacs.c:1711 Lisp Backtrace: "recursive-edit" (0xffffaf38) "debug" (0xffffb4d8) f 26 #26 0x0000000000594f05 in marker_position (marker=36849115) at /home/sds/src/emacs/trunk/src/marker.c:777 777 error ("Marker does not point anywhere"); (gdb) p marker $4 = 36849115 (gdb) up #27 0x0000000000583c26 in overlays_at (pos=68, extend=0, vec_ptr=0x7fffffffca80, len_ptr=0x7fffffffca88, next_ptr=0x0, prev_ptr=0x0, change_req=0) at /home/sds/src/emacs/trunk/src/buffer.c:2541 2541 endpos = OVERLAY_POSITION (end); (gdb) list 2536 2537 XSETMISC (overlay, tail); 2538 2539 start = OVERLAY_START (overlay); 2540 end = OVERLAY_END (overlay); 2541 endpos = OVERLAY_POSITION (end); 2542 if (endpos < pos) 2543 { 2544 if (prev < endpos) 2545 prev = endpos; (gdb) p end $5 = 36849115 (gdb) p start $6 = 36849155 (gdb) p overlay $7 = 36849075 (gdb) p tail $8 = (struct Lisp_Overlay *) 0x23245b0 (gdb) p *tail $9 = { type = Lisp_Misc_Overlay, gcmarkbit = 0, spacer = 0, next = 0x0, start = 36849155, end = 36849115, plist = 44767590 } (gdb) p pos $10 = 68 (gdb) xpr overlay Lisp_Int1 $11 = 2 (gdb) p overlay $12 = 36849075 (gdb) xpr Lisp_Misc Lisp_Misc_Overlay No symbol "Lisp_Misc_Boolfwd" in current context. (gdb) p marker No symbol "marker" in current context. (gdb) p end $13 = 36849115 (gdb) xpr Lisp_Misc Lisp_Misc_Marker No symbol "Lisp_Misc_Boolfwd" in current context. (gdb) -- Sam Steingold