]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add use of QT_ENABLE_REGEXP_JIT env var to FAQ
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 3 Jan 2025 21:04:27 +0000 (22:04 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 3 Jan 2025 21:04:27 +0000 (22:04 +0100)
Prevents huge numbers of errors with Qt apps.

docs/xml/FAQ.xml

index 9421aa0ffa7b7ef88dcc89c8bf35e60fb22def75..201b365021857e3d3302a8f23e7049e717e743ee 100644 (file)
@@ -645,6 +645,26 @@ int main(void)
   </answer>
 </qandaentry>
 
+<qandaentry id="faq.pcre2_qt">
+  <question id="q-pcre2_qt">
+    <para>I'm developing a Qt application and I get huge numbers of "Conditional jump"
+    errors. Is there anything that I can do about it?</para>
+  </question>
+  <answer id="a-pcre2_qt">
+    <para>Yes, there is a workaround. Here is an example error:</para>
+<programlisting>
+Conditional jump or move depends on uninitialised value(s)
+   at 0x1051C39B: ???
+   by 0x12657AA7: ???
+</programlisting>
+    <para>Qt Regular Expressions are built on the pcre2 library.
+    pcre2 uses JITting which means that the errors cannot be suppressed
+    (no function name). However, Qt provides a mechanism to turn off
+    the use of JITting. To do so, use the following environment variable:
+    <computeroutput>export QT_ENABLE_REGEXP_JIT=0</computeroutput></para>
+  </answer>
+</qandaentry>
+
 
 <qandaentry id="faq.attach">
   <question id="q-attach">