bugGNU Octave - Bugs: bug #35065, 'diary on' causes hang/segfault

 
 

bug #35065: 'diary on' causes hang/segfault

Submitter:  Rik <rik5>
Submitted:  Wed 14 Dec 2011 06:29:05 AM UTC
   
 
Category:  Interpreter Severity:  5 - Blocker
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 14 Dec 2011 04:44:18 PM UTC, comment #3: 
Rik <rik5>
Group administrator
Wed 14 Dec 2011 03:34:09 PM UTC, comment #2: 

Yes, that was a typo/think-o.  Please check in the change.

Thanks.

John W. Eaton <jwe>
Group administrator
Wed 14 Dec 2011 07:01:26 AM UTC, comment #1: 

Actually, this looks pretty easy to solve.  The attached changeset diary.cset fixes a typo in pager.cc.

(file #24588)

Rik <rik5>
Group administrator
Wed 14 Dec 2011 06:29:05 AM UTC, original submission:  

Using the command 'diary on' causes the interpreter to hang requiring 3 Ctrl-C's to eventually stop it.  If I run the same command under gdb then Octave segfaults with the following message.


Program received signal SIGSEGV, Segmentation fault.
octave_pager_stream::instance_ok () at pager.cc:372
372       bool retval = true;



Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #24588:  diary.cset added by rik5 (749B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-12-14 rik5 Open/ClosedOpen Closed
    2011-12-14 rik5 StatusPatch Submitted Fixed
    2011-12-14 rik5 Attached File- Added diary.cset, #24588
        StatusNone Patch Submitted

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code