Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: -current tar(1) breakage



On Sat, 27 Mar 2021 18:34:27 -0400, Christos Zoulas wrote:
> I didn't expect output, but I wanted to look at the pointer data. 
> Does it contain 0xa5 now instead of other random strings?

Ah. You mean *cv? No, same value:

[hauke@i386-pxe] /<6>xemacs-21.4.24/lisp > env MALLOC_CONF='junk:true' 
tar -cf /dev/null .
Segmentation fault (core dumped)
[hauke@i386-pxe] /<6>xemacs-21.4.24/lisp > gdb /bin/tar tar.core
GNU gdb (GDB) 11.0.50.20200914-git
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /bin/tar...
Reading symbols from /usr/libdata/debug//bin/tar.debug...
[New process 6992]
Core was generated by `tar'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00006fe46fc67866 in _citrus_iconv_convert 
(nresults=0x7f7fffe70f48, flags=0, outbytes=0x7f7fffe70fc8, 
out=0x7f7fffe70fc0, 
    inbytes=0x7f7fffe70fb8, in=0x7f7fffe70fb0, cv=0x6fe471f0e0e0) at 
/usr/src/lib/libc/citrus/citrus_iconv.h:61
61		_DIAGASSERT(cv && cv->cv_shared && cv->cv_shared->ci_ops &&
(gdb) print *cv
$1 = {cv_shared = 0x6c652e73, cv_closure = 0x6fe471bcd050}
(gdb)  print *cv->cv_shared
Cannot access memory at address 0x6c652e73
(gdb) 


-- 
Hauke Fath                        <hauke%Espresso.Rhein-Neckar.DE@localhost>
Linnéweg 7
64342 Seeheim-Jugenheim
Germany


Home | Main Index | Thread Index | Old Index