>>>>"SJT" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
SJT> Thanks! The setlocale one is probably
the one Olivier just
SJT> found, and the one deep in Xt probably is in fact in Xt. But the
SJT> others look like XEmacs bugs to me.
After I applied Olivier's patch, all XEmacs bugs valgrind has found
before are gone:
==1168== ERROR SUMMARY: 29 errors from 3 contexts (suppressed: 92 from 2)
==1168==
==1168== 2 errors in context 1 of 3:
==1168== Conditional jump or move depends on uninitialised value(s)
==1168== at 0x82AA372: xm_update_label (lwlib-Xm.c:222)
==1168== by 0x82AA647: xm_safe_update_label (lwlib-Xm.c:314)
==1168== by 0x82AAC9B: xm_update_one_widget (lwlib-Xm.c:854)
==1168== by 0x82B3FE3: xlw_update_tab_control (lwlib-Xlw.c:458)
==1168== by 0x82B4243: xlw_update_one_widget (lwlib-Xlw.c:578)
==1168== by 0x82A8906: set_one_value (lwlib.c:718)
==1168== by 0x82A897B: update_one_widget_instance (lwlib.c:742)
==1168== by 0x82A8BEC: initialize_widget_instance (lwlib.c:821)
==1168== by 0x82A8FE0: lw_make_widget (lwlib.c:974)
==1168== by 0x82A9051: lw_create_widget (lwlib.c:989)
==1168== by 0x827D09A: x_widget_instantiate (glyphs-x.c:2468)
==1168== by 0x827D874: x_tab_control_instantiate (glyphs-x.c:2678)
==1168==
==1168== 9 errors in context 2 of 3:
==1168== Source and destination overlap in memcpy(0x1C48B994, 0x1C48B994, 4)
==1168== at 0x1B90671C: memcpy (in /usr/lib/valgrind/vgpreload_memcheck.so)
==1168== by 0x1BC7C37A: (within /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x1BC7D150: _XtGetSubresources (in /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x1BC7D2B9: XtGetSubresources (in /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x1BA7717F: (within /usr/X11R6/lib/libXm.so.3.0.2)
==1168== by 0x1BA76C77: (within /usr/X11R6/lib/libXm.so.3.0.2)
==1168== by 0x1BA67C6D: (within /usr/X11R6/lib/libXm.so.3.0.2)
==1168== by 0x1BC64B77: (within /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x1BC64B41: (within /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x1BC64B41: (within /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x1BC64B41: (within /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x1BC64B41: (within /usr/X11R6/lib/libXt.so.6.0)
==1168==
==1168== 18 errors in context 3 of 3:
==1168== Source and destination overlap in memcpy(0x1C484680, 0x1C484680, 4)
==1168== at 0x1B90671C: memcpy (in /usr/lib/valgrind/vgpreload_memcheck.so)
==1168== by 0x1BC7C37A: (within /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x1BC7D40F: _XtGetResources (in /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x1BC6561A: (within /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x1BC65A79: _XtAppCreateShell (in /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x1BC65C4F: XtAppCreateShell (in /usr/X11R6/lib/libXt.so.6.0)
==1168== by 0x82649F7: x_init_device (device-x.c:802)
==1168== by 0x80C7A74: Fmake_device (device.c:660)
==1168== by 0x80EABCE: Ffuncall (eval.c:3847)
==1168== by 0x809F6CB: execute_optimized_program (bytecode.c:823)
==1168== by 0x80F2418: funcall_compiled_function (eval.c:3457)
==1168== by 0x80EAE62: Ffuncall (eval.c:3886)
--
Marcus