https://bugs.winehq.org/show_bug.cgi?id=36167
Bug ID: 36167 Summary: valgrind shows a leak in mshtml/tests/activex.c Product: Wine Version: 1.7.17 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: mshtml Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==2469== 132 bytes in 1 blocks are definitely lost in loss record 5,572 of 7,067 ==2469== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==2469== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==2469== by 0x661486A: heap_alloc_zero (urlmon_main.h:241) ==2469== by 0x6623917: Uri_Construct (uri.c:5654) ==2469== by 0x6623B2F: CreateUri (uri.c:5727) ==2469== by 0x6612C77: CreateURLMonikerEx (umon.c:651) ==2469== by 0x6612F8F: CreateURLMoniker (umon.c:734) ==2469== by 0x7377856: PersistStreamInit_Load (persist.c:885) ==2469== by 0x4E6DDEE: doc_load_string (ocidl.h:5115) ==2469== by 0x4E6E33D: create_doc (activex.c:2331) ==2469== by 0x4E6EA12: test_flash_ax (activex.c:2418) ==2469== by 0x4E706A4: func_activex (activex.c:2726) ==2469== by 0x4EEF686: run_test (test.h:584) ==2469== by 0x4EEFA75: main (test.h:654) ==2469==
https://bugs.winehq.org/show_bug.cgi?id=36167
--- Comment #1 from Austin English austinenglish@gmail.com --- I also see: ==2638== 96 bytes in 3 blocks are definitely lost in loss record 5,282 of 7,060 ==2638== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==2638== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==2638== by 0x5BC20B4: alloc_bstr (oleaut.c:162) ==2638== by 0x5BC244A: SysAllocStringLen (oleaut.c:324) ==2638== by 0x5BC2161: SysAllocString (oleaut.c:232) ==2638== by 0x5BF54DC: ITypeInfo_fnGetDocumentation (typelib.c:7505) ==2638== by 0x72AE201: add_func_info (oaidl.h:1526) ==2638== by 0x72AE8F9: preprocess_dispex_data (dispex.c:358) ==2638== by 0x72AEDDF: get_dispex_data (dispex.c:463) ==2638== by 0x72AFFC4: get_builtin_id (dispex.c:863) ==2638== by 0x72B1F0E: DispatchEx_GetDispID (dispex.c:1372) ==2638== by 0x110AED9E: disp_get_id (dispex.h:296) ==2638== by 0x110B0B36: interp_memberid (engine.c:927) ==2638== by 0x110B5B1C: enter_bytecode (engine.c:2461) ==2638== by 0x110B5EF7: exec_source (engine.c:2533) ==2638== by 0x110BE305: exec_global_code (jscript.c:113) ==2638== by 0x110C0817: JScriptParse_ParseScriptText (jscript.c:805) ==2638== by 0x7386BAE: parse_text (activscp.h:1290) ==2638== by 0x7386E0A: parse_inline_script (script.c:763) ==2638== by 0x7387044: parse_script_elem (script.c:801)
==2638== 132 bytes in 1 blocks are definitely lost in loss record 5,560 of 7,060 ==2638== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==2638== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==2638== by 0x661486A: heap_alloc_zero (urlmon_main.h:241) ==2638== by 0x6623917: Uri_Construct (uri.c:5654) ==2638== by 0x6623B2F: CreateUri (uri.c:5727) ==2638== by 0x6612C77: CreateURLMonikerEx (umon.c:651) ==2638== by 0x6612F8F: CreateURLMoniker (umon.c:734) ==2638== by 0x7377856: PersistStreamInit_Load (persist.c:885) ==2638== by 0x4E58DEE: doc_load_string (ocidl.h:5115) ==2638== by 0x4E5933D: create_doc (activex.c:2331) ==2638== by 0x4E5A1CD: test_noquickact_ax (activex.c:2485) ==2638== by 0x4E5B6CD: func_activex (activex.c:2728) ==2638== by 0x4EDA686: run_test (test.h:584) ==2638== by 0x4EDAA75: main (test.h:654)
==2638== 12 bytes in 1 blocks are definitely lost in loss record 780 of 7,060 ==2638== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==2638== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==2638== by 0x73516C3: heap_alloc (mshtml_private.h:1044) ==2638== by 0x7358109: nsSupportsWeakReference_GetWeakReference (nsembed.c:1913) ==2638== by 0x6A457F5C: ??? ==2638== by 0x69F7B608: ??? ==2638== by 0x7358295: init_nscontainer (nsiface.h:59093) ==2638== by 0x7358CCD: create_nscontainer (nsembed.c:2065) ==2638== by 0x72D7AC1: HTMLDocument_Create (htmldoc.c:4751) ==2638== by 0x7343658: ClassFactory_CreateInstance (main.c:238) ==2638== by 0x515AD96: CoCreateInstance (unknwn.h:226) ==2638== by 0x4E5B57B: check_ie (activex.c:2694) ==2638== by 0x4E5B5D7: func_activex (activex.c:2707) ==2638== by 0x4EDA686: run_test (test.h:584) ==2638== by 0x4EDAA75: main (test.h:654)
https://bugs.winehq.org/show_bug.cgi?id=36167
--- Comment #2 from Austin English austinenglish@gmail.com --- ==3705== 32 bytes in 1 blocks are definitely lost in loss record 2,673 of 7,070 ==3705== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==3705== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==3705== by 0x5BA20B4: alloc_bstr (oleaut.c:162) ==3705== by 0x5BA244A: SysAllocStringLen (oleaut.c:324) ==3705== by 0x5BA2161: SysAllocString (oleaut.c:232) ==3705== by 0x65FF78C: Uri_GetPropertyBSTR (uri.c:4376) ==3705== by 0x6600BC6: Uri_GetDisplayUri (urlmon.h:6608) ==3705== by 0x7352217: set_current_uri (urlmon.h:6626) ==3705== by 0x735251B: set_current_mon (persist.c:175) ==3705== by 0x732A4EF: channelbsc_load_stream (navigate.c:1987) ==3705== by 0x7354936: PersistStreamInit_Load (persist.c:896) ==3705== by 0x4E54DEE: doc_load_string (ocidl.h:5115) ==3705== by 0x4E5533D: create_doc (activex.c:2331) ==3705== by 0x4E568B1: test_event_binding (activex.c:2535) ==3705== by 0x4E5771F: func_activex (activex.c:2732) ==3705== by 0x4ED6686: run_test (test.h:584) ==3705== by 0x4ED6A75: main (test.h:654) ==3705==
==3705== 64 bytes in 2 blocks are definitely lost in loss record 4,720 of 7,070 ==3705== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==3705== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==3705== by 0x5BA20B4: alloc_bstr (oleaut.c:162) ==3705== by 0x5BA244A: SysAllocStringLen (oleaut.c:324) ==3705== by 0x5BA2161: SysAllocString (oleaut.c:232) ==3705== by 0x735CB85: PropertyBag_Read (propbag.c:167) ==3705== by 0x4E4E3F0: PersistPropertyBag_Load (oaidl.h:6144) ==3705== by 0x7355E34: load_prop_bag (ocidl.h:5470) ==3705== by 0x7356019: load_plugin (pluginhost.c:177) ==3705== by 0x7356536: activate_plugin (pluginhost.c:246) ==3705== by 0x7356C9C: update_plugin_window (pluginhost.c:326) ==3705== by 0x732DE09: NPP_SetWindow (npplugin.c:713) ==3705== by 0x6A57F989: ??? ==3705== by 0x6A60A8BF: ??? ==3705== by 0x69FEBC7A: ??? ==3705== by 0x6A588704: ??? ==3705== by 0x69F4B82C: ??? ==3705== by 0x6A5D569B: ??? ==3705== by 0x6A5D53BE: ??? ==3705== by 0x6A5FA886: ??? ==3705==
==3705== 88 bytes in 1 blocks are definitely lost in loss record 5,192 of 7,070 ==3705== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==3705== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==3705== by 0x78D3949: MSVCRT_malloc (heap.c:329) ==3705== by 0x61E426BF: ??? ==3705== by 0x732E80A: create_nsfile (nsembed.c:93) ==3705== by 0x7330D55: init_xpcom (nsembed.c:692) ==3705== by 0x733120E: load_gecko (nsembed.c:774) ==3705== by 0x7335C2F: create_nscontainer (nsembed.c:2047) ==3705== by 0x72B4AC1: HTMLDocument_Create (htmldoc.c:4751) ==3705== by 0x7320658: ClassFactory_CreateInstance (main.c:238) ==3705== by 0x515AD96: CoCreateInstance (unknwn.h:226) ==3705== by 0x4E5757B: check_ie (activex.c:2694) ==3705== by 0x4E575D7: func_activex (activex.c:2707) ==3705== by 0x4ED6686: run_test (test.h:584) ==3705== by 0x4ED6A75: main (test.h:654) ==3705==
https://bugs.winehq.org/show_bug.cgi?id=36167
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=36167
--- Comment #3 from Austin English austinenglish@gmail.com --- Created attachment 48988 --> https://bugs.winehq.org/attachment.cgi?id=48988 valgrind log with gecko debug symbols
I've attached the valgrind output with gecko debugging symbols for mshtml/activex.c