<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Xwayland]: Assertion !pixmap_priv->fbo failed in glamor_upload_picture_to_texture() at glamor_picture.c:291"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99346">99346</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Xwayland]: Assertion !pixmap_priv->fbo failed in glamor_upload_picture_to_texture() at glamor_picture.c:291
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>XWayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fourdan@xfce.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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@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@entry=0x5a9081 "!pixmap_priv->fbo",
file=file@entry=0x5a9070 "glamor_picture.c", 
    line=line@entry=291, function=function@entry=0x5a91a0
<__PRETTY_FUNCTION__.45180> "glamor_upload_picture_to_texture") at assert.c:92
#3  0x00007f936f21fe52 in __GI___assert_fail
(assertion=assertion@entry=0x5a9081 "!pixmap_priv->fbo",
file=file@entry=0x5a9070 "glamor_picture.c", line=line@entry=291, 
    function=function@entry=0x5a91a0 <__PRETTY_FUNCTION__.45180>
"glamor_upload_picture_to_texture") at assert.c:101
#4  0x000000000044519e in glamor_upload_picture_to_texture
(picture=picture@entry=0x2fff6e0) at glamor_picture.c:291
#5  0x000000000043564e in glamor_composite_choose_shader (op=op@entry=12 '\f',
source=source@entry=0x2f6b930, mask=mask@entry=0x2fff6e0,
dest=dest@entry=0x2fcf2d0, 
    source_pixmap=source_pixmap@entry=0x2f96d70,
mask_pixmap=mask_pixmap@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@entry=3 '\003',
source=source@entry=0x2f887e0, mask=mask@entry=0x2fff6e0,
dest=dest@entry=0x2fcf2d0, 
    source_pixmap=source_pixmap@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@entry=3 '\003',
source=source@entry=0x2f887e0, mask=mask@entry=0x2fff6e0,
dest=dest@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@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)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>