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

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

[Octave-bug-tracker] [bug #47876] Crash when defining long string


From: Amichai Rothman
Subject: [Octave-bug-tracker] [bug #47876] Crash when defining long string
Date: Sun, 8 May 2016 16:11:32 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

URL:
  <http://savannah.gnu.org/bugs/?47876>

                 Summary: Crash when defining long string
                 Project: GNU Octave
            Submitted by: amichai
            Submitted on: Sun 08 May 2016 04:11:31 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When running in terminal (--no-gui), attempting to define a string variable,
e.g. s = 'x' but instead of x using a long string (~25K, copy & pasted from a
log file), Octave crashes with the error:

error: input buffer overflow, can't enlarge buffer because scanner uses
REJECT
input buffer overflow, can't enlarge buffer because scanner uses REJECT
*** Error in
`/usr/lib/x86_64-linux-gnu/octave/4.0.0/exec/x86_64-pc-linux-gnu/octave-gui':
corrupted double-linked list: 0x00007faa78122b30 ***


I've attached a file containing the text - copy & paste it into terminal to
recreate the crash.

It should at the very least give a proper error message (input string too
long) without crashing. But even better would be to support longer strings



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 08 May 2016 04:11:31 PM GMT  Name: histogram.crash.txt  Size: 25kB  
By: amichai

<http://savannah.gnu.org/bugs/download.php?file_id=37102>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47876>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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