[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 279346] New: Frame stack view has doubled and missing frames
From:       Martin Lederhilger <martin.lederhilger () gmx ! at>
Date:       2011-08-04 6:00:20
Message-ID: bug-279346-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=279346

           Summary: Frame stack view has doubled and missing frames
                    ranges.
           Product: kdevelop
           Version: 4.2.3
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: CPP Debugger
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: martin.lederhilger@gmx.at


Created an attachment (id=62525)
 --> (http://bugs.kde.org/attachment.cgi?id=62525)
Image showing the problem.

Version:           4.2.3 (using KDE 4.6.3) 
OS:                Linux

See attached image. If the user scrolls down fastly, and it takes gdb some time
to analyze the frames, then it can happen that two or more
FrameStackModel::fetchMoreFrames() are running "concurently" - meaning that two
or more FrameStackModel::fetchMoreFrames() request to fetch the same frame
range.

See attached patch for framestackmodel.cpp. It contains a patch
 - for the problem described above, and
 - I think there is an index problem in FrameStackModel::insertFrames() too. I
am not 100% sure, so please check this.

Reproducible: Always

Steps to Reproduce:
Compile the attached main.cpp and debug it. Switch to the stack frame view and
scroll down fastly.

Actual Results:  
See attached image.

Expected Results:  
Depth values should increase from 0 to frame count - 1

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic