Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Out of memory crash #8355

@peterflynn

Description

@peterflynn

This was reported by @FezVrasta over IRC recently. Not a lot of detail on the type of project, but it sounds like the crash happens while doing random editing operations. Crash happens both with 0.41 and on master.

@FezVrasta was going to look into whether disabling JS code hints makes the crash go away -- no word on that yet.

The stack indicates a deliberate crash because V8 ran out of memory:

0018b9dc 661f77dc 67242b28 6721c7cc 00000500 libcef!WebCore::reportFatalErrorInMainThread+0x1e
0018c0bc 662eee3a 67242b28 00000000 00000004 libcef!v8::internal::V8::FatalProcessOutOfMemory+0x22c
0018c138 662eeee6 18c00000 021455d8 0018c27c libcef!v8::internal::MarkCompactCollector::EvacuateLiveObjectsFromPage+0x13a
0018c158 662f0ed3 0216ea74 0216ea50 021455d8 libcef!v8::internal::MarkCompactCollector::EvacuatePages+0x56
0018c1dc 662f194f 000dd8cc 021455d8 0018c27c libcef!v8::internal::MarkCompactCollector::EvacuateNewSpaceAndCandidates+0x53
0018c204 662ffeca 02144008 021455d8 0018c228 libcef!v8::internal::MarkCompactCollector::SweepSpaces+0x2af
0018c214 6625431f 000dd8cc 02144008 0018c27c libcef!v8::internal::MarkCompactCollector::CollectGarbage+0x2a
0018c228 6626704d 0018c27c 02175800 02144008 libcef!v8::internal::Heap::MarkCompact+0x5f
0018c254 6626774a 00000001 0018c27c 02184014 libcef!v8::internal::Heap::PerformGarbageCollection+0x14d
0018c368 6627f6d6 00000003 00000001 6721f40c libcef!v8::internal::Heap::CollectGarbage+0x11a
0018c390 663afb0e 0018c418 0018c3bc fffe0180 libcef!v8::internal::Factory::NewCode+0xb6
0018c460 6637057a 0018c484 02184010 069e3290 libcef!v8::internal::RegExpMacroAssemblerIA32::GetCode+0xc7e
0018c4ec 66372c7c 0018ca30 0018c514 069e3290 libcef!v8::internal::RegExpCompiler::Assemble+0x19a
0018c9c8 66372ec7 0018ca30 0018ca1c 00000001 libcef!v8::internal::RegExpEngine::Compile+0x68c
0018ca54 6637533e 0018cb40 0018cb3c 0018cb01 libcef!v8::internal::RegExpImpl::CompileIrregexp+0x207
0018ca70 663753c6 0018cb40 0018cb3c 0018cb01 libcef!v8::internal::RegExpImpl::EnsureCompiledIrregexp+0x6e
0018ca88 66375592 0018cb40 0018cb3c 0018cb34 libcef!v8::internal::RegExpImpl::IrregexpPrepare+0x76
0018caa0 66375feb 0018cabc 0018cb40 0018cb3c libcef!v8::internal::RegExpImpl::IrregexpExec+0x22
0018cac0 662bd59a 0018caf4 0018cb40 0018cb3c libcef!v8::internal::RegExpImpl::Exec+0x5b
0018cb00 662c69a3 00000004 0018cb40 0018cb2c libcef!v8::internal::__RT_impl_Runtime_RegExpExec+0x10a
0018cb10 3ef0a1b6 00000004 0018cb40 02144000 libcef!v8::internal::Runtime_RegExpExec+0x13
WARNING: Frame IP not in any known module. Following frames may be wrong.
0018cb2c 18c3ae55 1d3340b5 00000000 0df5d629 0x3ef0a1b6
0018cb60 707f355a 0df5d629 0dfe56f5 0dfe5929 0x18c3ae55
0018cb80 707f0798 0df5d629 1d308091 0dfe55bd 0x707f355a
0018ccac 6624d0b8 3ef1ab80 0dfe0411 1d3380d5 0x707f0798
0018ccec 6624dc95 0018cd70 02144198 02184008 libcef!v8::internal::Invoke+0xd8
0018cd24 66204e51 0018cd70 02184008 02184004 libcef!v8::internal::Execution::Call+0x165
0018cd78 65be43ea 0018cda0 02184004 00000000 libcef!v8::Function::Call+0xf1
0018cda8 65bd80af 0018ce58 02184008 2c854820 libcef!WebCore::V8ScriptRunner::callFunction+0xda
0018cde0 65bd867d 0018ce58 2c854820 02184008 libcef!WebCore::ScriptController::callFunctionWithInstrumentation+0x9f
0018ce08 65cf5aa4 0018ce58 02184008 02184004 libcef!WebCore::ScriptController::callFunction+0x3d
0018ce64 65cf5c1a 02131480 2c854820 04ef3e70 libcef!WebCore::ScheduledAction::execute+0xf4
0018ce78 65ed8f6b 2c854820 02217c40 04ef3e70 libcef!WebCore::ScheduledAction::execute+0x3a
0018cea8 6618afbf 02177d88 0018d040 e5604189 libcef!WebCore::DOMTimer::fired+0x11b
0018cec8 6618b018 65bc4cf3 0553ef60 0018d040 libcef!WebCore::ThreadTimers::sharedTimerFiredInternal+0x9f
0018cecc 65bc4cf3 0553ef60 0018d040 0018d328 libcef!WebCore::ThreadTimers::sharedTimerFired+0x18
0018cef0 65bc47bd 00000000 0018d028 6544c055 libcef!base::Timer::RunScheduledTask+0xa3
0018cefc 6544c055 055106c0 00000000 0018d328 libcef!base::BaseTimerTaskInternal::Run+0x1d
0018d028 6544d696 0018d040 021398a0 0018d328 libcef!base::MessageLoop::RunTask+0x295
0018d088 6545b51a 021398b0 0000000f 0018d328 libcef!base::MessageLoop::DoDelayedWork+0x146
0018d160 6544d53e 0018d328 0018d238 00000000 libcef!base::MessagePumpDefault::Run+0x9a
0018d228 65454a53 0213ad20 6544b666 0018d328 libcef!base::MessageLoop::RunInternal+0x9e
0018d230 6544b666 0018d328 00000000 0018d238 libcef!base::RunLoop::Run+0x13
0018d254 65b30734 00000008 0018d704 6714267c libcef!base::MessageLoop::Run+0x16
0018d554 654ffa5a 0018d704 0213ad50 0213ad20 libcef!content::RendererMain+0x3c4
...

I'm not entirely sure how to tell if this is happening on the Tern worker thread or not, but the fact that the stack has "RendererMain" on it makes me think it's probably not -- probably crashing on the main render thread.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions