Workaround until 16.10's tcsh is rebuilt with the sysmalloc fix: build
your own fixed AMD64 .deb:

a) Pull the Fedora Rawhide src rpm from
https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/src/t/tcsh-6.19.00-15.fc26.src.html
wget 
ftp://fr2.rpmfind.net/linux/fedora/linux/development/rawhide/Everything/source/tree/Packages/t/tcsh-6.19.00-15.fc26.src.rpm

b) extract the contents of the src rpm:
rpm2cpio tcsh-6.19.00-15.fc26.src.rpm > a1.cpio
mkdir t ; cd t
cpio -dmiv < ../a1.cpio 
cd ..

c) Pull the current Ubuntu yakkety 16.10 beta tcsh source from 
packages.ubuntu.com
wget http://archive.ubuntu.com/ubuntu/pool/universe/t/tcsh/tcsh_6.18.01-5.dsc 
http://archive.ubuntu.com/ubuntu/pool/universe/t/tcsh/tcsh_6.18.01.orig.tar.gz 
http://archive.ubuntu.com/ubuntu/pool/universe/t/tcsh/tcsh_6.18.01-5.diff.gz

d) Rebuild tcsh with patches from Fedora
mkdir t2 ; cd t2
dpkg-source -x ../tcsh_6.18.01-5.dsc
cd tcsh-6.18.01/
patch -p1 < ../../t/tcsh-6.19.00-024-use-sysmalloc.patch
patch -p1 < ../../t/tcsh-6.19.00-014-do-not-use-union-wait.patch
dpkg-buildpackage -rfakeroot -uc -b
cd ..
sudo dpkg -i tcsh_6.18.01-5_amd64.deb

Works for me, no more tcsh crashes when pressing TAB.


Note that I had to apply the do-not-use-union-wait patch as well. Without it, I 
can't get the current Ubuntu 16.10 tcsh source to build on 16.10 at all, which 
is odd. Is the AMD64 .deb on the ubuntu servers not built on 16.10, or is there 
some other explanation for why it doesn't experience the "sh.proc.c:155:16: 
error: storage size of ‘w’ isn’t known" that results without 
do-not-use-union-wait.patch?

Dan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618803

Title:
  tcsh crashed with SIGSEGV in __GI___rewinddir()

To manage notifications about this bug go to:
https://bugs.launchpad.net/tcsh/+bug/1618803/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to