NetBSD-Bugs archive

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

Re: PR/60346 CVS commit: src/usr.bin/ftp



The following reply was made to PR bin/60346; it has been noted by GNATS.

From: Patrick Welche <prlw1%welche.eu@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: PR/60346 CVS commit: src/usr.bin/ftp
Date: Wed, 8 Jul 2026 13:16:13 +0100

 I have started seeing segmentation faults - maybe related?
 
 Easiest is the reproducer:
 
 gdb `which ftp`
 run https://github.com/openmm/openmm/archive/8.5.2.tar.gz
 
 
 (gdb) run https://github.com/openmm/openmm/archive/8.5.2.tar.gz
 Starting program: /usr/bin/ftp https://github.com/openmm/openmm/archive/8.5.2.tar.gz
 Requesting https://github.com/openmm/openmm/archive/8.5.2.tar.gz
 Redirected to https://codeload.github.com/openmm/openmm/tar.gz/refs/tags/8.5.2
 
 Program received signal SIGSEGV, Segmentation fault.
 0x00007f7ff752ace6 in strcmp () from /usr/lib/libc.so.12
 (gdb) bt
 #0  0x00007f7ff752ace6 in strcmp () from /usr/lib/libc.so.12
 #1  0x00007f7ff7a85446 in query_cmp (a=0x7f7ff71f3ff0, b=0x7f7fffffc300)
     at /usr/src/crypto/external/apache2/openssl/dist/crypto/property/property.c:194
 #2  0x00007f7ff7a99871 in getrn (lh=0x7f7ff71f88c0, data=0x7f7fffffc300, 
     rhash=rhash@entry=0x7f7fffffc2d8)
     at /usr/src/crypto/external/apache2/openssl/dist/crypto/lhash/lhash.c:344
 #3  0x00007f7ff7a99dca in OPENSSL_LH_retrieve (lh=<optimized out>, 
     data=data@entry=0x7f7fffffc300)
     at /usr/src/crypto/external/apache2/openssl/dist/crypto/lhash/lhash.c:180
 #4  0x00007f7ff7a8603c in lh_QUERY_retrieve (lh=<optimized out>, 
     d=0x7f7fffffc300)
     at /usr/src/crypto/external/apache2/openssl/dist/crypto/property/property.c:57
 ...
 #17 0x00000000000215d3 in fetch_start_ssl (sock=sock@entry=8, 
     servername=servername@entry=0x7f7ff71ca6e0 "codeload.github.com")
     at /usr/src/usr.bin/ftp/ssl.c:674
 #18 0x0000000000012509 in ftp_socket (ui=0x7f7fffffcaf0, ssl=0x7f7fffffca28, 
     auth=0x7f7fffffcab0) at /usr/src/usr.bin/ftp/fetch.c:717
 #19 fetch_url (
     url=url@entry=0x7f7ff72b59b0 "https://codeload.github.com/openmm/openmm/tar.gz/refs/tags/8.5.2";, proxyenv=proxyenv@entry=0x0, 
     proxyauth=proxyauth@entry=0x0, wwwauth=wwwauth@entry=0x0, 
     rui=rui@entry=0x7f7fffffd750) at /usr/src/usr.bin/ftp/fetch.c:1576
 #20 0x0000000000014da0 in go_fetch (
     url=url@entry=0x7f7ff72b59b0 "https://codeload.github.com/openmm/openmm/tar.gz/refs/tags/8.5.2";, rui=rui@entry=0x7f7fffffd750)
     at /usr/src/usr.bin/ftp/fetch.c:2370
 #21 0x000000000001480e in negotiate_connection (fin=0x7f7ff7302840, 
     url=0x7f7fffffecbd "https://github.com/openmm/openmm/archive/8.5.2.tar.gz";, penv=0x7f7ff7331208 "", pi=<synthetic pointer>, mtime=0x7f7fffffd680, 
     wauth=0x7f7fffffd710, pauth=0x7f7fffffd730, rval=0x7f7fffffd5f8, 
     ischunked=0x7f7fffffd5fc, auth=0x7f7fffffd638, ui=0x7f7fffffd750)
     at /usr/src/usr.bin/ftp/fetch.c:1251
 ...
 



Home | Main Index | Thread Index | Old Index