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 356520 - secondary screen returns no sizes
secondary screen returns no sizes
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: Display
2.16.x
Other All
: High critical
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 366386 368616 374522 375838 379862 388706 390662 391924 415393 416124 420122 422644 425896 432459 (view as bug list)
Depends on:
Blocks: randr-tracker
 
 
Reported: 2006-09-18 11:31 UTC by daniel.goldsmith
Modified: 2009-02-26 02:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description daniel.goldsmith 2006-09-18 11:31:19 UTC
Version: 2.15.92

What were you doing when the application crashed?
opening the application. prgrams running were BonEcho, irssi in a gnome-terminal and gedit


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.15.92 2006-08-22 (Ubuntu)
BugBuddy Version: 2.15.92

Memory status: size: 26484736 vsize: 0 resident: 26484736 share: 0 rss: 7409664 rss_rlim: 0
CPU usage: start_time: 1158579017 rtime: 0 utime: 11 stime: 0 cutime:9 cstime: 0 timeout: 2 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/gnome-display-properties'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224558928 (LWP 10832)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1224558928 (LWP 10832))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 gtk_tree_model_get_valist
    from /usr/lib/libgtk-x11-2.0.so.0
  • #5 gtk_tree_model_get
    from /usr/lib/libgtk-x11-2.0.so.0
  • #6 _start
  • #0 __kernel_vsyscall

Comment 1 Luca Cavalli 2006-10-28 17:07:08 UTC
*** Bug 366386 has been marked as a duplicate of this bug. ***
Comment 2 André Klapper 2006-11-01 09:53:24 UTC
*** Bug 368616 has been marked as a duplicate of this bug. ***
Comment 3 André Klapper 2006-11-01 09:54:52 UTC
confirming as per duplciates
Comment 4 André Klapper 2006-11-13 10:34:59 UTC
*** Bug 374522 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2006-11-16 10:37:26 UTC
*** Bug 375838 has been marked as a duplicate of this bug. ***
Comment 6 Susana 2006-11-27 18:56:34 UTC
*** Bug 379862 has been marked as a duplicate of this bug. ***
Comment 7 Damien Durand 2006-12-22 19:10:27 UTC
*** Bug 388706 has been marked as a duplicate of this bug. ***
Comment 8 Christian Kirbach 2006-12-29 14:17:08 UTC
*** Bug 390662 has been marked as a duplicate of this bug. ***
Comment 9 Luca Cavalli 2007-01-02 18:16:37 UTC
*** Bug 391924 has been marked as a duplicate of this bug. ***
Comment 10 Jens Granseuer 2007-01-30 21:51:15 UTC
Does this still happen?

If so, can anybody get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 11 Jens Granseuer 2007-03-06 17:55:53 UTC
*** Bug 415393 has been marked as a duplicate of this bug. ***
Comment 12 Jens Granseuer 2007-03-08 17:24:12 UTC
*** Bug 416124 has been marked as a duplicate of this bug. ***
Comment 13 Pedro Villavicencio 2007-03-19 14:58:06 UTC
*** Bug 420122 has been marked as a duplicate of this bug. ***
Comment 14 nickd 2007-03-22 23:24:58 UTC
(In reply to comment #13)
> *** Bug 420122 has been marked as a duplicate of this bug. ***
> 

My problem was caused by weirdness with a video driver, unrelated to this software.

Please delete this bug report.

Thank you.

Comment 15 Jens Granseuer 2007-03-23 17:41:13 UTC
Even if it was caused by some weirdness in a video driver we should try not to crash, so this is still relevant. If this weirdness is reproducible for you, getting us a stacktrace with debugging symbols would be much appreciated.

In addition, it would be nice if you could tell us with which video driver this weirdness happened (and possibly how), so we can at least check whether the cause is the same for others who are seeing this crash. Thank you.
Comment 16 Jens Granseuer 2007-03-26 18:51:04 UTC
*** Bug 422644 has been marked as a duplicate of this bug. ***
Comment 17 Pedro Villavicencio 2007-04-03 16:54:12 UTC
*** Bug 425896 has been marked as a duplicate of this bug. ***
Comment 18 Jens Granseuer 2007-04-23 16:28:18 UTC
*** Bug 432459 has been marked as a duplicate of this bug. ***
Comment 19 npeelman 2007-04-23 23:52:06 UTC
As a newb to Linux all I can tell you is the following:

1. Dual monitor setup
2. Primary monitor is using onboard Intel graphics / 'i810' driver
3. Secondary monitor is using older PCI nvidia GeForce card / 'nv' driver
4. Xinerama is 'enabled' via xorg.conf - ServerFlags 'Xinerama' 'enabled'

...where are the questions i'm being asked to answer???

 
Comment 20 Jens Granseuer 2007-04-25 18:24:35 UTC
We need a stacktrace with debugging symbols. If you follow the link in comment 10, you'll find instructions on how to obtain such a trace for several distributions.
Comment 21 npeelman 2007-04-25 22:25:29 UTC
(In reply to comment #19)
> As a newb to Linux all I can tell you is the following:
> 
> 1. Dual monitor setup
> 2. Primary monitor is using onboard Intel graphics / 'i810' driver
> 3. Secondary monitor is using older PCI nvidia GeForce card / 'nv' driver
> 4. Xinerama is 'enabled' via xorg.conf - ServerFlags 'Xinerama' 'enabled'
> 
> ...where are the questions i'm being asked to answer???
> 
> Edit: Works ok with Xinerama enabled... crashes when Xinerama is NOT enabled and 
> multiple instances of X are running. 

Comment 22 npeelman 2007-04-25 22:26:09 UTC
(In reply to comment #19)
As a newb to Linux all I can tell you is the following:
 
 1. Dual monitor setup
 2. Primary monitor is using onboard Intel graphics / 'i810' driver
 3. Secondary monitor is using older PCI nvidia GeForce card / 'nv' driver
 4. Xinerama is 'enabled' via xorg.conf - ServerFlags 'Xinerama' 'enabled'
 
 ...where are the questions i'm being asked to answer???
 
 Edit: Works ok with Xinerama enabled... crashes when Xinerama is NOT enabled and 
 multiple instances of X are running. 

Comment 23 Christian Kirbach 2007-05-03 20:02:15 UTC
npeelman, please see comment #10 in this report.
a trace would be really helpful for the developers. thanks.
Comment 24 npeelman 2007-05-04 01:30:18 UTC
Here's a backtrace:

Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 34402304 vsize: 0 resident: 34402304 share: 0 rss: 10182656 rss_rlim: 0
CPU usage: start_time: 1178241855 rtime: 0 utime: 36 stime: 0 cutime:30 cstime: 0 timeout: 6 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/gnome-display-properties'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224959376 (LWP 25021)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1224959376 (LWP 25021))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 IA__gtk_tree_model_get_valist
    at gtktreemodel.c line 1439
  • #5 IA__gtk_tree_model_get
    at gtktreemodel.c line 1401
  • #6 _start
  • #0 __kernel_vsyscall

Comment 25 Christian Kirbach 2007-05-04 09:40:39 UTC
thank you, that trace is excellent! look like a crash in gtk+. changing product.

can you please try to upgrade to Gnome 2.16 or Gnome 2.18 and try to check whether the problem may have been fixed?

Comment 26 Jens Granseuer 2007-05-04 15:38:00 UTC
I'm not convinced this is gtk territory. I'd like to see a trace including the control-center symbols. npeelman, could supply that as well, please?
Comment 27 npeelman 2007-05-05 02:57:30 UTC
New backtrace with gnome-control-center-dbg:

Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 34398208 vsize: 0 resident: 34398208 share: 0 rss: 10178560 rss_rlim: 0
CPU usage: start_time: 1178333588 rtime: 0 utime: 32 stime: 0 cutime:29 cstime: 0 timeout: 3 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/gnome-display-properties'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1224865168 (LWP 16796)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1224865168 (LWP 16796))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 IA__gtk_tree_model_get_valist
    at gtktreemodel.c line 1439
  • #5 IA__gtk_tree_model_get
    at gtktreemodel.c line 1401
  • #6 get_current_resolution
    at /build/buildd/control-center-2.16.1/./capplets/display/main.c line 159
  • #7 generate_rate_menu
    at /build/buildd/control-center-2.16.1/./capplets/display/main.c line 383
  • #8 create_dialog
    at /build/buildd/control-center-2.16.1/./capplets/display/main.c line 483
  • #9 main
    at /build/buildd/control-center-2.16.1/./capplets/display/main.c line 939
  • #0 __kernel_vsyscall

Comment 28 Jens Granseuer 2007-05-05 09:43:48 UTC
Thanks a lot. Definitely not a GTK problem.

npeelman (or somebody else who can reproduce), are you available via IRC/IM? I'd like to step you through a gdb session   to fix this. Apparently we're getting fed some unexpected data. Unfortunately, I don't have a dual-monitor setup to test with myself, so I need someone to poke at stuff for me.

You can often find me on the #control-center channel on irc.gnome.org (fizz). Feel free to mail me to exchange other contact details if necessary.
Comment 29 npeelman 2007-05-05 15:25:39 UTC
FULL backtrace at request of Jens Granseuer:

(gdb) bt full
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 IA__g_logv
    at gmessages.c line 497
  • #4 IA__g_log
    at gmessages.c line 517
  • #5 IA__g_return_if_fail_warning
  • #6 gtk_list_store_get_value
    at gtkliststore.c line 462
  • #7 IA__gtk_tree_model_get_value
    at gtktreemodel.c line 1140
  • #8 IA__gtk_tree_model_get_valist
    at gtktreemodel.c line 1437
  • #9 IA__gtk_tree_model_get
    at gtktreemodel.c line 1401
  • #10 get_current_resolution
    at main.c line 159
  • #11 generate_rate_menu
    at main.c line 383
  • #12 create_rate_menu
    at main.c line 483
  • #13 create_screen_widgets
    at main.c line 565
  • #14 create_dialog
    at main.c line 646
  • #15 main
    at main.c line 939

Comment 30 Jens Granseuer 2007-05-05 17:55:00 UTC
Ok, so for posterity:

Thanks to npeelman's relentless efforts we have been able to identify the source of the issue. It appears XRRGetSizes can return 0 (zero) resolutions for an existing screen. That in turn leaves the capplet in an inconsistent state.

Now, I'm not sure whether the fact that 0 is returned is actually a driver problem or something else. I'm trying to get an answer to that from the X guys. Hopefully, that will also give us an idea how to handle this situation properly.
Comment 31 Jens Granseuer 2007-05-10 20:17:27 UTC
Norman, could you please tell us the versions of xorg-server and libXrandr you are using?
Comment 32 npeelman 2007-05-10 22:26:45 UTC
According to Synaptic:

Installed-
xserver-xorg version 1:7.1.1ubuntu6.2
libxrandr2 version 2:1.1.1-0ubuntu1

Comment 33 Jens Granseuer 2007-05-22 17:48:00 UTC
I just committed a change to fix the crashes. I'm still unsure how we're supposed to properly handle this case, though.
Comment 34 Federico Mena Quintero 2009-02-26 02:03:42 UTC
This is obsolete with the new RANDR code.