たかのです。こんばんは。

  僕も以前に確か似たような現象に陥りました。

  そのときに起きた事情を IRC で叫んだような気がしたのでログを調
べたのですが、いまいち発見できませんでした。

  emacs の make config 時に怪しいと思える関連性アプリのチェック
をはずして色々なパータンで 10 回くらい make しなおして原因を特定
した記憶があります。


  なので、「emacs の動作はこれが怪しい。」となったら make config
からそれを外して make し直せば良いのではないかと思います。確か
DBUS とか GCONF のオプションのチェックを外したような気がしないで
もないのですが・・。

  で、現在はというと make config の default の [*] の状態でも無
事に動作しています。定期的に ports を csup したりしてますので。

  あと、そのあとは確か派手な ports のライブラリのアップデートが
あったので全ての ports を make deinstall した後は問題く動作した
ような記憶があります。


  あまり役に立たない情報ですみません・・。



From: "Hisao Osawa" <osawa.hi...@nikon.co.jp>さん
> 
> emacsについてトラブルが起こっていまして、アドバイスを頂きたく。
> 
> 現象としてはX上のコンソールからemacsを起動すると、emacsのウィンドウが現れる前に
> デスクトップが固まります。時計なども止まっています。
> 別の端末(別のPCからのSSH)で見ると、dbus-launchが2つ動いていてそれが問題のようです。
> 普通に起動するにはどうしたらいいのでしょうか。
> 
> 片方をKILLすると、
> (emacs:28579): GLib-GIO-CRITICAL **: g_dbus_connection_add_filter: assertion 
> `G_IS_DBUS_CONNECTION (connection)' failed
> なるメッセージが出た後、emacsウィンドウが現れ全く問題なく使えます。
> 
> さらに、もうひとつemacsを起動しようとすると、さらにdbus-launchプロセスが現れて
> 同じ現象となります。
> 
> ちなみにコンソールには、次のエラーが7つ表示されます。
> (emacs:28579): GLib-WARNING **: In call to g_spawn_sync(), exit status of a 
> child process was requested but SIGCHLD action was set to SIG_IGN and ECHILD 
> was received by waitpid(), so exit status can't be returned. This is a bug in 
> the program calling g_spawn_sync(); either don't request the exit status, or 
> don't set the SIGCHLD action.
> 
> 
> /etc/rc.conf内で、
> hald_enable="YES"
> dbus_enable="YES"
> としてありますが、"NO"でも状況は変わりません。
> 
> emacs-24.2,1のdbusオプションのON/OFFでも変化ありません。
> 
> 
> とりあえず、関連ありそうなportsをリストアップすると、
> dbus-1.4.14_3       A message bus system for inter-application communication
> dbus-glib-0.94      GLib bindings for the D-BUS messaging system
> eggdbus-0.6_1       D-Bus bindings for GObject
> qt4-dbus-4.8.2      Qt4 bindings for the D-BUS messaging system
> hal-0.5.14_19       Hardware Abstraction Layer for simplifying device access
> xorg-7.5.2          X.Org complete distribution metaport
> xorg-apps-7.5.2     X.org apps meta-port
> xorg-cf-files-1.0.4 X.org cf files for use with imake builds
> xorg-drivers-7.5.2  X.org drivers meta-port
> xorg-libraries-7.5.1 X.org libraries meta-port
> xorg-macros-1.16.1  X.Org development aclocal macros
> xorg-server-1.7.7_6,1 X.Org X server and related programs
> nvidia-driver-295.71_1 NVidia graphics card binary drivers for hardware 
> OpenGL ren
> emacs-24.2,2        GNU editing macros
> windowmaker-0.95.2_4 GNUstep-compliant NeXTstep window manager clone

たかの
---
Contact to me.
takachan[at]running-dog.net     http://www.running-dog.net/
takachan[at]xn--w8j2bze0962a.jp http://xn--w8j2bze0962a.jp/

メールによる返信