pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] Re: CVS doesn't like cancelled tasks


From: Robert Marshall
Subject: Re: [Pan-users] Re: CVS doesn't like cancelled tasks
Date: Thu, 10 Mar 2005 22:18:01 +0000

On Thu, 10 Mar 2005, Charles Kerr wrote:

> Robert Marshall wrote:
> 
>  > It also doesn't appear to like tasks being cancelled - claims they're
>  > being removed but it just carries on. Then a bit later on pan
>  > disappears in a cloud of smoke!
>  > I get core files but the stack appears to have been trampled on!
> 
> If you run pan inside of gdb, does the stack look any better?

It is!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1083259712 (LWP 7637)]
0x4067403c in memcpy () from /lib/tls/libc.so.6
(gdb) where
#0  0x4067403c in memcpy () from /lib/tls/libc.so.6
#1  0x080be6fe in pan_callback_call (pcl=0x8003235, call_object=0xbfffb270, 
    call_arg=0x8003235) at pan-callback.c:60
#2  0x080c4ac8 in status_item_emit_progress (item=0x63, out_of_100=137326464)
    at status-item.c:252
#3  0x080c4c09 in status_item_emit_next_step (item=0x63) at status-item.c:215
#4  0x080b4595 in save_groups_to_file (server=0x1a, groups=0x8cfadb4, 
    filemarker=0xa1b8140 "\200,­û", status=0x82f6f80) at file-grouplist.c:475
#5  0x080b4992 in file_grouplist_save (server=0x81a5470, 
    group_type=SERVER_GROUPS_SUBSCRIBED, status=0x82f6f80)
    at file-grouplist.c:572
#6  0x080c26ee in server_save_grouplist_if_dirty (server=0x81a5470, 
    status=0x82f6f80) at server.c:250
#7  0x080b9a39 in group_unref_articles (group=0x82e1850, status=0x81a5470)
    at group.c:1182
#8  0x08090598 in xover_done_func (channel=0x82f7110, state=TASK_OK, 
    user_data=0x82f7078) at task-headers.c:477
#9  0x0807d1dd in fire_done_func (impl=0x11, channel=0x82f7110, state=TASK_OK)
    at nntp.c:140
#10 0x0807d980 in nntp_gio_func (channel=0x82f7110, cond=99, 
    impl_gpointer=0x82f6a70) at nntp.c:428
#11 0x404b46e2 in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#12 0x082f7110 in ?? ()

and then a lot of ?? ()s


> 
> Is it repeatable, such that you could give a recipe on how to repeat it?
> 

I do something like the following, start pan (I'm using tabbed layout in case
it matters), select group where there are going to be lots of new items. 
Once the group is displayed [1]and it starts downloading new headers click the
cancel last task on the toolbar - at this point - for me - it continues
downloading the headers!

I then go to another group and I clicked on a newsitem which was about 100
lines, while that was also downloading I opened up the task manager - where
it says it is removing the 1st task but it's still merrily proceeding on
it's way. Keep the task maanger open while the 2nd download completes, the
1st download then apears to complete but before the progress bar disappears
pan crashes

That's a bit handwavy but I hope it is enough!


[1] the group I tried was alt.binaries.sounds.music.classical with 55000
items already and that takes around 50 seconds to display which feels
longer than the released version of pan (0.9GHz 256MB memory). 

Robert
-- 
Links and things http://rmstar.blogspot.com/




reply via email to

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