>>>>> Thomas Dickey <dic...@his.com> writes:
>>>>> On Thu, 19 May 2011, Ivan Shmakov wrote:
>>>>> Thomas Dickey <dic...@his.com> writes:

 >>> This seems to work for me (trying both tcsh and bash).  Can you
 >>> provide more details (perhaps locale, shell/version, etc).

 >> I cannot reproduce the issue on a few of fresh Squeeze incarnations,
 >> either.

 >> However, the issue readily manifests itself on a Squeeze system
 >> which still has some Lenny packages yet to be upgraded.  (Of those,
 >> only debconf is in the lynx-cur Depends: list.)  So, I guess that
 >> there's some library package used by Lynx that causes the problem.
 >> I'm going to try my luck tracking it down.

 > thanks - it doesn't sound simple to track down (though I'd assume
 > it's either in the bash dependencies, or lynx's).

        Well, on a host on which such an condition occurs, I also have a
        chroot environment with Debian Squeeze installed.
        Unsurprisingly, running Lynx there doesn't lead to the problem.

        What I've found surprising, however, is that if I run chroot
        environment's Lynx (using all the libraries installed there)
        without actually chroot'ing, it also fails to respond to SIGTSTP
        correctly!

        I've run chroot'ed Lynx) like:

        • using schroot(1) (reacts to SIGTSTP):

$ LC_ALL=C schroot -c squeeze -- /usr/bin/lynx 

          (note that no Shell is involved there);

        • using LD_LIBRARY_PATH (fails to react to SIGTSTP):

$ LC_ALL=C LD_LIBRARY_PATH="$p"/lib:"$p"/usr/lib \
      "$p"/lib/ld-linux-x86-64.so.2 "$p"/usr/bin/lynx.cur 

          (locale is disabled so that the base system's /usr/lib/gconv/
          isn't used; I've also used ld-linux.so from chroot.)

        I've also MIME'd the /proc/LYNXID/maps file for the latter case.

        Seemingly, the above rules out the possibility of a broken Shell
        or library.

        I should probably try to compare strace(1)'s…

[…]

-- 
FSF associate member #7257
00400000-00537000 r-xp 00000000 fc:0d 24726                              
/srv/chroot/2011-01-25/usr/bin/lynx.cur
00737000-00764000 rw-p 00137000 fc:0d 24726                              
/srv/chroot/2011-01-25/usr/bin/lynx.cur
00764000-007d3000 rw-p 00764000 00:00 0 
7f6f15957000-7f6f1595c000 r-xp 00000000 fc:0d 8473                       
/srv/chroot/2011-01-25/usr/lib/libgpm.so.2.0.0
7f6f1595c000-7f6f15b5c000 ---p 00005000 fc:0d 8473                       
/srv/chroot/2011-01-25/usr/lib/libgpm.so.2.0.0
7f6f15b5c000-7f6f15b5d000 rw-p 00005000 fc:0d 8473                       
/srv/chroot/2011-01-25/usr/lib/libgpm.so.2.0.0
7f6f15b5d000-7f6f15b60000 rw-p 7f6f15b5d000 00:00 0 
7f6f15b60000-7f6f15b63000 r-xp 00000000 fc:0d 8693                       
/srv/chroot/2011-01-25/usr/lib/libgpg-error.so.0.4.0
7f6f15b63000-7f6f15d62000 ---p 00003000 fc:0d 8693                       
/srv/chroot/2011-01-25/usr/lib/libgpg-error.so.0.4.0
7f6f15d62000-7f6f15d63000 rw-p 00002000 fc:0d 8693                       
/srv/chroot/2011-01-25/usr/lib/libgpg-error.so.0.4.0
7f6f15d63000-7f6f15d73000 r-xp 00000000 fc:0d 8698                       
/srv/chroot/2011-01-25/usr/lib/libtasn1.so.3.1.9
7f6f15d73000-7f6f15f72000 ---p 00010000 fc:0d 8698                       
/srv/chroot/2011-01-25/usr/lib/libtasn1.so.3.1.9
7f6f15f72000-7f6f15f73000 rw-p 0000f000 fc:0d 8698                       
/srv/chroot/2011-01-25/usr/lib/libtasn1.so.3.1.9
7f6f15f73000-7f6f15f74000 rw-p 7f6f15f73000 00:00 0 
7f6f15f74000-7f6f15f76000 r-xp 00000000 fc:0c 26726                      
/srv/chroot/2011-01-25/lib/libdl-2.11.2.so
7f6f15f76000-7f6f16176000 ---p 00002000 fc:0c 26726                      
/srv/chroot/2011-01-25/lib/libdl-2.11.2.so
7f6f16176000-7f6f16177000 r--p 00002000 fc:0c 26726                      
/srv/chroot/2011-01-25/lib/libdl-2.11.2.so
7f6f16177000-7f6f16178000 rw-p 00003000 fc:0c 26726                      
/srv/chroot/2011-01-25/lib/libdl-2.11.2.so
7f6f16178000-7f6f162d0000 r-xp 00000000 fc:0c 26728                      
/srv/chroot/2011-01-25/lib/libc-2.11.2.so
7f6f162d0000-7f6f164cf000 ---p 00158000 fc:0c 26728                      
/srv/chroot/2011-01-25/lib/libc-2.11.2.so
7f6f164cf000-7f6f164d3000 r--p 00157000 fc:0c 26728                      
/srv/chroot/2011-01-25/lib/libc-2.11.2.so
7f6f164d3000-7f6f164d4000 rw-p 0015b000 fc:0c 26728                      
/srv/chroot/2011-01-25/lib/libc-2.11.2.so
7f6f164d4000-7f6f164d9000 rw-p 7f6f164d4000 00:00 0 
7f6f164d9000-7f6f164e2000 r-xp 00000000 fc:0c 26695                      
/srv/chroot/2011-01-25/lib/libbsd.so.0.2.0
7f6f164e2000-7f6f166e2000 ---p 00009000 fc:0c 26695                      
/srv/chroot/2011-01-25/lib/libbsd.so.0.2.0
7f6f166e2000-7f6f166e3000 rw-p 00009000 fc:0c 26695                      
/srv/chroot/2011-01-25/lib/libbsd.so.0.2.0
7f6f166e3000-7f6f166e4000 rw-p 7f6f166e3000 00:00 0 
7f6f166e4000-7f6f16758000 r-xp 00000000 fc:0d 8691                       
/srv/chroot/2011-01-25/usr/lib/libgcrypt.so.11.5.3
7f6f16758000-7f6f16958000 ---p 00074000 fc:0d 8691                       
/srv/chroot/2011-01-25/usr/lib/libgcrypt.so.11.5.3
7f6f16958000-7f6f1695c000 rw-p 00074000 fc:0d 8691                       
/srv/chroot/2011-01-25/usr/lib/libgcrypt.so.11.5.3
7f6f1695c000-7f6f169f8000 r-xp 00000000 fc:0d 8670                       
/srv/chroot/2011-01-25/usr/lib/libgnutls.so.26.14.12
7f6f169f8000-7f6f16bf8000 ---p 0009c000 fc:0d 8670                       
/srv/chroot/2011-01-25/usr/lib/libgnutls.so.26.14.12
7f6f16bf8000-7f6f16bff000 rw-p 0009c000 fc:0d 8670                       
/srv/chroot/2011-01-25/usr/lib/libgnutls.so.26.14.12
7f6f16bff000-7f6f16c4e000 r-xp 00000000 fc:0c 26702                      
/srv/chroot/2011-01-25/lib/libncursesw.so.5.7
7f6f16c4e000-7f6f16e4d000 ---p 0004f000 fc:0c 26702                      
/srv/chroot/2011-01-25/lib/libncursesw.so.5.7
7f6f16e4d000-7f6f16e52000 rw-p 0004e000 fc:0c 26702                      
/srv/chroot/2011-01-25/lib/libncursesw.so.5.7
7f6f16e52000-7f6f16e53000 rw-p 7f6f16e52000 00:00 0 
7f6f16e53000-7f6f16e84000 r-xp 00000000 fc:0d 8696                       
/srv/chroot/2011-01-25/usr/lib/libidn.so.11.5.44
7f6f16e84000-7f6f17084000 ---p 00031000 fc:0d 8696                       
/srv/chroot/2011-01-25/usr/lib/libidn.so.11.5.44
7f6f17084000-7f6f17085000 rw-p 00031000 fc:0d 8696                       
/srv/chroot/2011-01-25/usr/lib/libidn.so.11.5.44
7f6f17085000-7f6f1709c000 r-xp 00000000 fc:0d 8576                       
/srv/chroot/2011-01-25/usr/lib/libz.so.1.2.3.4
7f6f1709c000-7f6f1729b000 ---p 00017000 fc:0d 8576                       
/srv/chroot/2011-01-25/usr/lib/libz.so.1.2.3.4
7f6f1729b000-7f6f1729c000 rw-p 00016000 fc:0d 8576                       
/srv/chroot/2011-01-25/usr/lib/libz.so.1.2.3.4
7f6f1729c000-7f6f1729e000 rw-p 7f6f1729c000 00:00 0 
7f6f1729e000-7f6f172bc000 r-xp 00000000 fc:0c 26744                      
/srv/chroot/2011-01-25/lib/ld-2.11.2.so
7f6f174bb000-7f6f174bc000 r--p 0001d000 fc:0c 26744                      
/srv/chroot/2011-01-25/lib/ld-2.11.2.so
7f6f174bc000-7f6f174bd000 rw-p 0001e000 fc:0c 26744                      
/srv/chroot/2011-01-25/lib/ld-2.11.2.so
7f6f174bd000-7f6f174be000 rw-p 7f6f174bd000 00:00 0 
7f6f1859f000-7f6f186e2000 rw-p 7f6f1859f000 00:00 0                      [heap]
7fff1f279000-7fff1f2bc000 rw-p 7ffffffbc000 00:00 0                      [stack]
7fff1f3ff000-7fff1f400000 r-xp 7fff1f3ff000 00:00 0                      [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]

Reply via email to