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: Mon, 20 Jan 2020 02:07:26 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

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

thanks for remind me to bisect.
I have found two similar tests that cause it.

I have also verified that 5.1.0 is immune from it.

octave:1> test round6a.m
PASSES 1 out of 1 test
octave:2> test round6b.m
PASSES 1 out of 1 test


Replicating the test step by step I have:

octave:1> f = tempname ();
octave:2> fid = fopen (f, "w+");
octave:3> fprintf (fid, "1\r\n2\r3\n4\r\n5\n6");
octave:4> fseek (fid, 0, "bof");
octave:5> c = textscan (fid, "%f %f", 4);
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault (core dumped)



(file #48256, file #48257)
    _______________________________________________________

Additional Item Attachment:

File name: round6a.m                      Size:0 KB
    <https://savannah.gnu.org/file/round6a.m?file_id=48256>

File name: round6b.m                      Size:0 KB
    <https://savannah.gnu.org/file/round6b.m?file_id=48257>



    _______________________________________________________

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]