Project

General

Profile

Actions

Bug #5741

open

Segfault when WDatePicker destructor is called

Added by Momo LALMI over 7 years ago. Updated over 7 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() + "');");

}

Actions #1

Updated by Michiel Derhaeg over 7 years ago

Could you provide an example in which the segfault occurs?

Actions #2

Updated by Wim Dumon over 7 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.

Actions

Also available in: Atom PDF