bugGNU Octave - Bugs: bug #48782, Using drawnow (TERM, FILE,...

 
 

bug #48782: Using drawnow (TERM, FILE, DEBUG_FILE) with qt crashes Octave

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Sun 14 Aug 2016 06:23:21 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: Kai Torben Ohlhus <siko1056>
Originator Name: AvinoamOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 18 Aug 2016 11:17:28 AM UTC, comment #3:

Pushed: http://hg.savannah.gnu.org/hgweb/octave/rev/47629df12b79

Kai Torben Ohlhus <siko1056>
Project MemberIn charge of this item.
Mon 15 Aug 2016 09:10:28 PM UTC, comment #2:

I have checked the patch in Linux.
It fixes the problem, Thanks.

Avinoam Kalma <avinoam>
Project Member
Mon 15 Aug 2016 09:14:39 AM UTC, comment #1:

I can confirm the crash on Linux and located the source of error in libinterp/corefcn/gl2ps-print.cc(gl2ps_renderer::draw).

My proposal for a patch is attached. It chooses GL2PS_PS as default value, as it is the first one in the defining header

and a default value + warning is better than a crash. Please verify this patch. I will commit soon, if there are no complaints.

(file #38212)

Kai Torben Ohlhus <siko1056>
Project MemberIn charge of this item.
Sun 14 Aug 2016 06:23:21 PM UTC, original submission:

crashes Octave (dev), instead of writing error message, as in 4.0.3.
Checked with MXE-Octave (win-10) with Linux (Ubuntu).

Avinoam Kalma <avinoam>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #38212:  drawnow.patch added by siko1056 (826B - text/x-patch)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by siko1056 (Updated the item)
  • -unavailable- added by avinoam (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
    Thu 18 Aug 2016 11:17:28 AM UTCsiko1056Open/ClosedOpen=>Closed
    Thu 18 Aug 2016 11:17:27 AM UTCsiko1056StatusPatch Submitted=>Fixed
    Wed 17 Aug 2016 03:37:21 PM UTCrik5Dependencies-=>bugs #48703 is dependent
    Mon 15 Aug 2016 09:14:39 AM UTCsiko1056Attached File-=>Added drawnow.patch, #38212
      StatusNone=>Patch Submitted
      Assigned toNone=>siko1056

    Back to the top


    Powered by Savane 3.1-cleanup1