Bug 1372878 - [abrt] xorg-x11-server-Xwayland: pushbuf_krel(): Xwayland killed by SIGABRT [NEEDINFO]
Summary: [abrt] xorg-x11-server-Xwayland: pushbuf_krel(): Xwayland killed by SIGABRT
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 25
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:68ef99d12390f15903823798a6c...
: 1402244 1404264 1412789 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-03 05:30 UTC by Yonatan
Modified: 2017-12-15 22:46 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:20:18 UTC
Type: ---
Embargoed:
ofourdan: needinfo?


Attachments (Terms of Use)
File: backtrace (20.48 KB, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details
File: cgroup (229 bytes, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details
File: core_backtrace (7.50 KB, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details
File: dso_list (5.19 KB, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details
File: environ (1023 bytes, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details
File: limits (1.29 KB, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details
File: maps (18.94 KB, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details
File: mountinfo (3.35 KB, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details
File: namespaces (102 bytes, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details
File: open_fds (2.19 KB, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details
File: proc_pid_status (1000 bytes, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details
File: var_log_messages (307 bytes, text/plain)
2016-09-03 05:31 UTC, Yonatan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 94727 0 None None None 2016-12-02 10:24:23 UTC

Description Yonatan 2016-09-03 05:30:50 UTC
Version-Release number of selected component:
xorg-x11-server-Xwayland-1.18.4-5.fc25

Additional info:
reporter:       libreport-2.7.2
backtrace_rating: 4
cmdline:        /usr/bin/Xwayland :0 -rootless -noreset -listen 4 -listen 5 -displayfd 6
crash_function: pushbuf_krel
executable:     /usr/bin/Xwayland
global_pid:     1357
kernel:         4.8.0-0.rc4.git0.1.fc25.i686+PAE
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #6 pushbuf_krel at pushbuf.c:238
 #7 nouveau_pushbuf_reloc at pushbuf.c:746
 #8 PUSH_RELOC at nv30/nv30_winsys.h:26
 #9 nv30_transfer_rect_m2mf at nv30/nv30_transfer.c:523
 #10 nv30_resource_copy_region at nv30/nv30_miptree.c:145
 #11 util_try_blit_via_copy_region at util/u_surface.c:684
 #12 nv30_blit at nv30/nv30_miptree.c:213
 #13 st_TexSubImage at state_tracker/st_cb_texture.c:1947
 #14 _mesa_texture_sub_image at main/teximage.c:3174
 #15 texsubimage at main/teximage.c:3232

Comment 1 Yonatan 2016-09-03 05:31:02 UTC
Created attachment 1197379 [details]
File: backtrace

Comment 2 Yonatan 2016-09-03 05:31:06 UTC
Created attachment 1197380 [details]
File: cgroup

Comment 3 Yonatan 2016-09-03 05:31:14 UTC
Created attachment 1197381 [details]
File: core_backtrace

Comment 4 Yonatan 2016-09-03 05:31:19 UTC
Created attachment 1197382 [details]
File: dso_list

Comment 5 Yonatan 2016-09-03 05:31:25 UTC
Created attachment 1197383 [details]
File: environ

Comment 6 Yonatan 2016-09-03 05:31:27 UTC
Created attachment 1197384 [details]
File: limits

Comment 7 Yonatan 2016-09-03 05:31:31 UTC
Created attachment 1197385 [details]
File: maps

Comment 8 Yonatan 2016-09-03 05:31:35 UTC
Created attachment 1197386 [details]
File: mountinfo

Comment 9 Yonatan 2016-09-03 05:31:40 UTC
Created attachment 1197387 [details]
File: namespaces

Comment 10 Yonatan 2016-09-03 05:31:44 UTC
Created attachment 1197388 [details]
File: open_fds

Comment 11 Yonatan 2016-09-03 05:31:50 UTC
Created attachment 1197389 [details]
File: proc_pid_status

Comment 12 Yonatan 2016-09-03 05:31:58 UTC
Created attachment 1197390 [details]
File: var_log_messages

Comment 13 Ahmed Noor Kader Mustajir Md Eusoff 2016-11-25 17:52:20 UTC
Similar problem has been detected:

while browsing the internet using mozilla firefox

reporter:       libreport-2.8.0
backtrace_rating: 4
cmdline:        /usr/bin/Xwayland :0 -rootless -noreset -listen 4 -listen 5 -displayfd 6
crash_function: pushbuf_krel
executable:     /usr/bin/Xwayland
global_pid:     1177
kernel:         4.8.8-300.fc25.x86_64
package:        xorg-x11-server-Xwayland-1.19.0-0.8.rc2.fc25
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
reason:         Xwayland killed by SIGABRT
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 14 José Leaño 2016-12-02 09:26:01 UTC
Similar problem has been detected:

I think it happened for the first time when I tried to login into a webmail account with two passwords (one to enter and another to decipher mailbox). I got a message saying "Oops...Gnome...crashed...xwayland...contact developer". It would also crash when I use other applications; I would get the same message and it would bring me back to the login screen.

reporter:       libreport-2.8.0
backtrace_rating: 4
cmdline:        /usr/bin/Xwayland :0 -rootless -noreset -listen 4 -listen 5 -displayfd 6
crash_function: pushbuf_krel
executable:     /usr/bin/Xwayland
global_pid:     1381
kernel:         4.8.8-300.fc25.x86_64
package:        xorg-x11-server-Xwayland-1.19.0-1.fc25
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
reason:         Xwayland killed by SIGABRT
runlevel:       N 5
type:           CCpp
uid:            1001

Comment 15 Olivier Fourdan 2016-12-02 10:24:24 UTC
Even though this is Xwayland crashing, none of the code in the backtrace points toward Xwayland itself, but rather mesa and the nouveau driver.

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

Comment 16 Olivier Fourdan 2016-12-02 10:28:09 UTC
Edit: this is actually an abort() in nouveau drm code, not a crash.

In drm/nouveau/pushbuf.c

222 static uint32_t
223 pushbuf_krel(struct nouveau_pushbuf *push, struct nouveau_bo *bo,
224              uint32_t data, uint32_t flags, uint32_t vor, uint32_t tor)
225 {
226         struct nouveau_pushbuf_priv *nvpb = nouveau_pushbuf(push);
227         struct nouveau_pushbuf_krec *krec = nvpb->krec;
228         struct drm_nouveau_gem_pushbuf_reloc *krel;
229         struct drm_nouveau_gem_pushbuf_bo *pkref;
230         struct drm_nouveau_gem_pushbuf_bo *bkref;
231         uint32_t reloc = data;
232 
233         pkref = cli_kref_get(push->client, nvpb->bo);
234         bkref = cli_kref_get(push->client, bo);
235         krel  = &krec->reloc[krec->nr_reloc++];
236 
237         assert(pkref);
238         assert(bkref);    <=== *** here ***
239         krel->reloc_bo_index = pkref - krec->buffer;
240         krel->reloc_bo_offset = (push->cur - nvpb->ptr) * 4;
241         krel->bo_index = bkref - krec->buffer;
242         krel->flags = 0;
243         krel->data = data;
244         krel->vor = vor;
245         krel->tor = tor;
246         [...]

Comment 17 Olivier Fourdan 2016-12-02 10:32:22 UTC
Moving to libdrm for a better opinion.

Comment 18 Olivier Fourdan 2016-12-07 08:14:07 UTC
*** Bug 1402244 has been marked as a duplicate of this bug. ***

Comment 19 Yonatan 2016-12-09 15:00:33 UTC
This is shown in the terminal:

[9066.595376] nouveau 0000:00:0d:0: bus: MMIO write of 00000000 FAULT at 00b000

Comment 20 Olivier Fourdan 2017-01-11 12:43:02 UTC
Hi, Ilia has posted in upstream bug [1] a patch that might help [2], I've prepared a scratch build of mesa with this patch for Fedora 25:

    https://koji.fedoraproject.org/koji/taskinfo?taskID=17242295

Can you try updating mesa with these packages and try to reproduce?

* Note: This is a scratch build, meaning it will be automatically removed after a short time.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=94727
[2] https://patchwork.freedesktop.org/patch/132414/

Comment 21 Olivier Fourdan 2017-01-11 12:44:37 UTC
moving to mesa

Comment 22 Olivier Fourdan 2017-01-27 15:42:09 UTC
Hi, have you had time to try the test package from comment 20 ?

Comment 23 Olivier Fourdan 2017-02-28 15:47:06 UTC
The patch is included in mesa 13.0.4, does it still occur with an up-to-date mesa package?

Comment 24 Fedora End Of Life 2017-11-16 15:41:37 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 25 Fedora End Of Life 2017-12-12 10:20:18 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 26 Adam Williamson 2017-12-15 22:43:23 UTC
*** Bug 1404264 has been marked as a duplicate of this bug. ***

Comment 27 Adam Williamson 2017-12-15 22:46:36 UTC
*** Bug 1412789 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.