Status: Accepted
Owner: [email protected]
CC: [email protected]
Labels: Type-Bug Priority-Medium

New issue 3711 by [email protected]: valgrind issue with GC within finally block
https://code.google.com/p/v8/issues/detail?id=3711

"valgrind ~/v8/out/ia32.debug/d8 --trace-gc --expose-gc finally.js" results in:

==18491== Memcheck, a memory error detector
==18491== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==18491== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info ==18491== Command: /usr/local/google/home/svenpanne/v8/out/ia32.debug/d8 --trace-gc --expose-gc finally.js
==18491==
==18491== Conditional jump or move depends on uninitialised value(s)
==18491== at 0x85F26D1: v8::internal::Heap::InNewSpace(v8::internal::Object*) (heap-inl.h:324) ==18491== by 0x8775ED8: v8::internal::ScavengeVisitor::ScavengePointer(v8::internal::Object**) (heap.cc:1258) ==18491== by 0x8775EA7: v8::internal::ScavengeVisitor::VisitPointers(v8::internal::Object**, v8::internal::Object**) (heap.cc:1252) ==18491== by 0x873B57E: v8::internal::StandardFrame::IterateExpressions(v8::internal::ObjectVisitor*) const (frames.cc:1368) ==18491== by 0x873B59A: v8::internal::JavaScriptFrame::Iterate(v8::internal::ObjectVisitor*) const (frames.cc:1373) ==18491== by 0x88653A1: v8::internal::Isolate::Iterate(v8::internal::ObjectVisitor*, v8::internal::ThreadLocalTop*) (isolate.cc:202) ==18491== by 0x886541E: v8::internal::Isolate::Iterate(v8::internal::ObjectVisitor*) (isolate.cc:212) ==18491== by 0x8781B13: v8::internal::Heap::IterateStrongRoots(v8::internal::ObjectVisitor*, v8::internal::VisitMode) (heap.cc:4886) ==18491== by 0x8781928: v8::internal::Heap::IterateRoots(v8::internal::ObjectVisitor*, v8::internal::VisitMode) (heap.cc:4853)
==18491==    by 0x877672D: v8::internal::Heap::Scavenge() (heap.cc:1489)
==18491== by 0x87757C5: v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) (heap.cc:1104) ==18491== by 0x8774C43: v8::internal::Heap::CollectGarbage(v8::internal::GarbageCollector, char const*, char const*, v8::GCCallbackFlags) (heap.cc:843)
==18491==
==18491== Conditional jump or move depends on uninitialised value(s)
==18491== at 0x8775EDE: v8::internal::ScavengeVisitor::ScavengePointer(v8::internal::Object**) (heap.cc:1258) ==18491== by 0x8775EA7: v8::internal::ScavengeVisitor::VisitPointers(v8::internal::Object**, v8::internal::Object**) (heap.cc:1252) ==18491== by 0x873B57E: v8::internal::StandardFrame::IterateExpressions(v8::internal::ObjectVisitor*) const (frames.cc:1368) ==18491== by 0x873B59A: v8::internal::JavaScriptFrame::Iterate(v8::internal::ObjectVisitor*) const (frames.cc:1373) ==18491== by 0x88653A1: v8::internal::Isolate::Iterate(v8::internal::ObjectVisitor*, v8::internal::ThreadLocalTop*) (isolate.cc:202) ==18491== by 0x886541E: v8::internal::Isolate::Iterate(v8::internal::ObjectVisitor*) (isolate.cc:212) ==18491== by 0x8781B13: v8::internal::Heap::IterateStrongRoots(v8::internal::ObjectVisitor*, v8::internal::VisitMode) (heap.cc:4886) ==18491== by 0x8781928: v8::internal::Heap::IterateRoots(v8::internal::ObjectVisitor*, v8::internal::VisitMode) (heap.cc:4853)
==18491==    by 0x877672D: v8::internal::Heap::Scavenge() (heap.cc:1489)
==18491== by 0x87757C5: v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) (heap.cc:1104) ==18491== by 0x8774C43: v8::internal::Heap::CollectGarbage(v8::internal::GarbageCollector, char const*, char const*, v8::GCCallbackFlags) (heap.cc:843) ==18491== by 0x8611075: v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, char const*, v8::GCCallbackFlags) (heap-inl.h:583)
==18491==
[18491] 6285 ms: Scavenge 1.1 (19.1) -> 1.1 (19.1) MB, 3 / 260.8 ms [Isolate::RequestGarbageCollection].
==18491==
==18491== HEAP SUMMARY:
==18491==     in use at exit: 0 bytes in 0 blocks
==18491== total heap usage: 5,769 allocs, 5,769 frees, 2,078,585 bytes allocated
==18491==
==18491== All heap blocks were freed -- no leaks are possible
==18491==
==18491== For counts of detected and suppressed errors, rerun with: -v
==18491== Use --track-origins=yes to see where uninitialised values come from
==18491== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)


Attachments:
        finally.js  56 bytes

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to