bugGNU Octave - Bugs: bug #41139, Clicking "step" too fast...

 
 

bug #41139: Clicking "step" too fast confuses the debugger, causes an error

Submitted by:  Michael C. Grant <mcgrant>
Submitted on:  Tue 07 Jan 2014 05:53:34 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Torsten <ttl>
Originator Name: Michael C. GrantOpen/Closed: Closed
Release: 3.8.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 09 Jan 2014 06:11:06 PM UTC, comment #5:

Pushed to stable with
http://hg.savannah.gnu.org/hgweb/octave/rev/0da2e7051778

Torsten <ttl>
Project MemberIn charge of this item.
Thu 09 Jan 2014 06:22:42 AM UTC, comment #4:

I tested the patch on the stable branch on Linux and it works for me. The changeset could go on either stable or gui-release.

Rik <rik5>
Project Administrator
Thu 09 Jan 2014 12:20:36 AM UTC, comment #3:

I would love to test this, but I must be honest, I am having difficulty compiling Octave on my machine from the development sources. I have no difficulty with the packaged source release on ftp.octave.org, so presumably I'm getting tripped up on the bootstrapping. I'll let you know when I figure it out (indeed this inspires a feature request...)

Michael C. Grant <mcgrant>
Wed 08 Jan 2014 09:03:03 PM UTC, comment #2:

Please find attached a patch that buffers the debug actions in a semaphore controlled queue in order to synchronize the gui and the core thread (same method is used for the execution of commands).
It fixes the issue on my system; could you please test it?

(file #30226)

Torsten <ttl>
Project MemberIn charge of this item.
Wed 08 Jan 2014 08:37:44 PM UTC, comment #1:

Confirmed on Linux.

Torsten <ttl>
Project MemberIn charge of this item.
Tue 07 Jan 2014 05:53:34 PM UTC, original submission:

Clicking the "dbstep" GUI button too fast causes the following result:

Michael C. Grant <mcgrant>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #30226:  debug_v01.patch added by ttl (5KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by mcgrant (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 09 Jan 2014 06:11:06 PM UTCttlStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 09 Jan 2014 06:22:42 AM UTCrik5StatusPatch Submitted=>Ready For Test
    Wed 08 Jan 2014 09:03:03 PM UTCttlAttached File-=>Added debug_v01.patch, #30226
      StatusConfirmed=>Patch Submitted
    Wed 08 Jan 2014 08:37:44 PM UTCttlStatusNone=>Confirmed
      Assigned toNone=>ttl
      Operating SystemMac OS=>Any

    Back to the top


    Powered by Savane 3.1-cleanup1