From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#9006: 24.0.50; Abort in unshow_buffer/kill-buffer Date: Sat, 09 Jul 2011 18:27:16 +0200 Message-ID: <87wrfrmnbv.fsf@escher.fritz.box> References: <877h7wxqjv.fsf@escher.fritz.box> <4E1429F3.1010305@gmx.at> <87oc17xlmu.fsf@escher.fritz.box> <4E156D17.8020804@gmx.at> <871uy2qvv6.fsf@escher.fritz.box> <4E15D520.4030809@gmx.at> <87mxgobcj6.fsf@escher.fritz.box> <4E1814F7.4060002@gmx.at> <87r55zekei.fsf@escher.fritz.box> <4E18510F.7070506@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310228908 4860 80.91.229.12 (9 Jul 2011 16:28:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2011 16:28:28 +0000 (UTC) Cc: 9006@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 09 18:28:21 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QfaOB-0005ul-Vr for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2011 18:28:20 +0200 Original-Received: from localhost ([::1]:54598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfaOB-00023k-BK for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2011 12:28:19 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfaNw-00023V-RN for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2011 12:28:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfaNv-0003tI-14 for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2011 12:28:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfaNu-0003tE-SJ for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2011 12:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QfaNu-0004IG-1q; Sat, 09 Jul 2011 12:28:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <877h7wxqjv.fsf@escher.fritz.box> Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jul 2011 16:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9006 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9006-submit@debbugs.gnu.org id=B9006.131022884816452 (code B ref 9006); Sat, 09 Jul 2011 16:28:01 +0000 Original-Received: (at 9006) by debbugs.gnu.org; 9 Jul 2011 16:27:28 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfaNL-0004HJ-UA for submit@debbugs.gnu.org; Sat, 09 Jul 2011 12:27:28 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QfaNI-0004H6-RT for 9006@debbugs.gnu.org; Sat, 09 Jul 2011 12:27:26 -0400 Original-Received: (qmail invoked by alias); 09 Jul 2011 16:27:18 -0000 Original-Received: from i59F56261.versanet.de (EHLO escher.home) [89.245.98.97] by mail.gmx.net (mp014) with SMTP; 09 Jul 2011 18:27:18 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18sMAEs/YwsDPQJOFOp5qtIzYB8lBX5Ild2aRWado cz/tYRJGAISjX7 Original-Received: by escher.home (Postfix, from userid 1000) id 55EB25F927; Sat, 9 Jul 2011 18:27:16 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 09 Jul 2011 12:28:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:48337 Archived-At: On Sat, 09 Jul 2011 15:01:03 +0200 martin rudalics wrote: >> Sure; but since I haven't found a way to induce the abort at will, >> failing to get a crash wouldn't be conclusive evidence that this fixes >> the problem. But I'll rebuild with it and report anything noteworthy. > > As I said earlier this fixes only one part of the problem. But it's the > part responsible for the crash, I presume. That appears to be the case, but... >> With `buffer' the build fails; did you mean `w->buffer'? (At least the >> build succeeds with that.) > > Arrgh, yes. Or current_buffer. ...with w->buffer the display is unstable, and calling `about-emacs' made Emacs abort in unshow_buffer again, but with a different backtrace (included below). I then replaced w->buffer with current_buffer and rebuilt, and that was even worse: Emacs aborted before the startup was complete; this time the backtrace was the same as in the earlier aborts. Then I tried with old_buffer, and so far, this is working: display is normal, about-emacs works, navigating and editing in Gnus works (so far); I'm even running a CPU-intensive program simultaneously as a stress test. No abort yet; I'll keep you posted. Steve Berman #0 abort () at /data/steve/bzr/emacs/quickfixes/src/emacs.c:379 No locals. #1 0x080a71a7 in unshow_buffer (w=0xba68200) at /data/steve/bzr/emacs/quickfixes/src/window.c:1801 buf = 139999749 b = 0x8583a00 #2 0x080ac9f4 in Fset_window_buffer (window=195461637, buffer_or_name= 195470965, keep_margins=138576074) at /data/steve/bzr/emacs/quickfixes/src/window.c:3129 tem = buffer = 195470965 w = 0xba68200 #3 0x081ab181 in Ffuncall (nargs=3, args=0xbfffe2c0) at /data/steve/bzr/emacs/quickfixes/src/eval.c:3016 fun = original_fun = funcar = numargs = 2 lisp_numargs = val = backtrace = { next = 0xbfffe3fc, function = 0xbfffe2c0, args = 0xbfffe2c4, nargs = 2, debug_on_exit = 0 } internal_args = 0xbfffe230 i = #4 0x081e2be6 in exec_byte_code (bytestr=, vector= 136802613, maxdepth=16, args_template=138576074, nargs=0, args=) at /data/steve/bzr/emacs/quickfixes/src/bytecode.c:785 op = vectorp = stack = { pc = 0x83b8f30 "\210\n\204\063", ---Type to continue, or q to quit--- byte_string = 136802593, byte_string_start = 0x83b8f07 "\303\b!\211\031\304 =\204*", constants = 136802613, next = 0xbfffe4bc } top = 0xbfffe2c0 result = #5 0x081aabb8 in funcall_lambda (fun=136802549, nargs=1, arg_vector=0xbfffe450) at /data/steve/bzr/emacs/quickfixes/src/eval.c:3240 val = syms_left = 138576074 next = lexenv = 138576074 count = i = optional = rest = #6 0x081aafb3 in Ffuncall (nargs=2, args=0xbfffe44c) at /data/steve/bzr/emacs/quickfixes/src/eval.c:3070 fun = original_fun = 138777882 funcar = numargs = 1 lisp_numargs = val = backtrace = { next = 0xbfffe59c, function = 0xbfffe44c, args = 0xbfffe450, nargs = 1, debug_on_exit = 0 } internal_args = i = #7 0x081e2be6 in exec_byte_code (bytestr=, vector= 136913197, maxdepth=48, args_template=0, nargs=0, args=) at /data/steve/bzr/emacs/quickfixes/src/bytecode.c:785 ---Type to continue, or q to quit--- op = vectorp = stack = { pc = 0x83a84c7 "\210\327\211\020\031\330 \210\n\203\063", byte_string = 136913177, byte_string_start = 0x83a84a3 "\306 \307 \310\311\312 \"r\313\314\315\316\317\320\006\a\006\a\"\321\"\322\323%DC\216\324\003!\210\325\326!\210\327\211\020\031\330 \210\n\203\063", constants = 136913197, next = 0xbfffe63c } top = 0xbfffe44c result = #8 0x081aac11 in funcall_lambda (fun=136913149, nargs=0, arg_vector=0xbfffe5e4) at /data/steve/bzr/emacs/quickfixes/src/eval.c:3174 val = syms_left = 0 next = lexenv = count = i = optional = rest = #9 0x081aafb3 in Ffuncall (nargs=1, args=0xbfffe5e0) at /data/steve/bzr/emacs/quickfixes/src/eval.c:3070 fun = original_fun = 139160770 funcar = numargs = 0 lisp_numargs = val = backtrace = { next = 0xbfffe71c, function = 0xbfffe5e0, args = 0xbfffe5e4, nargs = 0, ---Type to continue, or q to quit--- debug_on_exit = 0 } internal_args = i = #10 0x081e2be6 in exec_byte_code (bytestr=, vector= 136917461, maxdepth=8, args_template=0, nargs=0, args=) at /data/steve/bzr/emacs/quickfixes/src/bytecode.c:785 op = vectorp = stack = { pc = 0x83a7636 "\207\302\303!\207", byte_string = 136917441, byte_string_start = 0x83a762f "\300 \203\b", constants = 136917461, next = 0x0 } top = 0xbfffe5e0 result = #11 0x081aac11 in funcall_lambda (fun=136917413, nargs=0, arg_vector=0xbfffe784) at /data/steve/bzr/emacs/quickfixes/src/eval.c:3174 val = syms_left = 0 next = lexenv = count = i = optional = rest = #12 0x081aafb3 in Ffuncall (nargs=1, args=0xbfffe780) at /data/steve/bzr/emacs/quickfixes/src/eval.c:3070 fun = original_fun = 139161034 funcar = numargs = 0 lisp_numargs = val = backtrace = { ---Type to continue, or q to quit--- next = 0xbfffe8ec, function = 0xbfffe780, args = 0xbfffe784, nargs = 0, debug_on_exit = 0 } internal_args = i = #13 0x081ab593 in apply1 (fn=139161034, arg=138576074) at /data/steve/bzr/emacs/quickfixes/src/eval.c:2745 ret_ungc_val = 195605896 #14 0x081a702d in Fcall_interactively (function=139161034, record_flag= 138576074, keys=138604237) at /data/steve/bzr/emacs/quickfixes/src/callint.c:379 input = funval = events = args = visargs = specs = 138576074 filter_specs = teml = up_event = 138576074 enable = 138576074 speccount = next_event = prefix_arg = 138576074 string = 0x0 tem = varies = i = nargs = foo = prompt1 = "\000\000\000\000\000 ", '\000' tem1 = arg_from_tty = 0 key_count = 2 ---Type to continue, or q to quit--- record_then_fail = 0 save_this_command = 139161034 save_last_command = 138968194 save_this_original_command = 139161034 save_real_this_command = 139161034 #15 0x081ab181 in Ffuncall (nargs=4, args=0xbfffe930) at /data/steve/bzr/emacs/quickfixes/src/eval.c:3016 fun = original_fun = funcar = numargs = 3 lisp_numargs = val = backtrace = { next = 0x0, function = 0xbfffe930, args = 0xbfffe934, nargs = 3, debug_on_exit = 0 } internal_args = 0xbfffe934 i = #16 0x081ab431 in call3 (fn=138698938, arg1=139161034, arg2=138576074, arg3= 138576074) at /data/steve/bzr/emacs/quickfixes/src/eval.c:2809 ret_ungc_val = 195605896 args = {138698938, 139161034, 138576074, 138576074} #17 0x0813c00f in Fcommand_execute (cmd=139161034, record_flag=138576074, keys= 138576074, special=138576074) at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:10274 final = tem = prefixarg = 138576074 #18 0x08149980 in command_loop_1 () at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:1572 scount = 2 cmd = keybuf = {32, 4, 176324046, 138576098, -1073747426, 139533058, ---Type to continue, or q to quit--- 138689802, 138576074, -1073747416, -1073747426, 138576074, 138576074, -1073747352, 135527446, 176324046, -1073747426, 138576074, 138689800, 0, 0, -1232775064, 2, 139002824, 139002840, -1073747384, 135973561, 2, 138828926, 23, 0} i = prev_modiff = 1210 prev_buffer = 0x8583a00 #19 0x081a9571 in internal_condition_case (bfun=0x8149660 , handlers=138607114, hfun=0x813fb60 ) at /data/steve/bzr/emacs/quickfixes/src/eval.c:1493 val = c = { tag = 138576074, val = 138576074, next = 0xbfffeba8, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 139002824, 139002840, -1073747096, -1254590365, 2143746828}, __mask_was_saved = 0, __saved_mask = { __val = {1, 3087005952, 7, 142299368, 45, 142299368, 3086910040, 3065788385, 134551036, 7, 0, 3221220192, 3221220136, 0, 3087005952, 134550029, 3067970904, 3067183092, 3066786931, 7, 3221220432, 3221220128, 3221220432, 135614420, 2, 3221220292, 3221220128, 3065744920, 3067970904, 0, 4294967295, 3087003636} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { ---Type to continue, or q to quit--- handler = 138607114, var = 138576074, chosen_clause = 138576098, tag = 0xbfffea84, next = 0x0 } #20 0x0813eae5 in command_loop_2 (ignore=138576074) at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:1156 val = 195605896 #21 0x081a94a1 in internal_catch (tag=138605090, func= 0x813eac0 , arg=138576074) at /data/steve/bzr/emacs/quickfixes/src/eval.c:1247 c = { tag = 138605090, val = 138576074, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 139002824, 139002840, -1073746824, -1254377373, 2143576844}, __mask_was_saved = 0, __saved_mask = { __val = {0, 0, 0, 0, 0, 0, 0, 0, 3066169116, 0, 0, 0, 3066169116, 0, 0, 0, 64, 3221220408, 135893307, 138253360, 64, 14, 138741954, 138741952, 138576074, 3221220472, 135973174, 138741954, 138576074, 138576074, 1, 3221220520} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #22 0x0813f686 in command_loop () ---Type to continue, or q to quit--- at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:1135 No locals. #23 recursive_edit_1 () at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:756 count = 1 val = 0 #24 0x0813f982 in Frecursive_edit () at /data/steve/bzr/emacs/quickfixes/src/keyboard.c:820 count = buffer = 138576074 #25 0x0813aa1c in main (argc=2, argv=0xbffff084) at /data/steve/bzr/emacs/quickfixes/src/emacs.c:1702 dummy = 1 stack_bottom_variable = 8 '\b' do_initial_setlocale = skip_args = 0 rlim = { rlim_cur = 8388608, rlim_max = 18446744073709551615 } no_loadup = 0 junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 Lisp Backtrace: "set-window-buffer" (0xbfffe2c4) "switch-to-buffer" (0xbfffe450) "fancy-about-screen" (0xbfffe5e4) "about-emacs" (0xbfffe784) "call-interactively" (0xbfffe934)