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

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

[Octave-bug-tracker] [bug #51351] mktime() crashes on Windows


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #51351] mktime() crashes on Windows
Date: Fri, 30 Jun 2017 17:09:42 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46

URL:
  <http://savannah.gnu.org/bugs/?51351>

                 Summary: mktime() crashes on Windows
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Fri 30 Jun 2017 11:09:40 PM CEST
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: philipnienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

cset 9578bbaf2bbd "maint: Update gnulib subrepo to latest changes." from May
30 has the result that mktime() makes Octave crash on Windows. I suppose
gnulib has introduced a botched mktime or settime module.

The crash is reproducible and happens as soon as time-cc.test is reached in
__run_test_suite__, or any function is invoked that relies on mktime().

Sidenote:
It took me a long time to find out which cset is responsible for this bug, as
for each bisect I needed to cross-build, reboot in Windows and test.
Very deceivingly, once "hg upgrade"d to 9578bbaf2bbd, "downgrading" (hg
upgrade -r 09205eeddbef = to previous cset) doesn't seem to replace the faulty
gnulib module. The only way to get a properly working Octave in Windows (=
with proper mktime) is to clone (or copy from a cloned) Octave repo, then hg
upgrade -r 09205eeddbef, only then invoke ./bootstrap and configure...make and
then build Octave in mxe-octave.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51351>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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