Author: ken
Date: Thu Mar 11 13:38:40 2021
New Revision: 24355

Log:
Fix segfault when urxvt shuts down.

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/xsoft/other/rxvt-unicode.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Wed Mar 10 12:50:15 2021        (r24354)
+++ trunk/BOOK/general.ent      Thu Mar 11 13:38:40 2021        (r24355)
@@ -1,12 +1,12 @@
 <!-- $LastChangedBy$ $Date$ -->
 
-<!ENTITY day          "10">                   <!-- Always 2 digits -->
+<!ENTITY day          "11">                   <!-- Always 2 digits -->
 <!ENTITY month        "03">                   <!-- Always 2 digits -->
 <!ENTITY year         "2021">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "March 10th, &year;">
+<!ENTITY releasedate  "March 11th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- x.y|development -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Wed Mar 10 12:50:15 
2021        (r24354)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Thu Mar 11 13:38:40 
2021        (r24355)
@@ -42,6 +42,16 @@
     </listitem>
     -->
     <listitem>
+      <para>March 11th, 2021</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Prevent a (mostly harmless) segfault when a urxvt
+          term (from rxvt-unicode) shuts down.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>March 10th, 2021</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/xsoft/other/rxvt-unicode.xml
==============================================================================
--- trunk/BOOK/xsoft/other/rxvt-unicode.xml     Wed Mar 10 12:50:15 2021        
(r24354)
+++ trunk/BOOK/xsoft/other/rxvt-unicode.xml     Thu Mar 11 13:38:40 2021        
(r24355)
@@ -109,7 +109,8 @@
       following commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr --enable-everything &amp;&amp;
+<screen><userinput>sed -i '/if (perl)/,+5d' src/rxvtperl.xs      &amp;&amp;
+./configure --prefix=/usr --enable-everything &amp;&amp;
 make</userinput></screen>
 
     <para>
@@ -128,6 +129,15 @@
     <title>Command Explanations</title>
 
     <para>
+      <command>sed -i '/if (perl)/,+5d' src/rxvtperl.xs</command>:
+      This prevents a segmentation fault when closing a urxvt terminal,
+      caused by deallocating a private environment copy before destructing
+      the perl interpreter which calls getenv().
+      <!--https://bugzilla.redhat.com/show_bug.cgi?id=1894917
+          http://lists.schmorp.de/pipermail/rxvt-unicode/2020q2/002583.html -->
+    </para>
+
+    <para>
       <parameter>--enable-everything</parameter>: Add support for all
       non-multichoice options. Details about the different options can be
       found in the file <filename>README.configure</filename>.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to