Issue 111047 - toolkit/qa/unoapi VCLXAccessibleMenuItem::doAccessibleAction deadlock
Summary: toolkit/qa/unoapi VCLXAccessibleMenuItem::doAccessibleAction deadlock
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: DEV300m76
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: 3.4.0
Assignee: philipp.lohmann
QA Contact: issues@gsl
Depends on:
Reported: 2010-04-21 15:08 UTC by Stephan Bergmann
Modified: 2010-08-30 17:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

deadlocking stacks (3.47 KB, text/plain)
2010-04-21 15:08 UTC, Stephan Bergmann
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2010-04-21 15:08:08 UTC
At least on CWS sb120 (mainly making changes to the testing framework),
executing the toolkit/qa/unoapi tests repeatedly deadlocks at least under
unxmacxi non-pro with the attached stacks.txt when doing

is iface: [] testcode:
LOG> Execute: addEventListener()
LOG> adding listener
LOG> fire event
Comment 1 Stephan Bergmann 2010-04-21 15:08:46 UTC
Created attachment 69031 [details]
deadlocking stacks
Comment 2 Stephan Bergmann 2010-04-21 15:28:59 UTC
worked around for now by disabling the affected tests in
toolkit/qa/unoapi/toolkit.sce, see
<>; please revert
when fixing this issue
Comment 3 philipp.lohmann 2010-06-04 13:47:52 UTC
Comment 4 philipp.lohmann 2010-07-26 12:20:37 UTC
The reason for this is that vcl's menus can be popped up without modality
whereas mac's naitve menus cannot. The resulting deadlock from the original
report could be worked around by executing the native menu only in the solar
thread; but that is not a fix for the issue at hand: now the menu runs until the
user closes it (selecting an entry or clicking outside), which also brings the
test to a halt.

The workaround now is to not use the native menus in this case; instead using
normal vcl menus. This does not test the actual product anymore, but actually
the testtool needs to do the same for similar reasons (actually testtool's case
is more involved, but I digress). I don't know however whether there will be
further side effects in this case given that now vcl popups are used without a
vcl menubar. Some testing did not result in immediate problems however and the
test at least runs through.

fixed in CWS pl07
Comment 5 Stephan Bergmann 2010-07-28 09:05:00 UTC
see issue 113489 for a follow-up problem
Comment 6 Stephan Bergmann 2010-08-13 09:22:23 UTC
verified (fix was transplanted to CWS sb127, which was run many times on many
machines to check subsequenttests status)
Comment 7 philipp.lohmann 2010-08-30 17:44:03 UTC
seen in DEV300m87, closing