On Fri, 25 Jul 2008 15:39:53 +0200, gregor herrmann wrote: > After a long time I'm getting the same segfaults on DNS problems like > described earlier. > The culprit is again http://planet.lug.fi.uba.ar/rss10.xml (same DNS > situation like described earlier).
Today it happened again, so I used the opportunity to try and debug a little more. And I have probably good news: I think I found a way to avoid the nasty segfaults: By digging around in the code I found out that there's another place with curl options, so I just applied Steve's patch there, too, and it seems to work: 0.9.1-1 segfaults reliably, the patched version "survived" a few times already. debdiff attached. Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian gnu/linux user, admin & developer - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Johann Strauss: Donauwalzer
diff -u newsbeuter-0.9.1/debian/changelog newsbeuter-0.9.1/debian/changelog
--- newsbeuter-0.9.1/debian/changelog
+++ newsbeuter-0.9.1/debian/changelog
@@ -1,3 +1,10 @@
+newsbeuter (0.9.1-2) UNRELEASED; urgency=low
+
+ * Add CURLOPT_NOSIGNAL also to curl options in xmlrss/mrss_generic.c, patch
+ taken from Steve Kemp (closes: #448080).
+
+ -- gregor herrmann <[EMAIL PROTECTED]> Wed, 30 Jul 2008 19:23:42 +0200
+
newsbeuter (0.9.1-1) unstable; urgency=low
* New upstream release.
only in patch2:
unchanged:
--- newsbeuter-0.9.1.orig/xmlrss/mrss_generic.c
+++ newsbeuter-0.9.1/xmlrss/mrss_generic.c
@@ -102,6 +102,7 @@
curl_easy_setopt (curl, CURLOPT_HEADERDATA, lastmodified);
curl_easy_setopt (curl, CURLOPT_NOBODY, 1);
curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1);
if (options)
{
signature.asc
Description: Digital signature

