Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mozc_tool.exe crashes with RtlValidateHeap failure due to CRT version mismatch #111

Closed
GoogleCodeExporter opened this issue Apr 22, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Checkout r87 on Windows.
2. Build mozc_tool.exe with Qt and Visual Studio.
3. Run mozc_tool.exe.

What is the expected output? What do you see instead?
mozc_tool.exe should run without any error.
mozc_tool.exe crashes with RtlValidateHeap failure actually.

Please use labels and text to provide additional information.
Some Qt functions such as QSting::toStdString on which Mozc currently depends 
assume that both mozc_tool.exe and Qt DLLs are using the same Visual C++ 
runtime libraries.
mozc_tool.exe as of r87 violates this rule as follows:
- Qt DLLs (e.g. QtCore4.dll) are using dynamically-linked version of Visual C++ 
runtime.
- mozc_tool.exe (as of r87) is using statically-linked version of Visual C++ 
runtime.
The attached patch fixes this mismatch.

Original issue reported on code.google.com by yukawa@google.com on 21 Dec 2011 at 9:02

Attachments:

@GoogleCodeExporter
Copy link
Author

Fixed in r93.

Original comment by yukawa@google.com on 26 Jan 2012 at 9:37

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant