View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0025595 | Community | OCCT:Visualization | public | 2014-12-12 12:11 | 2015-03-31 12:01 |
| Reporter | Vico Liang | Assigned To | bugmaster | ||
| Priority | normal | Severity | crash | ||
| Status | closed | Resolution | unable to reproduce | ||
| Platform | Windows | OS | VC++ 2013 | ||
| Product Version | 6.9.0 | ||||
| Summary | 0025595: Visual3d_View Redraw crash when closing QT view widget. | ||||
| Description | The crash just occur in QT widget resizeEvent when closing the view. More details in picture. void Geom3DView::resizeEvent(QResizeEvent* /*theEvent*/) { if (!myOccView.IsNull()) myOccView->MustBeResized(); } | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
|
|
Visual3d_View Redraw crash when closing QT view widget..png (32,271 bytes) |
|
|
Could you please provide more details about the crash: - Can it be reproduced in Qt sample from OCCT? - Which version of Qt is used? - How view is closed? From the stack it looks like the memory has been corrupted somewhere before. |
|
|
It can be reproducted in QT5.3. I don't try that in in QT sample. The view is closed by clicking the upper-right close button in the widget and the crash is not reproduced stablely. |
|
|
There is no such crash in occt6.7.1. So it's should be a new issue in OCCT6.8.0. |
|
|
Hi kgv, I tried in OCCT QT sample, The issue can't be reproduced in OCCT samples even if with QT5.3. It can't be reproduced steadily in our product. Could you tell where is the possible root cause by static code analysising? Thanks, Vico |
|
|
Hello Vico, not sure my comment will be relevant in your case, but AFAIK we usually block all signals in the object when it starts to be destroyed. Otherwise, you can get sporadic situation when some signal comes to your widget while it is already in the process of destruction... |
|
|
Dear abv, Thanks for your comment. so do you have strategy to correct it? Or Could you direct me to the right place of the code you mentioned in the comment? I'd like to see what happends in the destruction process. Best, Vico |
|
|
Hello Vico, the point is that the issue I mentioned is not specific to OCCT but to the application, hence you have to address it on your side. |
|
|
I guess the problem might be that the closed QT widget is still alive in memory and it receives message even though it's in closed state. If we force to delete the closed widget from memory, this won't occur. |
|
|
Since the problem seems to be irrelevant to OCCT code, I consider to close the issue. Do you agree, Vico? |
|
|
Yes, I agree. Please close this issue. |
|
|
Dear bugmaster, please close the issue. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-12-12 12:11 | Vico Liang | New Issue | |
| 2014-12-12 12:11 | Vico Liang | Assigned To | => kgv |
| 2014-12-12 12:11 | Vico Liang | File Added: Visual3d_View Redraw crash when closing QT view widget..png | |
| 2014-12-12 12:33 | kgv | Note Added: 0035354 | |
| 2014-12-12 12:33 | kgv | Assigned To | kgv => Vico Liang |
| 2014-12-12 12:33 | kgv | Status | new => feedback |
| 2014-12-12 13:05 | Vico Liang | Note Added: 0035355 | |
| 2014-12-16 10:25 | Vico Liang | Note Added: 0035411 | |
| 2014-12-16 10:26 | Vico Liang | Assigned To | Vico Liang => kgv |
| 2014-12-23 16:15 | Vico Liang | Note Added: 0035607 | |
| 2014-12-23 16:22 |
|
Note Added: 0035609 | |
| 2014-12-23 17:48 | Vico Liang | Note Added: 0035618 | |
| 2014-12-24 07:05 | Vico Liang | Status | feedback => assigned |
| 2014-12-24 10:41 |
|
Note Added: 0035656 | |
| 2015-03-14 07:36 | Vico Liang | Note Added: 0038365 | |
| 2015-03-26 15:50 | kgv | Note Added: 0038919 | |
| 2015-03-26 15:50 | kgv | Assigned To | kgv => Vico Liang |
| 2015-03-26 15:50 | kgv | Status | assigned => feedback |
| 2015-03-27 08:28 | Vico Liang | Note Added: 0038931 | |
| 2015-03-27 08:29 | Vico Liang | Assigned To | Vico Liang => kgv |
| 2015-03-27 08:29 | Vico Liang | Status | feedback => confirmed |
| 2015-03-27 09:14 | kgv | Note Added: 0038933 | |
| 2015-03-27 09:14 | kgv | Assigned To | kgv => bugmaster |
| 2015-03-27 09:14 | kgv | Status | confirmed => feedback |
| 2015-03-27 09:14 | kgv | Resolution | open => unable to reproduce |
| 2015-03-27 09:14 | kgv | Target Version | 6.9.0 => |
| 2015-03-31 12:01 |
|
Status | feedback => closed |