Bug 1190472 - [abrt] gnome-shell: meta_wayland_init(): gnome-shell killed by SIGTRAP
Summary: [abrt] gnome-shell: meta_wayland_init(): gnome-shell killed by SIGTRAP
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6d6f40279bdf456f1553d8fb7e5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-08 11:09 UTC by mhassambay
Modified: 2023-06-01 06:31 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-11 11:18:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (34.81 KB, text/plain)
2015-02-08 11:09 UTC, mhassambay
no flags Details
File: cgroup (190 bytes, text/plain)
2015-02-08 11:09 UTC, mhassambay
no flags Details
File: core_backtrace (9.88 KB, text/plain)
2015-02-08 11:09 UTC, mhassambay
no flags Details
File: dso_list (15.15 KB, text/plain)
2015-02-08 11:09 UTC, mhassambay
no flags Details
File: environ (2.17 KB, text/plain)
2015-02-08 11:09 UTC, mhassambay
no flags Details
File: limits (1.29 KB, text/plain)
2015-02-08 11:09 UTC, mhassambay
no flags Details
File: maps (73.16 KB, text/plain)
2015-02-08 11:09 UTC, mhassambay
no flags Details
File: open_fds (2.27 KB, text/plain)
2015-02-08 11:09 UTC, mhassambay
no flags Details
File: proc_pid_status (910 bytes, text/plain)
2015-02-08 11:10 UTC, mhassambay
no flags Details
File: var_log_messages (2.18 KB, text/plain)
2015-02-08 11:10 UTC, mhassambay
no flags Details
Use replacement for XDG_RUNTIME_DIR if it is not set (2.09 KB, patch)
2015-02-09 13:58 UTC, mchalupa
no flags Details | Diff

Description mhassambay 2015-02-08 11:09:45 UTC
Description of problem:
start agnome wayland session

Version-Release number of selected component:
gnome-shell-3.15.4-1.fc22

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        /usr/bin/gnome-shell --wayland --display-server
crash_function: meta_wayland_init
executable:     /usr/bin/gnome-shell
kernel:         3.19.0-0.rc7.git2.1.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (2 frames)
 #2 meta_wayland_init at wayland/meta-wayland.c:304
 #3 meta_init at core/main.c:363

Potential duplicate: bug 1023676

Comment 1 mhassambay 2015-02-08 11:09:48 UTC
Created attachment 989355 [details]
File: backtrace

Comment 2 mhassambay 2015-02-08 11:09:50 UTC
Created attachment 989356 [details]
File: cgroup

Comment 3 mhassambay 2015-02-08 11:09:51 UTC
Created attachment 989357 [details]
File: core_backtrace

Comment 4 mhassambay 2015-02-08 11:09:53 UTC
Created attachment 989358 [details]
File: dso_list

Comment 5 mhassambay 2015-02-08 11:09:54 UTC
Created attachment 989359 [details]
File: environ

Comment 6 mhassambay 2015-02-08 11:09:55 UTC
Created attachment 989360 [details]
File: limits

Comment 7 mhassambay 2015-02-08 11:09:57 UTC
Created attachment 989361 [details]
File: maps

Comment 8 mhassambay 2015-02-08 11:09:59 UTC
Created attachment 989362 [details]
File: open_fds

Comment 9 mhassambay 2015-02-08 11:10:00 UTC
Created attachment 989363 [details]
File: proc_pid_status

Comment 10 mhassambay 2015-02-08 11:10:01 UTC
Created attachment 989364 [details]
File: var_log_messages

Comment 11 mchalupa 2015-02-09 13:05:17 UTC
Hi, XDG_RUNTIME_DIR variable is not set in the environment, therefore wayland fails creating the socket. It looks like you're using sudo, right? sudo unsets most of environment variables (XDG_RUNTIME_DIR too), so this is the problem.

I need more info about how you start gnome-shell (or gdm).

Comment 12 mchalupa 2015-02-09 13:18:04 UTC
Here are some references:
https://bugzilla.redhat.com/show_bug.cgi?id=753882
http://cgit.freedesktop.org/systemd/systemd/commit/?id=baae0358f349870544884e405e82e4be7d8add9f

XDG_RUNTIME_DIR specification (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) says:

"If $XDG_RUNTIME_DIR is not set applications should fall back to a replacement directory with similar capabilities and print a warning message."

So we should probably change mutter's behavior and instead of aborting just fall back to some other directory. It would solve this bug no matter what environment sudo/su sets.

Comment 13 mhassambay 2015-02-09 13:46:57 UTC
I used [gnome-session --session=gnome-wayland] command line from a tty. I used it with and without sudo.
Anyway, you seem to have identified the issue.
Thanks,

Comment 14 mchalupa 2015-02-09 13:58:56 UTC
Created attachment 989695 [details]
Use replacement for XDG_RUNTIME_DIR if it is not set

Comment 15 mchalupa 2015-02-12 14:18:53 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=744374

Status 	UNCONFIRMED ---> RESOLVED
Resolution 	    ---> INVALID

Comment 16 Jaroslav Reznik 2015-03-03 16:51:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 17 Kenny G 2015-04-06 09:37:05 UTC Comment hidden (spam)
Comment 18 mchalupa 2016-02-11 11:18:32 UTC
This bug was marked as INVALID by upstream, it stem probably from bad usage. Closing as WONTFIX


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