Re: Question: bug in user code, valgrind or glibc?

"ISHIKAWA,chiaki" <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
Dear Paul,


On 2022/05/20 16:58, Floyd, Paul wrote:
> Hi Chiaki
>
> Debugging redirection issues isn't normally too slow. Redirection is 
> done when Valgrind loads the guest executable and libraries.
>
> Run Valgrind with --trace-redir=yes and you should see Valgrind 
> printing what it finds in
>
>  * ld.so, the link loader
>  * the client executable
>  * the valgrind tool
>  * the valgrind shared lib preloads (core and tool)
>  * any client shared libraries
>
> libc falls under the last category, though there are a small number of 
> C functions in the link loader (memcpy, strcmp etc).
>
> You should see things like
>
> --830--      ld-linux-x86-64.so.2 strcmp RL-> (2016.0) 0x040343b0
> --830--      libc.so* __strcmp_sse42                 RL-> (2016.0) 
> 0x04034370
> --830--      libc.so* __strcmp_sse2                  RL-> (2016.0) 
> 0x04034330
> --830--      libc.so* __GI_strcmp                    RL-> (2016.0) 
> 0x040342f0
>
> If you don't see any symbols being redirected then you have a problem.
>
>
> A+
>
> Paul


I collected the version number info and have been running TB test suite 
under valgrind since this morning.
That was before I read this e-mail.

I will give the version number below first and see if I can run valgrind 
to obtain the redirection information.
(The thing is the already running valgrind+thunderbird is stretching my 
16GB memory linux image and I am not sure if I can start another 
instance of valgrind+thunderbird, or I need to bite the bullet and 
cancel the current run. I am afraid that the test takes close to a full 
day...)
Anyway, let me first send this version info, and I will check to see if 
I can obtain the redirection info easily.


Obviously, I don't seem to have the redirected symbol for strncpy in the 
trace.  That is for sure.
I do see redirection for malloc.
279:13.66 GECKO(392456) ==392459==    at 0x483F7B5: malloc 
(vg_replace_malloc.c:381)

--- version info ---

Hi,

Before I can figure out how to create a short reproducer, here is the 
version info
I collected.

[] Debian Version
ishikawa@ip030:/NEW-SSD/NREF-COMM-CENTRAL/work-dir$ uname -a
Linux ip030 5.17.0-1-amd64 #1 SMP PREEMPT Debian 5.17.3-1 (2022-04-18) 
x86_64 GNU/Linux

[gcc-10] Used compiler. I just re-compiled the source tree using this 
compiler and still get the same error (trace attached at the end.)

Maybe I should use a newer version, but thunderbird mail client heavily 
relies on mozilla source code, and
newer version may encounter a compiler issues (warning or worse).

ishikawa@ip030:/NEW-SSD/NREF-COMM-CENTRAL/work-dir$ gcc-10 --version
gcc-10 (Debian 10.3.0-15) 10.3.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[glibc-a] As for glibc: I was not sure how to check for the version, but 
here it is.
ldd --version and running libc.so as a program was something I never 
realized we could (!)

ishikawa@ip030:/NEW-SSD/NREF-COMM-CENTRAL/work-dir$ ldd 
/NEW-SSD/moz-obj-dir/objdir-tb3/dist/bin/thunderbird
     linux-vdso.so.1 (0x00007fffa31ae000)
     libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4403b64000)
     /lib64/ld-linux-x86-64.so.2 (0x00007f4403d5d000)

[glibc-b]  ldd --version reports:

ishikawa@ip030:/NEW-SSD/NREF-COMM-CENTRAL/work-dir$ ldd --version
ldd (Debian GLIBC 2.33-7) 2.33
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

[glibc-c] I did not realize that we can "run" GLIBC libc.so file this 
way to obtain glibc
version number.

The above info all points to Debian GLIBC 2.33-7
ishikawa@ip030:/NEW-SSD/NREF-COMM-CENTRAL/work-dir$ 
/lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Debian GLIBC 2.33-7) release release version 2.33.
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 10.3.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.

[] Version of valgrind:

    valgrind --version
    valgrind-3.18.1

(Well, I was quite upset when I initially realized I was using 
valgrind-3.18.0.GIT which I installed last September,
but I then verified that the bug appears with the current release, too.)

[Source code] mozilla comm-central source version version is:
I have added a few local mods but they don't touch the affected
version.

changeset:   35764:90328ce5bee2
tag:         qparent
fxtree:      comm
user:        John Bieling <[email protected]>
date:        Wed May 18 13:13:33 2022 +0300
summary:     Bug 1732554 - Make GenericSendMessage async. r=mkmelin

changeset:   35763:74a4091d1c27

[Source code] mozilla mozilla-central source version is:
Again, I have added several local patches, but I did not touch the
affected part (famous last words).

changeset:   618071:b113470be0ad
tag:         qparent
fxtree:      central
user:        Mozilla Releng Treescript <[email protected]>
date:        Wed May 18 19:04:24 2022 +0000
summary:     no bug - Bumping Firefox l10n changesets r=release 
a=l10n-bump DONTBUILD

Yes thunderbird mail client uses both the browser-derived code (M-C),
and mail-specific code (C-C).

[] The full traceback of the reported problem.

I have been running valgrind+thunderbird  for quite some time since this 
morning.
I obtained the last stack trace from basically the same errors repeated 
during the test suite..

(Wait, I see  "279:13.65 GECKO(392456) ==392459==    by 0x488D2D3: 
dlopen@@GLIBC_2.2.5 (dlopen.c:87)"
Version 2.2.5 is not the same as the version reported for glibc. Hmm? )

279:13.65 GECKO(392456) ==392459== Invalid read of size 8
279:13.65 GECKO(392456) ==392459==    at 0x4021BF4: strncmp (strcmp.S:175)
279:13.65 GECKO(392456) ==392459==    by 0x400655D: is_dst (dl-load.c:214)
279:13.65 GECKO(392456) ==392459==    by 0x400771E: _dl_dst_substitute 
(dl-load.c:293)
279:13.65 GECKO(392456) ==392459==    by 0x40079C7: fillin_rpath.isra.0 
(dl-load.c:465)
279:13.65 GECKO(392456) ==392459==    by 0x4007CC2: decompose_rpath 
(dl-load.c:636)
279:13.65 GECKO(392456) ==392459==    by 0x4009E9D: cache_rpath 
(dl-load.c:678)
279:13.65 GECKO(392456) ==392459==    by 0x4009E9D: cache_rpath 
(dl-load.c:659)
279:13.65 GECKO(392456) ==392459==    by 0x4009E9D: _dl_map_object 
(dl-load.c:2174)
279:13.65 GECKO(392456) ==392459==    by 0x400E4B0: openaux (dl-deps.c:64)
279:13.65 GECKO(392456) ==392459==    by 0x4C0362F: _dl_catch_exception 
(dl-error-skeleton.c:208)
279:13.65 GECKO(392456) ==392459==    by 0x400E838: _dl_map_object_deps 
(dl-deps.c:248)
279:13.65 GECKO(392456) ==392459==    by 0x40140DF: dl_open_worker 
(dl-open.c:584)
279:13.65 GECKO(392456) ==392459==    by 0x4C0362F: _dl_catch_exception 
(dl-error-skeleton.c:208)
279:13.65 GECKO(392456) ==392459==    by 0x4013BF9: _dl_open (dl-open.c:858)
279:13.65 GECKO(392456) ==392459==    by 0x488D247: dlopen_doit 
(dlopen.c:66)
279:13.65 GECKO(392456) ==392459==    by 0x4C0362F: _dl_catch_exception 
(dl-error-skeleton.c:208)
279:13.65 GECKO(392456) ==392459==    by 0x4C036EE: _dl_catch_error 
(dl-error-skeleton.c:227)
279:13.65 GECKO(392456) ==392459==    by 0x488DA58: _dlerror_run 
(dlerror.c:171)
279:13.65 GECKO(392456) ==392459==    by 0x488D2D3: dlopen@@GLIBC_2.2.5 
(dlopen.c:87)
279:13.65 GECKO(392456) ==392459==    by 0x29995389: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.65 GECKO(392456) ==392459==    by 0x29995478: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.65 GECKO(392456) ==392459==    by 0x299744D0: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.65 GECKO(392456) ==392459==    by 0x29975DDE: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.65 GECKO(392456) ==392459==    by 0x2997C347: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.65 GECKO(392456) ==392459==    by 0x29978C20: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.65 GECKO(392456) ==392459==    by 0x9A29B23: fQueryServerString 
(GLXLibrary.h:131)
279:13.65 GECKO(392456) ==392459==    by 0x9A29B23: 
mozilla::gl::GLXLibrary::EnsureInitialized(_XDisplay*) 
(GLContextProviderGLX.cpp:188)
279:13.65 GECKO(392456) ==392459==    by 0x9A29DCC: 
mozilla::gl::GLXLibrary::SupportsVideoSync(_XDisplay*) 
(GLContextProviderGLX.cpp:237)
279:13.65 GECKO(392456) ==392459==    by 0x9D1350C: 
gfxPlatformGtk::CreateGlobalHardwareVsyncSource() (gfxPlatformGtk.cpp:982)
279:13.65 GECKO(392456) ==392459==    by 0x9D02ABF: 
gfxPlatform::GetGlobalHardwareVsyncSource() (gfxPlatform.cpp:2997)
279:13.65 GECKO(392456) ==392459==    by 0x9D100AC: gfxPlatform::Init() 
(gfxPlatform.cpp:937)
279:13.65 GECKO(392456) ==392459==    by 0x9D105AF: 
gfxPlatform::GetPlatform() (gfxPlatform.cpp:466)
279:13.65 GECKO(392456) ==392459==    by 0xD07EF73: 
mozilla::widget::GfxInfoBase::GetContentBackend(nsTSubstring<char16_t>&) 
(GfxInfoBase.cpp:1871)
279:13.65 GECKO(392456) ==392459==    by 0x8BBB4B5: ??? 
(xptcinvoke_asm_x86_64_unix.S:101)
279:13.65 GECKO(392456) ==392459==    by 0x96F0C2C: Invoke 
(XPCWrappedNative.cpp:1626)
279:13.65 GECKO(392456) ==392459==    by 0x96F0C2C: 
CallMethodHelper::Call() (XPCWrappedNative.cpp:1179)
279:13.65 GECKO(392456) ==392459==    by 0x96F1225: 
XPCWrappedNative::CallMethod(XPCCallContext&, 
XPCWrappedNative::CallMode) (XPCWrappedNative.cpp:1125)
279:13.65 GECKO(392456) ==392459==    by 0x970AE31: GetAttribute 
(xpcprivate.h:1470)
279:13.65 GECKO(392456) ==392459==    by 0x970AE31: 
XPC_WN_GetterSetter(JSContext*, unsigned int, JS::Value*) 
(XPCWrappedNativeJSOps.cpp:1003)
279:13.65 GECKO(392456) ==392459==    by 0x1048D4DB: 
CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), 
js::CallReason, JS::CallArgs const&) (Interpreter.cpp:420)
279:13.65 GECKO(392456) ==392459==    by 0x104A0E8C: 
js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, 
js::MaybeConstruct, js::CallReason) (Interpreter.cpp:507)
279:13.65 GECKO(392456) ==392459==    by 0x104A1676: 
InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) 
(Interpreter.cpp:574)
279:13.65 GECKO(392456) ==392459==    by 0x104A188C: 
js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, 
js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) 
(Interpreter.cpp:605)
279:13.65 GECKO(392456) ==392459==    by 0x104A1C96: 
js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, 
JS::MutableHandle<JS::Value>) (Interpreter.cpp:731)
279:13.65 GECKO(392456) ==392459==    by 0xF5FB359: 
CallGetter(JSContext*, JS::Handle<js::NativeObject*>, 
JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, 
js::PropertyInfoBase<unsigned int>, JS::MutableHandle<JS::Value>) 
(NativeObject.cpp:1983)
279:13.65 GECKO(392456) ==392459==    by 0xF5FB674: bool 
GetExistingProperty<(js::AllowGC)1>(JSContext*, 
js::MaybeRooted<JS::Value, (js::AllowGC)1>::HandleType, 
js::MaybeRooted<js::NativeObject*, (js::AllowGC)1>::HandleType, 
js::MaybeRooted<JS::PropertyKey, (js::AllowGC)1>::HandleType, 
js::PropertyInfoBase<unsigned int>, js::MaybeRooted<JS::Value, 
(js::AllowGC)1>::MutableHandleType) (NativeObject.cpp:2011)
279:13.65 GECKO(392456) ==392459==    by 0xF609DB6: bool 
NativeGetPropertyInline<(js::AllowGC)1>(JSContext*, 
js::MaybeRooted<js::NativeObject*, (js::AllowGC)1>::HandleType, 
js::MaybeRooted<JS::Value, (js::AllowGC)1>::HandleType, 
js::MaybeRooted<JS::PropertyKey, (js::AllowGC)1>::HandleType, 
IsNameLookup, js::MaybeRooted<JS::Value, 
(js::AllowGC)1>::MutableHandleType) (NativeObject.cpp:2153)
279:13.65 GECKO(392456) ==392459==    by 0xF60A448: 
js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, 
JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, 
JS::MutableHandle<JS::Value>) (NativeObject.cpp:2184)
279:13.65 GECKO(392456) ==392459==    by 0xF4000DE: 
js::GetProperty(JSContext*, JS::Handle<JSObject*>, 
JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, 
JS::MutableHandle<JS::Value>) (ObjectOperations-inl.h:120)
279:13.65 GECKO(392456) ==392459==    by 0x1048B9BB: 
js::GetObjectElementOperation(JSContext*, JSOp, JS::Handle<JSObject*>, 
JS::Handle<JS::Value>, JS::Handle<JS::Value>, 
JS::MutableHandle<JS::Value>) (Interpreter-inl.h:412)
279:13.66 GECKO(392456) ==392459==    by 0x10490F5E: 
js::GetElementOperationWithStackIndex(JSContext*, JS::Handle<JS::Value>, 
int, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>) 
(Interpreter-inl.h:509)
279:13.66 GECKO(392456) ==392459==    by 0x1049900D: 
Interpret(JSContext*, js::RunState&) (Interpreter.cpp:3119)
279:13.66 GECKO(392456) ==392459==    by 0x104A064B: 
js::RunScript(JSContext*, js::RunState&) (Interpreter.cpp:389)
279:13.66 GECKO(392456) ==392459==    by 0x104A1385: 
js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, 
js::MaybeConstruct, js::CallReason) (Interpreter.cpp:539)
279:13.66 GECKO(392456) ==392459==    by 0x104A1676: 
InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) 
(Interpreter.cpp:574)
279:13.66 GECKO(392456) ==392459==  Address 0x29f24919 is 9 bytes inside 
a block of size 15 alloc'd
279:13.66 GECKO(392456) ==392459==    at 0x483F7B5: malloc 
(vg_replace_malloc.c:381)
279:13.66 GECKO(392456) ==392459==    by 0x402074B: malloc 
(rtld-malloc.h:56)
279:13.66 GECKO(392456) ==392459==    by 0x402074B: strdup (strdup.c:42)
279:13.66 GECKO(392456) ==392459==    by 0x4007C54: decompose_rpath 
(dl-load.c:611)
279:13.66 GECKO(392456) ==392459==    by 0x4009E9D: cache_rpath 
(dl-load.c:678)
279:13.66 GECKO(392456) ==392459==    by 0x4009E9D: cache_rpath 
(dl-load.c:659)
279:13.66 GECKO(392456) ==392459==    by 0x4009E9D: _dl_map_object 
(dl-load.c:2174)
279:13.66 GECKO(392456) ==392459==    by 0x400E4B0: openaux (dl-deps.c:64)
279:13.66 GECKO(392456) ==392459==    by 0x4C0362F: _dl_catch_exception 
(dl-error-skeleton.c:208)
279:13.66 GECKO(392456) ==392459==    by 0x400E838: _dl_map_object_deps 
(dl-deps.c:248)
279:13.66 GECKO(392456) ==392459==    by 0x40140DF: dl_open_worker 
(dl-open.c:584)
279:13.66 GECKO(392456) ==392459==    by 0x4C0362F: _dl_catch_exception 
(dl-error-skeleton.c:208)
279:13.66 GECKO(392456) ==392459==    by 0x4013BF9: _dl_open (dl-open.c:858)
279:13.66 GECKO(392456) ==392459==    by 0x488D247: dlopen_doit 
(dlopen.c:66)
279:13.66 GECKO(392456) ==392459==    by 0x4C0362F: _dl_catch_exception 
(dl-error-skeleton.c:208)
279:13.66 GECKO(392456) ==392459==    by 0x4C036EE: _dl_catch_error 
(dl-error-skeleton.c:227)
279:13.66 GECKO(392456) ==392459==    by 0x488DA58: _dlerror_run 
(dlerror.c:171)
279:13.66 GECKO(392456) ==392459==    by 0x488D2D3: dlopen@@GLIBC_2.2.5 
(dlopen.c:87)
279:13.66 GECKO(392456) ==392459==    by 0x29995389: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.66 GECKO(392456) ==392459==    by 0x29995478: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.66 GECKO(392456) ==392459==    by 0x299744D0: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.66 GECKO(392456) ==392459==    by 0x29975DDE: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.66 GECKO(392456) ==392459==    by 0x2997C347: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.66 GECKO(392456) ==392459==    by 0x29978C20: ??? (in 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
279:13.66 GECKO(392456) ==392459==    by 0x9A29B23: fQueryServerString 
(GLXLibrary.h:131)
279:13.66 GECKO(392456) ==392459==    by 0x9A29B23: 
mozilla::gl::GLXLibrary::EnsureInitialized(_XDisplay*) 
(GLContextProviderGLX.cpp:188)
279:13.66 GECKO(392456) ==392459==    by 0x9A29DCC: 
mozilla::gl::GLXLibrary::SupportsVideoSync(_XDisplay*) 
(GLContextProviderGLX.cpp:237)
279:13.66 GECKO(392456) ==392459==    by 0x9D1350C: 
gfxPlatformGtk::CreateGlobalHardwareVsyncSource() (gfxPlatformGtk.cpp:982)
279:13.66 GECKO(392456) ==392459==    by 0x9D02ABF: 
gfxPlatform::GetGlobalHardwareVsyncSource() (gfxPlatform.cpp:2997)
279:13.66 GECKO(392456) ==392459==    by 0x9D100AC: gfxPlatform::Init() 
(gfxPlatform.cpp:937)
279:13.66 GECKO(392456) ==392459==    by 0x9D105AF: 
gfxPlatform::GetPlatform() (gfxPlatform.cpp:466)
279:13.66 GECKO(392456) ==392459==    by 0xD07EF73: 
mozilla::widget::GfxInfoBase::GetContentBackend(nsTSubstring<char16_t>&) 
(GfxInfoBase.cpp:1871)
279:13.66 GECKO(392456) ==392459==    by 0x8BBB4B5: ??? 
(xptcinvoke_asm_x86_64_unix.S:101)
279:13.66 GECKO(392456) ==392459==    by 0x96F0C2C: Invoke 
(XPCWrappedNative.cpp:1626)
279:13.66 GECKO(392456) ==392459==    by 0x96F0C2C: 
CallMethodHelper::Call() (XPCWrappedNative.cpp:1179)
279:13.66 GECKO(392456) ==392459==    by 0x96F1225: 
XPCWrappedNative::CallMethod(XPCCallContext&, 
XPCWrappedNative::CallMode) (XPCWrappedNative.cpp:1125)
279:13.66 GECKO(392456) ==392459==    by 0x970AE31: GetAttribute 
(xpcprivate.h:1470)
279:13.66 GECKO(392456) ==392459==    by 0x970AE31: 
XPC_WN_GetterSetter(JSContext*, unsigned int, JS::Value*) 
(XPCWrappedNativeJSOps.cpp:1003)
279:13.66 GECKO(392456) ==392459==    by 0x1048D4DB: 
CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), 
js::CallReason, JS::CallArgs const&) (Interpreter.cpp:420)
279:13.66 GECKO(392456) ==392459==    by 0x104A0E8C: 
js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, 
js::MaybeConstruct, js::CallReason) (Interpreter.cpp:507)
279:13.66 GECKO(392456) ==392459==    by 0x104A1676: 
InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) 
(Interpreter.cpp:574)
279:13.66 GECKO(392456) ==392459==    by 0x104A188C: 
js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, 
js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) 
(Interpreter.cpp:605)
279:13.66 GECKO(392456) ==392459==    by 0x104A1C96: 
js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, 
JS::MutableHandle<JS::Value>) (Interpreter.cpp:731)
279:13.66 GECKO(392456) ==392459==    by 0xF5FB359: 
CallGetter(JSContext*, JS::Handle<js::NativeObject*>, 
JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, 
js::PropertyInfoBase<unsigned int>, JS::MutableHandle<JS::Value>) 
(NativeObject.cpp:1983)
279:13.66 GECKO(392456) ==392459==    by 0xF5FB674: bool 
GetExistingProperty<(js::AllowGC)1>(JSContext*, 
js::MaybeRooted<JS::Value, (js::AllowGC)1>::HandleType, 
js::MaybeRooted<js::NativeObject*, (js::AllowGC)1>::HandleType, 
js::MaybeRooted<JS::PropertyKey, (js::AllowGC)1>::HandleType, 
js::PropertyInfoBase<unsigned int>, js::MaybeRooted<JS::Value, 
(js::AllowGC)1>::MutableHandleType) (NativeObject.cpp:2011)
279:13.66 GECKO(392456) ==392459==    by 0xF609DB6: bool 
NativeGetPropertyInline<(js::AllowGC)1>(JSContext*, 
js::MaybeRooted<js::NativeObject*, (js::AllowGC)1>::HandleType, 
js::MaybeRooted<JS::Value, (js::AllowGC)1>::HandleType, 
js::MaybeRooted<JS::PropertyKey, (js::AllowGC)1>::HandleType, 
IsNameLookup, js::MaybeRooted<JS::Value, 
(js::AllowGC)1>::MutableHandleType) (NativeObject.cpp:2153)
279:13.67 GECKO(392456) ==392459==    by 0xF60A448: 
js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, 
JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, 
JS::MutableHandle<JS::Value>) (NativeObject.cpp:2184)
279:13.67 GECKO(392456) ==392459==    by 0xF4000DE: 
js::GetProperty(JSContext*, JS::Handle<JSObject*>, 
JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, 
JS::MutableHandle<JS::Value>) (ObjectOperations-inl.h:120)
279:13.67 GECKO(392456) ==392459==    by 0x1048B9BB: 
js::GetObjectElementOperation(JSContext*, JSOp, JS::Handle<JSObject*>, 
JS::Handle<JS::Value>, JS::Handle<JS::Value>, 
JS::MutableHandle<JS::Value>) (Interpreter-inl.h:412)
279:13.67 GECKO(392456) ==392459==    by 0x10490F5E: 
js::GetElementOperationWithStackIndex(JSContext*, JS::Handle<JS::Value>, 
int, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>) 
(Interpreter-inl.h:509)
279:13.67 GECKO(392456) ==392459==    by 0x1049900D: 
Interpret(JSContext*, js::RunState&) (Interpreter.cpp:3119)
279:13.67 GECKO(392456) ==392459==    by 0x104A064B: 
js::RunScript(JSContext*, js::RunState&) (Interpreter.cpp:389)
279:13.67 GECKO(392456) ==392459==    by 0x104A1385: 
js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, 
js::MaybeConstruct, js::CallReason) (Interpreter.cpp:539)
279:13.67 GECKO(392456) ==392459==    by 0x104A1676: 
InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) 
(Interpreter.cpp:574)
279:13.67 GECKO(392456) ==392459==    by 0x104A188C: 
js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, 
js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) 
(Interpreter.cpp:605)
279:13.67 GECKO(392456) ==392459==    by 0xF497661: 
JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, 
JS::Handle<JS::Value>, JS::HandleValueArray const&, 
JS::MutableHandle<JS::Value>) (CallAndConstruct.cpp:53)


[end of memo]




_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.