randr settings fail when i have a virtual crtc

Bug #863900 reported by Carli
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Expired
Low
Unassigned

Bug Description

I'm developing fake CRTCs to add new pluggable virtual monitors which can be accessed via VNC.
it works finde with xrandr. I execute the following commands to set up my multi head environment:
xrandr --admode VMon 1280x800
xrandr --output VMon --mode 1280x800 --left-of VGA-0

Other randr clients such as grandr and gnome-control center crash. I dont know why.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-control-center 1:3.2.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
Date: Sat Oct 1 10:39:30 2011
ExecutablePath: /usr/bin/gnome-control-center
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110827)
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=de_DE.UTF-8
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)
XsessionErrors:
 (gnome-settings-daemon:2214): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed
 (nautilus:2236): Gtk-CRITICAL **: gtk_action_set_visible: assertion `GTK_IS_ACTION (action)' failed
 (nautilus:2236): Gtk-CRITICAL **: gtk_action_set_visible: assertion `GTK_IS_ACTION (action)' failed
 (gnome-terminal:4058): Gtk-CRITICAL **: gtk_distribute_natural_allocation: assertion `extra_space >= 0' failed
usr_lib_gnome-control-center:
 deja-dup 20.0-0ubuntu3
 gnome-bluetooth 3.2.0-0ubuntu1
 indicator-datetime 0.3.0-0ubuntu1

Revision history for this message
Carli (s3734770) wrote :
Revision history for this message
Carli (s3734770) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "This is the patch for xserver to create virtual crtc's and monitors" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Carli (s3734770) wrote :

This link does not really fit. Are you a bot?
You should rather paste a description how to backtrace assertion fails.

Revision history for this message
Sebastien Bacher (seb128) wrote :

no I'm not a bot and the url I gave has that, did you read it? see "Now you make a Backtrace. " which points to https://wiki.ubuntu.com/Backtrace which probably has the details you want

Revision history for this message
Carli (s3734770) wrote :
Download full text (7.2 KiB)

carli@ubuntu:~/sources/prefix$ gdb bin/grandr
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/carli/sources/prefix/bin/grandr...done.
(gdb) r
Starting program: /home/carli/sources/prefix/bin/grandr
[Thread debugging using libthread_db enabled]

(grandr:21299): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed

(grandr:21299): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.30.0/./gobject/gtype.c:4192: type id `0' is invalid

(grandr:21299): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79b4c18 in gtk_tree_model_get_valist () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
(gdb) info registers
rax 0x0 0
rbx 0x7fffffffcce8 140737488342248
rcx 0x7ffff7fc4940 140737353894208
rdx 0x0 0
rsi 0x0 0
rdi 0x7fffffffcc40 140737488342080
rbp 0x7fffffffcc40 0x7fffffffcc40
rsp 0x7fffffffcc30 0x7fffffffcc30
r8 0x7de3e0 8250336
r9 0x746f6e2073692068 8390045716468801640
r10 0x1 1
r11 0x246 582
r12 0x7ffff7b29a60 140737349065312
r13 0x77d430 7853104
r14 0x7fffffffcdd0 140737488342480
r15 0x8 8
rip 0x7ffff79b4c18 0x7ffff79b4c18 <gtk_tree_model_get_valist+248>
eflags 0x10202 [ IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
(gdb) backtrace full
#0 0x00007ffff79b4c18 in gtk_tree_model_get_valist () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#1 0x00007ffff79b4efc in gtk_tree_model_get () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#2 0x0000000000406d09 in on_modes_combo_changed (combobox=0x677980, user_data=<optimized out>) at callbacks.c:164
        model = 0x77d430
        iter = {stamp = 7701536, user_data = 0x0, user_data2 = 0x1, user_data3 = 0x7ffff7144095}
        mode_id = <optimized out>
#3 0x00007ffff711d0a4 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#4 0x00007ffff712f02a in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#5 0x00007ffff71386b1 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#6 0x00007ffff7138852 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#7 0x00007ffff784d324 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol ...

Read more...

Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks for the update, not sure we can support hacked xorg sources though, do you get similar issues without patching xorg?

Revision history for this message
Carli (s3734770) wrote :

I know that i forgot sth. to set up, but should the control center hang up because of this?
When i think over it, it is rather a security/stability issue.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-control-center (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-control-center (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.