Re: SaveYourself hangs on logout



Hi,

turned out to be the kernel module providing the device. It didn't respect
the O_NONBLOCK and _did_ block the reader in any case.

That way it wasn't Gnome's (Gdk's) fault. I'm about to fix that k.mod.

On 18 Jan 2001, Havoc Pennington wrote:

> "Christian W. Zuckschwerdt" <zany triq net> writes:
> > 
> > I wrote a small gnome application and encountered a problem with session
> > management.
> > 
> > The program uses
> > 
> >  input_tag = gdk_input_add( fd, GDK_INPUT_READ,
> > 			   (GdkInputFunction) input_callback, NULL );
> > 
> > to read from a fd. If I disable that code everthing is okay. But if I keep
> > it the application gets stuck on logout. It won't react to
> > SaveYourself command.
> > It seems to be a blocking I/O problem in the main loop?
> 
> Have you looked at where it hangs? (use strace or gdb)


  cu.
    :
    Christian





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