1. Check out our companion app, Forums for Android! Download from Google Play

Thousands of alarms from com.android.email

Discussion in 'Application Development' started by Fmstrat, Aug 7, 2010.

  1. Fmstrat

    Fmstrat Member
    Thread Starter
    16

    Aug 5, 2010
    13
    1
    16
    Hey guys, while working on an email widget I noticed the default vanilla 2.2 email app was going crazy. It's randomly repeated this behavior a few times over the course of the day. Basically I'm seeing this:

    08-07 15:58:31.834: DEBUG/dalvikvm(226): GC_EXPLICIT freed 4590 objects / 222840 bytes in 159ms
    08-07 15:58:31.874: VERBOSE/AlarmManager(226): Adding Alarm{46656ed8 type 2 com.android.email} Dec 31 07:00:00 pm
    08-07 15:58:31.874: VERBOSE/AlarmManager(226): Alarm triggering: Alarm{46656ed8 type 2 com.android.email}
    08-07 15:58:31.894: VERBOSE/AlarmManager(226): Adding Alarm{4660ca28 type 2 com.android.email} Dec 31 07:26:01 pm
    08-07 15:58:31.914: VERBOSE/AlarmManager(226): Adding Alarm{466094d8 type 2 com.android.email} Dec 31 07:00:00 pm
    08-07 15:58:31.914: VERBOSE/AlarmManager(226): Alarm triggering: Alarm{466094d8 type 2 com.android.email}
    08-07 15:58:31.924: VERBOSE/AlarmManager(226): Adding Alarm{465f2130 type 2 com.android.email} Dec 31 07:26:01 pm
    08-07 15:58:31.944: VERBOSE/AlarmManager(226): Adding Alarm{465f1098 type 2 com.android.email} Dec 31 07:00:00 pm
    08-07 15:58:31.944: VERBOSE/AlarmManager(226): Alarm triggering: Alarm{465f1098 type 2 com.android.email}
    08-07 15:58:31.954: VERBOSE/AlarmManager(226): Adding Alarm{465cccb0 type 2 com.android.email} Dec 31 07:26:01 pm
    08-07 15:58:31.984: VERBOSE/AlarmManager(226): Adding Alarm{465c3610 type 2 com.android.email} Dec 31 07:00:00 pm
    08-07 15:58:31.984: VERBOSE/AlarmManager(226): Alarm triggering: Alarm{465c3610 type 2 com.android.email}
    08-07 15:58:31.994: VERBOSE/AlarmManager(226): Adding Alarm{465906e8 type 2 com.android.email} Dec 31 07:26:01 pm

    This happens faster than the Eclipse's LogCat can even keep up. I can stop the behavior if I go into my Exchange email and let it sync. Going into any other email (IMAP) does not stop the behavior. When it stops, I notice a log entry of:

    08-07 16:01:47.354: WARN/Cursor(693): Close cursor android.database.sqlite.SQLiteCursor@463aa590 on Message twice or more


    Any ideas what may be causing this?
     

    Advertisement

  2. blundell

    blundell Well-Known Member
    38

    Apr 23, 2010
    125
    17
    38
    Software Engineer
    UK
    Have you got a pre-release version of 2.2 as Verbose log error's should never be in a compile release. Please check your install.

    Log | Android Developers
     
  3. Fmstrat

    Fmstrat Member
    Thread Starter
    16

    Aug 5, 2010
    13
    1
    16
    I'm running on an HD2, the Email.apk is from a Nexus One FRF91 dump.

    Thanks.
     
  4. blundell

    blundell Well-Known Member
    38

    Apr 23, 2010
    125
    17
    38
    Software Engineer
    UK
    I think that'll be the reason then, the Email.apk you have is a development build, or isn't compiled correctly and so this is why you can see Verbose debug
     
    Fmstrat likes this.
  5. Fmstrat

    Fmstrat Member
    Thread Starter
    16

    Aug 5, 2010
    13
    1
    16
    That would make sense then. I'll let those tracking the post where this APK came from know. Thanks!
     
  6. blundell

    blundell Well-Known Member
    38

    Apr 23, 2010
    125
    17
    38
    Software Engineer
    UK
    Don't thank me thank my post :-D
     

Share This Page

Loading...