bugDDD - Bugs: bug #24896, assertion `qu_count == count'...


bug #24896: assertion `qu_count == count' failed

Submitter:  Peter Wainwright <pwainwright>
Submitted:  Fri 21 Nov 2008 03:16:00 PM UTC
Category:  None Severity:  4 - Important
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  pwainwright
Open/Closed:  Closed Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


Wed 26 Nov 2008 10:03:52 AM UTC, comment #3: 

Patches applied to Subversion (trunk, pydb and gddd branches).

Peter Wainwright <pwainwright>
Sat 22 Nov 2008 01:19:46 PM UTC, comment #2: 

The test I removed should be redundant, since the number of answers received should always be consistent with the flags set in extra_data.  However, this requires careful updates to the code in several places, which makes comm-manag.C a nightmare to maintain.

In particular, the flag extra_data->refresh_frame was overlooked in the PYDB case.  A further patch is necessary to fix this.

(file #16897)

Peter Wainwright <pwainwright>
Sat 22 Nov 2008 11:40:31 AM UTC, comment #1: 

The attached patch removes an if (...) test and fixes this particular problem for me.

I'm pretty sure the test should be qu_count >= 0, not > 0, and having made that change it becomes redundant (always true).

(file #16896)

Peter Wainwright <pwainwright>
Fri 21 Nov 2008 03:16:00 PM UTC, original submission:  

In pydb branch, as of Fri Nov 21 2008, running GDB as inferior debugger.

If I start ddd and issue the command "set print static-members off", DDD crashes with the following assertion failure:

comm-manag.C: In function `void extra_completed(StringArray&, const VoidArray&, void*)':
comm-manag.C:3337: assertion `qu_count == count' failed

ddd-3.3.11 does not crash here.  Copying the old comm-manag.C from ddd-3.3.11 fixes the crash, so the bug appears to be related to that file.

Peter Wainwright <pwainwright>


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

Attach Files:

Attached Files
file #16897:  ddd-pydb-refresh_frame.patch added by pwainwright (469B - text/x-patch - Patch to handle extra_data->refresh_frame flag in PYDB case.)
file #16896:  ddd-pydb-qu_count.patch added by pwainwright (607B - text/x-patch - Patch to remove redundant if() test.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pwainwright (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 logged-in users can vote.





    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-11-26 pwainwright StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2008-11-22 pwainwright Attached File- Added ddd-pydb-refresh_frame.patch, #16897
    2008-11-22 pwainwright StatusWorks For Me In Progress
    2008-11-22 pwainwright Attached File- Added ddd-pydb-qu_count.patch, #16896
        StatusNone Works For Me
        Assigned toNone pwainwright

    Back to the top

    Powered by Savane 3.9