https://bugs.winehq.org/show_bug.cgi?id=36219
Bug ID: 36219 Summary: valgrind shows some definite leaks in dlls/jscript/tests/run.c Product: Wine Version: 1.7.17 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: jscript Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
Created attachment 48354 --> https://bugs.winehq.org/attachment.cgi?id=48354 valgrind log
Unfortunately, not getting very good stack traces, even with -O0 and an unstripped gecko build:
==27187== 32 bytes in 1 blocks are definitely lost in loss record 4,576 of 15,293 ==27187== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==27187== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==27187== by 0x69C350F: ??? ==27187== by 0x69C4488: ??? ==27187== by 0x69C7127: ??? ==27187== by 0x69C7912: ??? ==27187== by 0x69C5F2E: ??? ==27187== by 0x69C7D84: ??? ==27187== by 0x69C80C5: ??? ==27187== by 0x69C85F8: ??? ==27187== by 0x69E8695: ??? ==27187== by 0x4E5D234: parse_script (activscp.h:1290) ==27187== by 0x4E5F086: run_from_res (run.c:1814) ==27187== by 0x4E60FA5: run_tests (run.c:2162) ==27187== by 0x4E61EFD: func_run (run.c:2415) ==27187== by 0x4E62D5F: run_test (test.h:584) ==27187== by 0x4E6314E: main (test.h:654) ==27187==
Also some possible leaks ==9457== 16 bytes in 1 blocks are possibly lost in loss record 1,052 of 15,293 ==9457== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==9457== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==9457== by 0x4FE80B4: alloc_bstr (oleaut.c:162) ==9457== by 0x4FE844A: SysAllocStringLen (oleaut.c:324) ==9457== by 0x4FE8161: SysAllocString (oleaut.c:232) ==9457== by 0x69C3E31: ??? ==9457== by 0x69C4139: ??? ==9457== by 0x69C6041: ??? ==9457== by 0x69C6088: ??? ==9457== by 0x69C7957: ??? ==9457== by 0x69C5F2E: ??? ==9457== by 0x69C7D84: ??? ==9457== by 0x69C80C5: ??? ==9457== by 0x69C85F8: ??? ==9457== by 0x69E8695: ??? ==9457== by 0x4E5D234: parse_script (activscp.h:1290) ==9457== by 0x4E5EAA4: parse_script_af (run.c:1692) ==9457== by 0x4E5EB0C: parse_script_a (run.c:1699) ==9457== by 0x4E607D3: run_tests (run.c:2070) ==9457== by 0x4E61EFD: func_run (run.c:2415)
https://bugs.winehq.org/show_bug.cgi?id=36219
--- Comment #1 from Austin English austinenglish@gmail.com --- After some generous suppressions, one I missed earlier: ==10156== 16 bytes in 1 blocks are possibly lost in loss record 1,085 of 15,308 ==10156== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==10156== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==10156== by 0x4FE80B4: alloc_bstr (oleaut.c:162) ==10156== by 0x4FE844A: SysAllocStringLen (oleaut.c:324) ==10156== by 0x69F4ED7: ??? ==10156== by 0x69F9300: ??? ==10156== by 0x69F94A0: ??? ==10156== by 0x69F9508: ??? ==10156== by 0x6A19AB5: ??? ==10156== by 0x4E595B0: invoke_procedure (activscp.h:2047) ==10156== by 0x4E5D3F8: test_parse_proc (run.c:2245) ==10156== by 0x4E5DF53: func_run (run.c:2419) ==10156== by 0x4E5ED5F: run_test (test.h:584) ==10156== by 0x4E5F14E: main (test.h:654) ==10156==
https://bugs.winehq.org/show_bug.cgi?id=36219
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind