Bug Hunting Session
Bug 84362 - vcl / timers unit test ...
Summary: vcl / timers unit test ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) rc
Hardware: Other All
: medium normal
Assignee: Not Assigned
Keywords: difficultyInteresting, easyHack, skillCpp, topicCleanup
Depends on:
Reported: 2014-09-26 09:12 UTC by Michael Meeks
Modified: 2017-02-14 08:57 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Meeks 2014-09-26 09:12:27 UTC
We recently fell over a unit-test problem where (on Windows) we had a rather long running task holding the SolarMutex while the timer thread was trying to emit events.

We have a unit test harness in: vcl/qa/cppunit/timer.cxx

It would be good to:

a) enable this test for Windows (cf. Module_vcl.mk)
b) add a new test with a new thread whose job is just to take the SolarMutex for a while (say 250ms) and then release it that we spawn before running a high volume AutoTimer test (say 1ms) =)

Hopefully that would catch the queue filling / starvation issue that kendy just fixed on master. Even more ideally we should try to simulate some user input events and ensure that they get through too I think.
Comment 1 Michael Meeks 2014-09-26 09:14:39 UTC
Tobias - I think this one is in your area - though it may require a Windows build =) [ and I couldn't find Jennifer's mail in bugzilla oddly - can you add her ? ;-]
Comment 2 Robinson Tryon (qubit) 2015-12-14 05:01:17 UTC Comment hidden (obsolete)
Comment 3 Robinson Tryon (qubit) 2016-02-18 14:51:58 UTC Comment hidden (obsolete)