Dne úterý 03 únor 2009 Vladimir Nadvornik napsal(a):
> Dne pondělí 02 únor 2009 Vladimir Nadvornik napsal(a):
> > > 5:  I reported this problem with gqview and it remains with geeqie. 
> > > You start one session of geeqie and it works.  You start a second
> > > session and the first session stops working.  It is no longer able to
> > > display images or navigate anywhere.  However, if you start as thire
> > > and forth session, all instances after the first will now work.  I'm
> > > fuzzy on this now, but I seem to remember that it was related to a lock
> > > or socket or something like this. Maybe there is a record of the
> > > original report in the bug database.
> >
> > This probably happens when the second process tries to communicate with
> > the first process via the remote control socket. I think that it is a bug
> > in glib on solaris because I don't have any reports from other systems.
> >
> > Can you try another glib version or something?
>
> Is there anything like strace on solaris?
>

The attached patch might help. Can you please test it?

Vladimir
Index: remote.c
===================================================================
--- remote.c	(revision 1374)
+++ remote.c	(working copy)
@@ -235,6 +235,8 @@
 	rc->clients = NULL;
 
 	channel = g_io_channel_unix_new(rc->fd);
+	g_io_channel_set_flags(channel, G_IO_FLAG_NONBLOCK, NULL); 
+	
 	rc->channel_id = g_io_add_watch_full(channel, G_PRIORITY_DEFAULT, G_IO_IN,
 					     remote_server_read_cb, rc, NULL);
 	g_io_channel_unref(channel);
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to