https://bugs.winehq.org/show_bug.cgi?id=36907
Bug ID: 36907 Summary: valgrind shows an unitialized variable in dlls/ieframe/tests/ie.c (nsEventStateManager::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@winehq.org Reporter: austinenglish@gmail.com
==24012== Conditional jump or move depends on uninitialised value(s) ==24012== at 0x103064CA: nsEventStateManager::Release (in /home/austin/.wine/drive_c/windows/system32/gecko/2.24/wine_gecko/xul.dll) ==24012== Uninitialised value was created by a client request ==24012== at 0x7BC4C4D6: mark_block_uninitialized (heap.c:209) ==24012== by 0x7BC4C641: initialize_block (heap.c:240) ==24012== by 0x7BC50F4D: RtlAllocateHeap (heap.c:1717) ==24012== by 0x6FA276B: msvcrt_heap_alloc (heap.c:70) ==24012== by 0x6FA3330: MSVCRT_malloc (heap.c:408) ==24012== by 0x80D71095: moz_xmalloc (mozalloc.cpp:54) ==24012== by 0x109B96F7: NS_InitXPCOM2 (nsxpcominit.cpp:464) ==24012== by 0x6D601B3: init_xpcom (nsembed.c:698) ==24012== by 0x6D60626: load_gecko (nsembed.c:774) ==24012== by 0x6D65013: create_nscontainer (nsembed.c:2042) ==24012== by 0x6CE5477: HTMLDocument_Create (htmldoc.c:4756) ==24012== by 0x6D4F178: ClassFactory_CreateInstance (main.c:238) ==24012== by 0x4EF20A2: CoCreateInstance (unknwn.h:226) ==24012== by 0x4E192B2: create_mime_object (binding.c:258) ==24012== by 0x4E19652: create_object (binding.c:308) ==24012== by 0x4E1C1E8: report_data (binding.c:1077) ==24012== by 0x4E1C531: InternetProtocolSink_ReportData (binding.c:1126) ==24012== by 0x4E218F0: ProtocolSinkHandler_ReportData (urlmon.h:3113) ==24012== by 0x4E22441: report_data_proc (urlmon.h:3113) ==24012== by 0x4E1E10E: process_tasks (bindprot.c:57) ==24012==
https://bugs.winehq.org/show_bug.cgi?id=36907
--- Comment #1 from Austin English austinenglish@gmail.com --- A few more: ==24504== Conditional jump or move depends on uninitialised value(s) ==24504== at 0x103064CA: nsEventStateManager::Release (in /home/austin/.wine/drive_c/windows/system32/gecko/2.24/wine_gecko/xul.dll) ==24504== Uninitialised value was created by a client request ==24504== at 0x7BC4C4D6: mark_block_uninitialized (heap.c:209) ==24504== by 0x7BC4C641: initialize_block (heap.c:240) ==24504== by 0x7BC50F4D: RtlAllocateHeap (heap.c:1717) ==24504== by 0x6F9176B: msvcrt_heap_alloc (heap.c:70) ==24504== by 0x6F92330: MSVCRT_malloc (heap.c:408) ==24504== by 0x80C71095: moz_xmalloc (mozalloc.cpp:54) ==24504== by 0x109B96F7: NS_InitXPCOM2 (nsxpcominit.cpp:464) ==24504== by 0x6D4F1B3: init_xpcom (nsembed.c:698) ==24504== by 0x6D4F626: load_gecko (nsembed.c:774) ==24504== by 0x6D54013: create_nscontainer (nsembed.c:2042) ==24504== by 0x6CD4477: HTMLDocument_Create (htmldoc.c:4756) ==24504== by 0x6D3E178: ClassFactory_CreateInstance (main.c:238) ==24504== by 0x4EE10A2: CoCreateInstance (unknwn.h:226) ==24504== by 0x4E042B2: create_mime_object (binding.c:258) ==24504== by 0x4E04652: create_object (binding.c:308) ==24504== by 0x4E071E8: report_data (binding.c:1077) ==24504== by 0x4E07531: InternetProtocolSink_ReportData (binding.c:1126) ==24504== by 0x4E0C8F0: ProtocolSinkHandler_ReportData (urlmon.h:3113) ==24504== by 0x4E0D441: report_data_proc (urlmon.h:3113) ==24504== by 0x4E0910E: process_tasks (bindprot.c:57) ==24504==
==24504== Conditional jump or move depends on uninitialised value(s) ==24504== at 0x1030650D: nsEventStateManager::Release (in /home/austin/.wine/drive_c/windows/system32/gecko/2.24/wine_gecko/xul.dll) ==24504== by 0x100DB4AF: PrefCallback::PrefCallback (nsprefbranch.h:67) ==24504== by 0x100DC893: nsPrefBranch::AddObserver (nsprefbranch.cpp:641) ==24504== by 0x100D8578: mozilla::Preferences::AddWeakObserver (preferences.cpp:1411) ==24504== by 0x1015B623: nsPresContext::Init (nsprescontext.cpp:1014) ==24504== by 0x1014C61E: nsDocumentViewer::InitInternal (nsdocumentviewer.cpp:865) ==24504== by 0x1014D13C: nsDocumentViewer::Init (nsdocumentviewer.cpp:683) ==24504== by 0x109B3C6C: nsCOMPtr_base::assign_from_qi_with_error (nscomptr.cpp:65) ==24504== by 0x800EEB43: ??? ==24504== Uninitialised value was created by a client request ==24504== at 0x7BC4C4D6: mark_block_uninitialized (heap.c:209) ==24504== by 0x7BC4C641: initialize_block (heap.c:240) ==24504== by 0x7BC50F4D: RtlAllocateHeap (heap.c:1717) ==24504== by 0x6F9176B: msvcrt_heap_alloc (heap.c:70) ==24504== by 0x6F92330: MSVCRT_malloc (heap.c:408) ==24504== by 0x80C71095: moz_xmalloc (mozalloc.cpp:54) ==24504== by 0x109B96F7: NS_InitXPCOM2 (nsxpcominit.cpp:464) ==24504== by 0x6D4F1B3: init_xpcom (nsembed.c:698) ==24504== by 0x6D4F626: load_gecko (nsembed.c:774) ==24504== by 0x6D54013: create_nscontainer (nsembed.c:2042) ==24504== by 0x6CD4477: HTMLDocument_Create (htmldoc.c:4756) ==24504== by 0x6D3E178: ClassFactory_CreateInstance (main.c:238) ==24504== by 0x4EE10A2: CoCreateInstance (unknwn.h:226) ==24504== by 0x4E042B2: create_mime_object (binding.c:258) ==24504== by 0x4E04652: create_object (binding.c:308) ==24504== by 0x4E071E8: report_data (binding.c:1077) ==24504== by 0x4E07531: InternetProtocolSink_ReportData (binding.c:1126) ==24504== by 0x4E0C8F0: ProtocolSinkHandler_ReportData (urlmon.h:3113) ==24504== by 0x4E0D441: report_data_proc (urlmon.h:3113) ==24504== by 0x4E0910E: process_tasks (bindprot.c:57) ==24504==
==24504== Conditional jump or move depends on uninitialised value(s) ==24504== at 0x1030650D: nsEventStateManager::Release (in /home/austin/.wine/drive_c/windows/system32/gecko/2.24/wine_gecko/xul.dll) ==24504== by 0x100DC893: nsPrefBranch::AddObserver (nsprefbranch.cpp:641) ==24504== by 0x100D8578: mozilla::Preferences::AddWeakObserver (preferences.cpp:1411) ==24504== by 0x1015B623: nsPresContext::Init (nsprescontext.cpp:1014) ==24504== by 0x1014C61E: nsDocumentViewer::InitInternal (nsdocumentviewer.cpp:865) ==24504== by 0x1014D13C: nsDocumentViewer::Init (nsdocumentviewer.cpp:683) ==24504== by 0x109B3C6C: nsCOMPtr_base::assign_from_qi_with_error (nscomptr.cpp:65) ==24504== by 0x800EEB43: ??? ==24504== Uninitialised value was created by a client request ==24504== at 0x7BC4C4D6: mark_block_uninitialized (heap.c:209) ==24504== by 0x7BC4C641: initialize_block (heap.c:240) ==24504== by 0x7BC50F4D: RtlAllocateHeap (heap.c:1717) ==24504== by 0x6F9176B: msvcrt_heap_alloc (heap.c:70) ==24504== by 0x6F92330: MSVCRT_malloc (heap.c:408) ==24504== by 0x80C71095: moz_xmalloc (mozalloc.cpp:54) ==24504== by 0x109B96F7: NS_InitXPCOM2 (nsxpcominit.cpp:464) ==24504== by 0x6D4F1B3: init_xpcom (nsembed.c:698) ==24504== by 0x6D4F626: load_gecko (nsembed.c:774) ==24504== by 0x6D54013: create_nscontainer (nsembed.c:2042) ==24504== by 0x6CD4477: HTMLDocument_Create (htmldoc.c:4756) ==24504== by 0x6D3E178: ClassFactory_CreateInstance (main.c:238) ==24504== by 0x4EE10A2: CoCreateInstance (unknwn.h:226) ==24504== by 0x4E042B2: create_mime_object (binding.c:258) ==24504== by 0x4E04652: create_object (binding.c:308) ==24504== by 0x4E071E8: report_data (binding.c:1077) ==24504== by 0x4E07531: InternetProtocolSink_ReportData (binding.c:1126) ==24504== by 0x4E0C8F0: ProtocolSinkHandler_ReportData (urlmon.h:3113) ==24504== by 0x4E0D441: report_data_proc (urlmon.h:3113) ==24504== by 0x4E0910E: process_tasks (bindprot.c:57) ==24504==
==24504== Conditional jump or move depends on uninitialised value(s) ==24504== at 0x1030650D: nsEventStateManager::Release (in /home/austin/.wine/drive_c/windows/system32/gecko/2.24/wine_gecko/xul.dll) ==24504== by 0x100D8578: mozilla::Preferences::AddWeakObserver (preferences.cpp:1411) ==24504== by 0x1015B623: nsPresContext::Init (nsprescontext.cpp:1014) ==24504== by 0x1014C61E: nsDocumentViewer::InitInternal (nsdocumentviewer.cpp:865) ==24504== by 0x1014D13C: nsDocumentViewer::Init (nsdocumentviewer.cpp:683) ==24504== by 0x109B3C6C: nsCOMPtr_base::assign_from_qi_with_error (nscomptr.cpp:65) ==24504== by 0x800EEB43: ??? ==24504== Uninitialised value was created by a client request ==24504== at 0x7BC4C4D6: mark_block_uninitialized (heap.c:209) ==24504== by 0x7BC4C641: initialize_block (heap.c:240) ==24504== by 0x7BC50F4D: RtlAllocateHeap (heap.c:1717) ==24504== by 0x6F9176B: msvcrt_heap_alloc (heap.c:70) ==24504== by 0x6F92330: MSVCRT_malloc (heap.c:408) ==24504== by 0x80C71095: moz_xmalloc (mozalloc.cpp:54) ==24504== by 0x109B96F7: NS_InitXPCOM2 (nsxpcominit.cpp:464) ==24504== by 0x6D4F1B3: init_xpcom (nsembed.c:698) ==24504== by 0x6D4F626: load_gecko (nsembed.c:774) ==24504== by 0x6D54013: create_nscontainer (nsembed.c:2042) ==24504== by 0x6CD4477: HTMLDocument_Create (htmldoc.c:4756) ==24504== by 0x6D3E178: ClassFactory_CreateInstance (main.c:238) ==24504== by 0x4EE10A2: CoCreateInstance (unknwn.h:226) ==24504== by 0x4E042B2: create_mime_object (binding.c:258) ==24504== by 0x4E04652: create_object (binding.c:308) ==24504== by 0x4E071E8: report_data (binding.c:1077) ==24504== by 0x4E07531: InternetProtocolSink_ReportData (binding.c:1126) ==24504== by 0x4E0C8F0: ProtocolSinkHandler_ReportData (urlmon.h:3113) ==24504== by 0x4E0D441: report_data_proc (urlmon.h:3113) ==24504== by 0x4E0910E: process_tasks (bindprot.c:57) ==24504==