Re: Segmentation fault when get all headers from de.comm.software.mozilla.mailnews

Alex via Pan-users <[email protected]> Wed, 4 Sep 2024 09:45:58 +0200
Newsgroups gmane.comp.gnome.apps.pan.user
Message-ID <[email protected]>
On 2024-09-04 (Mi.) 09:00, Dominique Dumont wrote:
> Hi
> 
> On Tuesday, 3 September 2024 20:49:50 CEST Alex via Pan-users wrote:
>> I use pan on Ubuntu 22.04 which is version 0.149.
>>
>> The Problem is when I now tel pan to "get all headers" from
>> 'de.comm.software.mozilla.mailnews' stop pan with "Segmentation fault"
> 
> I've retrieved all headers of this group with pan 0.160 and got no problem.

Okay.

>> I tried the same with the latest pan and got the same "Segmentation fault".
> 
> Which version ? How did you get this newer version ?

I just make a git clone and follow the "Debug build" from 
https://gitlab.gnome.org/GNOME/pan/-/blob/master/README.org?ref_type=heads


https://gitlab.gnome.org/GNOME/pan/-/blob/master/pan/tasks/task-xover.cc?ref_type=heads#L471

It looks to me that there was a Network error and the "response.str" isn't set 
for "atoi(...)"

That's the part I refer in the pan-debug.txt.xz

```
#1  0x00007f65df6474f6 in __strtol (nptr=<optimized out>, 
endptr=endptr@entry=0x0, base=base@entry=10) at ../stdlib/strtol.c:106
#2  0x00007f65df643654 in __GI_atoi (nptr=<optimized out>) at ./stdlib/atoi.c:27
#3  0x00005fe4ec3bc810 in pan::TaskXOver::on_nntp_done(pan::NNTP*, pan::Health, 
pan::StringView const&) (this=0x5fe4eca73d70, nntp=0x5fe4edae9f20, 
health=pan::ERR_NETWORK, response
=...) at /datadisk/git-repos/pan/pan/tasks/task-xover.cc:471

```

> All the best

Best regards
Alex


_______________________________________________
Pan-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/pan-users