[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58378] bin2dec hangs
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #58378] bin2dec hangs |
Date: |
Sat, 16 May 2020 05:40:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0 |
URL:
<https://savannah.gnu.org/bugs/?58378>
Summary: bin2dec hangs
Project: GNU Octave
Submitted by: None
Submitted on: Sat 16 May 2020 09:40:22 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name: Steven Evans
Originator Email: address@hidden
Open/Closed: Open
Release: 5.2.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
I've noticed that Octave's bin2dec function hangs when given a character
matrix of size 299 rows by 49 columns. This only started happening recently.
This bug is easy to reproduce. First, burn a live CD of Lubuntu 20.04. Then
install Octave, from the repository, while running the live CD. Launch
Octave, and then type the following line at the prompt:
dec2bin(char((rand(299,49)>0.5)+48))
The system hangs and produces no result.
I've tried typing the above line on an older version of Octave (version 4.0.0)
on a different machine, and it works fine. It also wasn't originally a
problem when using Octave 5.2.0.
I first noticed this problem when I tried to use a function, which I wrote.
The function had never given me problems before. It uses bin2dec. It gives
bin2dec a matrix, of the same size, and had no problems. Now, that same
function hangs. This started happening out of nowhere.
What's most strange is that this literally started happening without warning.
I started my program on Octave 5.2.0, and it was running fine. Later, I
opened another session of Octave, on the same machine. I tried running the
same program, and it hangs. I was able to track the problem down to the
bin2dec function, which now hangs when given an input of the same size that my
program gives (299 rows, 49 columns).
I'll point out that I largely suspect that the problem has something to do
with Lubuntu 20.04. It's a very new operating system. However, this problem
didn't occur when I first installed Octave on a fresh installation of Lubuntu
20.04. Now this problem happens, even while running a live CD of Lubuntu
20.04.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58378>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58378] bin2dec hangs,
anonymous <=
- [Octave-bug-tracker] [bug #58378] bin2dec hangs, Leonardo, 2020/05/16
- [Octave-bug-tracker] [bug #58378] bin2dec hangs, Steven Evans, 2020/05/16
- [Octave-bug-tracker] [bug #58378] bin2dec hangs, Leonardo, 2020/05/16
- [Octave-bug-tracker] [bug #58378] bin2dec hangs, anonymous, 2020/05/16
- [Octave-bug-tracker] [bug #58378] bin2dec hangs, Hanada Yuichi, 2020/05/17
- [Octave-bug-tracker] [bug #58378] bin2dec hangs, Steven Evans, 2020/05/17
- [Octave-bug-tracker] [bug #58378] bin2dec hangs, Mike Miller, 2020/05/17
- [Octave-bug-tracker] [bug #58378] bin2dec hangs, Steven Evans, 2020/05/18
- [Octave-bug-tracker] [bug #58378] bin2dec hangs, Hanada Yuichi, 2020/05/18
- [Octave-bug-tracker] [bug #58378] bin2dec hangs, Mike Miller, 2020/05/20