http://bugs.winehq.org/show_bug.cgi?id=28823
Bug #: 28823 Summary: riched20/tests/editor.ok: TRACE() of uninitialized value triggered by test_word_movement()? Product: Wine Version: 1.3.30 Platform: x86 OS/Version: Linux Status: NEW Severity: trivial Priority: P2 Component: richedit AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
Valgrind complains:
Conditional jump or move depends on uninitialised value(s) at _itoa_word (_itoa.c:196) by vfprintf (vfprintf.c:1619) by vsprintf (iovsprintf.c:43) by sprintf (sprintf.c:34) by default_dbgstr_wn (debug.c:374) by NTDLL_dbgstr_wn (debugtools.c:107) by wine_dbgstr_wn (debug.c:421) by debugstr_wn (debug.h:257) by ME_WordBreakProc (string.c:183) by ME_CallWordBreakProc (string.c:214) by ME_MoveCursorWords (caret.c:741) by ME_ArrowKey (caret.c:1579) by ME_KeyDown (editor.c:2110) by ME_HandleMessage (editor.c:4028) by RichEditWndProc_common (editor.c:4499) by RichEditWndProcA (editor.c:4524) by ??? (winproc.c:172) by call_window_proc (winproc.c:242) by WINPROC_call_window (winproc.c:908) by call_window_proc (message.c:2211) by send_message (message.c:3084) by SendMessageA (message.c:3286) by send_ctrl_key (editor.c:4665) by test_word_movement (editor.c:5952) Uninitialised value was created by a client request at mark_block_uninitialized (heap.c:208) by initialize_block (heap.c:239) by RtlAllocateHeap (heap.c:1703) by heap_alloc (editor.h:30) by ME_MakeStringB (string.c:39) by ME_MakeStringN (string.c:46) by ME_InsertRunAtCursor (run.c:372) by ME_InternalInsertTextFromCursor (caret.c:467) by ME_InsertTextFromCursor (caret.c:541) by ME_HandleMessage (editor.c:3565) by RichEditWndProc_common (editor.c:4499) by RichEditWndProcA (editor.c:4524) by ??? (winproc.c:172) by call_window_proc (winproc.c:242) by WINPROC_call_window (winproc.c:908) by call_window_proc (message.c:2211) by send_message (message.c:3084) by SendMessageA (message.c:3286) by test_word_movement (editor.c:5947)
https://bugs.winehq.org/show_bug.cgi?id=28823
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
--- Comment #1 from Austin English austinenglish@gmail.com --- Conditional jump or move depends on uninitialised value(s) at default_dbgstr_wn (debug.c:365) by NTDLL_dbgstr_wn (debugtools.c:107) by wine_dbgstr_wn (debug.c:429) by debugstr_wn (debug.h:257) by ME_WordBreakProc (string.c:126) by ME_CallWordBreakProc (string.c:157) by ME_MoveCursorWords (caret.c:763) by ME_ArrowKey (caret.c:1546) by ME_KeyDown (editor.c:2198) by ME_HandleMessage (editor.c:4170) by RichEditWndProc_common (editor.c:4650) by RichEditWndProcA (editor.c:4675) by ??? (winproc.c:173) by call_window_proc (winproc.c:244) by WINPROC_call_window (winproc.c:909) by call_window_proc (message.c:2223) by send_message (message.c:3260) by SendMessageA (message.c:3476) by send_ctrl_key (editor.c:4723) by test_word_movement (editor.c:6064) Uninitialised value was created by a client request at mark_block_uninitialized (heap.c:209) by initialize_block (heap.c:240) by RtlAllocateHeap (heap.c:1717) by heap_alloc (editor.h:30) by ME_MakeStringB (string.c:39) by ME_MakeStringN (string.c:46) by ME_MakeFirstParagraph (para.c:68) by ME_MakeEditor (editor.c:2762) by ME_CreateTextHost (txthost.c:60) by RichEditWndProc_common (editor.c:4566) by RichEditWndProcA (editor.c:4675) by ??? (winproc.c:173) by call_window_proc (winproc.c:244) by WINPROC_call_window (winproc.c:909) by call_window_proc (message.c:2223) by send_message (message.c:3260) by SendMessageA (message.c:3476) by WIN_CreateWindowEx (win.c:1589) by CreateWindowExA (win.c:1719) by new_window (editor.c:52)
and some similar ones, still present.
https://bugs.winehq.org/show_bug.cgi?id=28823
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=28823
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
--- Comment #2 from Jactry Zeng jactry92@gmail.com --- See also 26101.
https://bugs.winehq.org/show_bug.cgi?id=28823
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=28823
--- Comment #3 from Jactry Zeng jactry92@gmail.com --- Fixed: https://source.winehq.org/git/wine.git/commitdiff/063b3bc9dbe359611bbe4bc392...
https://bugs.winehq.org/show_bug.cgi?id=28823
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |063b3bc9dbe359611bbe4bc3924 | |5649a9576ef8e Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com --- Fixed.
https://bugs.winehq.org/show_bug.cgi?id=28823
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.25.