Colin Watson escribió:
On Thu, Oct 01, 2009 at 07:37:18AM -0400, chafar wrote:
Locale: lang=es...@euro, lc_ctype=es...@euro (charmap=ISO-8859-15)
[...]
here is the stderr output for man -d man:
I can't reproduce this at all in an etch system, having set up a locale
matching yours. Can you reproduce this every time?
Could you please run:
cd /usr/share/man/es
zcat /usr/share/man/es/man1/man.1.gz > $HOME/zman123456
zsoelim $HOME/zman123456
... and see if that crashes in the same kind of way, with signal 11?
Yes, it does (now that I see the output, I realize that may be you want
to know I access the shell via ssh):
strace -f -s 1024 zsoelim $HOME/zman123456
execve("/usr/bin/zsoelim", ["zsoelim", "/home/chafar/zman123456"], [/*
17 vars */]) = 0
uname({sys="Linux", node="li3-86", ...}) = 0
brk(0) = 0x8051000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f87000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=18954, ...}) = 0
mmap2(NULL, 18954, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f82000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1\0004\0\0\0\250\367\22\0\0\0\0\0004\0
\0\n\0(\0=\0<\0\6\0\0\0004\0\0\0004\0\0\0004\0\...@\1\0\0@\1\0\0\5\0\0\0\4\0\0\0\3\0\0\0
k\22\0 k\22\0
k\22\0\23\0\0\0\23\0\0\0\4\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4{\22\0\4{\22\0\5\0\0\0\0\20\0\0\1\0\0\0\274\206\22\0\274\206\22\0\274\206\22\0Tf\0\0\340\221\0\0\6\0\0\0\0\20\0\0\2\0\0\0<\335\22\0<\335\22\0<\335\22\0\350\0\0\0\350\0\0\0\6\0\0\0\4\0\0\0\4\0\0\0t\1\0\0t\1\0\0t\1\0\0
\0\0\0
\0\0\0\4\0\0\0\4\0\0\0\7\0\0\0\330\302\22\0\330\302\22\0\330\302\22\0\10\0\0\0(\0\0\0\4\0\0\0\4\0\0\0P\345td4k\22\0004k\22\0004k\22\0\274\r\0\0\274\r\0\0\4\0\0\0\4\0\0\0Q\345td\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\4\0\0\0R\345td\274\206\22\0\274\206\22\0\274\206\22\0
Y\0\0 Y\0\0\4\0\0\0
\0\0\0\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0\0\0\0\0\377\3\0\0m\10\0\0\5\1\0\0\214\6\0\0U\2\0\0\321\0\0\0\364\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0{\6\0\0\333\5\0\0\0\0\0\0%\10\0\0\205\6\0\0\23\2\0\0\247\2\0\0009\10\0\0\"\4\0\0.\10\0\0\0\0\0\0\272\6\0\0|\2\0\0\373\7\0\0\'\6\0\0\311\4\0\0",
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1245488, ...}) = 0
mmap2(NULL, 1251484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7e50000
mmap2(0xb7f78000, 28672, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x128) = 0xb7f78000
mmap2(0xb7f7f000, 10396, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f7f000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e4f000
mprotect(0xb7f78000, 20480, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e4f8e0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7f82000, 18954) = 0
brk(0) = 0x8051000
brk(0x8072000) = 0x8072000
open("/home/chafar/zman123456", O_RDONLY) = 3
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f86000
write(1, ".lf 1 /home/chafar/zman123456\n", 30.lf 1 /home/chafar/zman123456
) = 30
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf972a68) = -1 ENOTTY
(Inappropriate ioctl for device)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 18974 detached
> ... If
it does, could you then install the strace and valgrind package and run:
cd /usr/share/man/es
zcat /usr/share/man/es/man1/man.1.gz > $HOME/zman123456
strace -f -s 1024 zsoelim $HOME/zman123456
valgrind zsoelim $HOME/zman123456
... and send me the full output of all of that.
This is the output of valgrind:
valgrind -v zsoelim $HOME/zman123456
==19065== Memcheck, a memory error detector.
==19065== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==19065== Using LibVEX rev 1658, a library for dynamic binary translation.
==19065== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==19065== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation
framework.
==19065== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==19065==
--19065-- Command line
--19065-- zsoelim
--19065-- /home/chafar/zman123456
--19065-- Startup, with flags:
--19065-- -v
--19065-- Contents of /proc/version:
--19065-- Linux version 2.6.18.8-linode19 ([email protected]) (gcc
version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)) #1 SMP Mon Aug 17 19:13:43
UTC 2009
--19065-- Arch and hwcaps: X86, x86-sse1-sse2
--19065-- Valgrind library directory: /usr/lib/valgrind
--19065-- Reading syms from /lib/ld-2.3.6.so (0x4000000)
--19065-- Reading debug info from /lib/ld-2.3.6.so...
--19065-- ... CRC mismatch (computed A2342EFB wanted 8FC9FDDB)
--19065-- object doesn't have a symbol table
--19065-- Reading syms from /usr/bin/zsoelim (0x8048000)
--19065-- object doesn't have a symbol table
--19065-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck
(0x38000000)
--19065-- object doesn't have a dynamic symbol table
--19065-- Reading suppressions file: /usr/lib/valgrind/default.supp
--19065-- Reading syms from
/usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4019000)
--19065-- Reading syms from
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x401B000)
--19065-- Reading syms from /lib/tls/libc-2.3.6.so (0x4026000)
--19065-- Reading debug info from /lib/tls/libc-2.3.6.so...
--19065-- ... CRC mismatch (computed 7CD71DCF wanted AA4A19EB)
--19065-- object doesn't have a symbol table
--19065-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--19065-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--19065-- REDIR: 0x4092210 (rindex) redirected to 0x401DF30 (rindex)
--19065-- REDIR: 0x4091E30 (strlen) redirected to 0x401E200 (strlen)
--19065-- REDIR: 0x408E2B0 (malloc) redirected to 0x401D306 (malloc)
--19065-- REDIR: 0x4091920 (strcpy) redirected to 0x401E970 (strcpy)
.lf 1 /home/chafar/zman123456
==19065== Invalid read of size 4
==19065== at 0x8049FFF: (within /usr/bin/zsoelim)
==19065== by 0x804AFE1: (within /usr/bin/zsoelim)
==19065== by 0x403AEA7: (below main) (in /lib/tls/libc-2.3.6.so)
==19065== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==19065==
==19065== Process terminating with default action of signal 11 (SIGSEGV)
==19065== Access not within mapped region at address 0x0
==19065== at 0x8049FFF: (within /usr/bin/zsoelim)
==19065== by 0x804AFE1: (within /usr/bin/zsoelim)
==19065== by 0x403AEA7: (below main) (in /lib/tls/libc-2.3.6.so)
--19065-- REDIR: 0x408BFA0 (free) redirected to 0x401CF20 (free)
--19065-- REDIR: 0x4092E20 (memset) redirected to 0x401E4F0 (memset)
==19065==
==19065== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 11 from 1)
==19065==
==19065== 1 errors in context 1 of 1:
==19065== Invalid read of size 4
==19065== at 0x8049FFF: (within /usr/bin/zsoelim)
==19065== by 0x804AFE1: (within /usr/bin/zsoelim)
==19065== by 0x403AEA7: (below main) (in /lib/tls/libc-2.3.6.so)
==19065== Address 0x0 is not stack'd, malloc'd or (recently) free'd
--19065--
--19065-- supp: 11 Debian libc6 (2.3.x) stripped dynamic linker
==19065==
==19065== IN SUMMARY: 1 errors from 1 contexts (suppressed: 11 from 1)
==19065==
==19065== malloc/free: in use at exit: 16,798 bytes in 5 blocks.
==19065== malloc/free: 5 allocs, 0 frees, 16,798 bytes allocated.
==19065==
==19065== searching for pointers to 5 not-freed blocks.
==19065== checked 59,200 bytes.
==19065==
==19065== LEAK SUMMARY:
==19065== definitely lost: 0 bytes in 0 blocks.
==19065== possibly lost: 0 bytes in 0 blocks.
==19065== still reachable: 16,798 bytes in 5 blocks.
==19065== suppressed: 0 bytes in 0 blocks.
==19065== Reachable blocks (those to which a pointer was found) are not
shown.
==19065== To see them, rerun with: --show-reachable=yes
--19065-- memcheck: sanity checks: 0 cheap, 1 expensive
--19065-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--19065-- memcheck: auxmaps: 0 searches, 0 comparisons
--19065-- memcheck: SMs: n_issued = 7 (112k, 0M)
--19065-- memcheck: SMs: n_deissued = 0 (0k, 0M)
--19065-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M)
--19065-- memcheck: SMs: max_undefined = 0 (0k, 0M)
--19065-- memcheck: SMs: max_defined = 19 (304k, 0M)
--19065-- memcheck: SMs: max_non_DSM = 7 (112k, 0M)
--19065-- memcheck: max sec V bit nodes: 3 (0k, 0M)
--19065-- memcheck: set_sec_vbits8 calls: 5 (new: 3, updates: 2)
--19065-- memcheck: max shadow mem size: 416k, 0M
--19065-- translate: fast SP updates identified: 1,858 ( 89.8%)
--19065-- translate: generic_known SP updates identified: 116 ( 5.6%)
--19065-- translate: generic_unknown SP updates identified: 94 ( 4.5%)
--19065-- tt/tc: 3,772 tt lookups requiring 3,799 probes
--19065-- tt/tc: 3,772 fast-cache updates, 2 flushes
--19065-- transtab: new 1,882 (39,253 -> 658,674; ratio 167:10)
[0 scs]
--19065-- transtab: dumped 0 (0 -> ??)
--19065-- transtab: discarded 0 (0 -> ??)
--19065-- scheduler: 29,466 jumps (bb entries).
--19065-- scheduler: 0/2,002 major/minor sched events.
--19065-- sanity: 1 cheap, 1 expensive checks.
--19065-- exectx: 30,011 lists, 12 contexts (avg 0 per list)
--19065-- exectx: 17 searches, 5 full compares (294 per 1000)
--19065-- exectx: 0 cmp2, 26 cmp4, 0 cmpAll
Segment fault
I'm willing to spend some time debugging this, but you're running
oldstable rather than the current stable and I've made eight upstream
releases since then fixing really quite a large number of bugs, so I'm
not going to keep this as a release-critical bug forever; I'm leaving it
that way for now on the off-chance that this bug is still present
somehow.
Thanks for your attention, and sorry for the inconvenience. I'm sure
you'll do what is most appropiate.
--
José Esteban
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]