pan-users
[Top][All Lists]
Advanced

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

[Pan-users] Segmentation fault when get all headers from de.comm.softwar


From: Alex
Subject: [Pan-users] Segmentation fault when get all headers from de.comm.software.mozilla.mailnews
Date: Tue, 3 Sep 2024 20:49:50 +0200
User-agent: Mozilla Thunderbird

Hi.

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 tried the same with the latest pan and got the same "Segmentation fault".
After a debug build and a start of pan with

```
/datadisk/pan-debug/bin/pan --debug --debug > ../pan_Segmentation-fault.txt 2>&1
Segmentation fault
```

was the last output this.

```
(/datadisk/git-repos/pan/pan/tasks/socket-impl-openssl.cc:623:do_read) read [/<98><E2>^D<CE>b<DA><DB>ً<97><A1>=d܊<8C><F3>^A<D4>^G<C5>] (/datadisk/git-repos/pan/pan/tasks/socket-impl-openssl.cc:756:set_watch_mode) socket 0x7cdae8001370 calling set_watch_mode 0; _channel is 0x7cdae8001fb0 (/datadisk/git-repos/pan/pan/tasks/socket-impl-openssl.cc:769:set_watch_mode) channel 0x7cdae8001fb0 setting mode read (/datadisk/git-repos/pan/pan/tasks/socket-impl-openssl.cc:785:set_watch_mode) set_watch_mode READ: _tag_watch is now 3857 (/datadisk/git-repos/pan/pan/tasks/socket-impl-openssl.cc:742:gio_func) gio_func: sock 0x7cdae8001370, channel 0x7cdae8001fb0, cond IN (/datadisk/git-repos/pan/pan/tasks/queue.cc:292:process_task) in process_task with a task of type XOVER
(/datadisk/git-repos/pan/pan/tasks/queue.cc:348:process_task) online
(/datadisk/git-repos/pan/pan/tasks/queue.cc:360:process_task) break
(/datadisk/git-repos/pan/pan/tasks/queue.cc:292:process_task) in process_task with a task of type XOVER
(/datadisk/git-repos/pan/pan/tasks/queue.cc:348:process_task) online
(/datadisk/git-repos/pan/pan/tasks/queue.cc:360:process_task) break
(/datadisk/git-repos/pan/pan/tasks/queue.cc:292:process_task) in process_task with a task of type XOVER
(/datadisk/git-repos/pan/pan/tasks/queue.cc:348:process_task) online
(/datadisk/git-repos/pan/pan/tasks/queue.cc:360:process_task) break
(/datadisk/git-repos/pan/pan/tasks/queue.cc:292:process_task) in process_task with a task of type XOVER
(/datadisk/git-repos/pan/pan/tasks/queue.cc:348:process_task) online
(/datadisk/git-repos/pan/pan/tasks/queue.cc:360:process_task) break
(/datadisk/git-repos/pan/pan/tasks/queue.cc:292:process_task) in process_task with a task of type XOVER
(/datadisk/git-repos/pan/pan/tasks/queue.cc:348:process_task) online
(/datadisk/git-repos/pan/pan/tasks/queue.cc:360:process_task) break
(/datadisk/git-repos/pan/pan/tasks/queue.cc:292:process_task) in process_task with a task of type XOVER
(/datadisk/git-repos/pan/pan/tasks/queue.cc:348:process_task) online
(/datadisk/git-repos/pan/pan/tasks/queue.cc:360:process_task) break
(/datadisk/git-repos/pan/pan/tasks/socket-impl-openssl.cc:702:timeout_func) error: channel 0x7cdaf8002770 not responding. (/datadisk/git-repos/pan/pan/tasks/socket-impl-openssl.cc:756:set_watch_mode) socket 0x7cdaf8001370 calling set_watch_mode 2; _channel is 0x7cdaf8001830 (/datadisk/git-repos/pan/pan/tasks/socket-impl-openssl.cc:765:set_watch_mode) channel 0x7cdaf8001830 setting mode **IGNORE** (/datadisk/git-repos/pan/pan/tasks/socket-impl-openssl.cc:785:set_watch_mode) set_watch_mode IGNORE: _tag_watch is now 0 (/datadisk/git-repos/pan/pan/tasks/nntp.cc:89:fire_done_func) I (0x5633217a2af0) am setting my _listener to 0
```

I have enabled coredump for shell got this output after the core is created.

```
gdb /datadisk/pan-debug/bin/pan core.52345
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /datadisk/pan-debug/bin/pan...

warning: Can't open file /memfd:gdk-wayland (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing
[New LWP 52345]
[New LWP 52351]
[New LWP 52348]
[New LWP 52346]
[New LWP 52352]
[New LWP 52350]
[New LWP 52353]
[New LWP 52349]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/datadisk/pan-debug/bin/pan --debug --debug'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __GI_____strtol_l_internal (nptr=0x0, endptr=endptr@entry=0x0, base=base@entry=10, group=group@entry=0, loc=0x7f65df81b580 <_nl_global_locale>) at ../stdlib/strtol_l.c:291
291     ../stdlib/strtol_l.c: No such file or directory.
--Type <RET> for more, q to quit, c to continue without paging--
[Current thread is 1 (Thread 0x7f65dc5b9cc0 (LWP 52345))]
(gdb)
```

Here now the output of more gdb dump.

```
echo 't a a bt full'|gdb /datadisk/pan-debug/bin/pan core.52345 > 
../pan-debug.txt

warning: Can't open file /memfd:gdk-wayland (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing
291     ../stdlib/strtol_l.c: No such file or directory.
xz -9 ../pan-debug.txt
```

I have attached the pan-debug.txt.xz

Regards
Alex

Attachment: pan-debug.txt.xz
Description: application/xz


reply via email to

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