https://bugs.winehq.org/show_bug.cgi?id=36902
Bug ID: 36902 Summary: valgrind shows an unitialized variable in dlls/ieframe/tests/ie.c (nsLayoutStatics::Initialize) 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
==1236== Conditional jump or move depends on uninitialised value(s) ==1236== at 0x1040032C: nsFocusManager::Release (in /home/austin/.wine/drive_c/windows/system32/gecko/2.24/wine_gecko/xul.dll) ==1236== by 0x100DC893: nsPrefBranch::AddObserver (nsprefbranch.cpp:641) ==1236== by 0x100D8578: mozilla::Preferences::AddWeakObserver (preferences.cpp:1411) ==1236== by 0x10117D70: nsLayoutStatics::Initialize (nslayoutstatics.cpp:244) ==1236== by 0x109DA397: nsComponentManagerImpl::CreateInstanceByContractID (nscomponentmanager.cpp:1089) ==1236== by 0x109DA807: nsComponentManagerImpl::GetServiceByContractID (nscomponentmanager.cpp:1449) ==1236== by 0x109B458A: CallGetService (nscomponentmanagerutils.cpp:62) ==1236== by 0x109B977E: NS_InitXPCOM2 (nsxpcominit.cpp:489) ==1236== by 0x75E81B3: init_xpcom (nsembed.c:698) ==1236== by 0x75E8626: load_gecko (nsembed.c:774) ==1236== by 0x75ED013: create_nscontainer (nsembed.c:2042) ==1236== by 0x756D477: HTMLDocument_Create (htmldoc.c:4756) ==1236== by 0x75D7178: ClassFactory_CreateInstance (main.c:238) ==1236== by 0x4EEE0A2: CoCreateInstance (unknwn.h:226) ==1236== by 0x4E152B2: create_mime_object (binding.c:258) ==1236== by 0x4E15652: create_object (binding.c:308) ==1236== by 0x4E181E8: report_data (binding.c:1077) ==1236== by 0x4E18531: InternetProtocolSink_ReportData (binding.c:1126) ==1236== by 0x4E1D8F0: ProtocolSinkHandler_ReportData (urlmon.h:3113) ==1236== by 0x4E1E441: report_data_proc (urlmon.h:3113) ==1236== Uninitialised value was created by a client request ==1236== at 0x7BC4C4D6: mark_block_uninitialized (heap.c:209) ==1236== by 0x7BC4C641: initialize_block (heap.c:240) ==1236== by 0x7BC50F4D: RtlAllocateHeap (heap.c:1717) ==1236== by 0x782A76B: msvcrt_heap_alloc (heap.c:70) ==1236== by 0x782B330: MSVCRT_malloc (heap.c:408) ==1236== by 0x80C71095: moz_xmalloc (mozalloc.cpp:54) ==1236== by 0x109B96F7: NS_InitXPCOM2 (nsxpcominit.cpp:464) ==1236== by 0x75E81B3: init_xpcom (nsembed.c:698) ==1236== by 0x75E8626: load_gecko (nsembed.c:774) ==1236== by 0x75ED013: create_nscontainer (nsembed.c:2042) ==1236== by 0x756D477: HTMLDocument_Create (htmldoc.c:4756) ==1236== by 0x75D7178: ClassFactory_CreateInstance (main.c:238) ==1236== by 0x4EEE0A2: CoCreateInstance (unknwn.h:226) ==1236== by 0x4E152B2: create_mime_object (binding.c:258) ==1236== by 0x4E15652: create_object (binding.c:308) ==1236== by 0x4E181E8: report_data (binding.c:1077) ==1236== by 0x4E18531: InternetProtocolSink_ReportData (binding.c:1126) ==1236== by 0x4E1D8F0: ProtocolSinkHandler_ReportData (urlmon.h:3113) ==1236== by 0x4E1E441: report_data_proc (urlmon.h:3113) ==1236== by 0x4E1A10E: process_tasks (bindprot.c:57) ==1236==
I see several variations of this pattern, here's the exact suppression I'm using for this issue: { <insert_a_suppression_name_here> Memcheck:Cond fun:nsFocusManager::Release ... fun:nsLayoutStatics::Initialize fun:nsComponentManagerImpl::CreateInstanceByContractID fun:nsComponentManagerImpl::GetServiceByContractID fun:CallGetService fun:NS_InitXPCOM2 fun:init_xpcom fun:load_gecko fun:create_nscontainer fun:HTMLDocument_Create fun:ClassFactory_CreateInstance fun:CoCreateInstance fun:create_mime_object fun:create_object fun:report_data fun:InternetProtocolSink_ReportData fun:ProtocolSinkHandler_ReportData ... }