Mantis - lftp
Viewing Issue Advanced Details
3511 packaging block always 2009-03-28 14:00 2009-11-22 12:50
wbonnet i386  
yann Solaris 10  
normal u6  
closed  
3.7.11,REV=2009.03.27 unable to reproduce  
none    
none  
0003511: lftp is dumping core
lftp is dumping core
$ lftp ftp.debian.org
Segmentation fault (core dumped)

$ pstack core
core 'core' of 14768: lftp ftp.debian.org
 fe552086 __mbrtowc_dense_utf8 (fe6979b8, 0, 1, 4, 8046cc8) + 8e
 fe5529b0 __mbsrtowcs_dense_utf8 (fe6979b8, 0, 8046cd4, 0, 8046cc8) + 60
 fe80f10c mbsrtowcs (0, 8046cd4, 0, 8046cc8) + 44
 080c6f7d gnu_fnmatch (1, 0, 0, 0, 8046d0c, 80a9398) + 3d




$ pkg-get -c | grep lftp
           lftp 3.7.11,REV=2009.03.27 SAME
txt file icon pkglist.txt [^] (22,682 bytes) 2009-03-28 18:21
Issue History
2009-03-28 14:00 wbonnet New Issue
2009-03-28 14:12 yann Status new => assigned
2009-03-28 14:12 yann Assigned To => yann
2009-03-28 14:22 yann Note Added: 0005772
2009-03-28 14:22 yann Status assigned => feedback
2009-03-28 18:21 wbonnet File Added: pkglist.txt
2009-03-28 18:23 wbonnet Note Added: 0005775
2009-03-29 16:20 yann Note Added: 0005780
2009-04-16 00:08 yann Note Added: 0005973
2009-04-16 22:42 wbonnet Note Added: 0005981
2009-07-25 16:20 yann Note Added: 0006460
2009-10-11 22:02 yann Note Added: 0006837
2009-10-11 22:02 yann Status feedback => resolved
2009-10-11 22:02 yann Resolution open => fixed
2009-10-11 22:02 yann Note Added: 0006838
2009-10-11 22:02 yann Status resolved => feedback
2009-11-01 02:21 yann Note Deleted: 0006838
2009-11-01 02:23 yann Note Added: 0006928
2009-11-01 02:23 yann Status feedback => resolved
2009-11-01 02:23 yann Resolution fixed => unable to reproduce
2009-11-22 12:50 yann Status resolved => closed

Notes
(0005772)
yann   
2009-03-28 14:22   
Can you tell me more about your environnement 'cause I don't reproduce this bug on solaris 8 branded zone and solaris 10 x86 ?

Can you join the core file, give me the output of "ldd /opt/csw/bin/lftp" and "pkg-get -c" ?
(0005775)
wbonnet   
2009-03-28 18:23   
core file is available on the farm in my homedir

$ ldd /opt/csw/bin/lftp
        libexpat.so.1 => /opt/csw/lib/i386/libexpat.so.1
        libssl.so.0.9.8 => /opt/csw/lib/pentium_pro/libssl.so.0.9.8
        libcrypto.so.0.9.8 => /opt/csw/lib/pentium_pro/libcrypto.so.0.9.8
        librt.so.1 => /lib/librt.so.1
        libintl.so.8 => /opt/csw/lib/i386/libintl.so.8
        libiconv.so.2 => /opt/csw/lib/i386/libiconv.so.2
        libreadline.so.6 => /opt/csw/lib/i386/libreadline.so.6
        libcurses.so.1 => /lib/libcurses.so.1
        libresolv.so.2 => /lib/libresolv.so.2
        libdl.so.1 => /lib/libdl.so.1
        libnsl.so.1 => /lib/libnsl.so.1
        libsocket.so.1 => /lib/libsocket.so.1
        libCstd.so.1 => /usr/lib/libCstd.so.1
        libCrun.so.1 => /usr/lib/libCrun.so.1
        libm.so.1 => /lib/libm.so.1
        libc.so.1 => /lib/libc.so.1
        libaio.so.1 => /lib/libaio.so.1
        libmd.so.1 => /lib/libmd.so.1
        libsec.so.1 => /lib/libsec.so.1
        libncurses.so.5 => /opt/csw/lib/libncurses.so.5
        libmp.so.2 => /lib/libmp.so.2
        libscf.so.1 => /lib/libscf.so.1
        libavl.so.1 => /lib/libavl.so.1
        libdoor.so.1 => /lib/libdoor.so.1
        libuutil.so.1 => /lib/libuutil.so.1
        libgen.so.1 => /lib/libgen.so.1
        libm.so.2 => /lib/libm.so.2
(0005780)
yann   
2009-03-29 16:20   
The core is not group readable on the farm, could you give me read access ?

Can you send me the output of 'uname -a', do a "truss -f lftp ftp.debian.org" and send me the output ?

Are you able to reproduce this bug on other computer or only on a specific one ?
(0005973)
yann   
2009-04-16 00:08   
William, can you answer to my last note ?
(0005981)
wbonnet   
2009-04-16 22:42   
[william@cyaegha:~]$ uname -a
SunOS cyaegha 5.10 Generic_138889-05 i86pc i386 i86pc

truss.lftp.log is available on the farm
(0006460)
yann   
2009-07-25 16:20   
William, I uploaded a new version of lftp (3.7.15).
Could you tell me if you still reproduce the coredump with this version ?
(0006837)
yann   
2009-10-11 22:02   
William, I uploaded a new version of lftp (4.0.2).
Could you tell me if you still reproduce the coredump with this version ?
(0006928)
yann   
2009-11-01 02:23   
No news, good news,so I will close this bug

I uploaded a new version of lftp (4.0.3), feel free to reopen the bug if you can reproduce the bug against this version.