Closed Bug 693020 Opened 13 years ago Closed 10 years ago

Intermittent crashtest-ipc 678872-1.html, 90613-1.html, 244933-1.html | Exited with code 1 during test run [@ nsWyciwygChannel::GetCharsetAndSource] and also dom/base/crashtests/90613-1.html

Categories

(Core :: Networking: Cache, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [test which aborts the suite])

Crash Data

https://tbpl.mozilla.org/php/getParsedLog.php?id=6738918&tree=Mozilla-Inbound
Rev3 Fedora 12 mozilla-inbound pgo test crashtest-ipc on 2011-10-07 20:02:28 PDT for push 5f7dd649a521

REFTEST TEST-START | file:///home/cltbld/talos-slave/test/build/reftest/tests/docshell/base/crashtests/678872-1.html | 395 / 1943 (20%)
TEST-UNEXPECTED-FAIL | file:///home/cltbld/talos-slave/test/build/reftest/tests/docshell/base/crashtests/678872-1.html | Exited with code 1 during test run
INFO | automation.py | Application ran for: 0:00:48.098971
INFO | automation.py | Reading PID log: /tmp/tmp04H09dpidlog
==> process 2172 launched child process 2184
==> process 2184 launched child process 2211
INFO | automation.py | Checking for orphan process with PID: 2184
INFO | automation.py | Checking for orphan process with PID: 2211
PROCESS-CRASH | file:///home/cltbld/talos-slave/test/build/reftest/tests/docshell/base/crashtests/678872-1.html | application crashed (minidump found)
Crash dump filename: /tmp/tmpj5jKOB/minidumps/513c8dff-020f-5b53-10bcdd04-40d87882.dmp
Operating system: Linux
                  0.0.0 Linux 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
CPU: x86
     GenuineIntel family 6 model 23 stepping 10
     2 CPUs

Crash reason:  SIGSEGV
Crash address: 0x0

Thread 0 (crashed)
 0  libxul.so!nsWyciwygChannel::GetCharsetAndSource [nsWyciwygChannel.cpp:5f7dd649a521 : 556 + 0x0]
    eip = 0x011f5fea   esp = 0xbfdd1de0   ebp = 0xbfdd1e10   ebx = 0x02535f38
    esi = 0xb2631660   edi = 0x025932ac   eax = 0x00000000   ecx = 0xbfdd1e20
    edx = 0x00008400   efl = 0x00210206
    Found by: given as instruction pointer in context
 1  libxul.so!mozilla::net::WyciwygChannelParent::OnStartRequest [WyciwygChannelParent.cpp:5f7dd649a521 : 210 + 0x12]
    eip = 0x011f7f6d   esp = 0xbfdd1e50   ebp = 0x024509e8   ebx = 0x02535f38
    esi = 0xb2631660   edi = 0xaf963190
    Found by: call frame info
 2  libxul.so!nsWyciwygChannel::NotifyListener [nsWyciwygChannel.cpp:5f7dd649a521 : 754 + 0x12]
    eip = 0x011f5d44   esp = 0xbfdd1f20   ebp = 0xaf953160   ebx = 0x02535f38
    esi = 0xb2631660   edi = 0xaebac2b0
    Found by: call frame info
 3  libxul.so!nsWyciwygChannel::OnCacheEntryAvailable [nsWyciwygChannel.cpp:5f7dd649a521 : 604 + 0x7]
    eip = 0x011f732e   esp = 0xbfdd1f40   ebp = 0xaf953160   ebx = 0x02535f38
    esi = 0xb2631660   edi = 0xaebac2b0
    Found by: call frame info
 4  libxul.so!nsCacheListenerEvent::Run [nsCacheService.cpp:5f7dd649a521 : 1483 + 0x1f]
    eip = 0x01198758   esp = 0xbfdd1f80   ebp = 0x00000000   ebx = 0x02535f38
    esi = 0xaf953420   edi = 0xbfdd1fe8
    Found by: call frame info
Component: Document Navigation → Networking: Cache
QA Contact: docshell → networking.cache
Looks like we're crashing at http://hg.mozilla.org/mozilla-central/annotate/b4da2d439cbc/netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp#l556

548 nsXPIDLCString data;
549 mCacheEntry->GetMetaDataElement("charset", getter_Copies(data));
550
551 if (data.IsEmpty()) {
552 return NS_ERROR_NOT_AVAILABLE;
553 }
554
555 nsXPIDLCString sourceStr;
556 mCacheEntry->GetMetaDataElement("charset-source", getter_Copies(sourceStr)); 

And mCacheEntry is null on line 556.  Looks like something races this method and nulls out mCacheEntry between these two calls.
This seems to crash on Android as well.

Android XUL Tegra 250 mozilla-central opt test crashtest-1 on 2011-12-15 03:49:04 PST for push beac16509534

REFTEST TEST-PASS | http://10.250.48.218:30162/tests/docshell/base/crashtests/678872-1.html | (LOAD ONLY)
REFTEST INFO | Loading a blank page
INFO | automation.py | Application ran for: 0:02:02.531063
INFO | automation.py | Reading PID log: /tmp/tmpW1yW4Apidlog
getting files in '/mnt/sdcard/tests/reftest/profile/minidumps/'
PROCESS-CRASH | automation.py | application crashed (minidump found)
Crash dump filename: /tmp/tmpyuIotK/6dd5b7c2-3274-e72e-65213d4c-371ed7d2.dmp
Operating system: Linux
                  0.0.0 Linux 2.6.32.9-00002-gd8084dc-dirty #1 SMP PREEMPT Wed Feb 2 11:32:06 PST 2011 armv7l
CPU: arm
     0 CPUs

Crash reason:  SIGSEGV
Crash address: 0x0

Thread 4 (crashed)
 0  libxul.so!nsWyciwygChannel::GetCharsetAndSource [nsWyciwygChannel.cpp:beac16509534 : 556 + 0x2]
     r4 = 0x00000000    r5 = 0x4d72642c    r6 = 0x4d726484    r7 = 0x4d7264f4
     r8 = 0x00000003    r9 = 0x7310d0c0   r10 = 0x4d726438    fp = 0x508101a0
     sp = 0x4d726428    lr = 0x729c7c65    pc = 0x722e720a
    Found by: given as instruction pointer in context
 1  libxul.so!mozilla::net::WyciwygChannelParent::OnStartRequest [nsCOMPtr.h : 788 + 0x0]
     r4 = 0x00000000    r5 = 0x00000000    r6 = 0x54cb3eb0    r7 = 0x00000001
     r8 = 0x4d72659f    r9 = 0x50828190   r10 = 0x508101a0    fp = 0x508101a0
     sp = 0x4d726478    pc = 0x722e7e9b
    Found by: call frame info
 2  libxul.so!nsWyciwygChannel::NotifyListener [nsCOMPtr.h : 788 + 0x0]
     r4 = 0x534eb900    r5 = 0x00000000    r6 = 0x523a7740    r7 = 0x00000001
     r8 = 0x4d72659f    r9 = 0x50828190   r10 = 0x508101a0    fp = 0x508101a0
     sp = 0x4d726520    pc = 0x722e6aa7
    Found by: call frame info
 3  libxul.so!nsWyciwygChannel::OnCacheEntryAvailable [nsWyciwygChannel.cpp:beac16509534 : 608 + 0x0]
     r4 = 0x534eb900    r5 = 0x00000000    r6 = 0x523a7740    r7 = 0x00000001
     r8 = 0x4d72659f    r9 = 0x50828190   r10 = 0x508101a0    fp = 0x508101a0
     sp = 0x4d726530    pc = 0x722e6f0d
    Found by: call frame info
 4  libxul.so!nsCacheListenerEvent::Run [nsCacheService.cpp:beac16509534 : 1512 + 0x0]
     r4 = 0x523a78c0    r5 = 0x722e6e81    r6 = 0x00000000    r7 = 0x00000001
     r8 = 0x4d72659f    r9 = 0x50828190   r10 = 0x508101a0    fp = 0x508101a0
     sp = 0x4d726550    pc = 0x722a8a27
    Found by: call frame info
Summary: Intermittent crashtest-ipc crashtests/678872-1.html | Exited with code 1 during test run [@ nsWyciwygChannel::GetCharsetAndSource] → Intermittent crashtest-ipc crashtests/678872-1.html | Exited with code 1 during test run [@ nsWyciwygChannel::GetCharsetAndSource] and also dom/base/crashtests/90613-1.html
Crash Signature: [@ nsWyciwygChannel::GetCharsetAndSource]
Keywords: crash
Blocks: 680344
No longer blocks: 678872
Severity: normal → critical
https://tbpl.mozilla.org/php/getParsedLog.php?id=15034907&tree=Firefox
Summary: Intermittent crashtest-ipc crashtests/678872-1.html | Exited with code 1 during test run [@ nsWyciwygChannel::GetCharsetAndSource] and also dom/base/crashtests/90613-1.html → Intermittent crashtest-ipc 678872-1.html, 90613-1.html, 244933-1.html | Exited with code 1 during test run [@ nsWyciwygChannel::GetCharsetAndSource] and also dom/base/crashtests/90613-1.html
Whiteboard: [orange][test which aborts the suite] → [test which aborts the suite]
(OrangeWFM bugs not touched for 2 months)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Closing bugs where TBPLbot has previously commented, but have now not been modified for >3 months & do not contain the whiteboard strings for disabled/annotated tests or use the keyword leave-open. Filter on: mass-intermittent-bug-closure-2014-07
Status: REOPENED → RESOLVED
Closed: 11 years ago10 years ago
Resolution: --- → WORKSFORME
Crash volume for signature 'nsWyciwygChannel::GetCharsetAndSource':
 - nightly (version 54): 10 crashes from 2017-01-23.
 - aurora  (version 53): 14 crashes from 2017-01-23.
 - beta    (version 52): 95 crashes from 2017-01-23.
 - release (version 51): 405 crashes from 2017-01-16.
 - esr     (version 45): 0 crashes from 2016-08-10.

Crash volume on the last weeks (Week N is from 02-06 to 02-12):
            W. N-1  W. N-2  W. N-3  W. N-4  W. N-5  W. N-6  W. N-7
 - nightly       5       1
 - aurora       10       3
 - beta         48      24
 - release     266      61       0
 - esr           0       0       0       0       0       0       0

Affected platforms: Windows, Mac OS X

Crash rank on the last 7 days:
           Browser   Content   Plugin
 - nightly #131
 - aurora  #89
 - beta    #227
 - release #163
 - esr
Keywords: crash
I am regularly getting this when navigating IMDB and using the back button. (Nightly x64)
This bug was tracking an intermittent test crash we were hitting in automation nearly two years ago. Please file a new bug for the one you're seeing.
You need to log in before you can comment on or make changes to this bug.