[Top][All Lists]

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

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

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #51351] mktime() crashes on Windows
Date: Mon, 3 Jul 2017 19:55:10 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0

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

I am seeing the same issue as Philip on a cross build from hg id
Running Philip's test with gdb on Win10 64bit yields:

octave:1> t = localtime (time ())
t =

  scalar structure containing the fields:

    usec =  697191
    sec =  19
    min =  12
    hour =  1
    mday =  4
    mon =  6
    year =  117
    wday =  2
    yday =  184
    isdst =  1
    gmtoff = 0
    zone = Mitteleuropõische Sommerzeit

octave:2> mktime (t)

Thread 1 received signal SIGSEGV, Segmentation fault.
rpl_localtime (timep=0x63eed8, address@hidden<error reading variable: DWARF-2
expression error: Loop detected (257).>)
No such file or directory.

The backtrace shows hundreds and hundreds of recursive calls to the same
function "rpl_localtime" from the same line 38 where "localtime" is called. I
stopped at around 800 deep in the stack without reaching where the function
was originally called from.
Please, let me know if I can do anything else to help debugging.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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