Open Bug 756914 Opened 12 years ago Updated 2 years ago

###!!! ABORT: Framebuffer not complete

Categories

(Core :: Graphics, defect)

x86
All
defect

Tracking

()

People

(Reporter: gal, Unassigned)

References

Details

With my image-scaling-on-the-GPU patch we use image layers a lot more and I keep crashing with this assert:

###!!! ABORT: Framebuffer not complete -- error 0x0: file /Users/gal/workspace/mozilla-central/gfx/gl/GLContext.cpp, line 2927
###!!! ABORT: Framebuffer not complete -- error 0x0: file /Users/gal/workspace/mozilla-central/gfx/gl/GLContext.cpp, line 2927
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libmozalloc.dylib             	0x00000001000cdad0 _ZL14TouchBadMemoryv + 0 (mozalloc_abort.cpp:68)
1   libmozalloc.dylib             	0x00000001000cdb02 mozalloc_abort(char const*) + 34 (mozalloc_abort.cpp:101)
2   XUL                           	0x0000000101fee03a NS_DebugBreak_P + 874 (nsDebugImpl.cpp:400)
3   XUL                           	0x00000001020a193e mozilla::layers::LayerManagerOGL::CreateFBOWithTexture(nsIntRect const&, mozilla::layers::LayerManagerOGL::InitMode, unsigned int, unsigned int*, unsigned int*) + 910 (nsTSubstring.h:115)
4   XUL                           	0x00000001020969de mozilla::layers::ContainerLayerOGL::RenderLayer(int, nsIntPoint const&) + 3774 (ContainerLayerOGL.cpp:220)
5   XUL                           	0x0000000102095e17 mozilla::layers::ContainerLayerOGL::RenderLayer(int, nsIntPoint const&) + 759 (nsAutoPtr.h:1037)
6   XUL                           	0x0000000102095e17 mozilla::layers::ContainerLayerOGL::RenderLayer(int, nsIntPoint const&) + 759 (nsAutoPtr.h:1037)
7   XUL                           	0x000000010209f4b1 mozilla::layers::LayerManagerOGL::Render() + 913 (LayerManagerOGL.cpp:812)
8   XUL                           	0x000000010209ff5f mozilla::layers::LayerManagerOGL::EndTransaction(void (*)(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) + 223 (LayerManagerOGL.cpp:445)
9   XUL                           	0x00000001011f57be nsDisplayList::PaintForFrame(nsDisplayListBuilder*, nsRenderingContext*, nsIFrame*, unsigned int) const + 798 (nsDisplayList.cpp:680)
10  XUL                           	0x00000001011f59ac nsDisplayList::PaintRoot(nsDisplayListBuilder*, nsRenderingContext*, unsigned int) const + 140 (sps_sampler.h:303)
11  XUL                           	0x00000001012151a6 nsLayoutUtils::PaintFrame(nsRenderingContext*, nsIFrame*, nsRegion const&, unsigned int, unsigned int) + 1414 (nsLayoutUtils.cpp:1826)
12  XUL                           	0x000000010122bed6 PresShell::Paint(nsIView*, nsIWidget*, nsRegion const&, nsIntRegion const&, bool) + 358 (nsPresShell.cpp:5271)
13  XUL                           	0x00000001016d56bf nsViewManager::Refresh(nsView*, nsIWidget*, nsIntRegion const&, bool) + 239 (StartupTimeline.h:99)
14  XUL                           	0x00000001016d6601 nsViewManager::DispatchEvent(nsGUIEvent*, nsIView*, nsEventStatus*) + 2017 (nsViewManager.cpp:806)
15  XUL                           	0x00000001016d2511 _ZL11HandleEventP10nsGUIEvent + 161 (nsCOMPtr.h:480)
16  XUL                           	0x0000000101dc3e35 nsChildView::DispatchEvent(nsGUIEvent*, nsEventStatus&) + 165 (nsChildView.mm:1509)
17  XUL                           	0x0000000101dbe002 nsChildView::DispatchWindowEvent(nsGUIEvent&) + 18 (nsChildView.mm:1519)
18  XUL                           	0x0000000101dcdd59 -[ChildView drawRect:inContext:] + 2073 (nsChildView.mm:2589)
19  XUL                           	0x0000000101dbea29 -[ChildView drawRect:] + 169 (nsChildView.mm:2488)
20  com.apple.AppKit              	0x00007fff9180cbab -[NSView _drawRect:clip:] + 3995
21  com.apple.AppKit              	0x00007fff9180a85d -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3020
22  com.apple.AppKit              	0x00007fff9180b34e -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5821
23  com.apple.AppKit              	0x00007fff9180b34e -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5821
24  com.apple.AppKit              	0x00007fff91809593 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 270
25  com.apple.AppKit              	0x00007fff918049af -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4755
26  com.apple.AppKit              	0x00007fff917fd429 -[NSView displayIfNeeded] + 1676
27  com.apple.AppKit              	0x00007fff917fcb69 _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 648
28  com.apple.CoreFoundation      	0x00007fff99214bd7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
29  com.apple.CoreFoundation      	0x00007fff99214b36 __CFRunLoopDoObservers + 374
30  com.apple.CoreFoundation      	0x00007fff991e9ce9 __CFRunLoopRun + 825
31  com.apple.CoreFoundation      	0x00007fff991e9676 CFRunLoopRunSpecific + 230
32  com.apple.HIToolbox           	0x00007fff9997731f RunCurrentEventLoopInMode + 277
33  com.apple.HIToolbox           	0x00007fff9997e51b ReceiveNextEventCommon + 181
34  com.apple.HIToolbox           	0x00007fff9997e456 BlockUntilNextEventMatchingListInMode + 62
35  com.apple.AppKit              	0x00007fff917c0f5d _DPSNextEvent + 659
36  com.apple.AppKit              	0x00007fff917c0861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
37  XUL                           	0x0000000101db2e42 -[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 98 (nsAppShell.mm:209)
38  XUL                           	0x0000000101db495c nsAppShell::ProcessNextNativeEvent(bool) + 828 (nsAppShell.mm:701)
39  XUL                           	0x0000000101df007b nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool, unsigned int) + 555 (nsBaseAppShell.cpp:172)
40  XUL                           	0x0000000101db3419 nsAppShell::OnProcessNextEvent(nsIThreadInternal*, bool, unsigned int) + 105 (nsAppShell.mm:885)
41  XUL                           	0x0000000101fe6cc5 nsThread::ProcessNextEvent(bool, bool*) + 133 (nsThread.cpp:618)
42  XUL                           	0x0000000101fa6c1e NS_ProcessPendingEvents_P(nsIThread*, unsigned int) + 78 (nsThreadUtils.cpp:195)
43  XUL                           	0x0000000101def729 nsBaseAppShell::NativeEventCallback() + 89 (nsBaseAppShell.cpp:131)
44  XUL                           	0x0000000101db39bf nsAppShell::ProcessGeckoEvents(void*) + 479 (nsAppShell.mm:442)
45  com.apple.CoreFoundation      	0x00007fff991c36e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
46  com.apple.CoreFoundation      	0x00007fff991c300c __CFRunLoopDoSources0 + 444
47  com.apple.CoreFoundation      	0x00007fff991e9d39 __CFRunLoopRun + 905
48  com.apple.CoreFoundation      	0x00007fff991e9676 CFRunLoopRunSpecific + 230
49  com.apple.HIToolbox           	0x00007fff9997731f RunCurrentEventLoopInMode + 277
50  com.apple.HIToolbox           	0x00007fff9997e51b ReceiveNextEventCommon + 181
51  com.apple.HIToolbox           	0x00007fff9997e456 BlockUntilNextEventMatchingListInMode + 62
52  com.apple.AppKit              	0x00007fff917c0f5d _DPSNextEvent + 659
53  com.apple.AppKit              	0x00007fff917c0861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
54  XUL                           	0x0000000101db2e42 -[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 98 (nsAppShell.mm:209)
55  com.apple.AppKit              	0x00007fff917bd19d -[NSApplication run] + 470
56  XUL                           	0x0000000101db322d nsAppShell::Run() + 45 (nsAppShell.mm:798)
57  XUL                           	0x0000000101c1d394 nsAppStartup::Run() + 52 (nsAppStartup.cpp:296)
58  XUL                           	0x0000000101006f02 XREMain::XRE_mainRun() + 1666 (nsAppRunner.cpp:3780)
59  XUL                           	0x000000010100bbfb XREMain::XRE_main(int, char**, nsXREAppData const*) + 475 (nsAppRunner.cpp:3857)
60  XUL                           	0x000000010100c103 XRE_main + 307 (nsAppRunner.cpp:3933)
61  org.mozilla.nightly           	0x0000000100001e13 main + 1171 (nsBrowserApp.cpp:190)
62  org.mozilla.nightly           	0x0000000100001584 start + 52
Blocks: 788549
This is really easy to trigger with scale animations.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.