bugGNU Octave - Bugs: bug #46245, Commented line of 16KB characters...

 
 

bug #46245: Commented line of 16KB characters crashes the app when trying to run

Submitted by:  Ryan <ryanafleming>
Submitted on:  Sun 18 Oct 2015 11:26:26 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: DuplicateAssigned to: None
Originator Name: RyanOpen/Closed: Closed
Release: 4.0.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 19 Oct 2015 06:55:18 AM UTC, comment #2:

Hi,

This is a duplicate of bug #45947. Octave is currently unable to parse strings larger than about 16000 characters.

Pantxo Diribarne <pantxo>
Project Member
Mon 19 Oct 2015 01:14:26 AM UTC, comment #1:

I tried it with a recent 4.1.0 dev. branch on ubuntu 15.04

>> test2

error: input buffer overflow, can't enlarge buffer because scanner uses REJECT

>>

Doug Stewart <dastew>
Sun 18 Oct 2015 11:26:26 PM UTC, original submission:

I have recorded a sample of roughly 3000 elements in a vector. This crashes my application almost everytime.

After realising that it was my large matrix that in textform is 16KB, I commented out the line and the application still crashed.

While the line is still fully commented using '%', when I try to open the file through the "File Browser" in the GUI, it displays an error

">> error: load: failed to read matrix from file 'C:/Octave/Saves/test2.m'"

and the file doesn't open. Following this I tried it again and it works, but when I run the application it just crashes immediately again.

Attached is the script with the single commented line that crashes the application.

I am running Windows 10 on my 2013 Lenovo T430.

Crash caused in Octave 4.0.0 configured for "i686-w64-mingw32"

Ryan <ryanafleming>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #35223:  test2.m added by ryanafleming (16KiB - application/octet-stream)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by dastew (Posted a comment)
  • -unavailable- added by ryanafleming (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Dec 2015 02:59:41 PM UTCmtmillerCategoryNone=>Interpreter
      Open/ClosedOpen=>Closed
      Operating SystemMicrosoft Windows=>Any
    Mon 19 Oct 2015 06:55:18 AM UTCpantxoStatusNone=>Duplicate
      Dependencies-=>Depends on bugs #45947
    Sun 18 Oct 2015 11:26:26 PM UTCryanaflemingAttached File-=>Added test2.m, #35223

    Back to the top


    Powered by Savane 3.1-cleanup1