pan-users
[Top][All Lists]
Advanced

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

[Pan-users] Re: freeze, high CPU getting new headers


From: Matthijs Benschop
Subject: [Pan-users] Re: freeze, high CPU getting new headers
Date: Mon, 4 Aug 2008 18:32:34 +0000 (UTC)
User-agent: Pan/0.133 (House of Butterflies)

Op Mon, 04 Aug 2008 13:07:34 +0000, schreef walt:


> Have you tried strace during the long pause?  If you start pan in gdb
> and hit Ctrl-C during the busy time you can type 'bt' to see what part
> of the code is running at that point.  You need debugging symbols for
> that, though.  Charles uses the -g flag by default to build pan, but if
> the offending code is in some other library you won't get as much info,
> but at least you can see what library the offending code belongs to.

Done that, get ready for a long paste..

So it seems to stall at mainloop(); .. 

Btw, I always get segfault when closing 'post article' window and when 
expanding the group list in the left pane...


(gdb) bt
#0  0x00007f2dbb52cd2a in gtk_tree_model_iter_has_child () from /usr/lib/
libgtk-x11-2.0.so.0
#1  0x00007f2db514e603 in count_rows () from /usr/lib/gtk-2.0/modules/
libgail.so
#2  0x00007f2db514e673 in count_rows () from /usr/lib/gtk-2.0/modules/
libgail.so
#3  0x00007f2db514f526 in gail_tree_view_get_n_children () from /usr/lib/
gtk-2.0/modules/libgail.so
#4  0x00007f2db5152e58 in gail_tree_view_ref_child () from /usr/lib/
gtk-2.0/modules/libgail.so
#5  0x00007f2db4d09773 in spi_atk_bridge_signal_listener ()
   from /usr/lib/gtk-2.0/modules/libatk-bridge.so
#6  0x00007f2dba34988f in signal_emit_unlocked_R () from /usr/lib/
libgobject-2.0.so.0
#7  0x00007f2dba34b2be in g_signal_emit_valist () from /usr/lib/
libgobject-2.0.so.0
#8  0x00007f2dba34b632 in g_signal_emit_by_name () from /usr/lib/
libgobject-2.0.so.0
#9  0x00007f2db5150cee in model_row_inserted () from /usr/lib/gtk-2.0/
modules/libgail.so
#10 0x00007f2dba33707d in g_closure_invoke () from /usr/lib/
libgobject-2.0.so.0
#11 0x00007f2dba34a2ee in signal_emit_unlocked_R () from /usr/lib/
libgobject-2.0.so.0
#12 0x00007f2dba34b2be in g_signal_emit_valist () from /usr/lib/
libgobject-2.0.so.0
#13 0x00007f2dba34b7d3 in g_signal_emit () from /usr/lib/
libgobject-2.0.so.0
#14 0x00000000004914d0 in PanTreeStore::insert_sorted (this=0x29f5a30, 
parent=0x2edfbb0, 
    children_in=<value optimized out>) at pan-tree.cc:978
#15 0x0000000000491bb7 in PanTreeStore::insert_sorted (this=0x29f5a30, 
address@hidden)
    at pan-tree.cc:828
#16 0x0000000000482b02 in pan::HeaderPane::on_tree_change 
(this=0x25eab60, address@hidden)
    at header-pane.cc:686
#17 0x00000000004f372b in pan::Data::ArticleTree::fire_diffs (this=<value 
optimized out>, 
    address@hidden) at ../../pan/data/data.h:442
#18 0x00000000004efd89 in pan::DataImpl::MyTree::add_articles 
(this=0x2658000, 
    nodes_in=<value optimized out>) at my-tree.cc:534
#19 0x00000000004f05a9 in pan::DataImpl::MyTree::apply_filter 
(this=0x2658000, address@hidden)
    at my-tree.cc:235
#20 0x00000000004f0d9a in pan::DataImpl::MyTree::add_articles 
(this=0x2658000, address@hidden)
    at my-tree.cc:351
#21 0x00000000004ddb14 in pan::DataImpl::on_articles_added 
(this=0x7fffc3cea770, address@hidden, 
    address@hidden) at headers.cc:1132
#22 0x00000000004fbfa8 in pan::DataImpl::xover_flush 
(this=0x7fffc3cea770, address@hidden)
    at xover.cc:194
#23 0x00000000004fc4dc in pan::DataImpl::xover_unref 
(this=0x7fffc3cea770, address@hidden)
    at xover.cc:207
#24 0x000000000050b61e in ~TaskXOver (this=0x2e16c00) at task-xover.cc:122
#25 0x0000000000519f46 in pan::Queue::remove_task (this=0x7fffc3ceaac0, 
task=0x2e16c00) at queue.cc:543
#26 0x000000000051a759 in pan::Queue::process_task (this=0x7fffc3ceaac0, 
task=0x2e16c00) at queue.cc:234
#27 0x000000000051b0ff in pan::Queue::check_in (this=0x7fffc3ceaac0, 
nntp=0x30d18d0, 
    nntp_health=pan::OK) at queue.cc:627
#28 0x0000000000500e6f in pan::Task::check_in (this=0x2e16c00, 
nntp=0x30d18d0, health=pan::OK)
    at task.cc:59
#29 0x0000000000511fc8 in pan::NNTP::fire_done_func (this=0x30d18d0, 
health=pan::OK, 
    address@hidden) at nntp.cc:109
#30 0x0000000000512478 in pan::NNTP::on_socket_response (this=0x30d18d0, 
sock=<value optimized out>, 
    line_in=<value optimized out>) at nntp.cc:284
#31 0x0000000000522c47 in pan::GIOChannelSocket::do_read 
(this=0x7f2dac0014b0) at socket-impl-gio.cc:390
#32 0x0000000000523bf8 in pan::GIOChannelSocket::gio_func 
(this=0x7f2dac0014b0, channel=0x7f2dac001710, 
    cond=G_IO_IN) at socket-impl-gio.cc:501
#33 0x00007f2db9c9b7cb in g_main_context_dispatch () from /usr/lib/
libglib-2.0.so.0
#34 0x00007f2db9c9ef9d in g_main_context_iterate () from /usr/lib/
libglib-2.0.so.0
#35 0x00007f2db9c9f4cd in g_main_loop_run () from /usr/lib/
libglib-2.0.so.0
#36 0x00007f2dbb44fd27 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#37 0x0000000000463737 in main (argc=1, argv=0x7fffc3ceb488) at pan.cc:156





reply via email to

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