bugGNU Screen - Bugs: bug #26927, Interactive digraph assignment...

 
 

bug #26927: Interactive digraph assignment causes crash

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Wed 01 Jul 2009 06:18:06 AM UTC  
 
Category: Crash/Freeze/InfloopSeverity: 5 - Blocker
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Sadrul Habib Chowdhury <sadrul>
Open/Closed: ClosedRelease: Cur Dev Sources
Fixed Release: NonePlanned Release: 4.1.0
Work Required: 0 - Hours

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Sun 05 Jul 2009 03:19:17 PM UTC, comment #7:

It does

Micah Cowan <micahcowan>
Sun 05 Jul 2009 06:43:47 AM UTC, comment #6:

I think 6a9b2147844e461515f7cfcea818df297946b63d will fix this crash.

Sadrul Habib Chowdhury <sadrul>
Project AdministratorIn charge of this item.
Sat 04 Jul 2009 11:39:46 PM UTC, comment #5:

It might make more sense to make sure argl has the correct values before calling to DoAction. If you still have the backtrace, do you know which call to DoAction is causing the problem?

Sadrul Habib Chowdhury <sadrul>
Project AdministratorIn charge of this item.
Wed 01 Jul 2009 05:01:00 PM UTC, comment #4:

It appears that on the second-time-round call to digraphs, argl is still non-NULL and has its previous values of "2" and "1"; but args is NULL. It looks like we shouldn't be relying on argl to have sane values until we know that args has corresponding arguments for those, first (and other RC_* handlers appear to use args, rather than argl, to check for whether there are arguments).

Micah Cowan <micahcowan>
Wed 01 Jul 2009 04:37:29 PM UTC, comment #3:
Micah Cowan <micahcowan>
Wed 01 Jul 2009 04:34:47 PM UTC, comment #2:

Hm; I'm using the same revision, and yes, I was testing with -c /dev/null. I blew away my install, did a git clean -fX, and rebuilt/reinstalled; still seeing it.

I'm running Ubuntu 9.10, LANG=en_US.UTF-8, LANGUAGE=en

I'll try to get it to dump core and have a closer look.

Micah Cowan <micahcowan>
Wed 01 Jul 2009 08:15:37 AM UTC, comment #1:

I can't seem to reproduce this crash with 230855a865ab209b9784ad3ecba8675d3df5ac32, starting screen with -c /dev/null

Are you using a .screenrc file?

Sadrul Habib Chowdhury <sadrul>
Project AdministratorIn charge of this item.
Wed 01 Jul 2009 06:18:06 AM UTC, original submission:

Using the new "second argument", assignability feature of digraph interactively, causes any further invocations of digraph (of any sort) to crash screen.

To reproduce:

  • start up screen
  • C-a : digraph aa a <RET>
  • C-a : digraph <RET>
Micah Cowan <micahcowan>

 

(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 micahcowan (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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 05 Jul 2009 03:19:17 PM UTCmicahcowanStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1