New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 712215 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

CHECK failure: !g_check_called_once || !g_called_once in icu_util.cc

Project Member Reported by ClusterFuzz, Apr 17 2017

Issue description

Cc: js...@chromium.org scottmg@chromium.org
Components: UI>Internationalization
Labels: M-60 Test-Predator-Wrong
Could someone please take a look?.
Thank you.

Cc: msrchandra@chromium.org
Owner: jochen@chromium.org
Status: Assigned (was: Untriaged)
Using Code Search for the file, "icu_util.cc" assigning to the concern owner who might be related.
@jochen -- Could you please look into the issue, kindly re-assign if this is not related to your changes.
Thank You.

Comment 4 by jochen@chromium.org, Apr 18 2017

Owner: dominicc@chromium.org
your code-search foo is weak :/

Dominic, in https://cs.chromium.org/chromium/src/testing/libfuzzer/fuzzers/template_url_parser_fuzzer.cc?rcl=a8cc22075b8af00a5848dc252298148625fd31d5&l=40 you initialize ICU once per run.

Instead, you should initialize it in a function "extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)"
Status: Started (was: Assigned)
Oops.
Project Member

Comment 7 by ClusterFuzz, Apr 18 2017

ClusterFuzz has detected this issue as fixed in range 464915:464918.

Detailed report: https://clusterfuzz.com/testcase?key=5265516186042368

Fuzzer: libfuzzer_template_url_parser_fuzzer
Job Type: libfuzzer_chrome_asan_debug
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  !g_check_called_once || !g_called_once in icu_util.cc
  base::i18n::InitializeICU
  base::debug::DebugBreak
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan_debug&range=464913:464915
Fixed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan_debug&range=464915:464918

Reproducer Testcase: https://clusterfuzz.com/download/AMIfv95OSYbIL2_dMqdiVkUIX2ZTITIPTJHda3OmrMhqse3uYKoJ0L-97xcvQUmweU9yTCytj-2UZwR4GPBXJdRtsOUivDSjCdHHnHhJPNjm0n5MevUp62UyjPoEXPlKcMIXS6iGUVEePpub836ozphZ5WFNSDSjiQ7yBu0IG5d64fx72Vlvg8LKpKxFiuIxjwLu4VfLEEbZ4Pmilbn-LFnRMS5lO37dwAvhZmg7-GCvr95V6t7hVO58LuVmNO_mWV6oaz8BGlRjYwPLPmk93pTxwwUZTerChLp_CGgdsGI1eNYpMkH0DIv9vTWRrOhBSpLB_VG_b1QC5KSU1NRVpHIvTCQySUQtaU4XstR8w8bdVSuFCOvf5w8?testcase_id=5265516186042368


See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.md for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 8 by ClusterFuzz, Apr 18 2017

Labels: ClusterFuzz-Verified
Status: Verified (was: Started)
ClusterFuzz testcase 5265516186042368 is verified as fixed, so closing issue.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Project Member

Comment 9 by bugdroid1@chromium.org, Apr 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/719ee31460a7948576f62b3d404dc13cfa989f70

commit 719ee31460a7948576f62b3d404dc13cfa989f70
Author: dominicc <dominicc@chromium.org>
Date: Tue Apr 18 15:00:57 2017

Only initialize ICU once in the template URL parser fuzzer.

BUG= 712215 

Review-Url: https://codereview.chromium.org/2820133004
Cr-Commit-Position: refs/heads/master@{#465237}

[modify] https://crrev.com/719ee31460a7948576f62b3d404dc13cfa989f70/testing/libfuzzer/fuzzers/template_url_parser_fuzzer.cc

Sign in to add a comment