From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 14 12:20:14 2012 Received: (at submit) by debbugs.gnu.org; 14 Sep 2012 16:20:14 +0000 Received: from localhost ([127.0.0.1]:34032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCYcm-0004qP-Hr for submit@debbugs.gnu.org; Fri, 14 Sep 2012 12:20:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56345) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCYFN-0004Gt-2w for submit@debbugs.gnu.org; Fri, 14 Sep 2012 11:56:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCYEM-0000oP-GO for submit@debbugs.gnu.org; Fri, 14 Sep 2012 11:55:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:38746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCYEM-0000oL-Cg for submit@debbugs.gnu.org; Fri, 14 Sep 2012 11:54:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCYEG-0005I3-8I for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:54:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCYE5-0000nA-W1 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:54:52 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:54894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCYE5-0000mi-Qw for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:54:41 -0400 Received: by vcbfl17 with SMTP id fl17so2565169vcb.0 for ; Fri, 14 Sep 2012 08:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=x6xNaioeptNp2YoqDNjx2h/cZa1QGEXbE0k92yQKRNA=; b=eca9I6DjW/29HDl7vTpurBrEfx4jR8Ep9qBR4PQeowpZRb2IX63Xafrbbud0b16h6Z hV/dzj0nXu10pv8KflXkSqId1/FtjHp5CFITnwh43Bjxjlgu1Nd7JG0lgWL1kMJ3L5L2 8e4DEaP6u4q2VJLdGWcSgocBvnopfo46nOkSFCdtJyTnAA1st3II997D4wp8chJQz1g1 mg4SnOpEDjEDIrT5NcXDfvhmPTJ5Avlh3Oh6iDbjk/hVk8xBQw85EUO0j+RyZVYp2DMt kL7wG/bkFpgRu0lwTwb9b8A5vtJ4Fs9DJ3PV1ExlgBa4azMmzpsPqeYayz5WJxf+xD4T ldNA== MIME-Version: 1.0 Received: by 10.220.221.131 with SMTP id ic3mr2619613vcb.46.1347638080622; Fri, 14 Sep 2012 08:54:40 -0700 (PDT) Received: by 10.221.0.79 with HTTP; Fri, 14 Sep 2012 08:54:40 -0700 (PDT) Date: Fri, 14 Sep 2012 17:54:40 +0200 Message-ID: Subject: Emacs, a segmentation fault occurs when saving a file on a NFS partition. From: Yves Baumes To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=14dae9cdcb9314d1ea04c9ab71a9 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 14 Sep 2012 12:20:11 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --14dae9cdcb9314d1ea04c9ab71a9 Content-Type: text/plain; charset=ISO-8859-1 This instance of emacs has been launched with "emacs -Q" and the segmenation occurs the same way. Here is a backtrace of it: #0 0x007af5f9 in free () from /lib/tls/libc.so.6 #1 0x00a4ee25 in freecon () from /lib/libselinux.so.1 #2 0x0813fcff in Ffile_selinux_context (filename=139528593) at fileio.c:2846 #3 0x0817b138 in Ffuncall (nargs=2, args=0xbfffd7d8) at eval.c:3004 #4 0x081ada6a in exec_byte_code (bytestr=, vector=136620805, maxdepth=20, args_template=138402570, nargs=0, args=0x0) at bytecode.c:785 #5 0x081ae1de in Fbyte_code (bytestr=136620777, vector=136620805, maxdepth=20) at bytecode.c:423 #6 0x0817a277 in eval_sub (form=136620766) at eval.c:2352 #7 0x0817bfa1 in internal_lisp_condition_case (var=138402570, bodyform=136620766, handlers=136621254) at eval.c:1468 #8 0x081accb9 in exec_byte_code (bytestr=, vector=136620661, maxdepth=24, args_template=138402570, nargs=0, args=0x0) at bytecode.c:981 #9 0x0817aac7 in funcall_lambda (fun=136620613, nargs=0, arg_vector=0xbfffdc34) at eval.c:3232 #10 0x0817af4f in Ffuncall (nargs=1, args=0xbfffdc30) at eval.c:3062 #11 0x081ada6a in exec_byte_code (bytestr=, vector=136625541, maxdepth=28, args_template=138402570, nargs=0, args=0x0) at bytecode.c:785 #12 0x0817aac7 in funcall_lambda (fun=136625501, nargs=0, arg_vector=0xbfffddc4) at eval.c:3232 #13 0x0817af4f in Ffuncall (nargs=1, args=0xbfffddc0) at eval.c:3062 #14 0x081ada6a in exec_byte_code (bytestr=, vector=136625373, maxdepth=12, args_template=138402570, nargs=0, args=0x0) at bytecode.c:785 #15 0x0817aac7 in funcall_lambda (fun=136625333, nargs=0, arg_vector=0xbfffdf44) at eval.c:3232 #16 0x0817af4f in Ffuncall (nargs=1, args=0xbfffdf40) at eval.c:3062 #17 0x081ada6a in exec_byte_code (bytestr=, vector=136624933, maxdepth=20, args_template=138402570, nargs=0, args=0x0) at bytecode.c:785 #18 0x0817aac7 in funcall_lambda (fun=136624885, nargs=0, arg_vector=0xbfffe0d4) at eval.c:3232 #19 0x0817af4f in Ffuncall (nargs=1, args=0xbfffe0d0) at eval.c:3062 #20 0x081ada6a in exec_byte_code (bytestr=, vector=136624509, maxdepth=16, args_template=138402570, nargs=0, args=0x0) at bytecode.c:785 #21 0x0817aac7 in funcall_lambda (fun=136624461, nargs=1, arg_vector=0xbfffe294) at eval.c:3232 #22 0x0817af4f in Ffuncall (nargs=2, args=0xbfffe290) at eval.c:3062 #23 0x081774c8 in Fcall_interactively (function=138869458, record_flag=138402570, keys=138469605) at callint.c:852 #24 0x0817b10f in Ffuncall (nargs=4, args=0xbfffe420) at eval.c:3004 #25 0x0817b2a8 in call3 (fn=8874020, arg1=8874020, arg2=8874020, arg3=8874020) at eval.c:2801 #26 0x08118835 in Fcommand_execute (cmd=138869458, record_flag=138402570, keys=138402570, special=138402570) at keyboard.c:10330 #27 0x0811fef9 in command_loop_1 () at keyboard.c:1572 #28 0x081781da in internal_condition_case (bfun=0x811fbc4 , handlers=138472482, hfun=0x8119038 ) at eval.c:1514 #29 0x08112fca in command_loop_2 (ignore=138402570) at keyboard.c:1160 #30 0x081780e9 in internal_catch (tag=138470434, func=0x8112fac , arg=138402570) at eval.c:1271 #31 0x08112e81 in command_loop () at keyboard.c:1139 #32 recursive_edit_1 () at keyboard.c:759 #33 0x08112f97 in Frecursive_edit () at keyboard.c:823 #34 0x0811202c in main (argc=3, argv=0xbfffeb04) at emacs.c:1715 1 - I open a file located on a NFS partition. For instance my .emacs. 2 - I try to modify it. Then I save it (C-x C-s). 3 - Segfault. Same scenario on a local hard drive does not lead to a segfault. Regards Yves --14dae9cdcb9314d1ea04c9ab71a9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
This instance of emacs has been launched with "emacs -Q" and= the segmenation occurs the same way. Here is a backtrace of it:
=A0
#0=A0 0x007af5f9 in free () from /lib/tls/libc.so.6
#1=A0 0x00a4ee2= 5 in freecon () from /lib/libselinux.so.1
#2=A0 0x0813fcff in Ffile_seli= nux_context (filename=3D139528593) at fileio.c:2846
#3=A0 0x0817b138 in = Ffuncall (nargs=3D2, args=3D0xbfffd7d8) at eval.c:3004
#4=A0 0x081ada6a in exec_byte_code (bytestr=3D<value optimized out>, = vector=3D136620805, maxdepth=3D20, args_template=3D138402570, nargs=3D0, ar= gs=3D0x0) at bytecode.c:785
#5=A0 0x081ae1de in Fbyte_code (bytestr=3D13= 6620777, vector=3D136620805, maxdepth=3D20) at bytecode.c:423
#6=A0 0x0817a277 in eval_sub (form=3D136620766) at eval.c:2352
#7=A0 0x0= 817bfa1 in internal_lisp_condition_case (var=3D138402570, bodyform=3D136620= 766, handlers=3D136621254) at eval.c:1468
#8=A0 0x081accb9 in exec_byte_= code (bytestr=3D<value optimized out>, vector=3D136620661, maxdepth= =3D24, args_template=3D138402570, nargs=3D0, args=3D0x0) at bytecode.c:981<= br> #9=A0 0x0817aac7 in funcall_lambda (fun=3D136620613, nargs=3D0, arg_vector= =3D0xbfffdc34) at eval.c:3232
#10 0x0817af4f in Ffuncall (nargs=3D1, arg= s=3D0xbfffdc30) at eval.c:3062
#11 0x081ada6a in exec_byte_code (bytestr= =3D<value optimized out>, vector=3D136625541, maxdepth=3D28, args_tem= plate=3D138402570, nargs=3D0, args=3D0x0) at bytecode.c:785
#12 0x0817aac7 in funcall_lambda (fun=3D136625501, nargs=3D0, arg_vector=3D= 0xbfffddc4) at eval.c:3232
#13 0x0817af4f in Ffuncall (nargs=3D1, args= =3D0xbfffddc0) at eval.c:3062
#14 0x081ada6a in exec_byte_code (bytestr= =3D<value optimized out>, vector=3D136625373, maxdepth=3D12, args_tem= plate=3D138402570, nargs=3D0, args=3D0x0) at bytecode.c:785
#15 0x0817aac7 in funcall_lambda (fun=3D136625333, nargs=3D0, arg_vector=3D= 0xbfffdf44) at eval.c:3232
#16 0x0817af4f in Ffuncall (nargs=3D1, args= =3D0xbfffdf40) at eval.c:3062
#17 0x081ada6a in exec_byte_code (bytestr= =3D<value optimized out>, vector=3D136624933, maxdepth=3D20, args_tem= plate=3D138402570, nargs=3D0, args=3D0x0) at bytecode.c:785
#18 0x0817aac7 in funcall_lambda (fun=3D136624885, nargs=3D0, arg_vector=3D= 0xbfffe0d4) at eval.c:3232
#19 0x0817af4f in Ffuncall (nargs=3D1, args= =3D0xbfffe0d0) at eval.c:3062
#20 0x081ada6a in exec_byte_code (bytestr= =3D<value optimized out>, vector=3D136624509, maxdepth=3D16, args_tem= plate=3D138402570, nargs=3D0, args=3D0x0) at bytecode.c:785
#21 0x0817aac7 in funcall_lambda (fun=3D136624461, nargs=3D1, arg_vector=3D= 0xbfffe294) at eval.c:3232
#22 0x0817af4f in Ffuncall (nargs=3D2, args= =3D0xbfffe290) at eval.c:3062
#23 0x081774c8 in Fcall_interactively (fun= ction=3D138869458, record_flag=3D138402570, keys=3D138469605) at callint.c:= 852
#24 0x0817b10f in Ffuncall (nargs=3D4, args=3D0xbfffe420) at eval.c:3004#25 0x0817b2a8 in call3 (fn=3D8874020, arg1=3D8874020, arg2=3D8874020, arg= 3=3D8874020) at eval.c:2801
#26 0x08118835 in Fcommand_execute (cmd=3D13= 8869458, record_flag=3D138402570, keys=3D138402570, special=3D138402570) at= keyboard.c:10330
#27 0x0811fef9 in command_loop_1 () at keyboard.c:1572
#28 0x081781da in= internal_condition_case (bfun=3D0x811fbc4 <command_loop_1>, handlers= =3D138472482, hfun=3D0x8119038 <cmd_error>) at eval.c:1514
#29 0x0= 8112fca in command_loop_2 (ignore=3D138402570) at keyboard.c:1160
#30 0x081780e9 in internal_catch (tag=3D138470434, func=3D0x8112fac <com= mand_loop_2>, arg=3D138402570) at eval.c:1271
#31 0x08112e81 in comma= nd_loop () at keyboard.c:1139
#32 recursive_edit_1 () at keyboard.c:759<= br> #33 0x08112f97 in Frecursive_edit () at keyboard.c:823
#34 0x0811202c in= main (argc=3D3, argv=3D0xbfffeb04) at emacs.c:1715
1 - I open a file located on a NFS partition. For instance my .emacs.<= /div>
2 - I try to modify it. Then I save it (C-x C-s).
3 - Segfault.
=A0
Same scenario on a local hard drive does not lead to a segfault.
=A0
Regards
Yves
=A0
=A0
--14dae9cdcb9314d1ea04c9ab71a9-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 14 12:39:23 2012 Received: (at 12444-done) by debbugs.gnu.org; 14 Sep 2012 16:39:23 +0000 Received: from localhost ([127.0.0.1]:34041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCYvJ-0006AR-KY for submit@debbugs.gnu.org; Fri, 14 Sep 2012 12:39:23 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:33089) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCYv4-00069r-LH for 12444-done@debbugs.gnu.org; Fri, 14 Sep 2012 12:39:12 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3XJMq35Db0z4KK2x; Fri, 14 Sep 2012 18:38:06 +0200 (CEST) X-Auth-Info: FNZ/hseuXnzozoLRl7eLLA9VdtADjO43by0Phhf3SLU= Received: from igel.home (ppp-93-104-142-193.dynamic.mnet-online.de [93.104.142.193]) by mail.mnet-online.de (Postfix) with ESMTPA id 3XJMq26ZXszbbfM; Fri, 14 Sep 2012 18:38:06 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 58466CA2A2; Fri, 14 Sep 2012 18:38:06 +0200 (CEST) From: Andreas Schwab To: Yves Baumes Subject: Re: bug#12444: Emacs, a segmentation fault occurs when saving a file on a NFS partition. References: X-Yow: I want to TAKE IT HOME and DRESS IT UP in HOT PANTS!! Date: Fri, 14 Sep 2012 18:38:06 +0200 In-Reply-To: (Yves Baumes's message of "Fri, 14 Sep 2012 17:54:40 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12444-done Cc: 12444-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Fixed in emacs-24. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 14 12:56:51 2012 Received: (at 12444-done) by debbugs.gnu.org; 14 Sep 2012 16:56:51 +0000 Received: from localhost ([127.0.0.1]:34064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCZCF-0006Z0-3H for submit@debbugs.gnu.org; Fri, 14 Sep 2012 12:56:51 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:56370) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCZCD-0006Yt-Nj for 12444-done@debbugs.gnu.org; Fri, 14 Sep 2012 12:56:50 -0400 Received: by wibhm6 with SMTP id hm6so44490wib.15 for <12444-done@debbugs.gnu.org>; Fri, 14 Sep 2012 09:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=KU+woVktyTaYuCJD1qXbYtLiywBFtY/XCB2o4NXjzXA=; b=RrX4d0mJbE0eGv973+stFAVhnUcZExn7DtOEAGHp72YyRz9uztbweN1xjtL98F5TTD s9vSK0ZDY2HBqaryPT5jdaP/1eX2/QRGiV5dHdN4oSuWjNrOZN/BeHlcKVB7Q8pRqzSM 1vjJCez7qIfAf6vlRgVcHWceN5YVPM9/nkw+5/+TBV3fNP5u9r7QBgOHUnfZlUAEbPYD 1orJ9fa9jToHsyMHwpUKevIwk+oCQp4B25EJh/tbEe+hjbZOftzzpV/IMa82JGl9CH1W nFy7bJwIaKL96xoZZ485axgZbnP+BKAXthdRXt132hrrP+P7bolj1tRWQqB0C/m3bjyU BYeg== Received: by 10.180.93.68 with SMTP id cs4mr49281889wib.14.1347641750597; Fri, 14 Sep 2012 09:55:50 -0700 (PDT) Received: from [192.168.0.1] ([82.66.91.208]) by mx.google.com with ESMTPS id k2sm5376971wiz.7.2012.09.14.09.55.49 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 14 Sep 2012 09:55:50 -0700 (PDT) Subject: Re: bug#12444: Emacs, a segmentation fault occurs when saving a file on a NFS partition. Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: Yves Baumes In-Reply-To: Date: Fri, 14 Sep 2012 18:55:45 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Andreas Schwab X-Mailer: Apple Mail (2.1084) X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 12444-done Cc: 12444-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Hi Andreas, the bug occurred with emacs-24.2, fetch from the gnu's ftp. Do you mean = it is fixed on the cvs repository? Regards Yves Le 14 sept. 2012 =E0 18:38, Andreas Schwab a =E9crit : > Fixed in emacs-24. >=20 > Andreas. >=20 > --=20 > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 = 4ED5 > "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 14 13:04:35 2012 Received: (at 12444-done) by debbugs.gnu.org; 14 Sep 2012 17:04:35 +0000 Received: from localhost ([127.0.0.1]:34076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCZJi-0006kk-MI for submit@debbugs.gnu.org; Fri, 14 Sep 2012 13:04:34 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:33699) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCZJg-0006kc-LG for 12444-done@debbugs.gnu.org; Fri, 14 Sep 2012 13:04:33 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MAC00600N6EA400@a-mtaout20.012.net.il> for 12444-done@debbugs.gnu.org; Fri, 14 Sep 2012 20:03:23 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAC005LLNDMNRD0@a-mtaout20.012.net.il>; Fri, 14 Sep 2012 20:03:23 +0300 (IDT) Date: Fri, 14 Sep 2012 20:03:39 +0300 From: Eli Zaretskii Subject: Re: bug#12444: Emacs, a segmentation fault occurs when saving a file on a NFS partition. In-reply-to: X-012-Sender: halo1@inter.net.il To: Yves Baumes Message-id: <83y5kctu38.fsf@gnu.org> References: X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 12444-done Cc: 12444-done@debbugs.gnu.org, schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Yves Baumes > Date: Fri, 14 Sep 2012 18:55:45 +0200 > Cc: 12444-done@debbugs.gnu.org > > the bug occurred with emacs-24.2, fetch from the gnu's ftp. Do you mean it is fixed on the cvs repository? In bzr, not in CVS. Here's the patch committed by Andreas: === modified file 'src/ChangeLog' --- src/ChangeLog 2012-09-12 17:18:33 +0000 +++ src/ChangeLog 2012-09-14 16:35:25 +0000 @@ -1,3 +1,9 @@ +2012-09-14 Andreas Schwab + + * fileio.c (Ffile_selinux_context): Only call freecon when + lgetfilecon succeeded. + (Fset_file_selinux_context): Likewise. (Bug#12444) + 2012-09-12 Eli Zaretskii * xdisp.c (try_window_reusing_current_matrix): Under bidi === modified file 'src/fileio.c' --- src/fileio.c 2012-07-14 10:46:56 +0000 +++ src/fileio.c 2012-09-14 16:35:25 +0000 @@ -2841,9 +2841,8 @@ or if SELinux is disabled, or if Emacs l if (context_range_get (context)) values[3] = build_string (context_range_get (context)); context_free (context); + freecon (con); } - if (con) - freecon (con); } #endif @@ -2920,12 +2919,10 @@ compiled with SELinux support. */) report_file_error ("Doing lsetfilecon", Fcons (absname, Qnil)); context_free (parsed_con); + freecon (con); } else report_file_error ("Doing lgetfilecon", Fcons (absname, Qnil)); - - if (con) - freecon (con); } #endif From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 14 13:57:22 2012 Received: (at 12444-done) by debbugs.gnu.org; 14 Sep 2012 17:57:22 +0000 Received: from localhost ([127.0.0.1]:34110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCa8n-0007zm-RI for submit@debbugs.gnu.org; Fri, 14 Sep 2012 13:57:22 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:58660) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCa8l-0007zc-QZ for 12444-done@debbugs.gnu.org; Fri, 14 Sep 2012 13:57:20 -0400 Received: by wibhm6 with SMTP id hm6so98825wib.15 for <12444-done@debbugs.gnu.org>; Fri, 14 Sep 2012 10:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=vZacaBqfmLLLkl6zNosVRVeWHe4tNErWkv9UBVqypII=; b=xvHpvOGovXj6A9Y/QOblde/AdQGJSd6kQD6ksiC1B9oPHpKgmhGT65RwNMre6UWrfO 98dVKxXNNO1ezv97lxdjjA1c6NdFsGu9Npr2w+Z2GBV14Am+Dkm7UDrC3JE8AmEzNa+9 Ik/Pb8nCrUuHd/XtDFxNvWhfyMoXziGlguHt2+OCmBA4zoOpdxPsUL53AU1TZtZp+WyD taa/3XX5Kulf/DKGm2paK4tv4MGDXf7UGDealq3J5x1eiH/xenTsch+dg5cAVWjivoRY kSIeUfZdwubMTOlcfrFtf3O84PuXU9g57kcSv6+YfsajchVDP5efJsHUb35rRoErN4Py 5OSQ== Received: by 10.216.209.162 with SMTP id s34mr1793295weo.83.1347645378021; Fri, 14 Sep 2012 10:56:18 -0700 (PDT) Received: from [192.168.0.1] ([82.66.91.208]) by mx.google.com with ESMTPS id el6sm19945214wib.8.2012.09.14.10.56.15 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 14 Sep 2012 10:56:17 -0700 (PDT) Subject: Re: bug#12444: Emacs, a segmentation fault occurs when saving a file on a NFS partition. Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: Yves Baumes In-Reply-To: <83y5kctu38.fsf@gnu.org> Date: Fri, 14 Sep 2012 19:56:08 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <92F40F37-0E30-4AF1-A92B-ECB508A39C1B@gmail.com> References: <83y5kctu38.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.1084) X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 12444-done Cc: 12444-done@debbugs.gnu.org, schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Thank you. :-) Le 14 sept. 2012 =E0 19:03, Eli Zaretskii a =E9crit : >> From: Yves Baumes >> Date: Fri, 14 Sep 2012 18:55:45 +0200 >> Cc: 12444-done@debbugs.gnu.org >>=20 >> the bug occurred with emacs-24.2, fetch from the gnu's ftp. Do you = mean it is fixed on the cvs repository? >=20 > In bzr, not in CVS. Here's the patch committed by Andreas: >=20 > =3D=3D=3D modified file 'src/ChangeLog' > --- src/ChangeLog 2012-09-12 17:18:33 +0000 > +++ src/ChangeLog 2012-09-14 16:35:25 +0000 > @@ -1,3 +1,9 @@ > +2012-09-14 Andreas Schwab > + > + * fileio.c (Ffile_selinux_context): Only call freecon when > + lgetfilecon succeeded. > + (Fset_file_selinux_context): Likewise. (Bug#12444) > + > 2012-09-12 Eli Zaretskii >=20 > * xdisp.c (try_window_reusing_current_matrix): Under bidi >=20 > =3D=3D=3D modified file 'src/fileio.c' > --- src/fileio.c 2012-07-14 10:46:56 +0000 > +++ src/fileio.c 2012-09-14 16:35:25 +0000 > @@ -2841,9 +2841,8 @@ or if SELinux is disabled, or if Emacs l > if (context_range_get (context)) > values[3] =3D build_string (context_range_get (context)); > context_free (context); > + freecon (con); > } > - if (con) > - freecon (con); > } > #endif >=20 > @@ -2920,12 +2919,10 @@ compiled with SELinux support. */) > report_file_error ("Doing lsetfilecon", Fcons (absname, = Qnil)); >=20 > context_free (parsed_con); > + freecon (con); > } > else > report_file_error ("Doing lgetfilecon", Fcons (absname, Qnil)); > - > - if (con) > - freecon (con); > } > #endif >=20 >=20 From unknown Sat Aug 16 12:42:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 13 Oct 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator