After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728554 - Setting RANDR primary output crashes gnome-shell
Setting RANDR primary output crashes gnome-shell
Status: RESOLVED DUPLICATE of bug 725802
Product: gnome-shell
Classification: Core
Component: general
3.10.x
Other Linux
: Normal major
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2014-04-19 11:29 UTC by Mariusz Ceier
Modified: 2014-04-22 09:02 UTC
See Also:
GNOME target: ---
GNOME version: 3.9/3.10


Attachments
Xorg configuration (1.29 KB, application/octet-stream)
2014-04-19 11:46 UTC, Mariusz Ceier
Details

Description Mariusz Ceier 2014-04-19 11:29:34 UTC
When trying to start Gnome session, gnome-shell segfaults with following stacktrace:

Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
  • #0 g_logv
    at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmessages.c line 989
  • #0 g_logv
    at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmessages.c line 989
  • #1 g_log
    at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmessages.c line 1025
  • #2 _gdk_x11_display_error_event
    at gdkdisplay-x11.c line 2557
  • #3 gdk_x_error
    at gdkmain-x11.c line 303
  • #4 gdk_x_error
    at gdkmain-x11.c line 266
  • #5 _XError
    at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/XlibInt.c line 1463
  • #6 handle_error
    at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/xcb_io.c line 213
  • #7 handle_response
    at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/xcb_io.c line 325
  • #8 _XReply
    at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/xcb_io.c line 627
  • #9 DPMSCapable
    at /var/tmp/portage/x11-libs/libXext-1.3.2/work/libXext-1.3.2/src/DPMS.c line 137
  • #10 meta_monitor_manager_xrandr_read_current
    at core/monitor-xrandr.c line 355
  • #11 read_current_config
    at core/monitor.c line 376
  • #12 meta_monitor_manager_constructed
    at core/monitor.c line 525
  • #13 g_object_new_internal
    at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/gobject/gobject.c line 1785
  • #14 g_object_newv
    at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/gobject/gobject.c line 1890
  • #15 g_object_new
    at /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/gobject/gobject.c line 1556
  • #16 meta_monitor_manager_new
    at core/monitor.c line 489
  • #17 meta_monitor_manager_initialize
    at core/monitor.c line 1405
  • #18 meta_screen_new
    at core/screen.c line 678
  • #19 meta_display_open
    at core/display.c line 910
  • #20 meta_run
    at core/main.c line 553
  • #21 main
    at main.c line 441
  • #5 _XError
    at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/XlibInt.c line 1463
$1 = {type = 0, display = 0x1f6f2a0, resourceid = 696, serial = 344, error_code = 8 '\b', request_code = 139 '\213', minor_code = 30 '\036'}
(gdb)

This error event is generated by RRSetOutputPrimary request, which I confirmed under awesomewm, by running 'xrandr --output eDP-1-0 --primary' with result:

~ $ xrandr --output eDP-1-0 --primary
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  30 (RRSetOutputPrimary)
  Serial number of failed request:  31
  Current serial number in output stream:  33

This is with intel+nvidia hybrid setup. Attached xorg.conf.
Comment 1 Mariusz Ceier 2014-04-19 11:46:55 UTC
Created attachment 274728 [details]
Xorg configuration
Comment 2 Rui Matos 2014-04-22 09:02:39 UTC

*** This bug has been marked as a duplicate of bug 725802 ***