ログインしてさらにmixiを楽しもう

コメントを投稿して情報交換!
更新通知を受け取って、最新情報をゲット!

OpenOffice.orgコミュのX11 更新による OpenOffice.org 起動トラブル

  • mixiチェック
  • このエントリーをはてなブックマークに追加
こんにちは,だいはどです。(*- -)(*_ _)ペコリ

今朝 CentOS 4.4 で yum update を走らせ,xorg-x11 関係のファイルをいくつかアップデートしました。その結果,OpenOffice.org 2.1 アプリケーションが走らなくなってしまいました。(^^ゞ

以下のようなエラーが出ます。

--------------------------------------------------------
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 78
Minor opcode: 0
Resource id: 0x0
X Error: BadColor (invalid Colormap parameter) 12
Major opcode: 84
Minor opcode: 0
Resource id: 0x2a00028
X Error: BadColor (invalid Colormap parameter) 12
Major opcode: 84
Minor opcode: 0
Resource id: 0x2a00028
X Error: BadColor (invalid Colormap parameter) 12
Major opcode: 1
Minor opcode: 0
Resource id: 0x2a00028
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18
Minor opcode: 0
Resource id: 0x2a00029
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18
Minor opcode: 0
Resource id: 0x2a00029
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 2
Minor opcode: 0
Resource id: 0x2a00029
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 55
Minor opcode: 0
Resource id: 0x2a0002a
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 55
Minor opcode: 0
Resource id: 0x2a0002b
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 55
Minor opcode: 0
Resource id: 0x2a0002c
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 55
Minor opcode: 0
Resource id: 0x2a0002d
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 55
Minor opcode: 0
Resource id: 0x2a0002e
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 53
Minor opcode: 0
Resource id: 0x2a0002f
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 55
Minor opcode: 0
Resource id: 0x2a00030
X Error: BadPixmap (invalid Pixmap parameter) 4
Major opcode: 54
Minor opcode: 0
Resource id: 0x2a0002f
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 53
Minor opcode: 0
Resource id: 0x2a00031
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 55
Minor opcode: 0
Resource id: 0x2a00032
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 72
Minor opcode: 0
Resource id: 0x2a00032
X Error: BadGC (invalid GC parameter) 13
Major opcode: 60
Minor opcode: 0
Resource id: 0x2a00032
--------------------------------------------------------

おそらく X Window 自体の問題だと思うのでここでトピックにするのは筋違いかもしれませんが,同じような問題を抱えている人がいらっしゃるかと思い,建てさせていただきました。

Xorg のバージョンは 6.8.2 です。

コメント(21)

invalid Colormap
invalid Pixmap
ですね。
http://www.openoffice.org/issues/show_bug.cgi?id=75613
http://www.openoffice.org/issues/show_bug.cgi?id=75614
ここらへんと関係あるかもしれません。
/usr/lib/X11/rgb.txt が存在しないとか。以前同じような問題がFedora Core 5で報告されたのをふと思い出しました。
○khirano さん

お返事ありがとうございます。バグレポートを拝見しましたが,どちらの症状とも違うように思います。なにせ起動すらしてくれないので…。(^^ゞ

○Kohei さん

ありがとうございます。家にもほぼ同じ設定の CentOS 4.4 があるので比べてみたのですが,どちらにも /usr/lib/X11/rgb.txt が存在し,日付もファイルサイズも同じです。しかし家のマシンのほうでは OpenOffice.org 2.1 が正常に起動します。(^^ゞ
そのOpenOfficeってCentOSに付属のですか、それとも http://www.openoffice.org からダウンロードしたものですか?
fedora-list@redhat.com
で、次のようなものを発見。
関係ないかもしれません。
;)
Bonjour,

Gnome applications like gnome-terminal and xscreensavers seem to be
unable to work with two screen and xinerama enabled. (FC6)

Here are the errors messages:
The program 'gnome-terminal' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 136 error_code 2 request_code 78 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.)

(running with --sync option changes nothing to the message)


The program 'gnome-screensaver' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadColor (invalid Colormap parameter)'.
(Details: serial 244 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.)

It used to work under FC4..... (And you are testing FC7! What fun!)

Here is my xorg.conf:

Section "ServerLayout"
Identifier "Multihead layout"
# Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "on"
EndSection

Section "Files"
RgbPath "/usr/share/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

#Section "ServerFlags"
# Option "Xinerama" "1"
#EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "fr"
Option "XkbModel" "pc105"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LG L1920P"
HorizSync 30.0 - 71.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "LG L1952TQ"
HorizSync 30.0 - 71.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7800 GTX"
BusID "PCI:8:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7800 GTX"
BusID "PCI:8:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
# Option "metamodes" "DFP-0: 1280x1024 +0+0; DFP-0: 1152x864
+0+0; DFP-0: 1024x768 +0+0; DFP-0: 800x600 +0+0; DFP-0: 640x480 +0+0"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
# Option "metamodes" "DFP-1: nvidia-auto-select +0+0"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection



--
François Patte
UFR de mathématiques et informatique
Université René Descartes
Hello François,

> Gnome applications like gnome-terminal and xscreensavers seem to be
> unable to work with two screen and xinerama enabled. (FC6)

> Section "Device"
> Identifier "Videocard1"
> Driver "nvidia"
> VendorName "NVIDIA Corporation"
> BoardName "GeForce 7800 GTX"
> BusID "PCI:8:0:0"
> Screen 1
> EndSection

Since you use a nvidia card you probably don't want to use xinerama but use
the nvidia twinview option instead.

The below xorg.conf is what I use for my dual head setup:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Wed Mar 29 15:31:59
PST 2006

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "off"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib64/xorg/modules/extensions"
ModulePath "/usr/lib64/xorg/modules"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "bitmap"
Load "glx"
Load "v4l"
Load "ddc"
#Load "dri"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x1024"
HorizSync 31.5 - 67.0
VertRefresh 50.0 - 75.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard Vendor"
BoardName "NVIDIA GeForce 6600 GT"
Option "TwinView"
# Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "XAANoOffscreenPixmaps"
Option "TripleBuffer" "True"
# Option "NoBandWidthTest" "no"
Option "UseEdidFreqs"
Option "IgnoreDisplayDevices" "TV"
Option "SecondMonitorHorizSync" "30.000-82.000"
Option "SecondMonitorVertRefresh" "56 - 60"
Option "TwinViewOrientation" "RightOf"
Option "MetaModes" "1280x1024, 1280x1024"
Option "ConnectedMonitor" "DFP, DFP"
BusID "PCI:5:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "AddARGBGLXVisuals"
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24

Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection


nvidia-xconfig can generate the file for you and settings can be edited by the
nividia-settings graphical menu.

regards,
Marcel Janssen
◯Kohei さん

OpenOffice.org のサイトからダウンロードしたものです。ちなみに 2.2 も試しましたが,結果は同じでした(汗)。

◯khirano さん

ありがとうございます。確かに私は dual monitor で Xinerama をオンにして使っていますが,昨日まではそれでも問題なく OpenOffice.org が使えていました。いちおう明日 nVidia のバイナリドライバーをインストールしなおしてみようかと思っています。

◯課長しこしこマンさん

お返事をありがとうございます。CentOS 4.4 の X は 6.8.2 なので 7.x の問題とは(おそらく)無関係だろうとは思うのですが,アップデート直後に壊れたのでひょっとするとバックポートされた何かの機能のせいかなどと勘ぐっております。(^^;)
○課長しこしこマンさん

いろいろ調べてくださってありがとうございます。実は昨日,全ての xorg-x11 関係のパッケージを 13.37.7 から 13.37.5 に戻してみたのですが,変化がありませんでした。いちおうマシン自体も再起動したのですが…。(^^ゞ
もしかしたらprelink関係かなぁ。CentOSはRedHat系なので、prelinkで変になってる可能性とかあるかもしれないですよ。OO.oを再インストールしてみるとか?
◯Kohei さん

ありがとうございます。OO.o 2.1 を消し,2.2 をインストールしてみたのですが結果は同じでした。だんだん選択肢がなくなってきました。(^^;)
もうこうなったらソースからビルドしてみるしかないですよ(^^;。
OO.o をですか? まさか X11 をビルドせよとおっしゃっているのでは…(笑)。
だいはどさん、
http://blogs.sun.com/GullFOSS/entry/the_fastest_way_to_get
これ、どうですか!
;)
自己解決致しました。(^^ゞ

どうやらアップデートした X11 の中のファイルのどれか(おそらくは libGL.so) と NVIDIA の proprietary ドライバーがコンフリクトを起こしていた模様です。ドライバーに libGL.so が含まれていて,それを X11 が上書きしてしまったのか,あるいは別のことが原因なのかは,いまだに不明です。とりあえず NVIDIA ドライバーをインストールし直したところ,OpenOffice.org アプリが正常に動くようになりました。他に rdesktop もクラッシュ死ていたのですが,こちらも正常に動作するようになりました。

お騒がせ致しました。(*- -)(*_ _)ペコリ
Thanks. I'm surprised I didn't think of that until now. Actually, it must have crossed my mind, but I never got around to it...

I'm so glad it's over.

(^^ゞ

ログインすると、残り5件のコメントが見れるよ

mixiユーザー
ログインしてコメントしよう!

OpenOffice.org 更新情報

OpenOffice.orgのメンバーはこんなコミュニティにも参加しています

星印の数は、共通して参加しているメンバーが多いほど増えます。

人気コミュニティランキング