Thread View: news.software.readers
2 messages
2 total messages
Started by Daniel Price
Wed, 01 Apr 1998 00:00
SLRN problem...
Author: Daniel Price
Date: Wed, 01 Apr 1998 00:00
Date: Wed, 01 Apr 1998 00:00
43 lines
2475 bytes
2475 bytes
I have an instance of slrn spinning out of control, and while this seems to be
common behavior for programs like netscape, I've never seen slrn do it before.
I think it happened when I was running slrn over a modem last night, and my
connection dropped unexpectedly. I came in to work today to find it spinning.
I'm using slrn0.4.9.6 under Solaris 2.6. Unfortunately, It's compiled with
optimizations, or I'd fire up the debugger and look around.
Here's a pstack of the offender:
25069: slrn
000253b8 group_mark_article_as_read (dc0f0, b11778, 8fbaa0, 900fd0, ef6222a4,
20d14) + 40
00020cf8 free_specific_kill_list_and_update (351df8, 3500a0, 351df0, b19df8,
1f2000, 8f525) + 2c
00020d54 free_kill_lists_and_update (8dc00, efffedd0, 1, 2, 0, 0) + 20
00022180 art_quit (365728, 365728, 0, 0, 0, 0) + 14
000394b8 slrn_hangup (1, 923f0, 8, 2, 0, 0) + 50
ef5b893c sigacthandler (1, 0, efffeef0, 0, ef6222a4, 37f68) + 28
00037f68 perform_suspend (1, 1, 3, 0, 0, 0) + 6c
00037e80 sig_suspend (0, a2c00, effff338, 0, 0, 0) + 30
ef5b893c sigacthandler (18, 0, effff338, ef6222a4, ef6222a4, ef5c679c) + 28
000254ac slrn_mark_article_as_read (dc0f0, 63530, 34d980, 34d968, ef6222a4,
20d14) + 14
00020cf8 free_specific_kill_list_and_update (339b80, 336ed0, 32, 339be8, 1a,
18) + 2c
00020d54 free_kill_lists_and_update (8dc00, 0, 0, 4e, ef62520c, 6) + 20
00022180 art_quit (365728, 365728, 92000, 22274, 8f4f4, 1) + 14
00022278 skip_to_next_group (a25bc, 1, b44b0, b44a0, 923fc, 0) + 4
00039a0c main (a07b8, 8c7a8, effff89c, 82000, 0, 0) + d0
00019cdc _start (0, 0, 0, 0, 0, 0) + dc
Any ideas? Looks to me like slrn was in the process of doing a
free_specific_kill_list_and_update when it got interrupted by a signal, and
decided to do that again-- and there's some sort of race condition-- perhaps
just masking the appropriate signals here would help? Thanks,
-dp
--
Daniel Price -- dp@cs.brown.edu
Re: SLRN problem...
Author: John E. Davis
Date: Tue, 07 Apr 1998 00:00
Date: Tue, 07 Apr 1998 00:00
34 lines
1484 bytes
1484 bytes
On 1 Apr 1998 18:34:31 GMT, Daniel Price <dp@cs.brown.edu>
wrote:
>Any ideas? Looks to me like slrn was in the process of doing a
>free_specific_kill_list_and_update when it got interrupted by a signal, and
>decided to do that again-- and there's some sort of race condition-- perhaps
>just masking the appropriate signals here would help? Thanks,
Thanks for the bug report. Apply this patch to the art_quit function
in slrn/src/art.c:
--- art.c~ Sun Mar 29 17:11:09 1998
+++ art.c Tue Apr 7 03:40:51 1998
@@ -5911,6 +5911,8 @@
{
Slrn_Header_Type *h = Headers, *next;
+ slrn_init_hangup_signals (0);
+
#if SLRN_HAS_GROUPLENS
if (Slrn_Use_Group_Lens) slrn_put_grouplens_scores ();
#endif
@@ -5951,6 +5953,8 @@
if ((Slrn_Current_Mode != NULL)
&& (Slrn_Current_Mode->mode == SLRN_ARTICLE_MODE))
slrn_pop_mode ();
+
+ slrn_init_hangup_signals (1);
}
/*}}}*/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads