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

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

[Octave-bug-tracker] [bug #59306] memory function fails, but in interact


From: A.R. Burgers
Subject: [Octave-bug-tracker] [bug #59306] memory function fails, but in interactive mode only
Date: Mon, 19 Oct 2020 14:14:50 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763

Follow-up Comment #3, bug #59306 (project octave):

occurs for me for both 6.0.91 and 7.0.0, but not 5.2.1, all built on same
platform, same gcc with same libraries.

with this slightly smaller example as well


function memory_copy ()

  ver = version
  hg_id = __octave_config_info__.hg_id
  syst.PhysicalMemory.Total = 0
  syst.SystemMemory.Total = 0

endfunction



octave-7.0.0 --quiet
octave:1> memory_copy
ver = 7.0.0
hg_id = 0089f0213384
syst = scalar structure containing the fields:
    PhysicalMemory = scalar structure containing the fields:

        Total = 0

error: structure has no member 'SystemMemory'
error: called from
    memory_copy at line 6 column 27
stopped in memory_copy at line 6 [/bugs/b59306_memory/memory_copy.m]
6:   syst.SystemMemory.Total = 0
debug> quit


and with 6.0.91


octave-6.0.91 --quiet
octave:1> memory_copy
ver = 6.0.91
hg_id = e4f767de937a
syst = scalar structure containing the fields:
    PhysicalMemory =  scalar structure containing the fields:

        Total = 0

error: structure has no member 'SystemMemory'
error: called from
    memory_copy at line 6 column 27
stopped in memory_copy at line 6 [/bugs/b59306_memory/memory_copy.m]
6:   syst.SystemMemory.Total = 0


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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