octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62207] segfault in bug-35881/bug-35881.tst in


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #62207] segfault in bug-35881/bug-35881.tst in 32-bit ARM and MIPS
Date: Tue, 22 Mar 2022 03:34:44 -0400 (EDT)

Update of bug #62207 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #2:

Thanks for all the hard Debian testing work @svillemot and I am very sorry if
the change mentioned by @mmuetzel caused you any trouble.

To easily test any correlation with that change, was it possible to apply a
patch to the extracted Octave tarball before building on those machines?  The
following patch simply disables the subdir-modification check.


diff -r 82c1554c4a64 libinterp/corefcn/load-path.cc
--- a/libinterp/corefcn/load-path.cc    Sat Mar 19 16:55:30 2022 +0100
+++ b/libinterp/corefcn/load-path.cc    Tue Mar 22 16:30:03 2022 +0900
@@ -1419,8 +1419,7 @@ OCTAVE_NAMESPACE_BEGIN
                 const dir_info& di = p->second;
 
                 if ((fs.mtime () + fs.time_resolution ()
-                     > di.dir_time_last_checked)
-                    || subdirs_modified (dir_name, dir_time_last_checked))
+                     > di.dir_time_last_checked))
                   initialize ();
                 else
                   {
@@ -1454,8 +1453,7 @@ OCTAVE_NAMESPACE_BEGIN
           }
       }
     // Absolute path, check timestamp to see whether it requires re-caching
-    else if (fs.mtime () + fs.time_resolution () > dir_time_last_checked
-             || subdirs_modified (dir_name, dir_time_last_checked))
+    else if (fs.mtime () + fs.time_resolution () > dir_time_last_checked)
       initialize ();
 
     return true;




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62207>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]