Crash with autoexpand and no histchars

Bug #96490 reported by Martin Stjernholm
2
Affects Status Importance Assigned to Milestone
tcsh (Ubuntu)
Fix Released
Undecided
Daniel T Chen

Bug Description

Binary package hint: tcsh

Start tcsh using "tcsh -f" then issue these commands:

set autoexpand
set histchars = ""

After this tcsh crashes whenever I hit TAB at an empty prompt. If these settings occur in .cshrc or similar then I have to type one command before TAB starts to misbehave.

This combination of settings is meaningless of course, but the first occur in /etc/csh.cshrc and the second in my ~/.cshrc. My workaround is to add "unset autoexpand" to ~/.cshrc.

The tcsh package is version 6.14.00-7.

Related branches

Daniel T Chen (crimsun)
Changed in tcsh:
assignee: nobody → crimsun
Revision history for this message
Lucas Nussbaum (lucas) wrote :

will be fixed in the next Debian upload.

Revision history for this message
Lucas Nussbaum (lucas) wrote :

fixed in debian git tree

Changed in tcsh (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tcsh - 6.17.02-3

---------------
tcsh (6.17.02-3) unstable; urgency=low

  * Re-add 12_unknown_lscolors.patch. Closes segfault when removed.
    Closes: #592089.

tcsh (6.17.02-2) unstable; urgency=low

  * Set $COLUMNS and $LINES in csh.{cshrc,login}. Closes: #580498. LP: #546032
  * Standards-Version bumped to 3.8.4. No changes needed.
  * Upload to unstable.

tcsh (6.17.02-1) experimental; urgency=low

  * New upstream release.
  * Merged patches:
    + 01_build.1.patch
    + 06_man.patch
    + 10_hurd.patch
  * Removed patches:
    + 02_fix.patch - no longer needed
    + 12_unknown_lscolors.patch - upstream says:
        "rejected - will not apply now, I'd rather see the error and
         fix $LS_COLORS than eat it up silently."
  * Bug fixes:
    + "Crash with autoexpand and no histchars" (LP: #96490)
    + "tcsh history file fails to save commands with "!" properly" (LP: #139537)
    + "tcsh's sending of HUPs to children is broken" (Closes: #314641)
    + "tcsh doesn't support CR/LF end-of-lines in some cases, contrary to csh"
      (Closes: #462346)
    + "complete.tcsh bug in postmap" (Closes: #552632)
  * Fix catalogs generation to use the charset
  * Add disable-lexical.at-31.patch:
    disable broken comments test
  * Upload to experimental as it is a pre-release.
 -- Ubuntu Archive Auto-Sync <email address hidden> Fri, 15 Oct 2010 10:02:07 +0000

Changed in tcsh (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.