Closed Bug 1100902 Opened 10 years ago Closed 10 years ago

e10s tab crashes when scrolling Firefox OS web page

Categories

(Core :: Graphics: Layers, defect)

36 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1036682
Tracking Status
e10s ? ---

People

(Reporter: agibson, Unassigned)

References

Details

"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:36.0) Gecko/20100101 Firefox/36.0"

STR:

1.) Enable e10s and visit https://www.mozilla.org/en-US/firefox/os/

2.) Scroll up/down the page

The tab frequently crashes
Blocks: e10s
When scrolling reasonably quickly there also seems to be some visual glitchyness
I was able to reproduce this crash on my OS X 10.8 machine on a debug build. Here's the stack:

* thread #1: tid = 0x70db9e, 0x000000010007431d libmozalloc.dylib`mozalloc_abort(msg=0x00007fff5fbf8088) + 93 at mozalloc_abort.cpp:37, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x000000010007431d libmozalloc.dylib`mozalloc_abort(msg=0x00007fff5fbf8088) + 93 at mozalloc_abort.cpp:37
    frame #1: 0x00000001006884f5 XUL`Abort(aMsg=0x00007fff5fbf8088) + 21 at nsDebugImpl.cpp:469
    frame #2: 0x0000000100687f50 XUL`NS_DebugBreak(aSeverity=3, aStr=0x0000000000000000, aExpr=0x0000000000000000, aFile=0x00000001072dd314, aLine=221) + 1232 at nsDebugImpl.cpp:426
    frame #3: 0x0000000100d8a97a XUL`mozilla::Logger::~Logger(this=0x00007fff5fbf8640) + 330 at logging.cc:47
    frame #4: 0x0000000100d8a825 XUL`mozilla::Logger::~Logger(this=0x00007fff5fbf8640) + 21 at logging.cc:14
    frame #5: 0x00000001006c8a15 XUL`mozilla::LogWrapper::~LogWrapper(this=0x00007fff5fbf8640) + 21 at logging.h:59
    frame #6: 0x00000001006c89f5 XUL`mozilla::LogWrapper::~LogWrapper(this=0x00007fff5fbf8640) + 21 at logging.h:59
    frame #7: 0x0000000100d660b3 XUL`base::SharedMemory::CreateOrOpen(this=0x0000000123f801c8, name=0x00007fff5fbf87f0, posix_flags=514, size=274432) + 963 at shared_memory_posix.cc:221
    frame #8: 0x0000000100d65ca8 XUL`base::SharedMemory::Create(this=0x0000000123f801c8, cname=0x00007fff5fbf8850, read_only=false, open_existing=false, size=274432) + 184 at shared_memory_posix.cc:79
    frame #9: 0x0000000100e12bee XUL`mozilla::ipc::SharedMemoryBasic::Create(this=0x0000000123f801a0, aNbytes=274432) + 94 at SharedMemoryBasic_chromium.h:40
    frame #10: 0x0000000100dfa373 XUL`mozilla::ipc::CreateSegment(aNBytes=274432, aHandle=mozilla::ipc::SharedMemoryBasic::Handle at 0x00007fff5fbf8900) + 227 at Shmem.cpp:145
    frame #11: 0x0000000100dfa0d7 XUL`mozilla::ipc::Shmem::Alloc(=IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead at 0x00007fff5fbf89d8, aNBytes=262160, aType=TYPE_BASIC, aUnsafe=true, aProtect=false) + 295 at Shmem.cpp:365
    frame #12: 0x0000000100f8db5e XUL`mozilla::layers::PCompositorChild::CreateSharedMemory(this=0x00000001166cc000, aSize=262160, aType=TYPE_BASIC, aUnsafe=true, aId=0x00007fff5fbf8ba4) + 110 at PCompositorChild.cpp:649
    frame #13: 0x0000000100f8dd4c XUL`_ZThn16_N7mozilla6layers16PCompositorChild18CreateSharedMemoryEmNS_3ipc12SharedMemory16SharedMemoryTypeEbPi(this=0x00000001166cc010, aSize=262160, aType=TYPE_BASIC, aUnsafe=true, aId=0x00007fff5fbf8ba4) + 76 at UnifiedProtocols4.cpp:667
    frame #14: 0x00000001011a5df4 XUL`mozilla::layers::PLayerTransactionChild::CreateSharedMemory(this=0x000000011ebc81c0, aSize=262160, aType=TYPE_BASIC, aUnsafe=true, aId=0x00007fff5fbf8ba4) + 84 at PLayerTransactionChild.cpp:706
    frame #15: 0x00000001011a7793 XUL`mozilla::layers::PLayerTransactionChild::AllocUnsafeShmem(this=0x000000011ebc81c0, aSize=262160, aType=TYPE_BASIC, aOutMem=0x0000000127d21038) + 83 at PLayerTransactionChild.cpp:958
    frame #16: 0x0000000101bc4580 XUL`mozilla::layers::ShadowLayerForwarder::AllocUnsafeShmem(this=0x000000011eb67f00, aSize=262160, aType=TYPE_BASIC, aShmem=0x0000000127d21038) + 192 at ShadowLayers.cpp:725
    frame #17: 0x0000000101b4f3c1 XUL`mozilla::layers::ShmemTextureClient::Allocate(this=0x0000000127d20fc0, aSize=262160) + 177 at TextureClient.cpp:585
    frame #18: 0x0000000101b4fef2 XUL`mozilla::layers::BufferTextureClient::AllocateForSurface(this=0x0000000127d20fc0, aSize=mozilla::gfx::IntSize at 0x00007fff5fbf8cb8, aFlags=ALLOC_DEFAULT) + 354 at TextureClient.cpp:718
    frame #19: 0x0000000101b47d37 XUL`mozilla::layers::TextureClient::CreateForDrawing(aAllocator=0x000000011eb67f00, aFormat=B8G8R8A8, aSize=mozilla::gfx::IntSize at 0x00007fff5fbf8d68, aMoz2DBackend=COREGRAPHICS, aTextureFlags=IMMEDIATE_UPLOAD, aAllocFlags=ALLOC_DEFAULT) + 535 at TextureClient.cpp:395
    frame #20: 0x0000000101b6511c XUL`mozilla::layers::TextureClientPool::GetTextureClient(this=0x0000000125a20640) + 412 at TextureClientPool.cpp:65
    frame #21: 0x0000000101b69821 XUL`mozilla::layers::TileClient::GetBackBuffer(this=0x00007fff5fbf99f8, aDirtyRegion=0x00007fff5fbf9708, aContent=COLOR_ALPHA, aMode=SURFACE_SINGLE_CHANNEL_ALPHA, aCreatedTextureClient=0x00007fff5fbf9727, aAddPaintedRegion=0x00007fff5fbf96e0, aCanRerasterizeValidRegion=false, aBackBufferOnWhite=0x00007fff5fbf96d8) + 753 at TiledContentClient.cpp:752
    frame #22: 0x0000000101b6b13a XUL`mozilla::layers::ClientTiledLayerBuffer::ValidateTile(this=0x0000000112d5a6f8, aTile=0x00007fff5fbf99f8, aTileOrigin=0x00007fff5fbf99f0, aDirtyRegion=0x00007fff5fbf9d68) + 522 at TiledContentClient.cpp:1105
    frame #23: 0x0000000101b88d37 XUL`mozilla::layers::TiledLayerBuffer<mozilla::layers::ClientTiledLayerBuffer, mozilla::layers::TileClient>::Update(this=0x0000000112d5a6f8, aNewValidRegion=0x0000000122749200, aPaintRegion=0x00007fff5fbfa660) + 3655 at TiledLayerBuffer.h:501
    frame #24: 0x0000000101b6a68b XUL`mozilla::layers::ClientTiledLayerBuffer::PaintThebes(this=0x0000000112d5a6f8, aNewValidRegion=0x0000000122749200, aPaintRegion=0x00007fff5fbfa660, aCallback=0x0000000103e0fd30, aCallbackData=0x00007fff5fbfb300)(mozilla::layers::PaintedLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*) + 1227 at TiledContentClient.cpp:959
    frame #25: 0x0000000101b46e34 XUL`mozilla::layers::ClientTiledPaintedLayer::RenderLayer(this=0x0000000122749000) + 1204 at ClientTiledPaintedLayer.cpp:380
    frame #26: 0x0000000101b4734c XUL`_ZThn544_N7mozilla6layers23ClientTiledPaintedLayer11RenderLayerEv(this=0x0000000122749220) + 28 at Unified_cpp_gfx_layers2.cpp:471
    frame #27: 0x0000000101b577b5 XUL`mozilla::layers::ClientLayer::RenderLayerWithReadback(this=0x0000000122749220, aReadback=0x00007fff5fbfa798) + 37 at ClientLayerManager.h:370
    frame #28: 0x0000000101b62cb3 XUL`mozilla::layers::ClientContainerLayer::RenderLayer(this=0x0000000127d31800) + 355 at ClientContainerLayer.h:69
    frame #29: 0x0000000101b62e1c XUL`_ZThn536_N7mozilla6layers20ClientContainerLayer11RenderLayerEv(this=0x0000000127d31a18) + 28 at Unified_cpp_gfx_layers2.cpp:76
    frame #30: 0x0000000101b42cba XUL`mozilla::layers::ClientLayerManager::EndTransactionInternal(this=0x000000011dee0c00, aCallback=0x0000000103e0fd30, aCallbackData=0x00007fff5fbfb300, =END_DEFAULT)(mozilla::layers::PaintedLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) + 378 at ClientLayerManager.cpp:268
    frame #31: 0x0000000101b42e9b XUL`mozilla::layers::ClientLayerManager::EndTransaction(this=0x000000011dee0c00, aCallback=0x0000000103e0fd30, aCallbackData=0x00007fff5fbfb300, aFlags=END_DEFAULT)(mozilla::layers::PaintedLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) + 91 at ClientLayerManager.cpp:298
    frame #32: 0x0000000103e96047 XUL`nsDisplayList::PaintRoot(this=0x00007fff5fbfb258, aBuilder=0x00007fff5fbfb300, aCtx=0x0000000000000000, aFlags=13) + 2839 at nsDisplayList.cpp:1444
    frame #33: 0x0000000103ec8d30 XUL`nsLayoutUtils::PaintFrame(aRenderingContext=0x0000000000000000, aFrame=0x000000012a8b9458, aDirtyRegion=0x00007fff5fbfbc30, aBackstop=0, aFlags=772) + 4272 at nsLayoutUtils.cpp:3152
    frame #34: 0x0000000103f2328f XUL`PresShell::Paint(this=0x0000000128718800, aViewToPaint=0x000000012a89de80, aDirtyRegion=0x00007fff5fbfbc30, aFlags=1) + 2143 at nsPresShell.cpp:6337
    frame #35: 0x00000001039ef2ce XUL`nsViewManager::ProcessPendingUpdatesPaint(this=0x00000001278a2680, aWidget=0x0000000117e09b80) + 526 at nsViewManager.cpp:443
    frame #36: 0x00000001039eef76 XUL`nsViewManager::ProcessPendingUpdatesForView(this=0x00000001278a2680, aView=0x000000012a89de80, aFlushDirtyRegion=true) + 502 at nsViewManager.cpp:384
    frame #37: 0x00000001039eff14 XUL`nsViewManager::ProcessPendingUpdates(this=0x00000001278a2680) + 132 at nsViewManager.cpp:1075
    frame #38: 0x0000000103df6245 XUL`nsRefreshDriver::Tick(this=0x0000000127c8ec00, aNowEpoch=1416342634012606, aNowTime=TimeStamp at 0x00007fff5fbfc180) + 4645 at nsRefreshDriver.cpp:1354
    frame #39: 0x0000000103dfd08c XUL`mozilla::RefreshDriverTimer::TickDriver(driver=0x0000000127c8ec00, jsnow=1416342634012606, now=TimeStamp at 0x00007fff5fbfc1b8) + 92 at nsRefreshDriver.cpp:173
    frame #40: 0x0000000103dfcf62 XUL`mozilla::RefreshDriverTimer::Tick(this=0x0000000117e62d40) + 322 at nsRefreshDriver.cpp:164
    frame #41: 0x0000000103dfce11 XUL`mozilla::RefreshDriverTimer::TimerTick(aTimer=0x0000000117e17ca0, aClosure=0x0000000117e62d40) + 33 at nsRefreshDriver.cpp:190
    frame #42: 0x000000010077534a XUL`nsTimerImpl::Fire(this=0x0000000117e17ca0) + 986 at nsTimerImpl.cpp:621
    frame #43: 0x0000000100775761 XUL`nsTimerEvent::Run(this=0x0000000117e81260) + 209 at nsTimerImpl.cpp:714
    frame #44: 0x0000000100770246 XUL`nsThread::ProcessNextEvent(this=0x0000000111a81130, aMayWait=false, aResult=0x00007fff5fbfc5c3) + 2086 at nsThread.cpp:830
    frame #45: 0x00000001007c700b XUL`NS_ProcessPendingEvents(aThread=0x0000000111a81130, aTimeout=20) + 171 at nsThreadUtils.cpp:207
    frame #46: 0x0000000103a0a409 XUL`nsBaseAppShell::NativeEventCallback(this=0x0000000116646ac0) + 201 at nsBaseAppShell.cpp:98
    frame #47: 0x0000000103a84901 XUL`nsAppShell::ProcessGeckoEvents(aInfo=0x0000000116646ac0) + 433 at nsAppShell.mm:377
    frame #48: 0x00007fff8d312b31 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #49: 0x00007fff8d312455 CoreFoundation`__CFRunLoopDoSources0 + 245
    frame #50: 0x00007fff8d3357f5 CoreFoundation`__CFRunLoopRun + 789
    frame #51: 0x00007fff8d3350e2 CoreFoundation`CFRunLoopRunSpecific + 290
    frame #52: 0x00007fff93349eb4 HIToolbox`RunCurrentEventLoopInMode + 209
    frame #53: 0x00007fff93349c52 HIToolbox`ReceiveNextEventCommon + 356
    frame #54: 0x00007fff93349ae3 HIToolbox`BlockUntilNextEventMatchingListInMode + 62
    frame #55: 0x00007fff8f1df533 AppKit`_DPSNextEvent + 685
    frame #56: 0x00007fff8f1dedf2 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
    frame #57: 0x0000000103a83557 XUL`-[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:](self=0x00000001166b0980, _cmd=0x00007fff8fa0d404, mask=18446744073709551615, expiration=0x422d63c37f00000d, mode=0x00007fff7ba161c0, flag='\x01') + 119 at nsAppShell.mm:118
    frame #58: 0x00007fff8f1d61a3 AppKit`-[NSApplication run] + 517
    frame #59: 0x0000000103a852a7 XUL`nsAppShell::Run(this=0x0000000116646ac0) + 167 at nsAppShell.mm:651
    frame #60: 0x00000001049e49b9 XUL`XRE_RunAppShell + 345 at nsEmbedFunctions.cpp:731
    frame #61: 0x0000000100df7754 XUL`mozilla::ipc::MessagePumpForChildProcess::Run(this=0x0000000111a21240, aDelegate=0x00007fff5fbfe048) + 196 at MessagePump.cpp:272
    frame #62: 0x0000000100d8ba55 XUL`MessageLoop::RunInternal(this=0x00007fff5fbfe048) + 117 at message_loop.cc:233
    frame #63: 0x0000000100d8b965 XUL`MessageLoop::RunHandler(this=0x00007fff5fbfe048) + 21 at message_loop.cc:226
    frame #64: 0x0000000100d8b90d XUL`MessageLoop::Run(this=0x00007fff5fbfe048) + 45 at message_loop.cc:200
    frame #65: 0x00000001049e4203 XUL`XRE_InitChildProcess(aArgc=3, aArgv=0x00007fff5fbff638, aGMPLoader=0x0000000000000000) + 2691 at nsEmbedFunctions.cpp:568
    frame #66: 0x00000001000018db plugin-container`content_process_main(argc=6, argv=0x00007fff5fbff638) + 299 at plugin-container.cpp:190
    frame #67: 0x00000001000019d2 plugin-container`main(argc=7, argv=0x00007fff5fbff638) + 34 at MozillaRuntimeMain.cpp:11
    frame #68: 0x0000000100001794 plugin-container`start + 52
Component: General → Graphics: Layers
Product: Firefox → Core
Cc'ing some e10s graphics folk.
Actually - I'm pretty sure this is a dupe of bug 1036682, as I got the same stack when I was zooming in and out of Google Maps.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.