Closed Bug 1479873 Opened 7 years ago Closed 7 years ago

Intermittent Assertion failure: isEmpty() (failing this assertion means this LinkedList's creator is buggy: it should have removed all this list's elements before the list's destruction), LinkedList.h:464

Categories

(Core :: Preferences: Backend, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: ncsoregi [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=191172194&repo=autoland https://queue.taskcluster.net/v1/task/fCSlaSDRSHi3_olsdkbSDQ/runs/0/artifacts/public/logs/live_backing.log 17:05:46 INFO - rmtree() failed for "('c:\\users\\task_1533055641\\appdata\\local\\temp\\xpc-plugins-xonazn',)". Reason: The process cannot access the file because it is being used by another process (13). Retrying... 17:05:46 INFO - PID 9756 | --DOMWINDOW == 0 (0000018D6DB75000) [pid = 9756] [serial = 3] [outer = 0000000000000000] [url = chrome://extensions/content/dummy.xul] 17:05:46 INFO - PID 9756 | Assertion failure: isEmpty() (failing this assertion means this LinkedList's creator is buggy: it should have removed all this list's elements before the list's destruction), at z:/build/build/src/obj-firefox/dist/include\\mozilla/LinkedList.h:464 17:05:46 INFO - TEST-PASS | netwerk/test/unit/test_bug553970.js | took 750ms 17:05:46 INFO - TEST-PASS | netwerk/test/unit/test_bug528292.js | took 908ms 17:05:46 INFO - rmtree() failed for "('c:\\users\\task_1533055641\\appdata\\local\\temp\\xpc-plugins-b1awjq',)". Reason: The process cannot access the file because it is being used by another process (13). Retrying... 17:05:46 INFO - TEST-PASS | netwerk/test/unit/test_bug540566.js | took 873ms 17:05:46 INFO - rmtree() failed for "('c:\\users\\task_1533055641\\appdata\\local\\temp\\xpc-plugins-z7ntt3',)". Reason: The process cannot access the file because it is being used by another process (13). Retrying... 17:05:46 INFO - TEST-PASS | netwerk/test/unit/test_bug536324_64bit_content_length.js | took 885ms 7:05:45 INFO - rmtree() failed for "('c:\\users\\task_1533055641\\appdata\\local\\temp\\xpc-plugins-fmpl2i',)". Reason: The process cannot access the file because it is being used by another process (13). Retrying... 17:05:45 INFO - mozcrash Saved app info as Z:\task_1533055641\build\blobber_upload_dir\74b699d6-fa7b-41e3-b669-1e0617de94f2.extra 17:05:45 WARNING - PROCESS-CRASH | modules/libpref/test/unit_ipc/test_sharedMap_var_caches.js | application crashed [@ mozilla::LinkedList<nsThread>::~LinkedList()] 17:05:45 INFO - Crash dump filename: c:\users\task_1533055641\appdata\local\temp\xpc-other-lexfy3\74b699d6-fa7b-41e3-b669-1e0617de94f2.dmp 17:05:45 INFO - Operating system: Windows NT 17:05:45 INFO - 10.0.15063 17:05:45 INFO - CPU: amd64 17:05:45 INFO - family 6 model 63 stepping 2 17:05:45 INFO - 8 CPUs 17:05:45 INFO - GPU: UNKNOWN 17:05:45 INFO - Crash reason: EXCEPTION_BREAKPOINT 17:05:45 INFO - Crash address: 0x7ffc109b09a1 17:05:45 INFO - Assertion: Unknown assertion type 0x00000000 17:05:45 INFO - Process uptime: 1 seconds 17:05:45 INFO - Thread 0 (crashed) 17:05:45 INFO - 0 xul.dll!void mozilla::LinkedList<nsThread>::~LinkedList() [LinkedList.h:4b06e810db639e3d3a7f61f6e6836a978183ca7c : 461 + 0x0] 17:05:45 INFO - rax = 0x0000000000000000 rdx = 0x0000004da93ff518 17:05:45 INFO - rcx = 0x00000000ffffffff rbx = 0x00000214dcfce0d0 17:05:45 INFO - rsi = 0x00000214dcfcdb90 rdi = 0x000052e9849f22f7 17:05:45 INFO - rbp = 0x00000214dcfce140 rsp = 0x0000004da93ff500 17:05:45 INFO - r8 = 0x0000004da93ff510 r9 = 0x0000004da93ff508 17:05:45 INFO - r10 = 0x0000000000000000 r11 = 0x0000004da93faa90 17:05:45 INFO - r12 = 0x0000000000000000 r13 = 0x0000000000000040 17:05:45 INFO - r14 = 0x0000004da93ff608 r15 = 0x00000214dcfcdb90 17:05:45 INFO - rip = 0x00007ffc109b09a1 17:05:45 INFO - Found by: given as instruction pointer in context 17:05:45 INFO - 1 ucrtbase.dll!o__execute_onexit_table + 0xd3 17:05:45 INFO - rbx = 0x00000214dcfce0d0 rbp = 0x00000214dcfce140 17:05:45 INFO - rsp = 0x0000004da93ff530 r12 = 0x0000000000000000 17:05:45 INFO - r13 = 0x0000000000000040 r14 = 0x0000004da93ff608 17:05:45 INFO - r15 = 0x00000214dcfcdb90 rip = 0x00007ffc3c6e8673 17:05:45 INFO - Found by: call frame info 17:05:45 INFO - 2 ucrtbase.dll!register_onexit_function + 0xe7 17:05:45 INFO - rbx = 0x00000214dcfce0d0 rbp = 0x00000214dcfce140 17:05:45 INFO - rsp = 0x0000004da93ff590 r12 = 0x0000000000000000 17:05:45 INFO - r13 = 0x0000000000000040 r14 = 0x0000004da93ff608 17:05:45 INFO - r15 = 0x00000214dcfcdb90 rip = 0x00007ffc3c6ec127 17:05:45 INFO - Found by: call frame info 17:05:45 INFO - 3 ucrtbase.dll!execute_onexit_table + 0x3e 17:05:45 INFO - rbx = 0x00000214dcfce0d0 rbp = 0x00000214dcfce140 17:05:45 INFO - rsp = 0x0000004da93ff5c0 r12 = 0x0000000000000000 17:05:45 INFO - r13 = 0x0000000000000040 r14 = 0x0000004da93ff608 17:05:45 INFO - r15 = 0x00000214dcfcdb90 rip = 0x00007ffc3c6e877e 17:05:45 INFO - Found by: call frame info 17:05:45 INFO - 4 xul.dll!static int dllmain_crt_process_detach(const bool) [dll_dllmain.cpp : 105 + 0x5] 17:05:45 INFO - rbx = 0x00000214dcfce0d0 rbp = 0x00000214dcfce140 17:05:45 INFO - rsp = 0x0000004da93ff5f0 r12 = 0x0000000000000000 17:05:45 INFO - r13 = 0x0000000000000040 r14 = 0x0000004da93ff608 17:05:45 INFO - r15 = 0x00000214dcfcdb90 rip = 0x00007ffc16fd11dc 17:05:45 INFO - Found by: call frame info 17:05:45 INFO - 5 xul.dll!static int dllmain_dispatch(struct HINSTANCE__ *, const unsigned long, void *) [dll_dllmain.cpp : 211 + 0xd] 17:05:45 INFO - rbx = 0x00000214dcfce0d0 rbp = 0x00000214dcfce140 17:05:45 INFO - rsp = 0x0000004da93ff620 r12 = 0x0000000000000000 17:05:45 INFO - r13 = 0x0000000000000040 r14 = 0x0000004da93ff608 17:05:45 INFO - r15 = 0x00000214dcfcdb90 rip = 0x00007ffc16fd13cc 17:05:45 INFO - Found by: call frame info 17:05:45 INFO - 6 ntdll.dll!strnicmp_l + 0x6f 17:05:45 INFO - rbx = 0x00000214dcfce0d0 rbp = 0x00000214dcfce140 17:05:45 INFO - rsp = 0x0000004da93ff690 r12 = 0x0000000000000000 17:05:45 INFO - r13 = 0x0000000000000040 r14 = 0x0000004da93ff608 17:05:45 INFO - r15 = 0x00000214dcfcdb90 rip = 0x00007ffc3fee486f 17:05:45 INFO - Found by: call frame info 17:05:45 INFO - Loaded modules:
kmag, any thoughts?
Flags: needinfo?(kmaglione+bmo)
It's probably related to bug 1479035. The lifetime handling for nsThread wrappers is pretty hairy right now, and there are still some pretty easy ways to leak them if a thread does the wrong thing. Although, at the moment, I think that probably requires a background thread creating a thread wrapper after xpcom thread shutdown, since we explicitly clear the list when the thread manager shuts down, so I may need to do something extra to prevent that possibility.
Depends on: 1479035
Flags: needinfo?(kmaglione+bmo)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.