[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps |
Date: |
Tue, 7 May 2024 21:43:15 -0400 (EDT) |
Follow-up Comment #8, bug #65712 (group octave):
No, it does not:
octave:3> version -hgid
ans = c7b92fa723cc+
octave:4> sort([1,2;3,4], 1)
ans =
1 2
3 4
octave:5> sort([1,2;3,4], nan)
error: sort: DIM must be a positive scalar integer
octave:6> sort([1,2;3,4], inf)
--Type <RET> for more, q to quit, c to continue without paging--c
Thread 9 "QThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffed5555640 (LWP 530397)]
Array<double, std::pmr::polymorphic_allocator<double> >::sort
(this=0x7ffebceeaa08, dim=2147483647, mode=ASCENDING) at
../liboctave/array/Array-base.cc:1819
1819 octave_idx_type ns = dv(dim);
Dmitri.
--
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65712>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Dmitri A. Sergatskov, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Arun Giridhar, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Dmitri A. Sergatskov, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Arun Giridhar, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Dmitri A. Sergatskov, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Arun Giridhar, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps,
Dmitri A. Sergatskov <=
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Arun Giridhar, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Dmitri A. Sergatskov, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Arun Giridhar, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Arun Giridhar, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Dmitri A. Sergatskov, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Dmitri A. Sergatskov, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Dmitri A. Sergatskov, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Arun Giridhar, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Arun Giridhar, 2024/05/07
[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps, Arun Giridhar, 2024/05/08