Santhu / mozc

Automatically exported from code.google.com/p/mozc
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
Fixed in r93.

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