Re: gdm lock, race condition




> gdm should make the directory /var/run/gdm on make install.  Is this
> just a matter of adding this to gdm/config/Makefile.am?
> --------
> lock_dir:
> 	  mkdir /var/run/gdm
> --------

That is a system-specific hack.  Even it might be a
distribution-specific hack.  

> The problem with debugging is that children keep on getting spawned,
> and its a real pain to get gdb to attach to the child process before
> it dies.

Start gdm with the  -nodaemon option.

Also, you can attach to a running process in gdb, just use the 
"attach PID" command in gdb.

Also, using strace -f might be helpful.

Miguel.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]