pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] debugging? (segmentation fault)


From: David Chmelik
Subject: Re: [Pan-users] debugging? (segmentation fault)
Date: Sat, 12 Feb 2022 23:25:55 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

On 2/12/22 10:46 PM, Detlef Graef wrote:
Am 13.02.22 um 03:28 schrieb David Chmelik:
For a few years every version of Pan 2 on Slackware64 GNU/Linux 15+current has been crashing.  I even deleted most my /home/user.pan2 (except subscriptions, like killfile with unicode sometimes crashed it) and restarted.      I recompiled according to instructions in libera IRC ##slackware to add debugging symbols.
     What do I need to do next to debug?

Maybe you need GNU Debugger:

https://www.sourceware.org/gdb/

"gdb /usr/bin/pan"

When a segfault occurs, execute the command "backtrace".
    This is some further information seen when running it and the backtrace,  The only thing different last few years is I've been trying to read a few hundred newsgroups on Eternal-September (backup server AIOE) and Gmane.

IA__gtk_tree_view_column_set_fixed_width: assertion 'fixed_width > 0' failed
IA__gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed

(gdb) backtrace
#0  0x00007ffff6acf4bc in ____strtoll_l_internal () at /lib64/libc.so.6
#1  0x00007ffff6acb710 in atoi () at /lib64/libc.so.6
#2  0x0000000000730692 in pan::DataImpl::load_headers(pan::DataIO const&, pan::Quark const&) (this=0x7fffffffd340, data_io=..., group=...)
    at headers.cc:573
#3  0x000000000072eb26 in pan::DataImpl::ref_group(pan::Quark const&) (this=0x7fffffffd340, group=...) at headers.cc:179 #4  0x0000000000761332 in pan::DataImpl::xover_ref(pan::Quark const&) (this=0x7fffffffd340, group=...) at xover.cc:171 #5  0x0000000000778239 in pan::TaskXOver::use_nntp(pan::NNTP*) (this=0x14c0100, nntp=0x299f170) at task-xover.cc:150 #6  0x0000000000768597 in pan::Task::give_nntp(pan::NNTP::Source*, pan::NNTP*) (this=0x14c0100, source=0x7fffffffce10, nntp=0x299f170)
    at task.cc:45
#7  0x000000000078cc7f in pan::Queue::give_task_a_connection(pan::Task*, pan::NNTP*) (this=0x7fffffffce10, task=0x14c0100, nntp=0x299f170)
    at queue.cc:258
#8  0x000000000078d75f in pan::Queue::process_task(pan::Task*) (this=0x7fffffffce10, task=0x14c0100) at queue.cc:371 #9  0x000000000078c1c9 in pan::Queue::on_pool_has_nntp_available(pan::Quark const&) (this=0x7fffffffce10, server=...) at queue.cc:97 #10 0x00000000007a97d6 in pan::NNTP_Pool::fire_pool_has_nntp_available() (this=0x1449cd0) at /tmp/pan-0.149/pan/tasks/nntp-pool.h:104 #11 0x00000000007a8570 in pan::NNTP_Pool::check_in(pan::NNTP*, pan::Health) (this=0x1449cd0, nntp=0x299f170, health=pan::OK) at nntp-pool.cc:161 #12 0x000000000078f436 in pan::Queue::check_in(pan::NNTP*, pan::Health) (this=0x7fffffffce10, nntp=0x299f170, nntp_health=pan::OK)
    at queue.cc:783
#13 0x0000000000768813 in pan::Task::check_in(pan::NNTP*, pan::Health) (this=0x14c1160, nntp=0x299f170, health=pan::OK) at task.cc:60 #14 0x000000000077a023 in pan::TaskXOver::on_nntp_done(pan::NNTP*, pan::Health, pan::StringView const&)     (this=0x14c1160, nntp=0x299f170, health=pan::OK, response=...) at task-xover.cc:478 #15 0x00000000007851da in pan::NNTP::fire_done_func(pan::Health, pan::StringView const&) (this=0x299f170, health=pan::OK, response=...)
    at nntp.cc:64
#16 0x000000000078601f in pan::NNTP::on_socket_response(pan::Socket*, pan::StringView const&) (this=0x299f170, sock=0x7fffec00e910, line_in=...)
    at nntp.cc:287
#17 0x00000000007a6faf in pan::GIOChannelSocket::do_read() (this=0x7fffec00e910) at socket-impl-gio.cc:346 #18 0x00000000007a7635 in pan::GIOChannelSocket::gio_func(_GIOChannel*, GIOCondition) (this=0x7fffec00e910, channel=0x7fffec02ac30, cond=G_IO_IN)
    at socket-impl-gio.cc:457
#19 0x00000000007a74ab in pan::GIOChannelSocket::gio_func(_GIOChannel*, GIOCondition, void*)     (channel=0x7fffec02ac30, cond=G_IO_IN, sock_gp=0x7fffec00e910) at socket-impl-gio.cc:436 #20 0x00007ffff7555504 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#21 0x00007ffff7555868 in  () at /usr/lib64/libglib-2.0.so.0
#22 0x00007ffff7555b43 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#23 0x00007ffff7c635aa in gtk_main () at /usr/lib64/libgtk-x11-2.0.so.0
#24 0x000000000067502a in (anonymous namespace)::mainloop() () at pan.cc:104
#25 0x0000000000676690 in (anonymous namespace)::run_pan_in_window(pan::GUI*, pan::Data&, pan::Queue&, pan::Prefs&, pan::GroupPrefs&, GtkWindow*)     (_gui=0xa57000, data=..., queue=..., prefs=..., group_prefs=..., window=0x10df0a0) at pan.cc:563 #26 0x0000000000677be9 in main(int, char**) (argc=1, argv=0x7fffffffdd68) at pan.cc:1130



reply via email to

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