Closed Bug 981145 Opened 6 years ago Closed 6 years ago

Intermittent test_823965.html, test_fs_get.html,test_fs_createDirectory | application crashed [@ mozilla::dom::FileSystemTaskBase::~FileSystemTaskBase()] (after Assertion failure: NS_IsMainThread() (Only call on main thread!), at FileSystemTaskBase.cpp)

Categories

(Core :: DOM: Device Interfaces, defect)

29 Branch
x86_64
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla30
Tracking Status
firefox28 --- unaffected
firefox29 --- unaffected
firefox30 --- fixed
firefox-esr24 --- unaffected

People

(Reporter: KWierso, Assigned: xyuan)

References

Details

(Keywords: crash, intermittent-failure)

Crash Data

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=35810474&tree=Mozilla-Inbound
slave: talos-r4-snow-054



13:11:13     INFO -  adding: video/ogv .poo
13:11:13     INFO -  adding: kyle/smash .ogv
13:11:13     INFO -  adding: music/mp3 .poo
13:11:13     INFO -  adding: kyle/smash .mp3
13:11:13     INFO -  adding: image/png .poo
13:11:13     INFO -  adding: kyle/smash .png
13:11:13     INFO -  ++DOMWINDOW == 10 (0x105cafd00) [pid = 968] [serial = 13] [outer = 0x10adb5ba0]
13:11:13     INFO -  ++DOMWINDOW == 11 (0x120a10e00) [pid = 968] [serial = 14] [outer = 0x10adb5ba0]
13:11:13     INFO -  --DOCSHELL 0x1094952d0 == 2 [pid = 968] [id = 2]
13:11:13     INFO -  ++DOMWINDOW == 12 (0x10adc5fa0) [pid = 968] [serial = 15] [outer = 0x10adb5ba0]
13:11:13     INFO -  ++DOMWINDOW == 13 (0x10ad959e0) [pid = 968] [serial = 16] [outer = 0x10adb5ba0]
13:11:13     INFO -  devicestorage/79ZOBSSRQF59/hi.png
13:11:13     INFO -  ++DOMWINDOW == 14 (0x120a21430) [pid = 968] [serial = 17] [outer = 0x10adb5ba0]
13:11:13     INFO -  ++DOMWINDOW == 15 (0x120849050) [pid = 968] [serial = 18] [outer = 0x10adb5ba0]
13:11:13     INFO -  [Child 968] WARNING: Unsafe path detected - ignoring: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/devicestorage/nsDeviceStorage.cpp, line 912
13:11:13     INFO -  [Child 968] WARNING: ../: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/devicestorage/nsDeviceStorage.cpp, line 913
13:11:13     INFO -  [Child 968] WARNING: Unsafe path detected - ignoring: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/devicestorage/nsDeviceStorage.cpp, line 912
13:11:13     INFO -  [Child 968] WARNING: ../owned.png: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/devicestorage/nsDeviceStorage.cpp, line 913
13:11:13     INFO -  [Child 968] WARNING: Unsafe path detected - ignoring: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/devicestorage/nsDeviceStorage.cpp, line 912
13:11:13     INFO -  [Child 968] WARNING: ../owned.png: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/devicestorage/nsDeviceStorage.cpp, line 913
13:11:13     INFO -  [Child 968] WARNING: Unsafe path detected - ignoring: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/devicestorage/nsDeviceStorage.cpp, line 912
13:11:13     INFO -  [Child 968] WARNING: ../owned.png: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/devicestorage/nsDeviceStorage.cpp, line 913
13:11:13     INFO -  ++DOMWINDOW == 16 (0x1094a9680) [pid = 968] [serial = 19] [outer = 0x10adb5ba0]
13:11:13     INFO -  ++DOMWINDOW == 17 (0x120a50690) [pid = 968] [serial = 20] [outer = 0x10adb5ba0]
13:11:13     INFO -  We still have length = 0
13:11:13     INFO -  ++DOMWINDOW == 18 (0x1208329a0) [pid = 968] [serial = 21] [outer = 0x10adb5ba0]
13:11:13     INFO -  ++DOMWINDOW == 19 (0x120a798e0) [pid = 968] [serial = 22] [outer = 0x10adb5ba0]
13:11:13     INFO -  ++DOMWINDOW == 20 (0x12086dd20) [pid = 968] [serial = 23] [outer = 0x10adb5ba0]
13:11:14     INFO -  ++DOMWINDOW == 21 (0x120a62660) [pid = 968] [serial = 24] [outer = 0x10adb5ba0]
13:11:14     INFO -  ++DOMWINDOW == 22 (0x120a2f890) [pid = 968] [serial = 25] [outer = 0x10adb5ba0]
13:11:14     INFO -  ++DOMWINDOW == 23 (0x120a4ed30) [pid = 968] [serial = 26] [outer = 0x10adb5ba0]
13:11:14     INFO -  ++DOMWINDOW == 24 (0x12088e260) [pid = 968] [serial = 27] [outer = 0x10adb5ba0]
13:11:14     INFO -  ++DOMWINDOW == 25 (0x120885fe0) [pid = 968] [serial = 28] [outer = 0x10adb5ba0]
13:11:14     INFO -  ++DOMWINDOW == 26 (0x120a5f250) [pid = 968] [serial = 29] [outer = 0x10adb5ba0]
13:11:14     INFO -  ++DOMWINDOW == 27 (0x120a06270) [pid = 968] [serial = 30] [outer = 0x10adb5ba0]
13:11:14     INFO -  Assertion failure: NS_IsMainThread() (Only call on main thread!), at /builds/slave/m-in-osx64-d-00000000000000000/build/dom/filesystem/FileSystemTaskBase.cpp:44
13:11:16     INFO -  ###!!! [Child][MessageChannel] Error: Channel error: cannot send/recv
13:11:16     INFO -  ###!!! [Child][MessageChannel] Error: Channel error: cannot send/recv
13:11:16     INFO -  [Child 968] WARNING: shutting down early because of crash!: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/ipc/ContentChild.cpp, line 1239
13:11:16     INFO -  [Child 968] WARNING: content process _exit()ing: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/ipc/ContentChild.cpp, line 1293
13:11:16  WARNING -  TEST-UNEXPECTED-FAIL | /tests/dom/devicestorage/test/test_823965.html | application terminated with exit code 1
13:11:16     INFO -  INFO | runtests.py | Application ran for: 0:02:31.809555
13:11:16     INFO -  INFO | zombiecheck | Reading PID log: /var/folders/W+/W+WCw8sgHnexdhwsmpfCz++++-k/-Tmp-/tmpet8SIzpidlog
13:11:36  WARNING -  PROCESS-CRASH | /tests/dom/devicestorage/test/test_823965.html | application crashed [@ mozilla::dom::FileSystemTaskBase::~FileSystemTaskBase()]
13:11:36     INFO -  Crash dump filename: /var/folders/W+/W+WCw8sgHnexdhwsmpfCz++++-k/-Tmp-/tmpUvJDag/minidumps/1CFC8290-6965-410D-AEB7-87E410BBFAD8.dmp
13:11:36     INFO -  Operating system: Mac OS X
13:11:36     INFO -                    10.6.8 10K549
13:11:36     INFO -  CPU: amd64
13:11:36     INFO -       family 6 model 23 stepping 10
13:11:36     INFO -       2 CPUs
13:11:36     INFO -  Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
13:11:36     INFO -  Crash address: 0x0
13:11:36     INFO -  Thread 28 (crashed)
13:11:36     INFO -   0  XUL!mozilla::dom::FileSystemTaskBase::~FileSystemTaskBase() [FileSystemTaskBase.cpp:7a2a0130dcdd : 44 + 0x0]
13:11:36     INFO -      rbx = 0x00007fff70d3d2f8   r12 = 0x0000000000007500
13:11:36     INFO -      r13 = 0x0000000109ab92b8   r14 = 0x000000011d0acf80
13:11:36     INFO -      r15 = 0x0000000109ab9290   rip = 0x00000001022e2e75
13:11:36     INFO -      rsp = 0x000000010aa03c10   rbp = 0x000000010aa03c30
13:11:36     INFO -      Found by: given as instruction pointer in context
xyuan: Another one for you to look at
Flags: needinfo?(xyuan)
Assignee: nobody → xyuan
Flags: needinfo?(xyuan)
Attached patch bug981145Splinter Review
It is almost the same with Bug 980372. I removed the main thread assertion from the dtors of inherited task classes, but forgot to remove the assertion from the base class - FileSystemTaskBase. I should be more careful.
Attachment #8388330 - Flags: review?(dhylands)
Attachment #8388330 - Attachment is patch: true
Blocks: 980372
https://tbpl.mozilla.org/php/getParsedLog.php?id=35888089&tree=Fx-Team
Summary: Intermittent test_823965.html | application crashed [@ mozilla::dom::FileSystemTaskBase::~FileSystemTaskBase()] (after Assertion failure: NS_IsMainThread() (Only call on main thread!), at FileSystemTaskBase.cpp:44) → Intermittent test_823965.html, test_fs_get.html | application crashed [@ mozilla::dom::FileSystemTaskBase::~FileSystemTaskBase()] (after Assertion failure: NS_IsMainThread() (Only call on main thread!), at FileSystemTaskBase.cpp:44)
Attachment #8388330 - Flags: review?(dhylands) → review+
Summary: Intermittent test_823965.html, test_fs_get.html | application crashed [@ mozilla::dom::FileSystemTaskBase::~FileSystemTaskBase()] (after Assertion failure: NS_IsMainThread() (Only call on main thread!), at FileSystemTaskBase.cpp:44) → Intermittent test_823965.html, test_fs_get.html,test_fs_createDirectory | application crashed [@ mozilla::dom::FileSystemTaskBase::~FileSystemTaskBase()] (after Assertion failure: NS_IsMainThread() (Only call on main thread!), at FileSystemTaskBase.cpp)
Backed out along with bug 910412 and other dependencies for ongoing crashes.
https://hg.mozilla.org/integration/mozilla-inbound/rev/b923e16cc440
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.