Re: SaveYourself hangs on logout



"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)

Havoc




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