pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] 0.90 crash


From: Charles Kerr
Subject: Re: [Pan-users] 0.90 crash
Date: Sun, 2 Apr 2006 23:28:57 -0500 (CDT)
User-agent: SquirrelMail/1.4.6 [CVS]

> compiled from pan-0.90.tar.bz2 no options passed to ./configure
>
> mostly FC4 box (with a bunch of random yum updates)
>
> how i get it to crash:
>
> point to: news.east.cox.net
> subscribe to: rec.games.pinball
> select: download all headers
> starts to download
> crash!
>
> attached is the output of gdb

HA!  That didn't take long for the first crash report.
I honestly thought it would take a little longer. :)

Here's the patch, though I see rec.games.pinball is
spiking the CPU when the header pane sorts itself.
I've been avoiding writing a custom GtkTreeModel but
I think I'll have to, just to keep the speed up on
really large text newsgroups.

--- xover.cc.bak        2006-04-02 23:15:10.000000000 -0500
+++ xover.cc    2006-04-02 23:16:06.000000000 -0500
@@ -75,7 +75,13 @@

       // n -> part
       part = atoi (pch+1);
-        break;
+
+      if (part > parts) { // ignore false positives
+        part = parts = 0;
+        continue;
+      }
+
+      break;
     }

     /* if not a multipart yet, AND if it's a big message, AND

cheers,
Charles





reply via email to

[Prev in Thread] Current Thread [Next in Thread]