Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Issue 1313073008: On FATAL, log which unsupported encoder the caller wanted us to create (Closed)

Created:
5 years, 3 months ago by kwiberg-webrtc
Modified:
5 years, 3 months ago
Reviewers:
tommi, hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, hlundin-webrtc, tlegrand-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

On FATAL, log which unsupported encoder the caller wanted us to create Hopefully, this will make it easier to figure out what's wrong the next time this happens. BUG=526478 Committed: https://crrev.com/6aae75728a68bf8e59f75e3a87bc8aefb2ed3907 Cr-Commit-Position: refs/heads/master@{#9844}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M webrtc/modules/audio_coding/main/acm2/codec_owner.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
kwiberg-webrtc
5 years, 3 months ago (2015-09-02 09:42:46 UTC) #2
hlundin-webrtc
lgtm
5 years, 3 months ago (2015-09-02 10:37:25 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313073008/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313073008/1
5 years, 3 months ago (2015-09-02 11:14:31 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 3 months ago (2015-09-02 12:05:05 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/6aae75728a68bf8e59f75e3a87bc8aefb2ed3907 Cr-Commit-Position: refs/heads/master@{#9844}
5 years, 3 months ago (2015-09-02 12:05:15 UTC) #7
tommi
Is it still right to crash in this case? If we log more information and ...
5 years, 3 months ago (2015-09-02 12:55:12 UTC) #9
kwiberg-webrtc
5 years, 3 months ago (2015-09-02 13:13:34 UTC) #10
Message was sent while issue was closed.
On 2015/09/02 12:55:12, tommi (webrtc) wrote:
> Is it still right to crash in this case?

I'd argue yes. This far down, it's the caller's fault for passing us bad
arguments. The bug should be fixed by making higher layers not do that. But to
do that, we need to figure out what sort of mistake they did.

> If we log more information and crash,
> that log isn't actually going anywhere.

The reporter saw the message:
https://code.google.com/p/chromium/issues/detail?id=526478#c5
Which at the time didn't print anything interesting.

But you're right for any users not savvy enough to run from a terminal. Could
another sort of logging call work around the problem?

Powered by Google App Engine
This is Rietveld 408576698