Intermittent PID 10531 | SUMMARY: AddressSanitizer: heap-use-after-free /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:838:7 in memcmp
Categories
(Core :: Networking: HTTP, defect, P2)
Tracking
()
People
(Reporter: intermittent-bug-filer, Assigned: kershaw)
Details
(4 keywords, Whiteboard: [necko-triaged])
Filed by: rgurzau [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=243576137&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/Y4zhw6BoRBygdasaNrmR5A/runs/0/artifacts/public/logs/live_backing.log
Happened during test_altsvc.js
[task 2019-04-30T10:42:28.177Z] 10:42:28 INFO - TEST-PASS | netwerk/test/unit/test_altsvc.js | testOnStopRequest - [testOnStopRequest : 160] true == true
[task 2019-04-30T10:42:28.179Z] 10:42:28 INFO - TEST-PASS | netwerk/test/unit/test_altsvc.js | testOnStopRequest - [testOnStopRequest : 173] "foo.example.com:44974" == "foo.example.com:44974"
[task 2019-04-30T10:42:28.180Z] 10:42:28 INFO - PID 10531 | doTest3()
[task 2019-04-30T10:42:28.180Z] 10:42:28 INFO - (xpcshell/head.js) | test pending (2)
[task 2019-04-30T10:42:28.181Z] 10:42:28 INFO - PID 10531 | execute doTest http://foo.example.com:37082/
[task 2019-04-30T10:42:28.182Z] 10:42:28 INFO - PID 10531 | =================================================================
[task 2019-04-30T10:42:28.183Z] 10:42:28 ERROR - PID 10531 | ==10531==ERROR: AddressSanitizer: heap-use-after-free on address 0x6060000f17c8 at pc 0x55a1685e3b19 bp 0x7fed4e3fb620 sp 0x7fed4e3fada8
[task 2019-04-30T10:42:28.184Z] 10:42:28 INFO - PID 10531 | READ of size 49 at 0x6060000f17c8 thread T7 (Socket Thread)
[task 2019-04-30T10:42:28.185Z] 10:42:28 INFO - (xpcshell/head.js) | test finished (2)
[task 2019-04-30T10:42:28.186Z] 10:42:28 INFO - PID 10531 | #0 0x55a1685e3b18 in memcmp /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:838:7
[task 2019-04-30T10:42:28.187Z] 10:42:28 INFO - PID 10531 | #1 0x7fed61ac25d0 in compare /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCharTraits.h:315:12
[task 2019-04-30T10:42:28.188Z] 10:42:28 INFO - PID 10531 | #2 0x7fed61ac25d0 in mozilla::detail::nsTStringRepr<char>::Equals(mozilla::detail::nsTStringRepr<char> const&) const /builds/worker/workspace/build/src/xpcom/string/nsTSubstring.cpp:994
[task 2019-04-30T10:42:28.189Z] 10:42:28 INFO - PID 10531 | #3 0x7fed61b991d4 in SearchTable<PLDHashTable::ForSearchOrRemove, (lambda at /builds/worker/workspace/build/src/xpcom/ds/PLDHashTable.cpp:512:7), (lambda at /builds/worker/workspace/build/src/xpcom/ds/PLDHashTable.cpp:513:7)> /builds/worker/workspace/build/src/xpcom/ds/PLDHashTable.cpp:351:9
[task 2019-04-30T10:42:28.190Z] 10:42:28 INFO - PID 10531 | #4 0x7fed61b991d4 in PLDHashTable::Search(void const*) const /builds/worker/workspace/build/src/xpcom/ds/PLDHashTable.cpp:510
[task 2019-04-30T10:42:28.191Z] 10:42:28 INFO - PID 10531 | #5 0x7fed629c25fe in GetEntry /builds/worker/workspace/build/src/obj-firefox/dist/include/nsTHashtable.h:135:16
[task 2019-04-30T10:42:28.192Z] 10:42:28 INFO - PID 10531 | #6 0x7fed629c25fe in GetWeak /builds/worker/workspace/build/src/obj-firefox/dist/include/nsRefPtrHashtable.h:131
[task 2019-04-30T10:42:28.193Z] 10:42:28 INFO - PID 10531 | #7 0x7fed629c25fe in ResetIPFamilyPreference /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpConnectionMgr.cpp:5242
[task 2019-04-30T10:42:28.194Z] 10:42:28 INFO - PID 10531 | #8 0x7fed629c25fe in mozilla::net::nsHttpConnectionMgr::OnMsgDoShiftReloadConnectionCleanup(int, mozilla::net::ARefBase*) /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpConnectionMgr.cpp:2761
[task 2019-04-30T10:42:28.196Z] 10:42:28 INFO - PID 10531 | #9 0x7fed62a23fd2 in operator()<int &, RefPtr<mozilla::net::ARefBase> &> /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RefPtr.h:312:14
[task 2019-04-30T10:42:28.197Z] 10:42:28 INFO - PID 10531 | #10 0x7fed62a23fd2 in mozilla::net::ConnEvent::Run() /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpConnectionMgr.cpp:257
[task 2019-04-30T10:42:28.198Z] 10:42:28 INFO - PID 10531 | #11 0x7fed61d05b91 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:1180:14
[task 2019-04-30T10:42:28.199Z] 10:42:28 INFO - PID 10531 | #12 0x7fed61d0bca8 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:486:10
[task 2019-04-30T10:42:28.200Z] 10:42:28 INFO - PID 10531 | #13 0x7fed61fb4354 in mozilla::net::nsSocketTransportService::Run() /builds/worker/workspace/build/src/netwerk/base/nsSocketTransportService2.cpp:1013:11
[task 2019-04-30T10:42:28.201Z] 10:42:28 INFO - PID 10531 | #14 0x7fed61fb65fc in non-virtual thunk to mozilla::net::nsSocketTransportService::Run() /builds/worker/workspace/build/src/netwerk/base/nsSocketTransportService2.cpp
[task 2019-04-30T10:42:28.201Z] 10:42:28 INFO - PID 10531 | #15 0x7fed61d05b91 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:1180:14
[task 2019-04-30T10:42:28.203Z] 10:42:28 INFO - PID 10531 | #16 0x7fed61d0bca8 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:486:10
[task 2019-04-30T10:42:28.204Z] 10:42:28 INFO - PID 10531 | #17 0x7fed62d5eb7a in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/workspace/build/src/ipc/glue/MessagePump.cpp:303:20
[task 2019-04-30T10:42:28.205Z] 10:42:28 INFO - PID 10531 | #18 0x7fed62c8b5a2 in RunInternal /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:315:10
[task 2019-04-30T10:42:28.206Z] 10:42:28 INFO - PID 10531 | #19 0x7fed62c8b5a2 in RunHandler /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:308
[task 2019-04-30T10:42:28.207Z] 10:42:28 INFO - PID 10531 | #20 0x7fed62c8b5a2 in MessageLoop::Run() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:290
[task 2019-04-30T10:42:28.208Z] 10:42:28 INFO - PID 10531 | #21 0x7fed61cffaea in nsThread::ThreadFunc(void*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:454:11
[task 2019-04-30T10:42:28.209Z] 10:42:28 INFO - PID 10531 | #22 0x7fed7531d05d in _pt_root /builds/worker/workspace/build/src/nsprpub/pr/src/pthreads/ptthread.c:201:5
[task 2019-04-30T10:42:28.210Z] 10:42:28 INFO - PID 10531 | #23 0x7fed74f2f6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
[task 2019-04-30T10:42:28.211Z] 10:42:28 INFO - PID 10531 | #24 0x7fed5c79c41c in clone /build/glibc-LK5gWL/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:109
[task 2019-04-30T10:42:28.212Z] 10:42:28 INFO - PID 10531 | 0x6060000f17c8 is located 8 bytes inside of 64-byte region [0x6060000f17c0,0x6060000f1800)
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Looks more networking (HTTP/2 alt-svc) than WebRTC. Looks like some kind of race.
Dragana: any ideas who can look into this?
Comment 2•6 years ago
|
||
Kershaw, do you have time to take a look?
| Assignee | ||
Comment 3•6 years ago
•
|
||
(In reply to Dragana Damjanovic [:dragana] from comment #2)
Kershaw, do you have time to take a look?
Sure.
Updated•6 years ago
|
Updated•2 years ago
|
Description
•