Project

General

Profile

Getting Crash in Wt::WWebWidget::widgetRemoved()

Added by Himanshu Rohilla 17 days ago

Hi All,

I am creating an application. In that application, I created a subclass which is inherited from Wt::WTreeView class. Now, when I am deleting the object of my subclass, it is calling the destructor of WTreeView class also.
From the destructor of WTreeView, call is going in Wt::WWebWidget::widgetRemoved() function and my application is getting crash.

I am attaching a call stack of crash. In the attachment, you can see a class name "medWebTreeView" i.e. my subclass which is inherited from Wt::WTreeView.

I don't know how to resolve this crash. Any help will be very helpful for me.

Thanks in advance :)


Replies (1)

RE: Getting Crash in Wt::WWebWidget::widgetRemoved() - Added by Matthias Van Ceulebroeck 17 days ago

Hi Himanshu,

it would be handy for me to have a little more information.

  • What version of Wt are you using?
  • Would it be possible to have a little code for context? This can be a minimal example that shows the behavior, it doesn't have to be the full code.

Best,
Matthias

    (1-1/1)