Closed Bug 1127829 Opened 9 years ago Closed 9 years ago

Intermittent browser_metadataTimeout.js | application crashed [@ PLDHashTable::Search(void const*)] | Assertion failure: this->mRecursionLevel > 0, at /builds/slave/b2g-in-osx64-d-000000000000000/build/src/xpcom/glue/pldhash.cpp:558

Categories

(Core :: Graphics: ImageLib, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: cbook, Unassigned)

References

()

Details

(Keywords: assertion, crash, Whiteboard: [gfx-noted])

Rev4 MacOSX Snow Leopard 10.6 b2g-inbound debug test mochitest-browser-chrome-3

https://treeherder.mozilla.org/logviewer.html#?job_id=1259320&repo=b2g-inbound

04:15:40 WARNING - PROCESS-CRASH | toolkit/mozapps/extensions/test/browser/browser_metadataTimeout.js | application crashed [@ PLDHashTable::Search(void const*)]
04:15:40 INFO - Crash dump filename: /var/folders/ZM/ZMD23mmYG3C09jizBlR3k++++-k/-Tmp-/tmpegMJ_O.mozrunner/minidumps/E88CF677-F280-44CE-8FDA-91F182FF0C88.dmp
04:15:40 INFO - Operating system: Mac OS X
04:15:40 INFO - 10.6.8 10K549
04:15:40 INFO - CPU: amd64
04:15:40 INFO - family 6 model 23 stepping 10
04:15:40 INFO - 2 CPUs
04:15:40 INFO - Crash reason: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
04:15:40 INFO - Crash address: 0x0
04:15:40 INFO - Thread 36 (crashed)
04:15:40 INFO - 0 XUL!PLDHashTable::Search(void const*) [pldhash.cpp:e0a2fe7ccbed : 558 + 0x0]
04:15:40 INFO - rbx = 0x00007fff708282f8 r12 = 0x0000000000000001
04:15:40 INFO - r13 = 0x0000000124a3e6d0 r14 = 0x000000012ad7b710
04:15:40 INFO - r15 = 0x000000012ad7b710 rip = 0x0000000101d2aa7c
04:15:40 INFO - rsp = 0x00000001281b3890 rbp = 0x00000001281b38a0
04:15:40 INFO - Found by: given as instruction pointer in context
04:15:40 INFO - 1 XUL!mozilla::image::SurfaceCacheImpl::GetImageCache(mozilla::image::Image*) [nsTHashtable.h:e0a2fe7ccbed : 134 + 0xa]
04:15:40 INFO - rbx = 0x0000000124a3e6f0 r12 = 0x0000000000000001
04:15:40 INFO - r13 = 0x0000000124a3e6d0 r14 = 0x00000001281b3908
04:15:40 INFO - r15 = 0x000000012ad7b710 rip = 0x00000001029043e3
04:15:40 INFO - rsp = 0x00000001281b38b0 rbp = 0x00000001281b38d0
04:15:40 INFO - Found by: call frame info
04:15:40 INFO - 2 XUL!mozilla::image::SurfaceCacheImpl::Insert(mozilla::image::imgFrame*, unsigned long, mozilla::image::Image*, mozilla::image::SurfaceKey const&, mozilla::image::Lifetime) [SurfaceCache.cpp:e0a2fe7ccbed : 419 + 0xb]
04:15:40 INFO - rbx = 0x0000000000000000 r12 = 0x0000000000000001
04:15:40 INFO - r13 = 0x0000000124a3e6d0 r14 = 0x00000001281b3a01
04:15:40 INFO - r15 = 0x0000000000000440 rip = 0x00000001029022eb
04:15:40 INFO - rsp = 0x00000001281b38e0 rbp = 0x00000001281b3960
04:15:40 INFO - Found by: call frame info
04:15:40 INFO - 3 XUL!mozilla::image::SurfaceCache::Insert(mozilla::image::imgFrame*, mozilla::image::Image*, mozilla::image::SurfaceKey const&, mozilla::image::Lifetime) [SurfaceCache.cpp:e0a2fe7ccbed : 974 + 0x11]
04:15:40 INFO - rbx = 0x0000000124a3e760 r12 = 0x0000000000000001
04:15:40 INFO - r13 = 0x000000011e07d7c0 r14 = 0x00000001281b3a00
04:15:40 INFO - r15 = 0x000000012ad7b710 rip = 0x00000001028f89f6
04:15:40 INFO - rsp = 0x00000001281b3970 rbp = 0x00000001281b39a0
04:15:40 INFO - Found by: call frame info
04:15:40 INFO - 4 XUL!mozilla::image::Decoder::InternalAddFrame(unsigned int, nsIntSize const&, nsIntRect const&, unsigned int, mozilla::gfx::SurfaceFormat, unsigned char, mozilla::image::imgFrame*) [Decoder.cpp:e0a2fe7ccbed : 490 + 0xf]
04:15:40 INFO - rbx = 0x0000000000000007 r12 = 0x000000011e07d7c0
04:15:40 INFO - r13 = 0x00000001281b3b48 r14 = 0x000000012ad7b710
04:15:40 INFO - r15 = 0x000000011e06c310 rip = 0x00000001028e8073
04:15:40 INFO - rsp = 0x00000001281b39b0 rbp = 0x00000001281b3aa0
04:15:40 INFO - Found by: call frame info
04:15:40 INFO - 5 XUL!mozilla::image::Decoder::EnsureFrame(unsigned int, nsIntSize const&, nsIntRect const&, unsigned int, mozilla::gfx::SurfaceFormat, unsigned char, mozilla::image::imgFrame*) [Decoder.cpp:e0a2fe7ccbed : 406 + 0x24]
04:15:40 INFO - rbx = 0x00000001281b3b48 r12 = 0x000000011e06c3fc
04:15:40 INFO - r13 = 0x000000011e06c310 r14 = 0x000000011d82c120
04:15:40 INFO - r15 = 0x00000001281b3b00 rip = 0x00000001028e7b03
04:15:40 INFO - rsp = 0x00000001281b3ab0 rbp = 0x00000001281b3b20
04:15:40 INFO - Found by: call frame info
04:15:40 INFO - 6 XUL!mozilla::image::Decoder::AllocateFrame(nsIntSize const&) [Decoder.cpp:e0a2fe7ccbed : 359 + 0xa]
04:15:40 INFO - rbx = 0x000000011e06c310 r12 = 0x000000011e06c3eb
04:15:40 INFO - r13 = 0x0000000124bee7e8 r14 = 0x00000001281b3b90 


04:15:14 INFO - Assertion failure: this->mRecursionLevel > 0, at /builds/slave/b2g-in-osx64-d-000000000000000/build/src/xpcom/glue/pldhash.cpp:558
04:15:14 INFO - #01: mozilla::image::SurfaceCacheImpl::Insert(mozilla::image::imgFrame*, unsigned long, mozilla::image::Image*, mozilla::image::SurfaceKey const&, mozilla::image::Lifetime) [mfbt/AlreadyAddRefed.h:109]
04:15:14 INFO - #02: mozilla::image::SurfaceCache::Insert(mozilla::image::imgFrame*, mozilla::image::Image*, mozilla::image::SurfaceKey const&, mozilla::image::Lifetime) [image/src/SurfaceCache.cpp:974]
04:15:14 INFO - #03: mozilla::image::Decoder::InternalAddFrame(unsigned int, nsIntSize const&, nsIntRect const&, unsigned int, mozilla::gfx::SurfaceFormat, unsigned char, mozilla::image::imgFrame*) [image/src/Decoder.cpp:490]
04:15:14 INFO - #04: mozilla::image::Decoder::EnsureFrame(unsigned int, nsIntSize const&, nsIntRect const&, unsigned int, mozilla::gfx::SurfaceFormat, unsigned char, mozilla::image::imgFrame*) [image/src/Decoder.cpp:406]
04:15:14 INFO - #05: mozilla::image::Decoder::AllocateFrame(nsIntSize const&) [image/src/Decoder.cpp:353]
04:15:14 INFO - #06: mozilla::image::Decoder::Write(char const*, unsigned int) [image/src/Decoder.cpp:232]
04:15:14 INFO - #07: mozilla::image::Decoder::Decode() [image/src/Decoder.h:229]
04:15:14 INFO - #08: mozilla::image::DecodePool::Decode(mozilla::image::Decoder*) [image/src/DecodePool.cpp:330]
04:15:14 INFO - #09: mozilla::image::DecodeWorker::Run() [image/src/DecodePool.cpp:121]
04:15:14 INFO - #10: nsThreadPool::Run() [xpcom/glue/nsCOMPtr.h:389]
04:15:14 INFO - #11: _ZThn8_N12nsThreadPool3RunEv [obj-firefox/xpcom/threads/Unified_cpp_xpcom_threads0.cpp:239]
04:15:14 INFO - #12: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:855]
04:15:14 INFO - #13: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/glue/nsThreadUtils.cpp:265]
04:15:14 INFO - #14: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:339]
04:15:14 INFO - #15: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:234]
04:15:14 INFO - #16: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:508]
04:15:14 INFO - #17: nsThread::ThreadFunc(void*) [xpcom/threads/nsThread.cpp:358]
04:15:16 INFO - #18: _pt_root [nsprpub/pr/src/pthreads/ptthread.c:215]
This stack is in ImageLib code, not JS.
Component: JavaScript Engine → ImageLib
Flags: needinfo?(seth)
Alright fixed by bug 1126739, I'm pretty sure. Resolving.
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 1126739
Flags: needinfo?(seth)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.