Closed Bug 1037783 Opened 10 years ago Closed 10 years ago

A lot of repeated lines of output are shown in `adb logcat` when launching Camera app by swiping to the left at lockscreen

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 affected)

RESOLVED DUPLICATE of bug 1037074
Tracking Status
b2g-v2.1 --- affected

People

(Reporter: gkw, Unassigned)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1037781 +++

+++ This bug was initially created as a clone of Bug #1037780 +++

Turn on Lockscreen via Settings, turn off display, turn it on again. Instead of swiping right to unlock, swipe left to go into the Camera app instead. On or around the time the permissions dialog comes up - I chose not to share but also not remember this setting, `adb logcat` output becomes very noisy and a list of top duped lines after having the camera app open for 5-10 seconds include:

(The initial numbers are the number of times it appeared as a duplicate in the log)

 757 E/mm-camera(  370): msg_bus_post_msg: bus_msg type is not valid
 685 E/mm-camera(  370): stats_port_event: Failure posting to the bus!
 472 E/mm-camera(  370): mct_stream_fill_metadata_v1:1119 Unsupported message type
 201 E/mm-camera-CORE(  370): ####Grid####: 000 000, 000 000, 000 000, 000 000 000 000, 000 000, 000 000, 000 376
  80 V/GonkBufferQueue(14426): dequeueBuffer: w=640 h=480 fmt=0x11 usage=0x40020000

I ran: cat sampleLog.txt | sort | uniq -c | sort -n -r

Can we please not have the logs be so noisy? i.e. have the messages not repeat themselves 757 times for the top line. This makes it very difficult to look for errors in the log, and inflates them unnecessarily.

Setting needinfo? from Justin, a Camera peer.

Tested on a Flame:
$ ./check_versions.sh
Gaia      c47094a26c87ba71a3da4bae54febd0da21f3393
Gecko     https://hg.mozilla.org/mozilla-central/rev/1b1296d00330
BuildID   20140711040202
Version   33.0a1
ro.build.version.incremental=109
ro.build.date=Mon Jun 16 16:51:29 CST 2014
B1TC00011220
Flags: needinfo?(jdarcangelo)
AFAIK, this is the camera driver output that causes the noise. Flagging Mike for info to see if we can maybe turn this off.
Flags: needinfo?(jdarcangelo) → needinfo?(mhabicher)
This is indeed output from the camera driver, and there's little we can do about it without input from vendors/CAF. We have opened bug 1037074 and bug 1037083 to trach POVB changes to improve this.
Flags: needinfo?(mhabicher)
This is a dupe.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: