The following error does not occour, if use only one screen:
The program 'xfce4-terminal' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadColor (invalid Colormap parameter)'.
(Details: serial 243 error_code 12 request_code 1 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Created attachment 1314
xorg.conf with xinerama, which causes the xfce4-terminal bug
There are two things somewhat unusual with this configuration:
A) The main screen is on the right side.
B) The left screen is rotated, to get portrait orientation.
(I've rotated my monitor, too.)
I'm using the nvidia binary driver from the ubuntu repository.
This bug has been reported on Ubuntu Launchpad as:
Binary package hint: xfce4-terminal
Source package: https://launchpad.net/ubuntu/+source/xfce4-terminal/0.2.10-1ubuntu2
$ lsb_release -rd
Description: Ubuntu 9.04
$ uname -a
Linux ailiev 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux
$ apt-cache policy xfce4-terminal
*** 0.2.10-1ubuntu2 0
500 http://bg.archive.ubuntu.com jaunty/universe Packages
NOTE: The X server is running in Xinerama mode with two displays, nvidia proprietary drivers.
Steps to reproduce:
1. Start a xterm instance
2. Type 'xfce4-terminal'
Result: Segmentation fault
Expected result: Program to be started normally
Here's a backtrace:
$ gdb /usr/local/bin/Terminal
GNU gdb 6.8-debian
Copyright (C) 2008 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"...
Starting program: /usr/local/bin/Terminal
[Thread debugging using libthread_db enabled]
[New Thread 0x7f530ccb67d0 (LWP 31958)]
Xlib: extension "RANDR" missing on display ":0.0".
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f530ccb67d0 (LWP 31958)]
0x0000000000419c01 in terminal_screen_get_size (screen=0x0, width_chars=0x7fff14ceb860, height_chars=0x7fff14ceb85c)
1100 *width_chars = VTE_TERMINAL (screen->terminal)->column_count;
#0 0x0000000000419c01 in terminal_screen_get_size (screen=0x0, width_chars=0x7fff14ceb860,
height_chars=0x7fff14ceb85c) at terminal-screen.c:1100
#1 0x0000000000422462 in terminal_window_notebook_visibility (window=0x13da090) at terminal-window.c:921
#2 0x0000000000423079 in terminal_window_page_added (notebook=<value optimized out>, child=0x13bd050,
page_num=<value optimized out>, window=0x13da090) at terminal-window.c:985
#3 0x00007f530aac027d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#4 0x00007f530aad5e3b in ?? () from /usr/lib/libgobject-2.0.so.0
#5 0x00007f530aad7432 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#6 0x00007f530aad7953 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#7 0x00007f530b52fdae in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8 0x0000000000420cb1 in terminal_window_add (window=0x13da090, screen=0x13bd050) at terminal-window.c:1710
#9 0x000000000040f7b8 in terminal_app_open_window (app=0x13cbe00, attr=0x13d90b0) at terminal-app.c:546
#10 0x000000000040facb in terminal_app_process (app=0x13cbe00, argv=<value optimized out>, argc=<value optimized out>,
error=<value optimized out>) at terminal-app.c:483
#11 0x000000000040ec39 in main (argc=1, argv=0x7fff14cebf38) at main.c:264
Close bugs in products that are not active anymore.