Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Bruhaha1234
Old
#1  
Junior Member - OP
Thanks Meter 2
Posts: 26
Join Date: Jul 2011
Question [Q] Constant "E/TrafficStats" in logcat

I've looked around, but can't really find much information about this. When viewing logcat logs(via an app called aLogcat), every 5 to 10 seconds, i get the three errors listed below:

08-24 17:32:14.605 E/TrafficStats( 2906): Tx(pdpbr0) 72
08-24 17:32:14.608 E/TrafficStats( 2906): Rx(pdpbr0) 100
08-24 17:32:14.608 E/TrafficStats( 2906): dpram_stat: pending UL 0 (@4926) pending DL 0 (@5360)

For what it's worth, pid 2906 in the log above points to: com.android.phone

I am currently running on Humble 1.51, with CWM from 08-17(Orange, with restore capability). However, i've noticed this on previous versions of humble/cwm as well. I just did a factory EE4 install via Odin with .pit file, then installed an old humble (1.33) with the same results. I've tried removing the SD card completely, and it still pops up.

If I look at the network usage in Spare Parts, I see that 'Dialer' is always at the top. It sounds like it may be related, as there was a similar discussion in this thread.

Does anyone have ANY idea why the constant "E/TrafficStats" messages might be happening? If not, any idea what I can do to get more information on what is causing it?
 
chiahead52
Old
#2  
chiahead52's Avatar
Senior Member
Thanks Meter 26
Posts: 257
Join Date: Jun 2011
I to noticed this and am very curious as to what it is?
 
Bruhaha1234
Old
#3  
Junior Member - OP
Thanks Meter 2
Posts: 26
Join Date: Jul 2011
I'm not sure what is causing it, unless it is some sort of hardware defect? It makes me feel better that it isn't just me though :)

Sent from my SCH-I510 using XDA Premium App
 
imnuts
Old
#4  
imnuts's Avatar
Recognized Developer
Thanks Meter 2384
Posts: 3,125
Join Date: Jul 2007
Location: West Chester

 
DONATE TO ME
it's mainly debugging stuff from what i can tell, and it isn't breaking anything, just annoying when looking through logcats.

Setup a Development Environment
Setup and Use the Android SDK
Stock Odin Restore files

You can find the answer to all of your questions right here. If that doesn't work, then try this or this
 
Bruhaha1234
Old
#5  
Junior Member - OP
Thanks Meter 2
Posts: 26
Join Date: Jul 2011
The thing is that not everybody gets those messages though. I've seen other charge users' logcats, and they aren't in there, at least not nearly as often. I've noticed that it does seem to be greatly diminished when the phone hasn't recently been used, but not consistently. For example, last night it ran from 11:30 to 2:30 without a single message. Then, it started occurring every 2 to 5 minutes. When the phone is being used though, it is consistently every 5 seconds.

The only way i've found to prevent it is to turn on airplane mode, then restart, as the numbers after pdpbr0 or pdpbr1 are like some sort of counter(they never go down, only up). Obviously, that isn't ideal.

If you have logcat look at the radio buffer instead, you will see messages that coincide in frequency with the trafficstats for "[GsmMultiDCT]NetPollStartTimer: posting again for netStatPollPeriod", with the same UID as the trafficstats.

imnuts, do you know of any tools/apps for me to investigate this further than just looking logs?
 
imnuts
Old
#6  
imnuts's Avatar
Recognized Developer
Thanks Meter 2384
Posts: 3,125
Join Date: Jul 2007
Location: West Chester

 
DONATE TO ME
You could start decompiling framework .jar files and searching through the resulting smali output for TrafficStats to see what is creating the lines and potentially how to stop them.

Setup a Development Environment
Setup and Use the Android SDK
Stock Odin Restore files

You can find the answer to all of your questions right here. If that doesn't work, then try this or this
 
Post Reply+
Tags
cwm, dialer, humble, logcat, trafficstats
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Job Interview Prep: Phone Screen Part 1 – XDA Developer TV

XDA Developer TV Producer Jayce has been very busy creating videos to help … more

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you … more

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more