Re: Help needed, tough problem



Hi,

Look like this is http://bugzilla.gnome.org/show_bug.cgi?id=92132
which is already fixed in the HEAD and the gnome-2-0 branch.
It's a very small change, you can just apply the patch attached to
the bug report and rebuild gnome-vfs.

Laca

Christophe Fergeau wrote:
> 
> Have you tried to reduce your application to a simple test case (ie
> somethign which would only try to load 1000+ files using the http
> module) ? That might be a bug in the http-method as well as a bug in
> your code, a simple test case would probably help to know if that is
> gnome-vfs's fault or yours ;)
> 
> Hope that helps,
> 
> Christophe
> 
> Le ven 04/10/2002 à 11:48, Wolfgang Mueller a écrit :
> > Hi,
> > I am currently writing an application that downloads a images given by a list
> > of URLs using gnome-vfs. Trouble is, although I have verified strictly that I
> > do open things as often as I close, I can download a max of 1000 images and
> > gnome-vfs tells me that the number of files open is too big.
> >
> > I have now verified by adding debug code into
> >
> > garnome-0.17.1/gnome/gnome-vfs/work/gnome-vfs-2.0.4/modules/http-method.c
> >
> > that
> >
> > create_handle
> >
> > and
> >
> > http_file_handle_destroy
> >
> > are called equally often, which somehow riddles me a bit.
> >
> > Do you have any ideas?
> >
> > My code does the following:
> >
> > get image url
> > get_file_info for the url
> > open,load,close contents of the url.
> > unref file_info for the url
> >
> > It does use normal unix sockets at other places, however I have verified that
> > I can do >10000 loops without any problems.
> >
> > I would appreciate a lot if someone could tell me what I missed in the docs.
> > If you don't see my bug from the description I would be glad to supply a code
> > snippet.
> >
> > Cheers,
> > Wolfgang
> >
> >
> > _______________________________________________
> > gnome-vfs-list mailing list
> > gnome-vfs-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnome-vfs-list
> 
> _______________________________________________
> gnome-vfs-list mailing list
> gnome-vfs-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-vfs-list



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