workrave icon indicating copy to clipboard operation
workrave copied to clipboard

Rest break timer stopped for unknown reason everyday

Open todatamining opened this issue 3 years ago • 2 comments

Describe the bug

I found workrave Rest break timer stopped for unknown reason randomly, it almost happens everyday. I have to quit and restart workrave, after that it seems it won't stop again after restart.

To Reproduce disable timer of micro-break and daily limit, only enable "Rest break" timer

check "Reading mode"

Screenshots

image

Windows

  • Windows Version: Windows 10
  • Workrave Version 1.10.44

todatamining avatar Sep 21 '20 14:09 todatamining

This is indeed a combination I have never tested (only restbreak enabled and reading mode on). Will check if I can reproduce.

rcaelers avatar Oct 03 '20 14:10 rcaelers

This is indeed a combination I have tested (only restbreak enabled and reading mode on). Will check if I can reproduce.

Windbg shows the following callstack when workrave suspended:


 # ChildEBP RetAddr      
00 00a2f984 7728a40a     win32u!NtUserMsgWaitForMultipleObjectsEx+0xc 
01 00a2f9f8 7728a33c     USER32!RealMsgWaitForMultipleObjectsEx+0x7a
02 00a2fa18 685f8f91     USER32!MsgWaitForMultipleObjectsEx+0x4c
03 00a2fa78 685f93dd     libglib_2_0_0!g_pattern_match_simple+0xf9
04 00a2fbb8 685ebb56     libglib_2_0_0!g_poll+0x105
05 00a2fc38 685ec299     libglib_2_0_0!g_main_context_dispatch+0x67a
06 00a2fc68 618591c4     libglib_2_0_0!g_main_loop_run+0x125
07 00a2fcc8 0040cf95     libgtk_win32_2_0_0!gtk_main+0xa0
08 00a2fd78 004452bf     Workrave+0xcf95
09 00a2fdf8 004453c1     Workrave+0x452bf
0a 00a2fe78 0073433d     Workrave+0x453c1
0b 00a2fe98 004013e0     Workrave+0x33433d
0c 00a2ff70 7740fa29     Workrave+0x13e0
0d 00a2ff80 777975f4     KERNEL32!BaseThreadInitThunk+0x19
0e 00a2ffdc 777975c4     ntdll!__RtlUserThreadStart+0x2f
0f 00a2ffec 00000000     ntdll!_RtlUserThreadStart+0x1b

Workrave version:1.10.44

With pdb, I think it is possible to find the function name of Workrave+0x13e0, Workrave+0x33433d, ...

Hope this will help for debugging the issue.

todatamining avatar Dec 14 '20 21:12 todatamining