Project

General

Profile

Bug #5741

Segfault when WDatePicker destructor is called

Added by Momo LALMI over 4 years ago. Updated over 4 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/31/2017
Due date:
% Done:

0%

Estimated time:

Description

Hello, I have a segmentation fault on this instruction, any idea ?

WDatePicker::~WDatePicker()

{

WApplication::instance()->doJavaScript

(WT_CLASS ".remove('" + popup_->id() + "');");

}

#1

Updated by Michiel Derhaeg over 4 years ago

Could you provide an example in which the segfault occurs?

#2

Updated by Wim Dumon over 4 years ago

  • Status changed from New to Feedback

It looks like you're deleting the class from a thread that is not associated with a session, i.e. the update lock is not held. Is that possible?

Wim.

Also available in: Atom PDF