[Wayland-bugs] [Bug 99346] [Xwayland]: Assertion !pixmap_priv->fbo failed in glamor_upload_picture_to_texture() at glamor_picture.c:291

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 10 14:22:43 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99346

            Bug ID: 99346
           Summary: [Xwayland]: Assertion !pixmap_priv->fbo failed in
                    glamor_upload_picture_to_texture() at
                    glamor_picture.c:291
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: XWayland
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: fourdan at xfce.org
        QA Contact: xorg-team at lists.x.org

Decription:

I can reliably kill Xwayland 1.19.0 using gtk-demo's (from gtk2) "rotated text"
demo.

Assertion !pixmap_priv->fbo failed in glamor_upload_picture_to_texture() at
glamor_picture.c:291

How reproducible:

Always

Steps to reproduce:

On Fedora 25:

1. Run GNOME (on Wayland)
2. Start gtk-demo (this is the gtk2 version using Xwayland)
3. Double-click on "Rotated Text" demo

Actual result:

Thread 1 "Xwayland" received signal SIGABRT, Aborted.
Assertion !pixmap_priv->fbo failed in glamor_upload_picture_to_texture() at
glamor_picture.c:291

Additional data:

Hardware is an older GeForce go 7950GTX on a Dell XPS M1710.

01:00.0 VGA compatible controller: NVIDIA Corporation G71M [GeForce Go 7950
GTX] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 019b
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 29
        Region 0: Memory at ed000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at ee000000 (64-bit, non-prefetchable) [size=16M]
        Region 5: I/O ports at ef00 [size=128]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0200c  Data: 41a2
        Capabilities: [78] Express (v1) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <256ns,
L1 <4us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
SlotPowerLimit 75.000W
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Exit
Latency L0s <256ns, L1 <4us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
                LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
        Capabilities: [128 v1] Power Budgeting <?>
        Kernel driver in use: nouveau
        Kernel modules: nouveau


(gdb) bt
#0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1  0x00007f936f22951a in __GI_abort () at abort.c:89
#2  0x00007f936f21fda7 in __assert_fail_base (fmt=<optimized out>,
assertion=assertion at entry=0x5a9081 "!pixmap_priv->fbo",
file=file at entry=0x5a9070 "glamor_picture.c", 
    line=line at entry=291, function=function at entry=0x5a91a0
<__PRETTY_FUNCTION__.45180> "glamor_upload_picture_to_texture") at assert.c:92
#3  0x00007f936f21fe52 in __GI___assert_fail
(assertion=assertion at entry=0x5a9081 "!pixmap_priv->fbo",
file=file at entry=0x5a9070 "glamor_picture.c", line=line at entry=291, 
    function=function at entry=0x5a91a0 <__PRETTY_FUNCTION__.45180>
"glamor_upload_picture_to_texture") at assert.c:101
#4  0x000000000044519e in glamor_upload_picture_to_texture
(picture=picture at entry=0x2fff6e0) at glamor_picture.c:291
#5  0x000000000043564e in glamor_composite_choose_shader (op=op at entry=12 '\f',
source=source at entry=0x2f6b930, mask=mask at entry=0x2fff6e0,
dest=dest at entry=0x2fcf2d0, 
    source_pixmap=source_pixmap at entry=0x2f96d70,
mask_pixmap=mask_pixmap at entry=0x2fff450, dest_pixmap=0x2fd4a00,
source_pixmap_priv=0x2f96dc0, mask_pixmap_priv=0x2fff4a0, 
    dest_pixmap_priv=0x2fd4a50, s_key=0x7ffc5eb848b0, shader=0x7ffc5eb84890,
op_info=0x7ffc5eb848d0, psaved_source_format=0x7ffc5eb84884,
ca_state=CA_TWO_PASS)
    at glamor_render.c:1002
#6  0x0000000000437913 in glamor_composite_with_shader (ca_state=CA_TWO_PASS,
rects=0x7ffc5eb84940, nrect=1, dest_pixmap_priv=0x2fd4a50,
mask_pixmap_priv=0x2fff4a0, 
    source_pixmap_priv=0x2f96dc0, dest_pixmap=0x2fd4a00, mask_pixmap=0x2fff450,
source_pixmap=0x2f96d70, dest=0x2fcf2d0, mask=0x2fff6e0, source=0x2f6b930, op=0
'\000')
    at glamor_render.c:1152
#7  glamor_composite_clipped_region (op=op at entry=3 '\003',
source=source at entry=0x2f887e0, mask=mask at entry=0x2fff6e0,
dest=dest at entry=0x2fcf2d0, 
    source_pixmap=source_pixmap at entry=0x0, mask_pixmap=<optimized out>,
dest_pixmap=0x2fd4a00, region=0x7ffc5eb84ab0, x_source=<optimized out>,
y_source=<optimized out>, 
    x_mask=<optimized out>, y_mask=<optimized out>, x_dest=91, y_dest=19) at
glamor_render.c:1547
#8  0x000000000043893e in glamor_composite (op=op at entry=3 '\003',
source=source at entry=0x2f887e0, mask=mask at entry=0x2fff6e0,
dest=dest at entry=0x2fcf2d0, 
    x_source=<optimized out>, y_source=<optimized out>, x_mask=0, y_mask=0,
x_dest=91, y_dest=19, width=6, height=18) at glamor_render.c:1686
#9  0x000000000043041e in glamor_composite_glyphs (op=3 '\003', src=0x2f887e0,
dst=0x2fcf2d0, glyph_format=<optimized out>, x_src=-60, y_src=<optimized out>, 
    nlist=<optimized out>, list=0x7ffc5eb84e40, glyphs=0x7ffc5eb85238) at
glamor_composite_glyphs.c:399
#10 0x00000000004f87b7 in damageGlyphs (op=<optimized out>, pSrc=0x2f887e0,
pDst=0x2fcf2d0, maskFormat=0x0, xSrc=<optimized out>, ySrc=<optimized out>,
nlist=1, 
    list=0x7ffc5eb84e30, glyphs=0x7ffc5eb85230) at damage.c:569
#11 0x00000000004ebdfa in ProcRenderCompositeGlyphs (client=0x2f083e0) at
render.c:1377
#12 0x00000000005567d5 in Dispatch () at dispatch.c:469
#13 0x000000000055a758 in dix_main (argc=10, argv=0x7ffc5eb85c18,
envp=<optimized out>) at main.c:287
#14 0x00007f936f212401 in __libc_start_main (main=0x423d80 <main>, argc=10,
argv=0x7ffc5eb85c18, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, 
    stack_end=0x7ffc5eb85c08) at ../csu/libc-start.c:289
#15 0x0000000000423dba in _start ()

#4  0x000000000044519e in glamor_upload_picture_to_texture
(picture=picture at entry=0x2fff6e0) at glamor_picture.c:291
291         assert(!pixmap_priv->fbo);
(gdb) list
286         Bool ret = TRUE;
287         Bool needs_swizzle;
288         pixman_image_t *converted_image = NULL;
289     
290         assert(glamor_pixmap_is_memory(pixmap));
291         assert(!pixmap_priv->fbo);
292     
293         glamor_make_current(glamor_priv);
294     
295         /* No handling of large pixmap pictures here (would need to make
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170110/f9f6de5a/attachment-0001.html>


More information about the wayland-bugs mailing list