From unknown Sun Jun 22 22:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22622: 24.5; ask-user-about-supersession-threat causes emacs -batch to hang Resent-From: Richard Sharman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Feb 2016 21:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22622 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 22622@debbugs.gnu.org Cc: Richard Sharman X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.14551385568515 (code B ref -1); Wed, 10 Feb 2016 21:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Feb 2016 21:09:16 +0000 Received: from localhost ([127.0.0.1]:35379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTc0h-0002DF-8t for submit@debbugs.gnu.org; Wed, 10 Feb 2016 16:09:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43756) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTaup-0000V1-9i for submit@debbugs.gnu.org; Wed, 10 Feb 2016 14:59:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTaug-0002CN-V0 for submit@debbugs.gnu.org; Wed, 10 Feb 2016 14:59:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,HTML_MESSAGE, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTaug-0002CI-RE for submit@debbugs.gnu.org; Wed, 10 Feb 2016 14:58:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTaud-0008DT-8g for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 14:58:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTauY-00028m-VN for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 14:58:55 -0500 Received: from mail-bn1on0068.outbound.protection.outlook.com ([157.56.110.68]:23808 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTauY-00028G-Md for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 14:58:50 -0500 Received: from BLUPR12MB0401.namprd12.prod.outlook.com (10.162.91.26) by BLUPR12MB0404.namprd12.prod.outlook.com (10.162.91.29) with Microsoft SMTP Server (TLS) id 15.1.403.16; Wed, 10 Feb 2016 18:27:30 +0000 Received: from BLUPR12MB0401.namprd12.prod.outlook.com ([10.162.91.26]) by BLUPR12MB0401.namprd12.prod.outlook.com ([10.162.91.26]) with mapi id 15.01.0403.017; Wed, 10 Feb 2016 18:27:31 +0000 From: Richard Sharman Thread-Topic: 24.5; ask-user-about-supersession-threat causes emacs -batch to hang Thread-Index: AQHRZDAcodHZPPafj06D9LKFqMsJkw== Date: Wed, 10 Feb 2016 18:27:30 +0000 Message-ID: Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mitel.com; dkim=none (message not signed) header.d=none;mitel.com; dmarc=none action=none header.from=mitel.com; x-originating-ip: [216.191.234.70] x-ms-office365-filtering-correlation-id: 32c5a3ac-4ed0-4ee8-4eec-08d33247d661 x-microsoft-exchange-diagnostics: 1; BLUPR12MB0404; 5:JgvCLNPfmJHCtxSW0nEAZuWrxak8QYGVPDC1TJg+HLirvLni1BcMH69a0OEkcYaBSUopHONDJkEB0Zf26lAVi9cTNlSTzXeNoz4VE0QcWGb0jBD+EybmNhT9otcAd8ucZ2/JEv0Se/VhYsBwMVTmhQ==; 24:d3ErwPAgIRwpvKYVgPBa49jX21btdmxqhqFjLWUDcBMjwtaYBeNxmAc92zOn6gMC54JPKAYngQZqCLCb/fe1wFCxPEqz7DKml7ghEr2St1M= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0404; x-mitel-disclaimer: EN x-mitel-disclaimer-done: 1 x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(270196979477641); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BLUPR12MB0404; BCL:0; PCL:0; RULEID:; SRVR:BLUPR12MB0404; x-forefront-prvs: 0848C1A6AA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(36304003)(50944005)(377424004)(2501003)(575784001)(76576001)(54356999)(230783001)(86362001)(19627405001)(74316001)(19625215002)(92566002)(16236675004)(5008740100001)(66066001)(40100003)(33656002)(122556002)(87936001)(50986999)(19580395003)(450100001)(4326007)(19580405001)(5002640100001)(189998001)(110136002)(106116001)(3846002)(99286002)(10400500002)(5004730100002)(5890100001)(229853001)(77096005)(586003)(5001960100002)(4001430100002)(1220700001)(107886002)(102836003)(1096002)(2900100001)(3660700001)(3280700002)(5003600100002)(2906002)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR12MB0404; H:BLUPR12MB0401.namprd12.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_BLUPR12MB0401511A1717116825CF71B0EFD70BLUPR12MB0401namp_" MIME-Version: 1.0 X-OriginatorOrg: mitel.com X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2016 18:27:30.7012 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4bff5a2b-b30d-4939-81ff-8f76138347df X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0404 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Wed, 10 Feb 2016 16:09:13 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --_000_BLUPR12MB0401511A1717116825CF71B0EFD70BLUPR12MB0401namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm not sure if this is a bug or not. When running emacs -batch, if a function modifies a buffer and calls save-buffer and there is another emacs -batch also updating the same file, one of them can call ask-user-about-supersession-threat [in userlock.el]. This causes the emacs process to hang because read-char-choice never returns. See traceback below. This happened when running make -j 6 and I changed the scenario to not happen, but I wondered if ask-user-about-supersession-threat should be act upon variable noninteractive. Perhaps one is supposed to supply a replacement for ask-user-about-supersession-threat if running emacs in batch mode? --- Traceback --- This was obtained by attaching with gdb to the emacs process. (gdb) bt #0 0x000000379fae165e in pselect () from /lib64/libc.so.6 #1 0x00000000005bdf02 in xg_select (fds_lim=3D6, rfds=3Drfds@entry=3D0x7ff= f9903b8a0, wfds=3D0x7fff9903b920, efds=3Defds@entry=3D0x0, timeout=3Dtimeou= t@entry=3D0x7fff9903b890, sigmask=3Dsigmask@entry=3D0x0) at ../../src/xgselect.c:114 #2 0x000000000058a9c3 in wait_reading_process_output (time_limit=3Dtime_li= mit@entry=3D0, nsecs=3Dnsecs@entry=3D0, read_kbd=3Dread_kbd@entry=3D-1, do_= display=3Dtrue, wait_for_cell=3Dwait_for_cell@entry=3D12186482, wait_proc=3Dwait_proc@e= ntry=3D0x0, just_wait_proc=3Djust_wait_proc@entry=3D0) at ../../src/process= .c:4606 #3 0x00000000004e38f7 in kbd_buffer_get_event (end_time=3D0x0, used_mouse_= menu=3D, kbp=3D) at ../../src/keyboard.c:= 3907 #4 read_event_from_main_queue (used_mouse_menu=3D, local_ge= tcjmp=3D, end_time=3D0x0) at ../../src/keyboard.c:2247 #5 read_decoded_event_from_main_queue (end_time=3Dend_time@entry=3D0x0, lo= cal_getcjmp=3Dlocal_getcjmp@entry=3D0x7fff9903be10, prev_event=3Dprev_event= @entry=3D12186482, used_mouse_menu=3Dused_mouse_menu@entry=3D0x7fff9903c09b) at ../../src/= keyboard.c:2310 #6 0x00000000004e7b3c in read_char (commandflag=3D0, map=3Dmap@entry=3D151= 39126, prev_event=3D12186482, used_mouse_menu=3Dused_mouse_menu@entry=3D0x7= fff9903c09b, end_time=3Dend_time@entry=3D0x0) at ../../src/keyboard.c:2896 #7 0x00000000004e890f in read_key_sequence (keybuf=3Dkeybuf@entry=3D0x7fff= 9903c150, prompt=3Dprompt@entry=3D14531377, dont_downcase_last=3D, can_return_switch_frame=3Dfalse, fix_current_buffer=3Dfix_current_buffer@entry=3Dfalse, prevent_redispla= y=3Dprevent_redisplay@entry=3Dfalse, bufsize=3D30) at ../../src/keyboard.c:= 9089 #8 0x00000000004ea140 in read_key_sequence_vs (prompt=3D14531377, continue= _echo=3D12186482, dont_downcase_last=3D12186530, can_return_switch_frame=3D= 12186482, cmd_loop=3D, allow_string=3D) at ../../src/keyboard.c:9784 #9 0x000000000054d1b4 in Ffuncall (nargs=3D, args=3D) at ../../src/eval.c:2827 #10 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D0, args=3D0= x4) at ../../src/bytecode.c:916 #11 0x000000000054cd47 in funcall_lambda (fun=3D8852921, nargs=3Dnargs@entr= y=3D0, arg_vector=3D0x1070e60, arg_vector@entry=3D0x7fff9903c458) at ../../= src/eval.c:2978 #12 0x000000000054d013 in Ffuncall (nargs=3D1, args=3D0x7fff9903c450) at ..= /../src/eval.c:2872 #13 0x000000000054c8de in eval_sub (form=3Dform@entry=3D15139174) at ../../= src/eval.c:2154 #14 0x000000000054b56b in internal_catch (tag=3D15676322, func=3D0x54c220 <= eval_sub>, arg=3D15139174) at ../../src/eval.c:1112 #15 0x0000000000581be8 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D1024, nargs=3D14073576= 0549240, args=3D0x8d) at ../../src/bytecode.c:1097 #16 0x000000000054cd47 in funcall_lambda (fun=3D8852409, nargs=3Dnargs@entr= y=3D1, arg_vector=3D0x8713e0 , arg_vector@entry=3D0x7fff9903c7= 18) at ../../src/eval.c:2978 #17 0x000000000054d013 in Ffuncall (nargs=3D2, args=3D0x7fff9903c710) at ..= /../src/eval.c:2872 #18 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D3080, nargs=3D14073576= 0549640, args=3D0x2) at ../../src/bytecode.c:916 #19 0x000000000054cd47 in funcall_lambda (fun=3D8854969, nargs=3Dnargs@entr= y=3D2, arg_vector=3D0x871de0 , arg_vector@entry=3D0x7fff9903c8= 50) at ../../src/eval.c:2978 #20 0x000000000054d013 in Ffuncall (nargs=3D3, args=3D0x7fff9903c848) at ..= /../src/eval.c:2872 #21 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D12186482, nargs=3D1407= 35760549952, args=3D0x3) at ../../src/bytecode.c:916 #22 0x000000000054ccaf in funcall_lambda (fun=3D19838589, nargs=3Dnargs@ent= ry=3D1, arg_vector=3Darg_vector@entry=3D0x7fff9903c9d8) at ../../src/eval.c= :3044 #23 0x000000000054d013 in Ffuncall (nargs=3Dnargs@entry=3D2, args=3Dargs@en= try=3D0x7fff9903c9d0) at ../../src/eval.c:2872 #24 0x000000000054d34a in call1 (fn=3D, arg1=3Darg1@entry=3D= 14349665) at ../../src/eval.c:2610 #25 0x00000000005019b5 in lock_file (fn=3D14349665) at ../../src/filelock.c= :713 #26 0x0000000000503115 in prepare_to_modify_buffer_1 (start=3Dstart@entry= =3D16700, end=3Dend@entry=3D16700, preserve_ptr=3Dpreserve_ptr@entry=3D0x0)= at ../../src/insdel.c:1812 #27 0x0000000000503621 in prepare_to_modify_buffer (start=3D16700, end=3D16= 700, preserve_ptr=3Dpreserve_ptr@entry=3D0x0) at ../../src/insdel.c:1847 #28 0x00000000005038d5 in insert_from_string_1 (string=3D14413089, pos=3D0,= pos_byte=3D0, nchars=3D35, nbytes=3D35, inherit=3D, before_= markers=3Dbefore_markers@entry=3Dfalse) at ../../src/insdel.c:893 #29 0x0000000000504130 in insert_from_string (string=3D, pos= =3D, pos_byte=3D, length=3D, l= ength_byte=3D, inherit=3D) at ../../src/insdel.c:842 #30 0x00000000005417a3 in general_insert_function (insert_func=3D0x503e40 <= insert>, insert_from_string_func=3D0x504100 , inherit= =3Dinherit@entry=3Dfalse, nargs=3D1, args=3D0x7fff9903ec40) at ../../src/editfns.c:2248 #31 0x00000000005418ab in Finsert (nargs=3D, args=3D) at ../../src/editfns.c:2289 #32 0x000000000054c8de in eval_sub (form=3D) at ../../src/ev= al.c:2154 #33 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #34 0x000000000054f5f5 in Flet (args=3D19476358) at ../../src/eval.c:970 #35 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #36 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #37 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19476262, nargs= =3Dnargs@entry=3D4, arg_vector=3Darg_vector@entry=3D0x7fff9903eee0) at ../.= ./src/eval.c:3037 #38 0x000000000054c178 in apply_lambda (fun=3D19476262, args=3D, count=3Dcount@entry=3D42) at ../../src/eval.c:2919 #39 0x000000000054c4e9 in eval_sub (form=3D) at ../../src/ev= al.c:2256 #40 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #41 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #42 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #43 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #44 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #45 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19494038) at ../..= /src/eval.c:462 #46 0x000000000054f688 in Fwhile (args=3D) at ../../src/eval= .c:992 #47 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #48 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19518774) at ../..= /src/eval.c:462 #49 0x0000000000548745 in Fsave_restriction (body=3D19518774) at ../../src/= editfns.c:3415 #50 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #51 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #52 0x000000000054f5f5 in Flet (args=3D19518230) at ../../src/eval.c:970 #53 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #54 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #55 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19518182, nargs= =3Dnargs@entry=3D2, arg_vector=3Darg_vector@entry=3D0x7fff9903f690) at ../.= ./src/eval.c:3037 #56 0x000000000054c178 in apply_lambda (fun=3D19518182, args=3D, count=3Dcount@entry=3D22) at ../../src/eval.c:2919 #57 0x000000000054c4e9 in eval_sub (form=3D) at ../../src/ev= al.c:2256 #58 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19515958) at ../..= /src/eval.c:462 #59 0x000000000054f688 in Fwhile (args=3D) at ../../src/eval= .c:992 #60 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #61 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #62 0x000000000054f5f5 in Flet (args=3D19516310) at ../../src/eval.c:970 #63 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #64 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #65 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19513158, nargs= =3Dnargs@entry=3D1, arg_vector=3Darg_vector@entry=3D0x7fff9903fab0) at ../.= ./src/eval.c:3037 #66 0x000000000054c178 in apply_lambda (fun=3D19513158, args=3D, count=3Dcount@entry=3D14) at ../../src/eval.c:2919 #67 0x000000000054c4e9 in eval_sub (form=3D) at ../../src/ev= al.c:2256 #68 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #69 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19509782, nargs= =3Dnargs@entry=3D2, arg_vector=3Darg_vector@entry=3D0x7fff9903fc80) at ../.= ./src/eval.c:3037 #70 0x000000000054c178 in apply_lambda (fun=3D19509782, args=3D, count=3Dcount@entry=3D11) at ../../src/eval.c:2919 #71 0x000000000054c4e9 in eval_sub (form=3Dform@entry=3D19527974) at ../../= src/eval.c:2256 #72 0x000000000054fae1 in Feval (form=3D19527974, lexical=3D= ) at ../../src/eval.c:1996 #73 0x000000000054d1f0 in Ffuncall (nargs=3D, args=3D) at ../../src/eval.c:2814 #74 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D1028, nargs=3D77, args= =3D0x2) at ../../src/bytecode.c:916 #75 0x000000000054cd47 in funcall_lambda (fun=3D9325745, nargs=3Dnargs@entr= y=3D1, arg_vector=3D0x8e4cd8 , arg_vector@entry=3D0x7fff990400= 30) at ../../src/eval.c:2978 #76 0x000000000054d013 in Ffuncall (nargs=3D2, args=3D0x7fff99040028) at ..= /../src/eval.c:2872 #77 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D14073576056= 4264, args=3D0x2) at ../../src/bytecode.c:916 #78 0x000000000054cd47 in funcall_lambda (fun=3D9300361, nargs=3Dnargs@entr= y=3D0, arg_vector=3D0x8de9b0 , arg_vector@entry=3D0x7fff990401= b8) at ../../src/eval.c:2978 #79 0x000000000054d013 in Ffuncall (nargs=3D1, args=3D0x7fff990401b0) at ..= /../src/eval.c:2872 #80 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D14073576056= 4648, args=3D0x1) at ../../src/bytecode.c:916 #81 0x000000000054cd47 in funcall_lambda (fun=3D9296881, fun@entry=3D929683= 7, nargs=3Dnargs@entry=3D0, arg_vector=3D0x8ddc18 , arg_vector= @entry=3D0x7fff990402a0) at ../../src/eval.c:2978 #82 0x000000000054c178 in apply_lambda (fun=3D9296837, args=3D, count=3Dcount@entry=3D3) at ../../src/eval.c:2919 #83 0x000000000054c4e9 in eval_sub (form=3Dform@entry=3D15729862) at ../../= src/eval.c:2256 #84 0x000000000054fae1 in Feval (form=3D15729862, lexical=3D= ) at ../../src/eval.c:1996 #85 0x000000000054b65e in internal_condition_case (bfun=3Dbfun@entry=3D0x4d= cb80 , handlers=3D, hfun=3Dhfun@entry=3D0x4e13c= 0 ) at ../../src/eval.c:1348 #86 0x00000000004dcb66 in top_level_1 (ignore=3Dignore@entry=3D12186482) at= ../../src/keyboard.c:1195 #87 0x000000000054b56b in internal_catch (tag=3D12233698, func=3Dfunc@entry= =3D0x4dcb00 , arg=3D12186482) at ../../src/eval.c:1112 #88 0x00000000004e0fcf in command_loop () at ../../src/keyboard.c:1156 #89 recursive_edit_1 () at ../../src/keyboard.c:778 #90 0x00000000004e12fd in Frecursive_edit () at ../../src/keyboard.c:849 #91 0x0000000000413755 in main (argc=3D, argv=3D0x7fff990406= 28) at ../../src/emacs.c:1642 (gdb) In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 2015-04-27 on sharmanbox.mitel.com Windowing system distributor `CentOS', version 11.0.11300000 System Description: Red Hat Enterprise Linux Server release 6 Configured using: `configure --with-x-toolkit=3Dathena --without-gsettings' Important settings: value of $LANG: C value of $XMODIFIERS: @im=3Dnone locale-coding-system: nil (Since this is not the emacs session that produced the problem the rest of the generated input from rerprt-emacs-bug has been removed.) I apologize for anything that occurs after this line; it's out of my contro= l! ________________________________ NOTE: This e-mail (including any attachments) is for the sole use of the in= tended recipient(s) and may contain information that is confidential and/or= protected by legal privilege. Any unauthorized review, use, copy, disclosu= re or distribution of this e-mail is strictly prohibited. If you are not th= e intended recipient, please notify Mitel immediately and destroy all copie= s of this e-mail. Mitel does not accept any liability for breach of securit= y, error or virus that may result from the transmission of this message. --_000_BLUPR12MB0401511A1717116825CF71B0EFD70BLUPR12MB0401namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

I'm not sure if this is a bug or not.=  

When running emacs -batch, if a function modifies a buffer and calls
save-buffer and there is another emacs -batch also updating the same
file, one of them can call ask-user-about-supersession-threat [in
userlock.el].

This causes the emacs process to hang because read-char-choice never
returns.  See traceback below.

This happened when running make -j 6 and I changed the scenario to not=
happen, but I wondered if ask-user-about-supersession-threat should be=
act upon variable noninteractive.

Perhaps one is supposed to supply a replacement for
ask-user-about-supersession-threat if running emacs in batch mode? &nb= sp;

--- Traceback ---
This was obtained by attaching with gdb to the emacs process.

(gdb) bt
#0  0x000000379fae165e in pselect () from /lib64/libc.so.6
#1  0x00000000005bdf02 in xg_select (fds_lim=3D6, rfds=3Drfds@ent= ry=3D0x7fff9903b8a0, wfds=3D0x7fff9903b920, efds=3Defds@entry=3D0x0, timeou= t=3Dtimeout@entry=3D0x7fff9903b890, 
    sigmask=3Dsigmask@entry=3D0x0) at ../../src/xgselect.c:1= 14
#2  0x000000000058a9c3 in wait_reading_process_output (time_limit= =3Dtime_limit@entry=3D0, nsecs=3Dnsecs@entry=3D0, read_kbd=3Dread_kbd@entry= =3D-1, do_display=3Dtrue, 
    wait_for_cell=3Dwait_for_cell@entry=3D12186482, wait_pro= c=3Dwait_proc@entry=3D0x0, just_wait_proc=3Djust_wait_proc@entry=3D0) at ..= /../src/process.c:4606
#3  0x00000000004e38f7 in kbd_buffer_get_event (end_time=3D0x0, u= sed_mouse_menu=3D<optimized out>, kbp=3D<synthetic pointer>) at= ../../src/keyboard.c:3907
#4  read_event_from_main_queue (used_mouse_menu=3D<optimized o= ut>, local_getcjmp=3D<optimized out>, end_time=3D0x0) at ../../src= /keyboard.c:2247
#5  read_decoded_event_from_main_queue (end_time=3Dend_time@entry= =3D0x0, local_getcjmp=3Dlocal_getcjmp@entry=3D0x7fff9903be10, prev_event=3D= prev_event@entry=3D12186482, 
    used_mouse_menu=3Dused_mouse_menu@entry=3D0x7fff9903c09b= ) at ../../src/keyboard.c:2310
#6  0x00000000004e7b3c in read_char (commandflag=3D0, map=3Dmap@e= ntry=3D15139126, prev_event=3D12186482, used_mouse_menu=3Dused_mouse_menu@e= ntry=3D0x7fff9903c09b, end_time=3Dend_time@entry=3D0x0)
    at ../../src/keyboard.c:2896
#7  0x00000000004e890f in read_key_sequence (keybuf=3Dkeybuf@entr= y=3D0x7fff9903c150, prompt=3Dprompt@entry=3D14531377, dont_downcase_last=3D= <optimized out>, can_return_switch_frame=3Dfalse, 
    fix_current_buffer=3Dfix_current_buffer@entry=3Dfalse, p= revent_redisplay=3Dprevent_redisplay@entry=3Dfalse, bufsize=3D30) at ../../= src/keyboard.c:9089
#8  0x00000000004ea140 in read_key_sequence_vs (prompt=3D14531377= , continue_echo=3D12186482, dont_downcase_last=3D12186530, can_return_switc= h_frame=3D12186482, cmd_loop=3D<optimized out>, 
    allow_string=3D<optimized out>) at ../../src/keybo= ard.c:9784
#9  0x000000000054d1b4 in Ffuncall (nargs=3D<optimized out>= , args=3D<optimized out>) at ../../src/eval.c:2827
#10 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D0, arg= s=3D0x4) at ../../src/bytecode.c:916
#11 0x000000000054cd47 in funcall_lambda (fun=3D8852921, nargs=3Dnargs= @entry=3D0, arg_vector=3D0x1070e60, arg_vector@entry=3D0x7fff9903c458) at .= ./../src/eval.c:2978
#12 0x000000000054d013 in Ffuncall (nargs=3D1, args=3D0x7fff9903c450) = at ../../src/eval.c:2872
#13 0x000000000054c8de in eval_sub (form=3Dform@entry=3D15139174) at .= ./../src/eval.c:2154
#14 0x000000000054b56b in internal_catch (tag=3D15676322, func=3D0x54c= 220 <eval_sub>, arg=3D15139174) at ../../src/eval.c:1112
#15 0x0000000000581be8 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D1024, nargs=3D140= 735760549240, args=3D0x8d)
    at ../../src/bytecode.c:1097
#16 0x000000000054cd47 in funcall_lambda (fun=3D8852409, nargs=3Dnargs= @entry=3D1, arg_vector=3D0x8713e0 <pure+120224>, arg_vector@entry= =3D0x7fff9903c718) at ../../src/eval.c:2978
#17 0x000000000054d013 in Ffuncall (nargs=3D2, args=3D0x7fff9903c710) = at ../../src/eval.c:2872
#18 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D3080, nargs=3D140= 735760549640, args=3D0x2)
    at ../../src/bytecode.c:916
#19 0x000000000054cd47 in funcall_lambda (fun=3D8854969, nargs=3Dnargs= @entry=3D2, arg_vector=3D0x871de0 <pure+122784>, arg_vector@entry= =3D0x7fff9903c850) at ../../src/eval.c:2978
#20 0x000000000054d013 in Ffuncall (nargs=3D3, args=3D0x7fff9903c848) = at ../../src/eval.c:2872
#21 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D12186482, nargs= =3D140735760549952, args=3D0x3)
    at ../../src/bytecode.c:916
#22 0x000000000054ccaf in funcall_lambda (fun=3D19838589, nargs=3Dnarg= s@entry=3D1, arg_vector=3Darg_vector@entry=3D0x7fff9903c9d8) at ../../src/e= val.c:3044
#23 0x000000000054d013 in Ffuncall (nargs=3Dnargs@entry=3D2, args=3Dar= gs@entry=3D0x7fff9903c9d0) at ../../src/eval.c:2872
#24 0x000000000054d34a in call1 (fn=3D<optimized out>, arg1=3Dar= g1@entry=3D14349665) at ../../src/eval.c:2610
#25 0x00000000005019b5 in lock_file (fn=3D14349665) at ../../src/filel= ock.c:713
#26 0x0000000000503115 in prepare_to_modify_buffer_1 (start=3Dstart@en= try=3D16700, end=3Dend@entry=3D16700, preserve_ptr=3Dpreserve_ptr@entry=3D0= x0) at ../../src/insdel.c:1812
#27 0x0000000000503621 in prepare_to_modify_buffer (start=3D16700, end= =3D16700, preserve_ptr=3Dpreserve_ptr@entry=3D0x0) at ../../src/insdel.c:18= 47
#28 0x00000000005038d5 in insert_from_string_1 (string=3D14413089, pos= =3D0, pos_byte=3D0, nchars=3D35, nbytes=3D35, inherit=3D<optimized out&g= t;, before_markers=3Dbefore_markers@entry=3Dfalse)
    at ../../src/insdel.c:893
#29 0x0000000000504130 in insert_from_string (string=3D<optimized o= ut>, pos=3D<optimized out>, pos_byte=3D<optimized out>, leng= th=3D<optimized out>, length_byte=3D<optimized out>, 
    inherit=3D<optimized out>) at ../../src/insdel.c:8= 42
#30 0x00000000005417a3 in general_insert_function (insert_func=3D0x503= e40 <insert>, insert_from_string_func=3D0x504100 <insert_from_stri= ng>, inherit=3Dinherit@entry=3Dfalse, nargs=3D1, 
    args=3D0x7fff9903ec40) at ../../src/editfns.c:2248
#31 0x00000000005418ab in Finsert (nargs=3D<optimized out>, args= =3D<optimized out>) at ../../src/editfns.c:2289
#32 0x000000000054c8de in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2154
#33 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#34 0x000000000054f5f5 in Flet (args=3D19476358) at ../../src/eval.c:9= 70
#35 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#36 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#37 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19476262, = nargs=3Dnargs@entry=3D4, arg_vector=3Darg_vector@entry=3D0x7fff9903eee0) at= ../../src/eval.c:3037
#38 0x000000000054c178 in apply_lambda (fun=3D19476262, args=3D<opt= imized out>, count=3Dcount@entry=3D42) at ../../src/eval.c:2919
#39 0x000000000054c4e9 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2256
#40 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#41 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#42 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#43 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#44 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#45 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19494038) at = ../../src/eval.c:462
#46 0x000000000054f688 in Fwhile (args=3D<optimized out>) at ../= ../src/eval.c:992
#47 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#48 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19518774) at = ../../src/eval.c:462
#49 0x0000000000548745 in Fsave_restriction (body=3D19518774) at ../..= /src/editfns.c:3415
#50 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#51 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#52 0x000000000054f5f5 in Flet (args=3D19518230) at ../../src/eval.c:9= 70
#53 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#54 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#55 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19518182, = nargs=3Dnargs@entry=3D2, arg_vector=3Darg_vector@entry=3D0x7fff9903f690) at= ../../src/eval.c:3037
#56 0x000000000054c178 in apply_lambda (fun=3D19518182, args=3D<opt= imized out>, count=3Dcount@entry=3D22) at ../../src/eval.c:2919
#57 0x000000000054c4e9 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2256
#58 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19515958) at = ../../src/eval.c:462
#59 0x000000000054f688 in Fwhile (args=3D<optimized out>) at ../= ../src/eval.c:992
#60 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#61 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#62 0x000000000054f5f5 in Flet (args=3D19516310) at ../../src/eval.c:9= 70
#63 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#64 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#65 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19513158, = nargs=3Dnargs@entry=3D1, arg_vector=3Darg_vector@entry=3D0x7fff9903fab0) at= ../../src/eval.c:3037
#66 0x000000000054c178 in apply_lambda (fun=3D19513158, args=3D<opt= imized out>, count=3Dcount@entry=3D14) at ../../src/eval.c:2919
#67 0x000000000054c4e9 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2256
#68 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#69 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19509782, = nargs=3Dnargs@entry=3D2, arg_vector=3Darg_vector@entry=3D0x7fff9903fc80) at= ../../src/eval.c:3037
#70 0x000000000054c178 in apply_lambda (fun=3D19509782, args=3D<opt= imized out>, count=3Dcount@entry=3D11) at ../../src/eval.c:2919
#71 0x000000000054c4e9 in eval_sub (form=3Dform@entry=3D19527974) at .= ./../src/eval.c:2256
#72 0x000000000054fae1 in Feval (form=3D19527974, lexical=3D<optimi= zed out>) at ../../src/eval.c:1996
#73 0x000000000054d1f0 in Ffuncall (nargs=3D<optimized out>, arg= s=3D<optimized out>) at ../../src/eval.c:2814
#74 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D1028, nargs=3D77,= args=3D0x2) at ../../src/bytecode.c:916
#75 0x000000000054cd47 in funcall_lambda (fun=3D9325745, nargs=3Dnargs= @entry=3D1, arg_vector=3D0x8e4cd8 <pure+593560>, arg_vector@entry= =3D0x7fff99040030) at ../../src/eval.c:2978
#76 0x000000000054d013 in Ffuncall (nargs=3D2, args=3D0x7fff99040028) = at ../../src/eval.c:2872
#77 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D140735= 760564264, args=3D0x2)
    at ../../src/bytecode.c:916
#78 0x000000000054cd47 in funcall_lambda (fun=3D9300361, nargs=3Dnargs= @entry=3D0, arg_vector=3D0x8de9b0 <pure+568176>, arg_vector@entry= =3D0x7fff990401b8) at ../../src/eval.c:2978
#79 0x000000000054d013 in Ffuncall (nargs=3D1, args=3D0x7fff990401b0) = at ../../src/eval.c:2872
#80 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D140735= 760564648, args=3D0x1)
    at ../../src/bytecode.c:916
#81 0x000000000054cd47 in funcall_lambda (fun=3D9296881, fun@entry=3D9= 296837, nargs=3Dnargs@entry=3D0, arg_vector=3D0x8ddc18 <pure+564696&= gt;, arg_vector@entry=3D0x7fff990402a0)
    at ../../src/eval.c:2978
#82 0x000000000054c178 in apply_lambda (fun=3D9296837, args=3D<opti= mized out>, count=3Dcount@entry=3D3) at ../../src/eval.c:2919
#83 0x000000000054c4e9 in eval_sub (form=3Dform@entry=3D15729862) at .= ./../src/eval.c:2256
#84 0x000000000054fae1 in Feval (form=3D15729862, lexical=3D<optimi= zed out>) at ../../src/eval.c:1996
#85 0x000000000054b65e in internal_condition_case (bfun=3Dbfun@entry= =3D0x4dcb80 <top_level_2>, handlers=3D<optimized out>, hfun=3Dh= fun@entry=3D0x4e13c0 <cmd_error>) at ../../src/eval.c:1348
#86 0x00000000004dcb66 in top_level_1 (ignore=3Dignore@entry=3D1218648= 2) at ../../src/keyboard.c:1195
#87 0x000000000054b56b in internal_catch (tag=3D12233698, func=3Dfunc@= entry=3D0x4dcb00 <top_level_1>, arg=3D12186482) at ../../src/eval.c:1= 112
#88 0x00000000004e0fcf in command_loop () at ../../src/keyboard.c:1156=
#89 recursive_edit_1 () at ../../src/keyboard.c:778
#90 0x00000000004e12fd in Frecursive_edit () at ../../src/keyboard.c:8= 49
#91 0x0000000000413755 in main (argc=3D<optimized out>, argv=3D0= x7fff99040628) at ../../src/emacs.c:1642
(gdb) 



In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll b= ars)
 of 2015-04-27 on sharmanbox.mitel.com
Windowing system distributor `CentOS', version 11.0.11300000
System Description: Red Hat Enterprise Linux Server release 6

Configured using:
 `configure --with-x-toolkit=3Dathena --without-gsettings'

Important settings:
  value of $LANG: C
  value of $XMODIFIERS: @im=3Dnone
  locale-coding-system: nil

(Since this is not the emacs session that produced the problem the res= t
of the generated input from rerprt-emacs-bug has been remove= d.)


I apologize for anything that occurs after this line; it's out of my c= ontrol!



NOTE: This e-mail (including any attachments) is for the sole use of the in= tended recipient(s) and may contain information that is confidential and/or= protected by legal privilege. Any unauthorized review, use, copy, disclosu= re or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please noti= fy Mitel immediately and destroy all copies of this e-mail. Mitel does not = accept any liability for breach of security, error or virus that may result= from the transmission of this message.

--_000_BLUPR12MB0401511A1717116825CF71B0EFD70BLUPR12MB0401namp_-- From unknown Sun Jun 22 22:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22622: 24.5; ask-user-about-supersession-threat causes emacs -batch to hang Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Feb 2016 13:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22622 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Richard Sharman Cc: 22622@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 22622-submit@debbugs.gnu.org id=B22622.14553709847579 (code B ref 22622); Sat, 13 Feb 2016 13:44:02 +0000 Received: (at 22622) by debbugs.gnu.org; 13 Feb 2016 13:43:04 +0000 Received: from localhost ([127.0.0.1]:38517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUaTY-0001yB-28 for submit@debbugs.gnu.org; Sat, 13 Feb 2016 08:43:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60288) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUaTW-0001xh-Jq for 22622@debbugs.gnu.org; Sat, 13 Feb 2016 08:43:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUaTO-0006DU-Eq for 22622@debbugs.gnu.org; Sat, 13 Feb 2016 08:42:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUaTO-0006DQ-Bd; Sat, 13 Feb 2016 08:42:54 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4754 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aUaTN-0000XL-JI; Sat, 13 Feb 2016 08:42:54 -0500 Date: Sat, 13 Feb 2016 15:42:55 +0200 Message-Id: <83pow0680w.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Richard Sharman on Wed, 10 Feb 2016 18:27:30 +0000) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Richard Sharman > Date: Wed, 10 Feb 2016 18:27:30 +0000 > Cc: Richard Sharman > > I'm not sure if this is a bug or not. > > When running emacs -batch, if a function modifies a buffer and calls > save-buffer and there is another emacs -batch also updating the same > file, one of them can call ask-user-about-supersession-threat [in > userlock.el]. > > This causes the emacs process to hang because read-char-choice never > returns. See traceback below. > > This happened when running make -j 6 and I changed the scenario to not > happen, but I wondered if ask-user-about-supersession-threat should be > act upon variable noninteractive. > > Perhaps one is supposed to supply a replacement for > ask-user-about-supersession-threat if running emacs in batch mode? Does anyone see a problem with automatically answering NO to that question in batch mode? From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 02 20:54:29 2018 Received: (at control) by debbugs.gnu.org; 3 Jan 2018 01:54:29 +0000 Received: from localhost ([127.0.0.1]:33642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWYGC-0007Xq-Ts for submit@debbugs.gnu.org; Tue, 02 Jan 2018 20:54:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWYGA-0007Xc-SP for control@debbugs.gnu.org; Tue, 02 Jan 2018 20:54:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWYG5-0000WC-1C for control@debbugs.gnu.org; Tue, 02 Jan 2018 20:54:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWYG4-0000Vp-Tu for control@debbugs.gnu.org; Tue, 02 Jan 2018 20:54:20 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eWYG4-0000eO-I9 for control@debbugs.gnu.org; Tue, 02 Jan 2018 20:54:20 -0500 Subject: control message for bug 29955 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 02 Jan 2018 20:54:20 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) merge 22622 29955 From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 23 20:56:09 2018 Received: (at control) by debbugs.gnu.org; 24 Jan 2018 01:56:09 +0000 Received: from localhost ([127.0.0.1]:40162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeAIL-0007ZN-Mr for submit@debbugs.gnu.org; Tue, 23 Jan 2018 20:56:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeAIJ-0007ZA-F5 for control@debbugs.gnu.org; Tue, 23 Jan 2018 20:56:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeAI8-0006yt-2w for control@debbugs.gnu.org; Tue, 23 Jan 2018 20:56:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeAI7-0006yH-QI for control@debbugs.gnu.org; Tue, 23 Jan 2018 20:55:55 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eeAI7-0002bw-HF for control@debbugs.gnu.org; Tue, 23 Jan 2018 20:55:55 -0500 Subject: control message for bug 22622 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 23 Jan 2018 20:55:55 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) unmerge 22622 From unknown Sun Jun 22 22:46:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Richard Sharman Subject: bug#22622: closed (Re: bug#22622: 24.5; ask-user-about-supersession-threat causes emacs -batch to hang) Message-ID: References: X-Gnu-PR-Message: they-closed 22622 X-Gnu-PR-Package: emacs Reply-To: 22622@debbugs.gnu.org Date: Wed, 24 Jan 2018 01:58:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1516759082-29289-1" This is a multi-part message in MIME format... ------------=_1516759082-29289-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22622: 24.5; ask-user-about-supersession-threat causes emacs -batch to hang which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22622@debbugs.gnu.org. --=20 22622: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22622 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1516759082-29289-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22622-done) by debbugs.gnu.org; 24 Jan 2018 01:57:34 +0000 Received: from localhost ([127.0.0.1]:40166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeAJi-0007bf-0G for submit@debbugs.gnu.org; Tue, 23 Jan 2018 20:57:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeAJg-0007bT-Pl for 22622-done@debbugs.gnu.org; Tue, 23 Jan 2018 20:57:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeAJL-0000Zt-Lb for 22622-done@debbugs.gnu.org; Tue, 23 Jan 2018 20:57:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeAJL-0000ZP-DR for 22622-done@debbugs.gnu.org; Tue, 23 Jan 2018 20:57:11 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eeAJJ-0002qk-M6; Tue, 23 Jan 2018 20:57:09 -0500 From: Glenn Morris To: 22622-done@debbugs.gnu.org Subject: Re: bug#22622: 24.5; ask-user-about-supersession-threat causes emacs -batch to hang References: X-Spook: enemy of the state Ricin Lexis-Nexis sweep Ammonium X-Ran: &(bt-V*eAU+WR|3Ewq=Dy#i@0<7%B7VT'}lqkDBT/](ng)-zKI=.DwO5,Z&6ozvo0_Ce(; X-Hue: white X-Attribution: GM Date: Tue, 23 Jan 2018 20:57:09 -0500 In-Reply-To: (Richard Sharman's message of "Wed, 10 Feb 2016 18:27:30 +0000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22622-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Version: 26.1 This should be fixed since 28718c4. See https://debbugs.gnu.org/29955 for related discussion. ------------=_1516759082-29289-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Feb 2016 21:09:16 +0000 Received: from localhost ([127.0.0.1]:35379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTc0h-0002DF-8t for submit@debbugs.gnu.org; Wed, 10 Feb 2016 16:09:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43756) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTaup-0000V1-9i for submit@debbugs.gnu.org; Wed, 10 Feb 2016 14:59:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTaug-0002CN-V0 for submit@debbugs.gnu.org; Wed, 10 Feb 2016 14:59:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,HTML_MESSAGE, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTaug-0002CI-RE for submit@debbugs.gnu.org; Wed, 10 Feb 2016 14:58:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTaud-0008DT-8g for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 14:58:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTauY-00028m-VN for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 14:58:55 -0500 Received: from mail-bn1on0068.outbound.protection.outlook.com ([157.56.110.68]:23808 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTauY-00028G-Md for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 14:58:50 -0500 Received: from BLUPR12MB0401.namprd12.prod.outlook.com (10.162.91.26) by BLUPR12MB0404.namprd12.prod.outlook.com (10.162.91.29) with Microsoft SMTP Server (TLS) id 15.1.403.16; Wed, 10 Feb 2016 18:27:30 +0000 Received: from BLUPR12MB0401.namprd12.prod.outlook.com ([10.162.91.26]) by BLUPR12MB0401.namprd12.prod.outlook.com ([10.162.91.26]) with mapi id 15.01.0403.017; Wed, 10 Feb 2016 18:27:31 +0000 From: Richard Sharman To: "bug-gnu-emacs@gnu.org" Subject: 24.5; ask-user-about-supersession-threat causes emacs -batch to hang Thread-Topic: 24.5; ask-user-about-supersession-threat causes emacs -batch to hang Thread-Index: AQHRZDAcodHZPPafj06D9LKFqMsJkw== Date: Wed, 10 Feb 2016 18:27:30 +0000 Message-ID: Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mitel.com; dkim=none (message not signed) header.d=none;mitel.com; dmarc=none action=none header.from=mitel.com; x-originating-ip: [216.191.234.70] x-ms-office365-filtering-correlation-id: 32c5a3ac-4ed0-4ee8-4eec-08d33247d661 x-microsoft-exchange-diagnostics: 1; BLUPR12MB0404; 5:JgvCLNPfmJHCtxSW0nEAZuWrxak8QYGVPDC1TJg+HLirvLni1BcMH69a0OEkcYaBSUopHONDJkEB0Zf26lAVi9cTNlSTzXeNoz4VE0QcWGb0jBD+EybmNhT9otcAd8ucZ2/JEv0Se/VhYsBwMVTmhQ==; 24:d3ErwPAgIRwpvKYVgPBa49jX21btdmxqhqFjLWUDcBMjwtaYBeNxmAc92zOn6gMC54JPKAYngQZqCLCb/fe1wFCxPEqz7DKml7ghEr2St1M= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0404; x-mitel-disclaimer: EN x-mitel-disclaimer-done: 1 x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(270196979477641); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BLUPR12MB0404; BCL:0; PCL:0; RULEID:; SRVR:BLUPR12MB0404; x-forefront-prvs: 0848C1A6AA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(36304003)(50944005)(377424004)(2501003)(575784001)(76576001)(54356999)(230783001)(86362001)(19627405001)(74316001)(19625215002)(92566002)(16236675004)(5008740100001)(66066001)(40100003)(33656002)(122556002)(87936001)(50986999)(19580395003)(450100001)(4326007)(19580405001)(5002640100001)(189998001)(110136002)(106116001)(3846002)(99286002)(10400500002)(5004730100002)(5890100001)(229853001)(77096005)(586003)(5001960100002)(4001430100002)(1220700001)(107886002)(102836003)(1096002)(2900100001)(3660700001)(3280700002)(5003600100002)(2906002)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR12MB0404; H:BLUPR12MB0401.namprd12.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_BLUPR12MB0401511A1717116825CF71B0EFD70BLUPR12MB0401namp_" MIME-Version: 1.0 X-OriginatorOrg: mitel.com X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2016 18:27:30.7012 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4bff5a2b-b30d-4939-81ff-8f76138347df X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0404 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 10 Feb 2016 16:09:13 -0500 Cc: Richard Sharman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --_000_BLUPR12MB0401511A1717116825CF71B0EFD70BLUPR12MB0401namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm not sure if this is a bug or not. When running emacs -batch, if a function modifies a buffer and calls save-buffer and there is another emacs -batch also updating the same file, one of them can call ask-user-about-supersession-threat [in userlock.el]. This causes the emacs process to hang because read-char-choice never returns. See traceback below. This happened when running make -j 6 and I changed the scenario to not happen, but I wondered if ask-user-about-supersession-threat should be act upon variable noninteractive. Perhaps one is supposed to supply a replacement for ask-user-about-supersession-threat if running emacs in batch mode? --- Traceback --- This was obtained by attaching with gdb to the emacs process. (gdb) bt #0 0x000000379fae165e in pselect () from /lib64/libc.so.6 #1 0x00000000005bdf02 in xg_select (fds_lim=3D6, rfds=3Drfds@entry=3D0x7ff= f9903b8a0, wfds=3D0x7fff9903b920, efds=3Defds@entry=3D0x0, timeout=3Dtimeou= t@entry=3D0x7fff9903b890, sigmask=3Dsigmask@entry=3D0x0) at ../../src/xgselect.c:114 #2 0x000000000058a9c3 in wait_reading_process_output (time_limit=3Dtime_li= mit@entry=3D0, nsecs=3Dnsecs@entry=3D0, read_kbd=3Dread_kbd@entry=3D-1, do_= display=3Dtrue, wait_for_cell=3Dwait_for_cell@entry=3D12186482, wait_proc=3Dwait_proc@e= ntry=3D0x0, just_wait_proc=3Djust_wait_proc@entry=3D0) at ../../src/process= .c:4606 #3 0x00000000004e38f7 in kbd_buffer_get_event (end_time=3D0x0, used_mouse_= menu=3D, kbp=3D) at ../../src/keyboard.c:= 3907 #4 read_event_from_main_queue (used_mouse_menu=3D, local_ge= tcjmp=3D, end_time=3D0x0) at ../../src/keyboard.c:2247 #5 read_decoded_event_from_main_queue (end_time=3Dend_time@entry=3D0x0, lo= cal_getcjmp=3Dlocal_getcjmp@entry=3D0x7fff9903be10, prev_event=3Dprev_event= @entry=3D12186482, used_mouse_menu=3Dused_mouse_menu@entry=3D0x7fff9903c09b) at ../../src/= keyboard.c:2310 #6 0x00000000004e7b3c in read_char (commandflag=3D0, map=3Dmap@entry=3D151= 39126, prev_event=3D12186482, used_mouse_menu=3Dused_mouse_menu@entry=3D0x7= fff9903c09b, end_time=3Dend_time@entry=3D0x0) at ../../src/keyboard.c:2896 #7 0x00000000004e890f in read_key_sequence (keybuf=3Dkeybuf@entry=3D0x7fff= 9903c150, prompt=3Dprompt@entry=3D14531377, dont_downcase_last=3D, can_return_switch_frame=3Dfalse, fix_current_buffer=3Dfix_current_buffer@entry=3Dfalse, prevent_redispla= y=3Dprevent_redisplay@entry=3Dfalse, bufsize=3D30) at ../../src/keyboard.c:= 9089 #8 0x00000000004ea140 in read_key_sequence_vs (prompt=3D14531377, continue= _echo=3D12186482, dont_downcase_last=3D12186530, can_return_switch_frame=3D= 12186482, cmd_loop=3D, allow_string=3D) at ../../src/keyboard.c:9784 #9 0x000000000054d1b4 in Ffuncall (nargs=3D, args=3D) at ../../src/eval.c:2827 #10 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D0, args=3D0= x4) at ../../src/bytecode.c:916 #11 0x000000000054cd47 in funcall_lambda (fun=3D8852921, nargs=3Dnargs@entr= y=3D0, arg_vector=3D0x1070e60, arg_vector@entry=3D0x7fff9903c458) at ../../= src/eval.c:2978 #12 0x000000000054d013 in Ffuncall (nargs=3D1, args=3D0x7fff9903c450) at ..= /../src/eval.c:2872 #13 0x000000000054c8de in eval_sub (form=3Dform@entry=3D15139174) at ../../= src/eval.c:2154 #14 0x000000000054b56b in internal_catch (tag=3D15676322, func=3D0x54c220 <= eval_sub>, arg=3D15139174) at ../../src/eval.c:1112 #15 0x0000000000581be8 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D1024, nargs=3D14073576= 0549240, args=3D0x8d) at ../../src/bytecode.c:1097 #16 0x000000000054cd47 in funcall_lambda (fun=3D8852409, nargs=3Dnargs@entr= y=3D1, arg_vector=3D0x8713e0 , arg_vector@entry=3D0x7fff9903c7= 18) at ../../src/eval.c:2978 #17 0x000000000054d013 in Ffuncall (nargs=3D2, args=3D0x7fff9903c710) at ..= /../src/eval.c:2872 #18 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D3080, nargs=3D14073576= 0549640, args=3D0x2) at ../../src/bytecode.c:916 #19 0x000000000054cd47 in funcall_lambda (fun=3D8854969, nargs=3Dnargs@entr= y=3D2, arg_vector=3D0x871de0 , arg_vector@entry=3D0x7fff9903c8= 50) at ../../src/eval.c:2978 #20 0x000000000054d013 in Ffuncall (nargs=3D3, args=3D0x7fff9903c848) at ..= /../src/eval.c:2872 #21 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D12186482, nargs=3D1407= 35760549952, args=3D0x3) at ../../src/bytecode.c:916 #22 0x000000000054ccaf in funcall_lambda (fun=3D19838589, nargs=3Dnargs@ent= ry=3D1, arg_vector=3Darg_vector@entry=3D0x7fff9903c9d8) at ../../src/eval.c= :3044 #23 0x000000000054d013 in Ffuncall (nargs=3Dnargs@entry=3D2, args=3Dargs@en= try=3D0x7fff9903c9d0) at ../../src/eval.c:2872 #24 0x000000000054d34a in call1 (fn=3D, arg1=3Darg1@entry=3D= 14349665) at ../../src/eval.c:2610 #25 0x00000000005019b5 in lock_file (fn=3D14349665) at ../../src/filelock.c= :713 #26 0x0000000000503115 in prepare_to_modify_buffer_1 (start=3Dstart@entry= =3D16700, end=3Dend@entry=3D16700, preserve_ptr=3Dpreserve_ptr@entry=3D0x0)= at ../../src/insdel.c:1812 #27 0x0000000000503621 in prepare_to_modify_buffer (start=3D16700, end=3D16= 700, preserve_ptr=3Dpreserve_ptr@entry=3D0x0) at ../../src/insdel.c:1847 #28 0x00000000005038d5 in insert_from_string_1 (string=3D14413089, pos=3D0,= pos_byte=3D0, nchars=3D35, nbytes=3D35, inherit=3D, before_= markers=3Dbefore_markers@entry=3Dfalse) at ../../src/insdel.c:893 #29 0x0000000000504130 in insert_from_string (string=3D, pos= =3D, pos_byte=3D, length=3D, l= ength_byte=3D, inherit=3D) at ../../src/insdel.c:842 #30 0x00000000005417a3 in general_insert_function (insert_func=3D0x503e40 <= insert>, insert_from_string_func=3D0x504100 , inherit= =3Dinherit@entry=3Dfalse, nargs=3D1, args=3D0x7fff9903ec40) at ../../src/editfns.c:2248 #31 0x00000000005418ab in Finsert (nargs=3D, args=3D) at ../../src/editfns.c:2289 #32 0x000000000054c8de in eval_sub (form=3D) at ../../src/ev= al.c:2154 #33 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #34 0x000000000054f5f5 in Flet (args=3D19476358) at ../../src/eval.c:970 #35 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #36 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #37 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19476262, nargs= =3Dnargs@entry=3D4, arg_vector=3Darg_vector@entry=3D0x7fff9903eee0) at ../.= ./src/eval.c:3037 #38 0x000000000054c178 in apply_lambda (fun=3D19476262, args=3D, count=3Dcount@entry=3D42) at ../../src/eval.c:2919 #39 0x000000000054c4e9 in eval_sub (form=3D) at ../../src/ev= al.c:2256 #40 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #41 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #42 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #43 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #44 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #45 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19494038) at ../..= /src/eval.c:462 #46 0x000000000054f688 in Fwhile (args=3D) at ../../src/eval= .c:992 #47 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #48 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19518774) at ../..= /src/eval.c:462 #49 0x0000000000548745 in Fsave_restriction (body=3D19518774) at ../../src/= editfns.c:3415 #50 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #51 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #52 0x000000000054f5f5 in Flet (args=3D19518230) at ../../src/eval.c:970 #53 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #54 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #55 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19518182, nargs= =3Dnargs@entry=3D2, arg_vector=3Darg_vector@entry=3D0x7fff9903f690) at ../.= ./src/eval.c:3037 #56 0x000000000054c178 in apply_lambda (fun=3D19518182, args=3D, count=3Dcount@entry=3D22) at ../../src/eval.c:2919 #57 0x000000000054c4e9 in eval_sub (form=3D) at ../../src/ev= al.c:2256 #58 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19515958) at ../..= /src/eval.c:462 #59 0x000000000054f688 in Fwhile (args=3D) at ../../src/eval= .c:992 #60 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #61 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #62 0x000000000054f5f5 in Flet (args=3D19516310) at ../../src/eval.c:970 #63 0x000000000054c7e3 in eval_sub (form=3D) at ../../src/ev= al.c:2131 #64 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #65 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19513158, nargs= =3Dnargs@entry=3D1, arg_vector=3Darg_vector@entry=3D0x7fff9903fab0) at ../.= ./src/eval.c:3037 #66 0x000000000054c178 in apply_lambda (fun=3D19513158, args=3D, count=3Dcount@entry=3D14) at ../../src/eval.c:2919 #67 0x000000000054c4e9 in eval_sub (form=3D) at ../../src/ev= al.c:2256 #68 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462 #69 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19509782, nargs= =3Dnargs@entry=3D2, arg_vector=3Darg_vector@entry=3D0x7fff9903fc80) at ../.= ./src/eval.c:3037 #70 0x000000000054c178 in apply_lambda (fun=3D19509782, args=3D, count=3Dcount@entry=3D11) at ../../src/eval.c:2919 #71 0x000000000054c4e9 in eval_sub (form=3Dform@entry=3D19527974) at ../../= src/eval.c:2256 #72 0x000000000054fae1 in Feval (form=3D19527974, lexical=3D= ) at ../../src/eval.c:1996 #73 0x000000000054d1f0 in Ffuncall (nargs=3D, args=3D) at ../../src/eval.c:2814 #74 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D1028, nargs=3D77, args= =3D0x2) at ../../src/bytecode.c:916 #75 0x000000000054cd47 in funcall_lambda (fun=3D9325745, nargs=3Dnargs@entr= y=3D1, arg_vector=3D0x8e4cd8 , arg_vector@entry=3D0x7fff990400= 30) at ../../src/eval.c:2978 #76 0x000000000054d013 in Ffuncall (nargs=3D2, args=3D0x7fff99040028) at ..= /../src/eval.c:2872 #77 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D14073576056= 4264, args=3D0x2) at ../../src/bytecode.c:916 #78 0x000000000054cd47 in funcall_lambda (fun=3D9300361, nargs=3Dnargs@entr= y=3D0, arg_vector=3D0x8de9b0 , arg_vector@entry=3D0x7fff990401= b8) at ../../src/eval.c:2978 #79 0x000000000054d013 in Ffuncall (nargs=3D1, args=3D0x7fff990401b0) at ..= /../src/eval.c:2872 #80 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D14073576= 0544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D14073576056= 4648, args=3D0x1) at ../../src/bytecode.c:916 #81 0x000000000054cd47 in funcall_lambda (fun=3D9296881, fun@entry=3D929683= 7, nargs=3Dnargs@entry=3D0, arg_vector=3D0x8ddc18 , arg_vector= @entry=3D0x7fff990402a0) at ../../src/eval.c:2978 #82 0x000000000054c178 in apply_lambda (fun=3D9296837, args=3D, count=3Dcount@entry=3D3) at ../../src/eval.c:2919 #83 0x000000000054c4e9 in eval_sub (form=3Dform@entry=3D15729862) at ../../= src/eval.c:2256 #84 0x000000000054fae1 in Feval (form=3D15729862, lexical=3D= ) at ../../src/eval.c:1996 #85 0x000000000054b65e in internal_condition_case (bfun=3Dbfun@entry=3D0x4d= cb80 , handlers=3D, hfun=3Dhfun@entry=3D0x4e13c= 0 ) at ../../src/eval.c:1348 #86 0x00000000004dcb66 in top_level_1 (ignore=3Dignore@entry=3D12186482) at= ../../src/keyboard.c:1195 #87 0x000000000054b56b in internal_catch (tag=3D12233698, func=3Dfunc@entry= =3D0x4dcb00 , arg=3D12186482) at ../../src/eval.c:1112 #88 0x00000000004e0fcf in command_loop () at ../../src/keyboard.c:1156 #89 recursive_edit_1 () at ../../src/keyboard.c:778 #90 0x00000000004e12fd in Frecursive_edit () at ../../src/keyboard.c:849 #91 0x0000000000413755 in main (argc=3D, argv=3D0x7fff990406= 28) at ../../src/emacs.c:1642 (gdb) In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 2015-04-27 on sharmanbox.mitel.com Windowing system distributor `CentOS', version 11.0.11300000 System Description: Red Hat Enterprise Linux Server release 6 Configured using: `configure --with-x-toolkit=3Dathena --without-gsettings' Important settings: value of $LANG: C value of $XMODIFIERS: @im=3Dnone locale-coding-system: nil (Since this is not the emacs session that produced the problem the rest of the generated input from rerprt-emacs-bug has been removed.) I apologize for anything that occurs after this line; it's out of my contro= l! ________________________________ NOTE: This e-mail (including any attachments) is for the sole use of the in= tended recipient(s) and may contain information that is confidential and/or= protected by legal privilege. Any unauthorized review, use, copy, disclosu= re or distribution of this e-mail is strictly prohibited. If you are not th= e intended recipient, please notify Mitel immediately and destroy all copie= s of this e-mail. Mitel does not accept any liability for breach of securit= y, error or virus that may result from the transmission of this message. --_000_BLUPR12MB0401511A1717116825CF71B0EFD70BLUPR12MB0401namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

I'm not sure if this is a bug or not.=  

When running emacs -batch, if a function modifies a buffer and calls
save-buffer and there is another emacs -batch also updating the same
file, one of them can call ask-user-about-supersession-threat [in
userlock.el].

This causes the emacs process to hang because read-char-choice never
returns.  See traceback below.

This happened when running make -j 6 and I changed the scenario to not=
happen, but I wondered if ask-user-about-supersession-threat should be=
act upon variable noninteractive.

Perhaps one is supposed to supply a replacement for
ask-user-about-supersession-threat if running emacs in batch mode? &nb= sp;

--- Traceback ---
This was obtained by attaching with gdb to the emacs process.

(gdb) bt
#0  0x000000379fae165e in pselect () from /lib64/libc.so.6
#1  0x00000000005bdf02 in xg_select (fds_lim=3D6, rfds=3Drfds@ent= ry=3D0x7fff9903b8a0, wfds=3D0x7fff9903b920, efds=3Defds@entry=3D0x0, timeou= t=3Dtimeout@entry=3D0x7fff9903b890, 
    sigmask=3Dsigmask@entry=3D0x0) at ../../src/xgselect.c:1= 14
#2  0x000000000058a9c3 in wait_reading_process_output (time_limit= =3Dtime_limit@entry=3D0, nsecs=3Dnsecs@entry=3D0, read_kbd=3Dread_kbd@entry= =3D-1, do_display=3Dtrue, 
    wait_for_cell=3Dwait_for_cell@entry=3D12186482, wait_pro= c=3Dwait_proc@entry=3D0x0, just_wait_proc=3Djust_wait_proc@entry=3D0) at ..= /../src/process.c:4606
#3  0x00000000004e38f7 in kbd_buffer_get_event (end_time=3D0x0, u= sed_mouse_menu=3D<optimized out>, kbp=3D<synthetic pointer>) at= ../../src/keyboard.c:3907
#4  read_event_from_main_queue (used_mouse_menu=3D<optimized o= ut>, local_getcjmp=3D<optimized out>, end_time=3D0x0) at ../../src= /keyboard.c:2247
#5  read_decoded_event_from_main_queue (end_time=3Dend_time@entry= =3D0x0, local_getcjmp=3Dlocal_getcjmp@entry=3D0x7fff9903be10, prev_event=3D= prev_event@entry=3D12186482, 
    used_mouse_menu=3Dused_mouse_menu@entry=3D0x7fff9903c09b= ) at ../../src/keyboard.c:2310
#6  0x00000000004e7b3c in read_char (commandflag=3D0, map=3Dmap@e= ntry=3D15139126, prev_event=3D12186482, used_mouse_menu=3Dused_mouse_menu@e= ntry=3D0x7fff9903c09b, end_time=3Dend_time@entry=3D0x0)
    at ../../src/keyboard.c:2896
#7  0x00000000004e890f in read_key_sequence (keybuf=3Dkeybuf@entr= y=3D0x7fff9903c150, prompt=3Dprompt@entry=3D14531377, dont_downcase_last=3D= <optimized out>, can_return_switch_frame=3Dfalse, 
    fix_current_buffer=3Dfix_current_buffer@entry=3Dfalse, p= revent_redisplay=3Dprevent_redisplay@entry=3Dfalse, bufsize=3D30) at ../../= src/keyboard.c:9089
#8  0x00000000004ea140 in read_key_sequence_vs (prompt=3D14531377= , continue_echo=3D12186482, dont_downcase_last=3D12186530, can_return_switc= h_frame=3D12186482, cmd_loop=3D<optimized out>, 
    allow_string=3D<optimized out>) at ../../src/keybo= ard.c:9784
#9  0x000000000054d1b4 in Ffuncall (nargs=3D<optimized out>= , args=3D<optimized out>) at ../../src/eval.c:2827
#10 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D0, arg= s=3D0x4) at ../../src/bytecode.c:916
#11 0x000000000054cd47 in funcall_lambda (fun=3D8852921, nargs=3Dnargs= @entry=3D0, arg_vector=3D0x1070e60, arg_vector@entry=3D0x7fff9903c458) at .= ./../src/eval.c:2978
#12 0x000000000054d013 in Ffuncall (nargs=3D1, args=3D0x7fff9903c450) = at ../../src/eval.c:2872
#13 0x000000000054c8de in eval_sub (form=3Dform@entry=3D15139174) at .= ./../src/eval.c:2154
#14 0x000000000054b56b in internal_catch (tag=3D15676322, func=3D0x54c= 220 <eval_sub>, arg=3D15139174) at ../../src/eval.c:1112
#15 0x0000000000581be8 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D1024, nargs=3D140= 735760549240, args=3D0x8d)
    at ../../src/bytecode.c:1097
#16 0x000000000054cd47 in funcall_lambda (fun=3D8852409, nargs=3Dnargs= @entry=3D1, arg_vector=3D0x8713e0 <pure+120224>, arg_vector@entry= =3D0x7fff9903c718) at ../../src/eval.c:2978
#17 0x000000000054d013 in Ffuncall (nargs=3D2, args=3D0x7fff9903c710) = at ../../src/eval.c:2872
#18 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D3080, nargs=3D140= 735760549640, args=3D0x2)
    at ../../src/bytecode.c:916
#19 0x000000000054cd47 in funcall_lambda (fun=3D8854969, nargs=3Dnargs= @entry=3D2, arg_vector=3D0x871de0 <pure+122784>, arg_vector@entry= =3D0x7fff9903c850) at ../../src/eval.c:2978
#20 0x000000000054d013 in Ffuncall (nargs=3D3, args=3D0x7fff9903c848) = at ../../src/eval.c:2872
#21 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D12186482, nargs= =3D140735760549952, args=3D0x3)
    at ../../src/bytecode.c:916
#22 0x000000000054ccaf in funcall_lambda (fun=3D19838589, nargs=3Dnarg= s@entry=3D1, arg_vector=3Darg_vector@entry=3D0x7fff9903c9d8) at ../../src/e= val.c:3044
#23 0x000000000054d013 in Ffuncall (nargs=3Dnargs@entry=3D2, args=3Dar= gs@entry=3D0x7fff9903c9d0) at ../../src/eval.c:2872
#24 0x000000000054d34a in call1 (fn=3D<optimized out>, arg1=3Dar= g1@entry=3D14349665) at ../../src/eval.c:2610
#25 0x00000000005019b5 in lock_file (fn=3D14349665) at ../../src/filel= ock.c:713
#26 0x0000000000503115 in prepare_to_modify_buffer_1 (start=3Dstart@en= try=3D16700, end=3Dend@entry=3D16700, preserve_ptr=3Dpreserve_ptr@entry=3D0= x0) at ../../src/insdel.c:1812
#27 0x0000000000503621 in prepare_to_modify_buffer (start=3D16700, end= =3D16700, preserve_ptr=3Dpreserve_ptr@entry=3D0x0) at ../../src/insdel.c:18= 47
#28 0x00000000005038d5 in insert_from_string_1 (string=3D14413089, pos= =3D0, pos_byte=3D0, nchars=3D35, nbytes=3D35, inherit=3D<optimized out&g= t;, before_markers=3Dbefore_markers@entry=3Dfalse)
    at ../../src/insdel.c:893
#29 0x0000000000504130 in insert_from_string (string=3D<optimized o= ut>, pos=3D<optimized out>, pos_byte=3D<optimized out>, leng= th=3D<optimized out>, length_byte=3D<optimized out>, 
    inherit=3D<optimized out>) at ../../src/insdel.c:8= 42
#30 0x00000000005417a3 in general_insert_function (insert_func=3D0x503= e40 <insert>, insert_from_string_func=3D0x504100 <insert_from_stri= ng>, inherit=3Dinherit@entry=3Dfalse, nargs=3D1, 
    args=3D0x7fff9903ec40) at ../../src/editfns.c:2248
#31 0x00000000005418ab in Finsert (nargs=3D<optimized out>, args= =3D<optimized out>) at ../../src/editfns.c:2289
#32 0x000000000054c8de in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2154
#33 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#34 0x000000000054f5f5 in Flet (args=3D19476358) at ../../src/eval.c:9= 70
#35 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#36 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#37 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19476262, = nargs=3Dnargs@entry=3D4, arg_vector=3Darg_vector@entry=3D0x7fff9903eee0) at= ../../src/eval.c:3037
#38 0x000000000054c178 in apply_lambda (fun=3D19476262, args=3D<opt= imized out>, count=3Dcount@entry=3D42) at ../../src/eval.c:2919
#39 0x000000000054c4e9 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2256
#40 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#41 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#42 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#43 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#44 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#45 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19494038) at = ../../src/eval.c:462
#46 0x000000000054f688 in Fwhile (args=3D<optimized out>) at ../= ../src/eval.c:992
#47 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#48 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19518774) at = ../../src/eval.c:462
#49 0x0000000000548745 in Fsave_restriction (body=3D19518774) at ../..= /src/editfns.c:3415
#50 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#51 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#52 0x000000000054f5f5 in Flet (args=3D19518230) at ../../src/eval.c:9= 70
#53 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#54 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#55 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19518182, = nargs=3Dnargs@entry=3D2, arg_vector=3Darg_vector@entry=3D0x7fff9903f690) at= ../../src/eval.c:3037
#56 0x000000000054c178 in apply_lambda (fun=3D19518182, args=3D<opt= imized out>, count=3Dcount@entry=3D22) at ../../src/eval.c:2919
#57 0x000000000054c4e9 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2256
#58 0x000000000054ca15 in Fprogn (body=3D6, body@entry=3D19515958) at = ../../src/eval.c:462
#59 0x000000000054f688 in Fwhile (args=3D<optimized out>) at ../= ../src/eval.c:992
#60 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#61 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#62 0x000000000054f5f5 in Flet (args=3D19516310) at ../../src/eval.c:9= 70
#63 0x000000000054c7e3 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2131
#64 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#65 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19513158, = nargs=3Dnargs@entry=3D1, arg_vector=3Darg_vector@entry=3D0x7fff9903fab0) at= ../../src/eval.c:3037
#66 0x000000000054c178 in apply_lambda (fun=3D19513158, args=3D<opt= imized out>, count=3Dcount@entry=3D14) at ../../src/eval.c:2919
#67 0x000000000054c4e9 in eval_sub (form=3D<optimized out>) at .= ./../src/eval.c:2256
#68 0x000000000054ca15 in Fprogn (body=3D6) at ../../src/eval.c:462
#69 0x000000000054cdac in funcall_lambda (fun=3Dfun@entry=3D19509782, = nargs=3Dnargs@entry=3D2, arg_vector=3Darg_vector@entry=3D0x7fff9903fc80) at= ../../src/eval.c:3037
#70 0x000000000054c178 in apply_lambda (fun=3D19509782, args=3D<opt= imized out>, count=3Dcount@entry=3D11) at ../../src/eval.c:2919
#71 0x000000000054c4e9 in eval_sub (form=3Dform@entry=3D19527974) at .= ./../src/eval.c:2256
#72 0x000000000054fae1 in Feval (form=3D19527974, lexical=3D<optimi= zed out>) at ../../src/eval.c:1996
#73 0x000000000054d1f0 in Ffuncall (nargs=3D<optimized out>, arg= s=3D<optimized out>) at ../../src/eval.c:2814
#74 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D1028, nargs=3D77,= args=3D0x2) at ../../src/bytecode.c:916
#75 0x000000000054cd47 in funcall_lambda (fun=3D9325745, nargs=3Dnargs= @entry=3D1, arg_vector=3D0x8e4cd8 <pure+593560>, arg_vector@entry= =3D0x7fff99040030) at ../../src/eval.c:2978
#76 0x000000000054d013 in Ffuncall (nargs=3D2, args=3D0x7fff99040028) = at ../../src/eval.c:2872
#77 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D140735= 760564264, args=3D0x2)
    at ../../src/bytecode.c:916
#78 0x000000000054cd47 in funcall_lambda (fun=3D9300361, nargs=3Dnargs= @entry=3D0, arg_vector=3D0x8de9b0 <pure+568176>, arg_vector@entry= =3D0x7fff990401b8) at ../../src/eval.c:2978
#79 0x000000000054d013 in Ffuncall (nargs=3D1, args=3D0x7fff990401b0) = at ../../src/eval.c:2872
#80 0x0000000000580de5 in exec_byte_code (bytestr=3D-514, vector=3D140= 735760544464, maxdepth=3D140735760544592, args_template=3D0, nargs=3D140735= 760564648, args=3D0x1)
    at ../../src/bytecode.c:916
#81 0x000000000054cd47 in funcall_lambda (fun=3D9296881, fun@entry=3D9= 296837, nargs=3Dnargs@entry=3D0, arg_vector=3D0x8ddc18 <pure+564696&= gt;, arg_vector@entry=3D0x7fff990402a0)
    at ../../src/eval.c:2978
#82 0x000000000054c178 in apply_lambda (fun=3D9296837, args=3D<opti= mized out>, count=3Dcount@entry=3D3) at ../../src/eval.c:2919
#83 0x000000000054c4e9 in eval_sub (form=3Dform@entry=3D15729862) at .= ./../src/eval.c:2256
#84 0x000000000054fae1 in Feval (form=3D15729862, lexical=3D<optimi= zed out>) at ../../src/eval.c:1996
#85 0x000000000054b65e in internal_condition_case (bfun=3Dbfun@entry= =3D0x4dcb80 <top_level_2>, handlers=3D<optimized out>, hfun=3Dh= fun@entry=3D0x4e13c0 <cmd_error>) at ../../src/eval.c:1348
#86 0x00000000004dcb66 in top_level_1 (ignore=3Dignore@entry=3D1218648= 2) at ../../src/keyboard.c:1195
#87 0x000000000054b56b in internal_catch (tag=3D12233698, func=3Dfunc@= entry=3D0x4dcb00 <top_level_1>, arg=3D12186482) at ../../src/eval.c:1= 112
#88 0x00000000004e0fcf in command_loop () at ../../src/keyboard.c:1156=
#89 recursive_edit_1 () at ../../src/keyboard.c:778
#90 0x00000000004e12fd in Frecursive_edit () at ../../src/keyboard.c:8= 49
#91 0x0000000000413755 in main (argc=3D<optimized out>, argv=3D0= x7fff99040628) at ../../src/emacs.c:1642
(gdb) 



In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll b= ars)
 of 2015-04-27 on sharmanbox.mitel.com
Windowing system distributor `CentOS', version 11.0.11300000
System Description: Red Hat Enterprise Linux Server release 6

Configured using:
 `configure --with-x-toolkit=3Dathena --without-gsettings'

Important settings:
  value of $LANG: C
  value of $XMODIFIERS: @im=3Dnone
  locale-coding-system: nil

(Since this is not the emacs session that produced the problem the res= t
of the generated input from rerprt-emacs-bug has been remove= d.)


I apologize for anything that occurs after this line; it's out of my c= ontrol!



NOTE: This e-mail (including any attachments) is for the sole use of the in= tended recipient(s) and may contain information that is confidential and/or= protected by legal privilege. Any unauthorized review, use, copy, disclosu= re or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please noti= fy Mitel immediately and destroy all copies of this e-mail. Mitel does not = accept any liability for breach of security, error or virus that may result= from the transmission of this message.

--_000_BLUPR12MB0401511A1717116825CF71B0EFD70BLUPR12MB0401namp_-- ------------=_1516759082-29289-1--