bugGNU Screen - Bugs: bug #29959, screen crashes/freezes when...

 
 

bug #29959: screen crashes/freezes when creating/renaming window inside group and windowlist active

Submitted by:  Artur Skonecki <askonecki>
Submitted on:  Tue 25 May 2010 06:25:50 PM UTC  
 
Category: Crash/Freeze/InfloopSeverity: 3 - Normal
Priority: 5 - NormalStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: Cur Dev Sources
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 14 Feb 2011 09:19:25 PM UTC, comment #4:

Removing D_user check from AddWindowFlags() prevents the crash. I hope it doesn't have any serious consequences with a different setup.

diff --git a/src/process.c b/src/process.c
index e494004..a18bc28 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5634,11 +5634,7 @@ struct win *p;
#endif
if (p->w_layer.l_cvlist && p->w_layer.l_cvlist->c_lnext)
*s++ = '&';
- if (p->w_monitor == MON_DONE
-#ifdef MULTIUSER
- && (ACLBYTE(p->w_mon_notify, D_user->u_id) & ACLBIT(D_user->u_id))
-#endif
- )
+ if (p->w_monitor == MON_DONE)
*s++ = '@';
if (p->w_bell == BELL_DONE)
*s++ = '!';

Artur Skonecki <askonecki>
Mon 14 Feb 2011 04:33:25 PM UTC, comment #3:

Currently, the monitor feature and grouping of windows are unusable together.
To produce a crash it is enough to:
1. Create 2 windows inside a group.
2. Turn on monitoring in one of them and induce monitor activation(tail -f file_to_be_modified).
3. Try to open windowlist.

Artur Skonecki <askonecki>
Tue 25 May 2010 08:23:46 PM UTC, comment #2:

I missed the trigger: defmonitor on
Now I tested vanilla 2f565ea with config:
defmonitor on
bind x screen -t G //group
bind o windowlist

Artur Skonecki <askonecki>
Tue 25 May 2010 06:46:09 PM UTC, comment #1:

Hi. I can't reproduce this crash with revision 2f565ea. What version/revision of screen are you using?

Sadrul Habib Chowdhury <sadrul>
Project Administrator
Tue 25 May 2010 06:25:50 PM UTC, original submission:

Steps to reproduce:
1) create a group inside screen session: screen -t G //group
2) enter this group, create some windows inside and open windowlist
3) attach to this screen session from another term: screen -x
4) go to group G and try to create new window or rename existing one

Then, there is either a dead screen session or crash:
Suddenly the dungeon collapses!! - You die...

5) the effect is the same if autoaka changes title

A punishment for all cheating in Nethack!

Artur Skonecki <askonecki>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sadrul (Posted a comment)
  • -unavailable- added by askonecki (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 25 May 2010 06:46:09 PM UTCsadrulStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup