From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#24640: Crashes in 25.1 Date: Sat, 8 Oct 2016 23:08:51 +0100 Message-ID: References: <83int3idxl.fsf@gnu.org> <83mviehq0p.fsf@gnu.org> <83eg3qhn29.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fc314a7546b053e61c5ae X-Trace: blaine.gmane.org 1475964631 22907 195.159.176.226 (8 Oct 2016 22:10:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2016 22:10:31 +0000 (UTC) Cc: 24640@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 09 00:10:25 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bszou-0004DZ-Og for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Oct 2016 00:10:17 +0200 Original-Received: from localhost ([::1]:42506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bszos-0003L8-Ew for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Oct 2016 18:10:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bszoj-0003Id-Bd for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 18:10:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bszof-0000c2-Rg for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 18:10:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bszof-0000bw-Ng for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 18:10:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bszof-0006s3-Hq for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 18:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Oct 2016 22:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24640 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24640-submit@debbugs.gnu.org id=B24640.147596454326334 (code B ref 24640); Sat, 08 Oct 2016 22:10:01 +0000 Original-Received: (at 24640) by debbugs.gnu.org; 8 Oct 2016 22:09:03 +0000 Original-Received: from localhost ([127.0.0.1]:49092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bszni-0006qf-Pv for submit@debbugs.gnu.org; Sat, 08 Oct 2016 18:09:03 -0400 Original-Received: from mail-lf0-f44.google.com ([209.85.215.44]:33955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsznf-0006q7-UE for 24640@debbugs.gnu.org; Sat, 08 Oct 2016 18:09:01 -0400 Original-Received: by mail-lf0-f44.google.com with SMTP id b81so63762764lfe.1 for <24640@debbugs.gnu.org>; Sat, 08 Oct 2016 15:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jN83vi18Rfr14b05Q/ryKNHGHfyRn/DJKvUaB74unc4=; b=2HzvsTmCB9YTWehbX/1d2ScIPaYiTAPrRiiEW545nuYfZJeU+K9cGCjaIHinI3rcSH fh7Q0BrQL2gKvm/tkBfGiZEqHTWZaUYjQmIhwnC0k/h7DMCoR7x6vureO0H/98r4YE1m s2w83wVJj3KsQuPiwqFUIl312H7cko06r2lrw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jN83vi18Rfr14b05Q/ryKNHGHfyRn/DJKvUaB74unc4=; b=E3l9SUvvTmj/g01TKz+xiL/EXAiv867x7T20JXWuXmi0fwjOiVwMSXEZAnxVy+xuBV jBkHXILVBnskfJ9pAf1m2e2CQg8wR6+bNCsB7GjZJnpuzS9k1EsH/3U3byGcNTb81ETw YwZJogBog1FkR1wMxHgPJvXHUsK45UGqrIRafx9V8tYhz4Ndi0qUklxIkKG+XSqkVGaC I8qm/XfzBW2HOTpfeGMxvD73ru3Gz1lLOrbWxGMcDnvNuUZfLoRw+q+f1sBkbF40EXdg 5IOQOpqsHIPskYA9CK/gtD85cLJF4ayMdBXf3jqTdS1OvxlXQNP2VAldvRFfvJwzgkg/ w9rQ== X-Gm-Message-State: AA6/9RnKt2CgRyEb2lwf0NwyShx0qdoBR9VJO/u9t2uazW4XFXwzyKJDq7JOtqS10TbhwOewKOJmQQvybzbZ/VpI X-Received: by 10.25.134.139 with SMTP id i133mr8999436lfd.27.1475964532374; Sat, 08 Oct 2016 15:08:52 -0700 (PDT) Original-Received: by 10.25.66.211 with HTTP; Sat, 8 Oct 2016 15:08:51 -0700 (PDT) In-Reply-To: <83eg3qhn29.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:124251 Archived-At: --001a113fc314a7546b053e61c5ae Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 8 October 2016 at 16:34, Eli Zaretskii wrote: > > From: Reuben Thomas > > Date: Sat, 8 Oct 2016 16:26:30 +0100 > > Cc: 24640@debbugs.gnu.org > > > > Well, can you tell why it crashed this time? IOW, what was the > > immediate cause of SIGSEGV? > > > > =E2=80=8BExactly the same as before: crashed while lazy-reloading in de= sktop.el. > At the same point as before, as far as > > I can tell. > > No, I meant the immediate cause of SIGSEGV, one frame below the one > which invokes the signal handler. There must be some bad data there, > what it is? > =E2=80=8BHere's the current C backtrace: #0 0x000000000054aa44 in mark_object (arg=3D) at alloc.c:64= 88 #1 0x000000000054a8fe in mark_object (arg=3D) at alloc.c:64= 52 #2 0x000000000054a8fe in mark_object (arg=3D) at alloc.c:64= 52 #3 0x000000000054a9cb in mark_object (arg=3D) at alloc.c:65= 39 #4 0x000000000054a9cb in mark_object (arg=3D) at alloc.c:65= 39 #5 0x000000000054b20c in Fgarbage_collect (end=3D0x7fffffff9a28) at alloc.c:5745 #6 0x000000000054b20c in Fgarbage_collect () at alloc.c:5979 #7 0x000000000059979e in exec_byte_code () at lisp.h:4656 #8 0x000000000059979e in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3Dnargs@entry=3D6, args=3D, args@entry=3D0x93791= 4 ) at bytecode.c:714 #9 0x0000000000562976 in funcall_lambda (fun=3D140737488330544, nargs=3Dnargs@entry=3D6, arg_vector=3D0x937914 , arg_vector@entry=3D0x7fffffff9ea0) at eval.c:2855 #10 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@entry=3D7, args=3Dargs@entry=3D0x7fffffff9e98) at eval.c:2754 #11 0x00000000005641d4 in Fapply (nargs=3D7, args=3D0x7fffffff9e98) at eval.c:2278 #12 0x0000000000562d41 in Ffuncall (nargs=3D8, args=3Dargs@entry=3D0x7fffff= ff9e90) at eval.c:2673 #13 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3Dnargs@entry=3D3, args=3D, args@entry=3D0x236a3= d4) at bytecode.c:880 #14 0x0000000000562976 in funcall_lambda (fun=3D140737488331264, nargs=3Dnargs@entry=3D3, arg_vector=3D0x236a3d4, arg_vector@entry=3D0x7fffffffa188) at eval.c:2855 #15 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@entry=3D4, args=3Dargs@entry=3D0x7fffffffa180) at eval.c:2754 #16 0x00000000005641d4 in Fapply (nargs=3D4, args=3D0x7fffffffa180) at eval.c:2278 #17 0x0000000000562d41 in Ffuncall (nargs=3D5, args=3Dargs@entry=3D0x7fffff= ffa178) at eval.c:2673 #18 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3Dnargs@entry=3D2, args=3D, args@entry=3D0x240e2= 44) at bytecode.c:880 #19 0x0000000000562976 in funcall_lambda (fun=3D140737488332048, nargs=3Dnargs@entry=3D2, arg_vector=3D0x240e244, arg_vector@entry=3D0x7fffffffa318) at eval.c:2855 #20 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@entry=3D3, args=3D0x7fffffffa310) at eval.c:2754 #21 0x0000000000564020 in Fapply (nargs=3D, args=3D0x7fffffffa488) at eval.c:2321 #22 0x0000000000562d41 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7fffff= ffa480) at eval.c:2673 #23 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3Dnargs@entry=3D3, args=3D, args@entry=3D0x22fa6= f4) at bytecode.c:880 #24 0x0000000000562976 in funcall_lambda (fun=3D140737488332496, nargs=3Dnargs@entry=3D3, arg_vector=3D0x22fa6f4, arg_vector@entry=3D0x7fffffffa638) at eval.c:2855 #25 0x0000000000562c3b in Ffuncall (nargs=3D4, args=3Dargs@entry=3D0x7fffff= ffa630) at eval.c:2754 #26 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3Dnargs@entry=3D1, args=3D, args@entry=3D0x2b7d3= 84) at bytecode.c:880 #27 0x0000000000562976 in funcall_lambda (fun=3D140737488332992, nargs=3Dnargs@entry=3D1, arg_vector=3D0x2b7d384, arg_vector@entry=3D0x7fffffffa800) at eval.c:2855 #28 0x0000000000562c3b in Ffuncall (nargs=3D2, args=3Dargs@entry=3D0x7fffff= ffa7f8) at eval.c:2754 #29 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3Dnargs@entry=3D1, args=3D, args@entry=3D0x2b7d5= 64) at bytecode.c:880 #30 0x0000000000562976 in funcall_lambda (fun=3D140737488333712, nargs=3Dnargs@entry=3D1, arg_vector=3D0x2b7d564, arg_vector@entry=3D0x7fffffffab08) at eval.c:2855 #31 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@entry=3D2, args=3Dargs@entry=3D0x7fffffffab00) at eval.c:2754 #32 0x00000000005641d4 in Fapply (nargs=3D2, args=3D0x7fffffffab00) at eval.c:2278 #33 0x0000000000562d41 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7fffff= ffaaf8) at eval.c:2673 #34 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3Dargs_template@entry=3D0, nargs=3Dnargs@entry=3D0, args=3D, args@entry=3D0x0) at bytecode.c:880 #35 0x000000000056283f in funcall_lambda (fun=3D10562237, nargs=3Dnargs@ent= ry=3D3, arg_vector=3Darg_vector@entry=3D0x7fffffffad20) at eval.c:2921 #36 0x0000000000562c3b in Ffuncall (nargs=3D4, args=3Dargs@entry=3D0x7fffff= ffad18) at eval.c:2754 #37 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3Dargs_template@entry=3D0, nargs=3Dnargs@entry=3D0, args=3D, args@entry=3D0x0) at bytecode.c:880 #38 0x000000000056283f in funcall_lambda (fun=3D10569021, nargs=3Dnargs@ent= ry=3D2, arg_vector=3Darg_vector@entry=3D0x7fffffffaf60) at eval.c:2921 #39 0x0000000000562c3b in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7fffff= ffaf58) at eval.c:2754 #40 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3Dargs_template@entry=3D0, nargs=3Dnargs@entry=3D0, args=3D, args@entry=3D0x0) at bytecode.c:880 #41 0x000000000056283f in funcall_lambda (fun=3D10570821, nargs=3Dnargs@ent= ry=3D0, arg_vector=3Darg_vector@entry=3D0x7fffffffb1a8) at eval.c:2921 #42 0x0000000000562c3b in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7fffff= ffb1a0) at eval.c:2754 #43 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3Dnargs@entry=3D0, args=3D, args@entry=3D0x2e5f6= 74) at bytecode.c:880 #44 0x0000000000562976 in funcall_lambda (fun=3D140737488335872, nargs=3Dnargs@entry=3D0, arg_vector=3D0x2e5f674, arg_vector@entry=3D0x7fffffffb388) at eval.c:2855 #45 0x0000000000562c3b in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7fffff= ffb380) at eval.c:2754 #46 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3Dnargs@entry=3D0, args=3D, args@entry=3D0x2e605= a4) at bytecode.c:880 #47 0x0000000000562976 in funcall_lambda (fun=3D140737488336320, nargs=3Dnargs@entry=3D0, arg_vector=3D0x2e605a4, arg_vector@entry=3D0x7fffffffb530) at eval.c:2855 #48 0x0000000000562c3b in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7fffff= ffb528) at eval.c:2754 #49 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_temp---Type to continue, or q to quit--- late=3D, nargs=3Dnargs@entry=3D1, args=3D, args@entry=3D0x2e56384) at bytecode.c:880 #50 0x0000000000562976 in funcall_lambda (fun=3D140737488336944, nargs=3Dnargs@entry=3D1, arg_vector=3D0x2e56384, arg_vector@entry=3D0x7fffffffb7b0) at eval.c:2855 #51 0x0000000000562c3b in Ffuncall (nargs=3D2, args=3Dargs@entry=3D0x7fffff= ffb7a8) at eval.c:2754 #52 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3Dnargs@entry=3D10, args=3D, args@entry=3D0x2ca3= 794) at bytecode.c:880 #53 0x0000000000562976 in funcall_lambda (fun=3D140737488337792, nargs=3Dnargs@entry=3D10, arg_vector=3D0x2ca3794, arg_vector@entry=3D0x7fffffffb948) at eval.c:2855 #54 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@entry=3D11, args=3D0x7fffffffb940) at eval.c:2754 #55 0x0000000000564020 in Fapply (nargs=3D, args=3D0x7fffffffbb00) at eval.c:2321 #56 0x0000000000562d41 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7fffff= ffbaf8) at eval.c:2673 #57 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3Dnargs@entry=3D0, args=3D, args@entry=3D0x2ca8a= b4) at bytecode.c:880 #58 0x0000000000562976 in funcall_lambda (fun=3D140737488338240, nargs=3Dnargs@entry=3D0, arg_vector=3D0x2ca8ab4, arg_vector@entry=3D0x7fffffffbcb0) at eval.c:2855 #59 0x0000000000562c3b in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7fffff= ffbca8) at eval.c:2754 #60 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3Dnargs@entry=3D0, args=3D, args@entry=3D0x2caae= d4) at bytecode.c:880 #61 0x0000000000562976 in funcall_lambda (fun=3D140737488338960, nargs=3Dnargs@entry=3D0, arg_vector=3D0x2caaed4, arg_vector@entry=3D0x7fffffffbf88) at eval.c:2855 #62 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@entry=3D1, args=3Dargs@entry=3D0x7fffffffbf80) at eval.c:2754 #63 0x00000000005641bc in Fapply (nargs=3D2, args=3D0x7fffffffbf80) at eval.c:2274 #64 0x0000000000562d41 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7fffff= ffbf78) at eval.c:2673 #65 0x00000000005975d3 in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3Dargs_template@entry=3D0, nargs=3Dnargs@entry=3D0, args=3D, args@entry=3D0x0) at bytecode.c:880 #66 0x000000000056283f in funcall_lambda (fun=3D10146693, nargs=3Dnargs@ent= ry=3D1, arg_vector=3Darg_vector@entry=3D0x7fffffffc198) at eval.c:2921 #67 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@entry=3D2, args=3Dargs@entry=3D0x7fffffffc190) at eval.c:2754 #68 0x0000000000562f3a in call1 (fn=3Dfn@entry=3D45264, arg1=3Darg1@entry= =3D46400381) at eval.c:2552 #69 0x00000000004f49c8 in timer_check (idle_timers=3D, timers=3D) at keyboard.c:4427 #70 0x00000000004f49c8 in timer_check () at keyboard.c:4489 #71 0x00000000004f4d89 in readable_events (flags=3Dflags@entry=3D1) at keyboard.c:3328 #72 0x00000000004f6608 in get_input_pending (flags=3Dflags@entry=3D1) at keyboard.c:6725 #73 0x00000000004f8d78 in detect_input_pending_run_timers (do_display=3Ddo_display@entry=3Dtrue) at keyboard.c:9862 #74 0x00000000005a2abb in wait_reading_process_output (time_limit=3Dtime_limit@entry=3D30, nsecs=3Dnsecs@entry=3D0, read_kbd=3Dread_kbd@entry=3D-1, do_display=3Ddo_display@entry=3Dtrue, wait_for_cell=3Dwait_for_cell@entry=3D0, wait_proc=3Dwait_proc@entry=3D0x0, just_wait_proc=3D0) at process.c:4958 #75 0x0000000000422e12 in sit_for (timeout=3D, reading=3Dreading@entry=3Dtrue, display_option=3Ddisplay_option@entry=3D1) = at dispnew.c:5762 #76 0x00000000004fb273 in read_char (commandflag=3Dcommandflag@entry=3D1, map=3Dmap@entry=3D76268163, prev_event=3D0, used_mouse_menu=3Dused_mouse_menu@entry=3D0x7fffffffce3b, end_time=3Dend_time@entry=3D0x0) at keyboard.c:2714 #77 0x00000000004fbeda in read_key_sequence (keybuf=3Dkeybuf@entry=3D0x7fffffffcf10, prompt=3Dprompt@entry=3D0, dont_downcase_last=3Ddont_downcase_last@entry=3D= false, can_return_switch_frame=3Dcan_return_switch_frame@entry=3Dtrue, fix_current_buffer=3Dfix_current_buffer@entry=3Dtrue, prevent_redisplay=3Dprevent_redisplay@entry=3Dfalse, bufsize=3D30) at keyboard.c:9063 #78 0x00000000004fdb26 in command_loop_1 () at keyboard.c:1365 #79 0x00000000005615b2 in internal_condition_case (bfun=3Dbfun@entry=3D0x4f= d920 , handlers=3Dhandlers@entry=3D19056, hfun=3Dhfun@entry=3D0x= 4f4080 ) at eval.c:1309 #80 0x00000000004ef54c in command_loop_2 (ignore=3Dignore@entry=3D0) at keyboard.c:1107 #81 0x0000000000561553 in internal_catch (tag=3Dtag@entry=3D45840, func=3Dfunc@entry=3D0x4ef530 , arg=3Darg@entry=3D0) at eval.c:1074 #82 0x00000000004ef509 in command_loop () at keyboard.c:1086 #83 0x00000000004f3c77 in recursive_edit_1 () at keyboard.c:692 #84 0x00000000004f3fb8 in Frecursive_edit () at keyboard.c:763 #85 0x0000000000418dfe in main (argc=3D1, argv=3D0x7fffffffd298) at emacs.c= :1626 =E2=80=8BSorry I didn't post that before, the "bt" command only gives the L= isp backtrace, and I didn't think to try "where".=E2=80=8B =E2=80=8B =E2=80=8BIn frame #0, the code reads: if (XMISCANY (obj)->gcmarkbit) break; at this point obj is 33, XMISCANY(obj) is 20, and gdb tells me "Cannot access memory at address 0x20". =E2=80=8BIf it helps, I'm happy to arrange some sort of live chat to get th= rough the debugging process quicker. --=20 http://rrt.sc3d.org --001a113fc314a7546b053e61c5ae Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 8 October 2016 at 16:34, Eli= Zaretskii <eliz@gnu.org> wrote:
> From: Reuben Thomas &l= t;rrt@sc3d.org>
> Date: Sat, 8 Oct 2016 16:26:30 +0100
> Cc: 24640@debbugs.gnu.org=
>
>=C2=A0 Well, can you tell why it crashed this time? IOW, what was the >=C2=A0 immediate cause of SIGSEGV?
>
> =E2=80=8BExactly the same as before: crashed while lazy-reloading in d= esktop.el. At the same point as before, as far as
> I can tell.

No, I meant the immediate cause of SIGSEGV, one frame below the one<= br> which invokes the signal handler.=C2=A0 There must be some bad data there,<= br> what it is?

=E2=80=8BHere's the current C backtrace:

#0=C2=A0 0x000= 000000054aa44 in mark_object (arg=3D<optimised out>) at alloc.c:6488<= br>#1=C2=A0 0x000000000054a8fe in mark_object (arg=3D<optimised out>)= at alloc.c:6452
#2=C2=A0 0x000000000054a8fe in mark_object (arg=3D<o= ptimised out>) at alloc.c:6452
#3=C2=A0 0x000000000054a9cb in mark_ob= ject (arg=3D<optimised out>) at alloc.c:6539
#4=C2=A0 0x0000000000= 54a9cb in mark_object (arg=3D<optimised out>) at alloc.c:6539
#5= =C2=A0 0x000000000054b20c in Fgarbage_collect (end=3D0x7fffffff9a28) at all= oc.c:5745
#6=C2=A0 0x000000000054b20c in Fgarbage_collect () at alloc.c:= 5979
#7=C2=A0 0x000000000059979e in exec_byte_code () at lisp.h:4656
= #8=C2=A0 0x000000000059979e in exec_byte_code (bytestr=3D<optimised out&= gt;, vector=3D<optimised out>, maxdepth=3D<optimised out>, args= _template=3D<optimised out>, nargs=3Dnargs@entry=3D6, args=3D<opti= mised out>, args@entry=3D0x937914 <pure+912340>) at bytecode.c:714=
#9=C2=A0 0x0000000000562976 in funcall_lambda (fun=3D140737488330544, n= args=3Dnargs@entry=3D6, arg_vector=3D0x937914 <pure+912340>,
=C2= =A0=C2=A0=C2=A0 arg_vector@entry=3D0x7fffffff9ea0) at eval.c:2855
#10 0x= 0000000000562c3b in Ffuncall (nargs=3Dnargs@entry=3D7, args=3Dargs@entry=3D= 0x7fffffff9e98) at eval.c:2754
#11 0x00000000005641d4 in Fapply (nargs= =3D7, args=3D0x7fffffff9e98) at eval.c:2278
#12 0x0000000000562d41 in Ff= uncall (nargs=3D8, args=3Dargs@entry=3D0x7fffffff9e90) at eval.c:2673
#1= 3 0x00000000005975d3 in exec_byte_code (bytestr=3D<optimised out>, ve= ctor=3D<optimised out>, maxdepth=3D<optimised out>, args_templa= te=3D<optimised out>, nargs=3Dnargs@entry=3D3, args=3D<optimised o= ut>, args@entry=3D0x236a3d4) at bytecode.c:880
#14 0x0000000000562976= in funcall_lambda (fun=3D140737488331264, nargs=3Dnargs@entry=3D3, arg_vec= tor=3D0x236a3d4,
=C2=A0=C2=A0=C2=A0 arg_vector@entry=3D0x7fffffffa188) = at eval.c:2855
#15 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@entry= =3D4, args=3Dargs@entry=3D0x7fffffffa180) at eval.c:2754
#16 0x000000000= 05641d4 in Fapply (nargs=3D4, args=3D0x7fffffffa180) at eval.c:2278
#17 = 0x0000000000562d41 in Ffuncall (nargs=3D5, args=3Dargs@entry=3D0x7fffffffa1= 78) at eval.c:2673
#18 0x00000000005975d3 in exec_byte_code (bytestr=3D&= lt;optimised out>, vector=3D<optimised out>, maxdepth=3D<optimi= sed out>, args_template=3D<optimised out>, nargs=3Dnargs@entry=3D2= , args=3D<optimised out>, args@entry=3D0x240e244) at bytecode.c:880#19 0x0000000000562976 in funcall_lambda (fun=3D140737488332048, nargs=3D= nargs@entry=3D2, arg_vector=3D0x240e244,
=C2=A0=C2=A0=C2=A0 arg_vector@= entry=3D0x7fffffffa318) at eval.c:2855
#20 0x0000000000562c3b in Ffuncal= l (nargs=3Dnargs@entry=3D3, args=3D0x7fffffffa310) at eval.c:2754
#21 0x= 0000000000564020 in Fapply (nargs=3D<optimised out>, args=3D0x7ffffff= fa488) at eval.c:2321
#22 0x0000000000562d41 in Ffuncall (nargs=3D3, arg= s=3Dargs@entry=3D0x7fffffffa480) at eval.c:2673
#23 0x00000000005975d3 i= n exec_byte_code (bytestr=3D<optimised out>, vector=3D<optimised o= ut>, maxdepth=3D<optimised out>, args_template=3D<optimised out= >, nargs=3Dnargs@entry=3D3, args=3D<optimised out>, args@entry=3D0= x22fa6f4) at bytecode.c:880
#24 0x0000000000562976 in funcall_lambda (fu= n=3D140737488332496, nargs=3Dnargs@entry=3D3, arg_vector=3D0x22fa6f4,
= =C2=A0=C2=A0=C2=A0 arg_vector@entry=3D0x7fffffffa638) at eval.c:2855
#25= 0x0000000000562c3b in Ffuncall (nargs=3D4, args=3Dargs@entry=3D0x7fffffffa= 630) at eval.c:2754
#26 0x00000000005975d3 in exec_byte_code (bytestr=3D= <optimised out>, vector=3D<optimised out>, maxdepth=3D<optim= ised out>, args_template=3D<optimised out>, nargs=3Dnargs@entry=3D= 1, args=3D<optimised out>, args@entry=3D0x2b7d384) at bytecode.c:880<= br>#27 0x0000000000562976 in funcall_lambda (fun=3D140737488332992, nargs= =3Dnargs@entry=3D1, arg_vector=3D0x2b7d384,
=C2=A0=C2=A0=C2=A0 arg_vect= or@entry=3D0x7fffffffa800) at eval.c:2855
#28 0x0000000000562c3b in Ffun= call (nargs=3D2, args=3Dargs@entry=3D0x7fffffffa7f8) at eval.c:2754
#29 = 0x00000000005975d3 in exec_byte_code (bytestr=3D<optimised out>, vect= or=3D<optimised out>, maxdepth=3D<optimised out>, args_template= =3D<optimised out>, nargs=3Dnargs@entry=3D1, args=3D<optimised out= >, args@entry=3D0x2b7d564) at bytecode.c:880
#30 0x0000000000562976 i= n funcall_lambda (fun=3D140737488333712, nargs=3Dnargs@entry=3D1, arg_vecto= r=3D0x2b7d564,
=C2=A0=C2=A0=C2=A0 arg_vector@entry=3D0x7fffffffab08) at= eval.c:2855
#31 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@entry=3D2= , args=3Dargs@entry=3D0x7fffffffab00) at eval.c:2754
#32 0x0000000000564= 1d4 in Fapply (nargs=3D2, args=3D0x7fffffffab00) at eval.c:2278
#33 0x00= 00000000562d41 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7fffffffaaf8) = at eval.c:2673
#34 0x00000000005975d3 in exec_byte_code (bytestr=3D<o= ptimised out>, vector=3D<optimised out>, maxdepth=3D<optimised = out>, args_template=3Dargs_template@entry=3D0, nargs=3Dnargs@entry=3D0, = args=3D<optimised out>, args@entry=3D0x0) at bytecode.c:880
#35 0x= 000000000056283f in funcall_lambda (fun=3D10562237, nargs=3Dnargs@entry=3D3= , arg_vector=3Darg_vector@entry=3D0x7fffffffad20)
=C2=A0=C2=A0=C2=A0 at = eval.c:2921
#36 0x0000000000562c3b in Ffuncall (nargs=3D4, args=3Dargs@e= ntry=3D0x7fffffffad18) at eval.c:2754
#37 0x00000000005975d3 in exec_byt= e_code (bytestr=3D<optimised out>, vector=3D<optimised out>, ma= xdepth=3D<optimised out>, args_template=3Dargs_template@entry=3D0, na= rgs=3Dnargs@entry=3D0, args=3D<optimised out>, args@entry=3D0x0) at b= ytecode.c:880
#38 0x000000000056283f in funcall_lambda (fun=3D10569021, = nargs=3Dnargs@entry=3D2, arg_vector=3Darg_vector@entry=3D0x7fffffffaf60)=C2=A0=C2=A0=C2=A0 at eval.c:2921
#39 0x0000000000562c3b in Ffuncall (n= args=3D3, args=3Dargs@entry=3D0x7fffffffaf58) at eval.c:2754
#40 0x00000= 000005975d3 in exec_byte_code (bytestr=3D<optimised out>, vector=3D&l= t;optimised out>, maxdepth=3D<optimised out>, args_template=3Dargs= _template@entry=3D0, nargs=3Dnargs@entry=3D0, args=3D<optimised out>,= args@entry=3D0x0) at bytecode.c:880
#41 0x000000000056283f in funcall_l= ambda (fun=3D10570821, nargs=3Dnargs@entry=3D0, arg_vector=3Darg_vector@ent= ry=3D0x7fffffffb1a8)
=C2=A0=C2=A0=C2=A0 at eval.c:2921
#42 0x00000000= 00562c3b in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7fffffffb1a0) at eva= l.c:2754
#43 0x00000000005975d3 in exec_byte_code (bytestr=3D<optimis= ed out>, vector=3D<optimised out>, maxdepth=3D<optimised out>= ;, args_template=3D<optimised out>, nargs=3Dnargs@entry=3D0, args=3D&= lt;optimised out>, args@entry=3D0x2e5f674) at bytecode.c:880
#44 0x00= 00000000562976 in funcall_lambda (fun=3D140737488335872, nargs=3Dnargs@entr= y=3D0, arg_vector=3D0x2e5f674,
=C2=A0=C2=A0=C2=A0 arg_vector@entry=3D0x= 7fffffffb388) at eval.c:2855
#45 0x0000000000562c3b in Ffuncall (nargs= =3D1, args=3Dargs@entry=3D0x7fffffffb380) at eval.c:2754
#46 0x000000000= 05975d3 in exec_byte_code (bytestr=3D<optimised out>, vector=3D<op= timised out>, maxdepth=3D<optimised out>, args_template=3D<opti= mised out>, nargs=3Dnargs@entry=3D0, args=3D<optimised out>, args@= entry=3D0x2e605a4) at bytecode.c:880
#47 0x0000000000562976 in funcall_l= ambda (fun=3D140737488336320, nargs=3Dnargs@entry=3D0, arg_vector=3D0x2e605= a4,
=C2=A0=C2=A0=C2=A0 arg_vector@entry=3D0x7fffffffb530) at eval.c:285= 5
#48 0x0000000000562c3b in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7= fffffffb528) at eval.c:2754
#49 0x00000000005975d3 in exec_byte_code (by= testr=3D<optimised out>, vector=3D<optimised out>, maxdepth=3D&= lt;optimised out>, args_temp---Type <return> to continue, or q <= ;return> to quit---
late=3D<optimised out>, nargs=3Dnargs@entry= =3D1, args=3D<optimised out>, args@entry=3D0x2e56384) at bytecode.c:8= 80
#50 0x0000000000562976 in funcall_lambda (fun=3D140737488336944, narg= s=3Dnargs@entry=3D1, arg_vector=3D0x2e56384,
=C2=A0=C2=A0=C2=A0 arg_vec= tor@entry=3D0x7fffffffb7b0) at eval.c:2855
#51 0x0000000000562c3b in Ffu= ncall (nargs=3D2, args=3Dargs@entry=3D0x7fffffffb7a8) at eval.c:2754
#52= 0x00000000005975d3 in exec_byte_code (bytestr=3D<optimised out>, vec= tor=3D<optimised out>, maxdepth=3D<optimised out>, args_templat= e=3D<optimised out>, nargs=3Dnargs@entry=3D10, args=3D<optimised o= ut>, args@entry=3D0x2ca3794) at bytecode.c:880
#53 0x0000000000562976= in funcall_lambda (fun=3D140737488337792, nargs=3Dnargs@entry=3D10, arg_ve= ctor=3D0x2ca3794,
=C2=A0=C2=A0=C2=A0 arg_vector@entry=3D0x7fffffffb948)= at eval.c:2855
#54 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@entry= =3D11, args=3D0x7fffffffb940) at eval.c:2754
#55 0x0000000000564020 in F= apply (nargs=3D<optimised out>, args=3D0x7fffffffbb00) at eval.c:2321=
#56 0x0000000000562d41 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7f= ffffffbaf8) at eval.c:2673
#57 0x00000000005975d3 in exec_byte_code (byt= estr=3D<optimised out>, vector=3D<optimised out>, maxdepth=3D&l= t;optimised out>, args_template=3D<optimised out>, nargs=3Dnargs@e= ntry=3D0, args=3D<optimised out>, args@entry=3D0x2ca8ab4) at bytecode= .c:880
#58 0x0000000000562976 in funcall_lambda (fun=3D140737488338240, = nargs=3Dnargs@entry=3D0, arg_vector=3D0x2ca8ab4,
=C2=A0=C2=A0=C2=A0 arg= _vector@entry=3D0x7fffffffbcb0) at eval.c:2855
#59 0x0000000000562c3b in= Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7fffffffbca8) at eval.c:2754#60 0x00000000005975d3 in exec_byte_code (bytestr=3D<optimised out>,= vector=3D<optimised out>, maxdepth=3D<optimised out>, args_tem= plate=3D<optimised out>, nargs=3Dnargs@entry=3D0, args=3D<optimise= d out>, args@entry=3D0x2caaed4) at bytecode.c:880
#61 0x0000000000562= 976 in funcall_lambda (fun=3D140737488338960, nargs=3Dnargs@entry=3D0, arg_= vector=3D0x2caaed4,
=C2=A0=C2=A0=C2=A0 arg_vector@entry=3D0x7fffffffbf8= 8) at eval.c:2855
#62 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@entr= y=3D1, args=3Dargs@entry=3D0x7fffffffbf80) at eval.c:2754
#63 0x00000000= 005641bc in Fapply (nargs=3D2, args=3D0x7fffffffbf80) at eval.c:2274
#64= 0x0000000000562d41 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7fffffffb= f78) at eval.c:2673
#65 0x00000000005975d3 in exec_byte_code (bytestr=3D= <optimised out>, vector=3D<optimised out>, maxdepth=3D<optim= ised out>, args_template=3Dargs_template@entry=3D0, nargs=3Dnargs@entry= =3D0, args=3D<optimised out>, args@entry=3D0x0) at bytecode.c:880
= #66 0x000000000056283f in funcall_lambda (fun=3D10146693, nargs=3Dnargs@ent= ry=3D1, arg_vector=3Darg_vector@entry=3D0x7fffffffc198)
=C2=A0=C2=A0=C2= =A0 at eval.c:2921
#67 0x0000000000562c3b in Ffuncall (nargs=3Dnargs@ent= ry=3D2, args=3Dargs@entry=3D0x7fffffffc190) at eval.c:2754
#68 0x0000000= 000562f3a in call1 (fn=3Dfn@entry=3D45264, arg1=3Darg1@entry=3D46400381) at= eval.c:2552
#69 0x00000000004f49c8 in timer_check (idle_timers=3D<op= timised out>, timers=3D<optimised out>) at keyboard.c:4427
#70 = 0x00000000004f49c8 in timer_check () at keyboard.c:4489
#71 0x0000000000= 4f4d89 in readable_events (flags=3Dflags@entry=3D1) at keyboard.c:3328
#= 72 0x00000000004f6608 in get_input_pending (flags=3Dflags@entry=3D1) at key= board.c:6725
#73 0x00000000004f8d78 in detect_input_pending_run_timers (= do_display=3Ddo_display@entry=3Dtrue) at keyboard.c:9862
#74 0x000000000= 05a2abb in wait_reading_process_output (time_limit=3Dtime_limit@entry=3D30,= nsecs=3Dnsecs@entry=3D0, read_kbd=3Dread_kbd@entry=3D-1, do_display=3Ddo_d= isplay@entry=3Dtrue, wait_for_cell=3Dwait_for_cell@entry=3D0, wait_proc=3Dw= ait_proc@entry=3D0x0, just_wait_proc=3D0) at process.c:4958
#75 0x000000= 0000422e12 in sit_for (timeout=3D<optimised out>, reading=3Dreading@e= ntry=3Dtrue, display_option=3Ddisplay_option@entry=3D1) at dispnew.c:5762#76 0x00000000004fb273 in read_char (commandflag=3Dcommandflag@entry=3D1,= map=3Dmap@entry=3D76268163, prev_event=3D0, used_mouse_menu=3Dused_mouse_m= enu@entry=3D0x7fffffffce3b, end_time=3Dend_time@entry=3D0x0) at keyboard.c:= 2714
#77 0x00000000004fbeda in read_key_sequence (keybuf=3Dkeybuf@entry= =3D0x7fffffffcf10, prompt=3Dprompt@entry=3D0, dont_downcase_last=3Ddont_dow= ncase_last@entry=3Dfalse, can_return_switch_frame=3Dcan_return_switch_frame= @entry=3Dtrue, fix_current_buffer=3Dfix_current_buffer@entry=3Dtrue, preven= t_redisplay=3Dprevent_redisplay@entry=3Dfalse, bufsize=3D30) at keyboard.c:= 9063
#78 0x00000000004fdb26 in command_loop_1 () at keyboard.c:1365
#= 79 0x00000000005615b2 in internal_condition_case (bfun=3Dbfun@entry=3D0x4fd= 920 <command_loop_1>, handlers=3Dhandlers@entry=3D19056, hfun=3Dhfun@= entry=3D0x4f4080 <cmd_error>) at eval.c:1309
#80 0x00000000004ef54= c in command_loop_2 (ignore=3Dignore@entry=3D0) at keyboard.c:1107
#81 0= x0000000000561553 in internal_catch (tag=3Dtag@entry=3D45840, func=3Dfunc@e= ntry=3D0x4ef530 <command_loop_2>, arg=3Darg@entry=3D0)
=C2=A0=C2= =A0=C2=A0 at eval.c:1074
#82 0x00000000004ef509 in command_loop () at ke= yboard.c:1086
#83 0x00000000004f3c77 in recursive_edit_1 () at keyboard.= c:692
#84 0x00000000004f3fb8 in Frecursive_edit () at keyboard.c:763
= #85 0x0000000000418dfe in main (argc=3D1, argv=3D0x7fffffffd298) at emacs.c= :1626

=E2=80=8BSorry I didn't post that before, the "bt" co= mmand only gives the Lisp backtrace, and I didn't think to try "wh= ere".=E2=80=8B
=E2=80=8B

=E2=80=8BIn frame #0, the code reads:
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (XMISCANY (obj)->gcmarkbit)
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 break;

at this point obj is 33, XMISC= ANY(obj) is 20, and gdb tells me "Cannot access memory at address 0x20= ".

=E2=80=8BIf it helps, I'm happy to arrange some sort of live chat to g= et through the debugging process quicker.

--
--001a113fc314a7546b053e61c5ae--