Crash in InitializeICUFromDataFile, bug 445616

237 views
Skip to first unread message

Geza Herman

unread,
Apr 2, 2022, 1:52:15 AM4/2/22
to Chromium-dev
Hello Chromium developers,

We have chromium integrated into our software, and we have frequent windows crashes in base/i18n/icu_util.cc, InitializeICUFromDataFile (the CHECK macro fails). We cannot reproduce this in-house, we just see that our users experience this crash, so we only have windows minidumps about the issue. I see that this part of the code is marked with http://crbug.com/445616, so there is already a bug created for this issue, however this bug is inaccessible for us because of "Permission denied.". Would it be possible to access this ticket?

(Sorry if this group is not for these kind of requests, if that's the case can you please forward me to the correct place?)

Thanks,
Geza Herman
Formlabs

Christian Biesinger

unread,
Apr 4, 2022, 9:40:36 AM4/4/22
to geza....@formlabs.com, Chromium-dev
The bug is fairly long (and still open), but it suggests using the
icu_use_data_file=false flag.

Christian
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
> ---
> You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/4dee7194-0e53-4c2a-93a0-b90c24cce3d5n%40chromium.org.

Bruce Dawson

unread,
Apr 4, 2022, 3:16:07 PM4/4/22
to Chromium-dev, cbies...@chromium.org, Chromium-dev, geza....@formlabs.com
We have the same problem here that we cannot reproduce the bug, but continue to see reports. For some reason the file goes missing. Our best theory is anti-virus, but that's not much of a theory.

The crashes are mostly (83%) on Windows 7, which is a declining share of Chrome's users. The country distribution is not proportional to our users, with India, Russia, and Brazil being #1, #2, and #3. This might just be because Windows 7 is more common in those countries, or it might indicate some other environmental factor.

The "icu_use_data_file=false" flag fix doesn't work, IIRC, because Chrome currently doesn't build with that flag.

The crash count has gradually been dropping and is at historic lows. That, in addition to uncertainty about what to do, is why this hasn't been prioritized more.

If you have any more information about how to trigger the bug then that would be quite helpful. It's hard to know how to deal with files that suddenly disappear.

Herman, Geza

unread,
Apr 5, 2022, 4:09:38 PM4/5/22
to Bruce Dawson, Chromium-dev, cbies...@chromium.org
I analyzed the issue a little bit deeper, and it turned out the crash happens because Qt is integrated into chromium in our case. icu_util.cc has this additional #ifdef in OpenIcuDataFile:

#if defined(TOOLKIT_QT)
  FilePath data_path;
  PathService::Get(base::DIR_QT_LIBRARY_DATA, &data_path);
  data_path = data_path.AppendASCII(kIcuDataFileName);

And sometimes the data_path returned is wrong (it returns a directory in the user's home instead of our application's resource directory - the added debug lines by you were very helpful to see this).

Does bug 445616 happen with stock chromium (I mean, no Qt integration)? If yes, then our case is a different issue.
Reply all
Reply to author
Forward
0 new messages