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

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

[Octave-bug-tracker] [bug #64507] [octave-forge](signal) package fails t


From: Charles Praplan
Subject: [Octave-bug-tracker] [bug #64507] [octave-forge](signal) package fails to install with old compiler
Date: Wed, 9 Aug 2023 11:03:11 -0400 (EDT)

Follow-up Comment #4, bug #64507 (project octave):

I also experienced a strange behavior updating the signal package to version
1.4.5.
My configuration: Windows 10, Octave 8.2.0

However, as far as I could see, the new version is installed and is working.

>> pkg update -global signal
cl2bp_lib.cc: In function 'int local_max(const MallocArray<double>&, int,
MallocArray<int>&)':
cl2bp_lib.cc:65:21: warning: array subscript [-2147483647, -1] is outside
array bounds of 'void []' [-Warray-bounds]
   65 |   xx[0] = xx[n + 1] = -BIG_NUMBER;
In file included from cl2bp_lib.cc:27:
In member function 'void MallocArray<T>::resize(int) [with T = double]',
    inlined from 'MallocArray<T>::MallocArray(int) [with T = double]' at
cl2bp_lib.h:65:24,
    inlined from 'int local_max(const MallocArray<double>&, int,
MallocArray<int>&)' at cl2bp_lib.cc:63:29:
cl2bp_lib.h:58:23: note: at offset [-17179869176, -8] into object of size [0,
9223372036854775807] allocated by '__builtin_malloc'
   58 |     ptr = (T *)realloc(ptr, length * sizeof(T));
      |                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cl2bp_lib.cc: In function 'bool cl2bp(MallocArray<double>&, int, double,
double, double*, double*, int, double, int, void (*)(void*), void*)':
cl2bp_lib.cc:446:25: warning: array subscript [-2147483648, -1] is outside
array bounds of 'void [17179869176]' [-Warray-bounds]
  446 |         diff_lo = l[ik] - x1[ik];
In member function 'void MallocArray<T>::resize(int) [with T = double]',
    inlined from 'MallocArray<T>::MallocArray(int) [with T = double]' at
cl2bp_lib.h:65:24,
    inlined from 'bool cl2bp(MallocArray<double>&, int, double, double,
double*, double*, int, double, int, void (*)(void*), void*)' at
cl2bp_lib.cc:271:28:
cl2bp_lib.h:58:23: note: at offset [-17179869184, -8] into object of size [32,
17179869176] allocated by '__builtin_malloc'
   58 |     ptr = (T *)realloc(ptr, length * sizeof(T));
      |                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cl2bp_lib.cc: In function 'bool cl2bp(MallocArray<double>&, int, double,
double, double*, double*, int, double, int, void (*)(void*), void*)':
cl2bp_lib.cc:438:26: warning: array subscript [-2147483648, -1] is outside
array bounds of 'void [17179869176]' [-Warray-bounds]
  438 |         diff_up = x1[ik] - u[ik];
In member function 'void MallocArray<T>::resize(int) [with T = double]',
    inlined from 'MallocArray<T>::MallocArray(int) [with T = double]' at
cl2bp_lib.h:65:24,
    inlined from 'bool cl2bp(MallocArray<double>&, int, double, double,
double*, double*, int, double, int, void (*)(void*), void*)' at
cl2bp_lib.cc:266:29:
cl2bp_lib.h:58:23: note: at offset [-17179869184, -8] into object of size [32,
17179869176] allocated by '__builtin_malloc'
   58 |     ptr = (T *)realloc(ptr, length * sizeof(T));
      |                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cl2bp_lib.cc: In function 'bool cl2bp(MallocArray<double>&, int, double,
double, double*, double*, int, double, int, void (*)(void*), void*)':
cl2bp_lib.cc:417:20: warning: array subscript [-2147483648, -1] is outside
array bounds of 'void [17179869176]' [-Warray-bounds]
  417 |         if ( x1[j] < l[j] + 10*eps ) {
In member function 'void MallocArray<T>::resize(int) [with T = double]',
    inlined from 'MallocArray<T>::MallocArray(int) [with T = double]' at
cl2bp_lib.h:65:24,
    inlined from 'bool cl2bp(MallocArray<double>&, int, double, double,
double*, double*, int, double, int, void (*)(void*), void*)' at
cl2bp_lib.cc:266:29:
cl2bp_lib.h:58:23: note: at offset [-17179869184, -8] into object of size [32,
17179869176] allocated by '__builtin_malloc'
   58 |     ptr = (T *)realloc(ptr, length * sizeof(T));
      |                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cl2bp_lib.cc: In function 'bool cl2bp(MallocArray<double>&, int, double,
double, double*, double*, int, double, int, void (*)(void*), void*)':
cl2bp_lib.cc:398:20: warning: array subscript [-2147483648, -1] is outside
array bounds of 'void [17179869176]' [-Warray-bounds]
  398 |         if ( x1[j] > u[j] - 10*eps ) {
In member function 'void MallocArray<T>::resize(int) [with T = double]',
    inlined from 'MallocArray<T>::MallocArray(int) [with T = double]' at
cl2bp_lib.h:65:24,
    inlined from 'bool cl2bp(MallocArray<double>&, int, double, double,
double*, double*, int, double, int, void (*)(void*), void*)' at
cl2bp_lib.cc:266:29:
cl2bp_lib.h:58:23: note: at offset [-17179869184, -8] into object of size [32,
17179869176] allocated by '__builtin_malloc'
   58 |     ptr = (T *)realloc(ptr, length * sizeof(T));
      |                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cl2bp_lib.cc: In function 'bool cl2bp(MallocArray<double>&, int, double,
double, double*, double*, int, double, int, void (*)(void*), void*)':
cl2bp_lib.cc:357:20: warning: array subscript [-2147483647, -1] is outside
array bounds of 'void [8589934588]' [-Warray-bounds]
  357 |           okmin[i] = okmin[i + 1];
In member function 'void MallocArray<T>::resize(int) [with T = int]',
    inlined from 'MallocArray<T>::MallocArray(int) [with T = int]' at
cl2bp_lib.h:65:24,
    inlined from 'bool cl2bp(MallocArray<double>&, int, double, double,
double*, double*, int, double, int, void (*)(void*), void*)' at
cl2bp_lib.cc:278:29:
cl2bp_lib.h:58:23: note: at offset [-8589934588, -4] into object of size [16,
8589934588] allocated by '__builtin_malloc'
   58 |     ptr = (T *)realloc(ptr, length * sizeof(T));
      |                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cl2bp_lib.cc: In function 'bool cl2bp(MallocArray<double>&, int, double,
double, double*, double*, int, double, int, void (*)(void*), void*)':
cl2bp_lib.cc:351:20: warning: array subscript [-2147483647, -1] is outside
array bounds of 'void [8589934588]' [-Warray-bounds]
  351 |           okmax[i] = okmax[i + 1];
In member function 'void MallocArray<T>::resize(int) [with T = int]',
    inlined from 'MallocArray<T>::MallocArray(int) [with T = int]' at
cl2bp_lib.h:65:24,
    inlined from 'bool cl2bp(MallocArray<double>&, int, double, double,
double*, double*, int, double, int, void (*)(void*), void*)' at
cl2bp_lib.cc:279:29:
cl2bp_lib.h:58:23: note: at offset [-8589934588, -4] into object of size [16,
8589934588] allocated by '__builtin_malloc'
   58 |     ptr = (T *)realloc(ptr, length * sizeof(T));
      |                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cl2bp_lib.cc: In function 'bool cl2bp(MallocArray<double>&, int, double,
double, double*, double*, int, double, int, void (*)(void*), void*)':
cl2bp_lib.cc:526:28: warning: array subscript [-2147483647, -1] is outside
array bounds of 'void [8589934588]' [-Warray-bounds]
  526 |           kmin[i - l_kmax] = kmin[i - l_kmax + 1];
In member function 'void MallocArray<T>::resize(int) [with T = int]',
    inlined from 'MallocArray<T>::MallocArray(int) [with T = int]' at
cl2bp_lib.h:65:24,
    inlined from 'bool cl2bp(MallocArray<double>&, int, double, double,
double*, double*, int, double, int, void (*)(void*), void*)' at
cl2bp_lib.cc:275:28:
cl2bp_lib.h:58:23: note: at offset [-8589934588, -4] into object of size [16,
8589934588] allocated by '__builtin_malloc'
   58 |     ptr = (T *)realloc(ptr, length * sizeof(T));
      |                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cl2bp_lib.cc: In function 'bool cl2bp(MallocArray<double>&, int, double,
double, double*, double*, int, double, int, void (*)(void*), void*)':
cl2bp_lib.cc:522:19: warning: array subscript [-2147483647, -1] is outside
array bounds of 'void [8589934588]' [-Warray-bounds]
  522 |           kmax[i] = kmax[i + 1];
In member function 'void MallocArray<T>::resize(int) [with T = int]',
    inlined from 'MallocArray<T>::MallocArray(int) [with T = int]' at
cl2bp_lib.h:65:24,
    inlined from 'bool cl2bp(MallocArray<double>&, int, double, double,
double*, double*, int, double, int, void (*)(void*), void*)' at
cl2bp_lib.cc:274:28:
cl2bp_lib.h:58:23: note: at offset [-8589934588, -4] into object of size [16,
8589934588] allocated by '__builtin_malloc'
   58 |     ptr = (T *)realloc(ptr, length * sizeof(T));
      |                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cl2bp_lib.cc: In function 'bool cl2bp(MallocArray<double>&, int, double,
double, double*, double*, int, double, int, void (*)(void*), void*)':
cl2bp_lib.cc:515:16: warning: array subscript [-2147483647, -1] is outside
array bounds of 'void [40016]' [-Warray-bounds]
  515 |         rhs[i] = rhs[i + 1];
In member function 'void MallocArray<T>::resize(int) [with T = double]',
    inlined from 'MallocArray<T>::MallocArray(int) [with T = double]' at
cl2bp_lib.h:65:24,
    inlined from 'bool cl2bp(MallocArray<double>&, int, double, double,
double*, double*, int, double, int, void (*)(void*), void*)' at
cl2bp_lib.cc:281:30:
cl2bp_lib.h:58:23: note: at offset [-17179869176, -8] into object of size [32,
40016] allocated by '__builtin_malloc'
   58 |     ptr = (T *)realloc(ptr, length * sizeof(T));
      |                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
For information about changes from previous versions of the signal package,
run 'news signal'.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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