-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi devs, i'm trying to solve a segv that happens in my conf_wallpaper
(i'm implementing a wallpaper fetcher from get-e.org), but it seems
very hard for me.

 ** Little explanation ** 
First i get a RSS feed from get-e.org using ecore_file_download, and
when the registered callback for download_complete fires I start to
parse the feed to fill an ecore_hash with available wallpapers.
When the hash is right-filled I iterate into to fetch each image,
having a preview of wallpaper.
The dialog contains two buttons: OK and Cancel. OK button is disabled
by default, and switch to enabled state only when all of images are
fetched; Cancel button is always enabled, and after some cleanups it
close the dialog (the dialog can be closed obviously clicking on the
Close button on the dialog).
Segv happens when i click Cancel during the parsing process: the
dialog goes down, and after very little time E crashes.
Lookign in the frame 0 of bt, it seems that there's some pending
operation related to the parsing function.
On my cleanup steps I call ecore_file_download_abort_all if there's
pending downloads, and always ecore_file_download_shutdown, that should
close gracefully libcurl processes. I'm very sorry but atm i don't have
either code or bt to attach. You can find the primary version in
another mail from me, just grep for "[RFC]" and "get-e.org integration"
in your e-devel mail folder.

Thanks

Massimiliano
- -- 
Massimiliano Calamelli
http://mcalamelli.netsons.org
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)

iD8DBQFHn13qleGEL56NNP4RAuRpAJwMF+MD5gjaHiqSdHSMoZcCJ7+7tQCfRHmN
kEsqLr2kHMy+8MuitowtRSw=
=7xU5
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to