[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during
From: |
Doug Stewart |
Subject: |
[Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline" |
Date: |
Sat, 16 Mar 2024 23:35:12 -0400 (EDT) |
Follow-up Comment #2, bug #65470 (group octave):
I tried your commands on Ununtu and
>> version -hgid
ans = c59ff2782e04
Passes 5/5
''''
>> pkg load instrument-control
>> test readline verbose
>>>>>
/home/doug-stewart/.local/share/octave/api-v59/packages/instrument-control-0.9.2/readline.m
***** error readline
***** error readline (1)
***** test
a = udp ();
a.remoteport = a.localport;
a.remotehost = '127.0.0.1';
a.timeout = 1;
writeline(a, "hello");
assert(readline(a), "hello");
# no more data
assert(readline(a), "");
clear a
***** test
# new interface
a = udpport ();
a.Timeout = 1;
writeline(a, "hello", '127.0.0.1', a.LocalPort)
assert(readline(a), "hello");
# no more data
assert(readline(a), "");
clear a
***** test
s = tcpserver(0);
c = tcpclient("127.0.0.1", s.ServerPort, 'Timeout', 1);
st = s.Connected; % NOTE: currently need look at statusto ensure opened
writeline(s, "hello");
assert(readline(c), "hello");
# no more data
assert(readline(c), "");
writeline(c, "hello1");
assert(readline(s), "hello1");
clear a
PASSES 5 out of 5 tests
''''
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65470>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", Dmitri A. Sergatskov, 2024/03/16
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", Dmitri A. Sergatskov, 2024/03/16
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline",
Doug Stewart <=
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", Dmitri A. Sergatskov, 2024/03/16
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", John Donoghue, 2024/03/20
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", John Donoghue, 2024/03/20
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", John Donoghue, 2024/03/20
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", Dmitri A. Sergatskov, 2024/03/20
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", John Donoghue, 2024/03/20
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", Dmitri A. Sergatskov, 2024/03/20
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", Dmitri A. Sergatskov, 2024/03/20
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", John Donoghue, 2024/03/21
- [Octave-bug-tracker] [bug #65470] (instrument-control) ASAN crash during "test readline", John Donoghue, 2024/03/21