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

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

[Octave-bug-tracker] [bug #55395] Java tests messes up the stack limits,


From: Stefan Brüns
Subject: [Octave-bug-tracker] [bug #55395] Java tests messes up the stack limits, causes failure of sparse/bicgstab.m
Date: Sat, 5 Jan 2019 15:13:02 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Follow-up Comment #9, bug #55395 (project octave):

Ok, the segfault in the JVM cpu probing was a red herring. I am elaborating
here for future reference, although it is not actually related to this bug.

The forced segfault was introduced here:
https://github.com/JetBrains/jdk8u_hotspot/commit/d2dc33eab19e26360bbaa15450b0686b69cb282c#diff-ade79d50bf46023a5dd26524c1a7945b

and is used to disable AVX when a linux kernel bug is present

    // Some OSs have a bug when upper 128bits of YMM
    // registers are not restored after a signal processing.
    // Generate SEGV here (reference through NULL)
    // and check upper YMM bits after it.
    //


"Some OSs" actually is 32bit userspace using a 32bit kernel on a 64bit machine
(implied by AVX).

The kernel bug has been fixed 3 years ago:
https://lore.kernel.org/patchwork/patch/616662/
I.e. anyone using Linux >= 4.4-rc2 or a 64bit kernel does not need this piece
of code.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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