[Bug 36905] New: valgrind shows a few unitialized variables in dlls/ieframe/tests/ie.c (nsGlobalWindow::Release)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 15 21:13:30 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=36905

            Bug ID: 36905
           Summary: valgrind shows a few unitialized variables in
                    dlls/ieframe/tests/ie.c (nsGlobalWindow::Release)
           Product: Wine
           Version: 1.7.22
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: ieframe
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com

This one shows up a few times in different ways, not sure if they're the same
or not. I'm listing all nsGlobalWindow::Release issues in dlls/ieframe/ie.c
here, if it turns out to be multiple issues, we can split it.

First, I see:
==23512== Conditional jump or move depends on uninitialised value(s)
==23512==    at 0x10403D2B: nsGlobalWindow::Release (in
/home/austin/.wine/drive_c/windows/system32/gecko/2.24/wine_gecko/xul.dll)
==23512==  Uninitialised value was created by a client request
==23512==    at 0x7BC4C4D6: mark_block_uninitialized (heap.c:209)
==23512==    by 0x7BC4C641: initialize_block (heap.c:240)
==23512==    by 0x7BC50F4D: RtlAllocateHeap (heap.c:1717)
==23512==    by 0x781A76B: msvcrt_heap_alloc (heap.c:70)
==23512==    by 0x781B330: MSVCRT_malloc (heap.c:408)
==23512==    by 0x80C71095: moz_xmalloc (mozalloc.cpp:54)
==23512==    by 0x109B96F7: NS_InitXPCOM2 (nsxpcominit.cpp:464)
==23512==    by 0x75D81B3: init_xpcom (nsembed.c:698)
==23512==    by 0x75D8626: load_gecko (nsembed.c:774)
==23512==    by 0x75DD013: create_nscontainer (nsembed.c:2042)
==23512==    by 0x755D477: HTMLDocument_Create (htmldoc.c:4756)
==23512==    by 0x75C7178: ClassFactory_CreateInstance (main.c:238)
==23512==    by 0x4EE10A2: CoCreateInstance (unknwn.h:226)
==23512==    by 0x4E042B2: create_mime_object (binding.c:258)
==23512==    by 0x4E04652: create_object (binding.c:308)
==23512==    by 0x4E071E8: report_data (binding.c:1077)
==23512==    by 0x4E07531: InternetProtocolSink_ReportData (binding.c:1126)
==23512==    by 0x4E0C8F0: ProtocolSinkHandler_ReportData (urlmon.h:3113)
==23512==    by 0x4E0D441: report_data_proc (urlmon.h:3113)
==23512==    by 0x4E0910E: process_tasks (bindprot.c:57)
==23512== 

which doesn't help much. I also get:
==23512== Conditional jump or move depends on uninitialised value(s)
==23512==    at 0x10403D74: nsGlobalWindow::Release (in
/home/austin/.wine/drive_c/windows/system32/gecko/2.24/wine_gecko/xul.dll)
==23512==    by 0x10666AEF: nsWebBrowser::Create (nswebbrowser.cpp:1206)
==23512==    by 0x75DCC14: init_nscontainer (nsiface.h:61338)
==23512==    by 0x75DD0B1: create_nscontainer (nsembed.c:2060)
==23512==    by 0x755D477: HTMLDocument_Create (htmldoc.c:4756)
==23512==    by 0x75C7178: ClassFactory_CreateInstance (main.c:238)
==23512==    by 0x4EE10A2: CoCreateInstance (unknwn.h:226)
==23512==    by 0x4E042B2: create_mime_object (binding.c:258)
==23512==    by 0x4E04652: create_object (binding.c:308)
==23512==    by 0x4E071E8: report_data (binding.c:1077)
==23512==    by 0x4E07531: InternetProtocolSink_ReportData (binding.c:1126)
==23512==    by 0x4E0C8F0: ProtocolSinkHandler_ReportData (urlmon.h:3113)
==23512==    by 0x4E0D441: report_data_proc (urlmon.h:3113)
==23512==    by 0x4E0910E: process_tasks (bindprot.c:57)
==23512==    by 0x4E0915C: notif_wnd_proc (bindprot.c:68)
==23512==    by 0x53636FD: ??? (winproc.c:173)
==23512==    by 0x5363872: call_window_proc (winproc.c:244)
==23512==    by 0x5365A0B: WINPROC_call_window (winproc.c:900)
==23512==    by 0x5326C44: DispatchMessageW (message.c:4022)
==23512==    by 0x4D8FF36: IEWinMain (iexplore.c:1061)
==23512==  Uninitialised value was created by a client request
==23512==    at 0x7BC4C4D6: mark_block_uninitialized (heap.c:209)
==23512==    by 0x7BC4C641: initialize_block (heap.c:240)
==23512==    by 0x7BC50F4D: RtlAllocateHeap (heap.c:1717)
==23512==    by 0x781A76B: msvcrt_heap_alloc (heap.c:70)
==23512==    by 0x781B330: MSVCRT_malloc (heap.c:408)
==23512==    by 0x80C71095: moz_xmalloc (mozalloc.cpp:54)
==23512==    by 0x109B96F7: NS_InitXPCOM2 (nsxpcominit.cpp:464)
==23512==    by 0x75D81B3: init_xpcom (nsembed.c:698)
==23512==    by 0x75D8626: load_gecko (nsembed.c:774)
==23512==    by 0x75DD013: create_nscontainer (nsembed.c:2042)
==23512==    by 0x755D477: HTMLDocument_Create (htmldoc.c:4756)
==23512==    by 0x75C7178: ClassFactory_CreateInstance (main.c:238)
==23512==    by 0x4EE10A2: CoCreateInstance (unknwn.h:226)
==23512==    by 0x4E042B2: create_mime_object (binding.c:258)
==23512==    by 0x4E04652: create_object (binding.c:308)
==23512==    by 0x4E071E8: report_data (binding.c:1077)
==23512==    by 0x4E07531: InternetProtocolSink_ReportData (binding.c:1126)
==23512==    by 0x4E0C8F0: ProtocolSinkHandler_ReportData (urlmon.h:3113)
==23512==    by 0x4E0D441: report_data_proc (urlmon.h:3113)
==23512==    by 0x4E0910E: process_tasks (bindprot.c:57)
==23512==

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list