MaclawStudio bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000346CM10.1 for S3 Mini[All Projects] Bugspublic2013-10-09 08:162013-10-16 06:19
Reporterrnemec 
Assigned To 
PrioritynormalSeverityminorReproducibilityunable to reproduce
StatusnewResolutionopen 
Summary0000346: copsdaemon wakelock
DescriptionProcess with name cops kept phone awake (cannot switch to deepsleep mode), so there was massive battery drain (about 40% in a few hours).

cops also makes log files cops.log and backup_cops.log in /data folder, which can have size in tenths of MB after some time. The log starts with strange wakelock_release error:

COPS[1707]: cops_main.c:243 cops_setup(): Starting up
COPS[1707]: cops_wakelock.c:87 cops_wakelock_init(): Wakelock initiated
COPS[1707]: cops_wakelock.c:54 cops_do_wakelock_release(): write() errno=22 (Invalid argument)
COPS[1707]: cops_ipc_common.c:36 cops_ipc_context_create(): Got fd (6) for /dev/sec.
COPS[1707]: cops_main.c:159 main(): Entering main loop

the rest of log are bunch of these lines:
COPS[1707]: cops_ipc_common.c:141 cops_ipc_context_handle_signals(): Received SIPC from fd = 6. Type = 0x14, length = 40
COPS[1707]: cops_router.c:170 cops_router_return_msg(): SIPC response sent to fd = 6. Type = 0x15, length = 110

or these lines:

Received SIPC from fd = 6. Type = 0x10, length = 40
SIPC response sent to fd = 6. Type = 0x11, length = 64
Steps To ReproduceUnable to reproduce the first case (battery drain due to cops). The second one (logging to file) is happening all the time.
Additional Informationrelease CM10.1 20131001
Attached Files

- Relationships

-  Notes
(0000457)
rnemec (reporter)
2013-10-16 06:19

Update: maybe this and issue 0000347 is the same problem, see 0000347.

- Issue History
Date Modified Username Field Change
2013-10-09 08:16 rnemec New Issue
2013-10-16 06:19 rnemec Note Added: 0000457


Copyright © 2000 - 2014 MaclawStudio
Maclaw.pl