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

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

[Octave-bug-tracker] [bug #57632] 5.1.90 crash on cygwin


From: marco atzeri
Subject: [Octave-bug-tracker] [bug #57632] 5.1.90 crash on cygwin
Date: Tue, 21 Jan 2020 00:40:10 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Follow-up Comment #6, bug #57632 (project octave):

test 1

octave:1> f = tempname ()
f = /tmp/oct-dVhjXf
octave:2> fid = fopen (f, "w+")
fid =  3
octave:3> fprintf (fid, "1\n2\n3\n4\n5\n6")
octave:4> fclose (fid)
ans = 0
octave:5> fid = fopen (f, "r+")
fid =  3
octave:6> c = textscan (fid, "%f %f", 2)
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault (core dumped)

test 2

octave:1> f = tempname ()
f = /tmp/oct-hcAGTu
octave:2> fid = fopen (f, "w+")
fid =  3
octave:3> fprintf (fid, "1\n2\n3\n4\n5\n6")
octave:4> fseek (fid, 0, "bof")
ans = 0
octave:5> str = fgets (fid)
str = 1

octave:6> disp (str)
1

octave:7> fclose (fid)

here octave crash with no output at all

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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