In message <p05200f70c5d52b51d...@[130.102.20.138]>, Ray Phillips writes:
> I've built bind 9.6.0-P1 on NetBSD/i386 machines (versions 3.1, 4.0, 
> 4.0.1 and 5.0_RC2) and discovered that nsupdate dumps core on the 4.x 
> ones.
> 
> The build process was just:
> 
> % sh -c './configure --disable-threads > configure.log 2>&1'
> % sh -c 'make > make.log 2>&1'
> % su
> Password:
> # sh -c 'make install > make-install.log 2>&1'
> #
> 
> I've also tried without  --disable-threads  but it made no difference.
> 
> 
> % ls -l /usr/local/bin/nsupdate
> -rwxr-xr-x  1 root  wheel  3517495 Mar  5 17:19 /usr/local/bin/nsupdate
> % file /usr/local/bin/nsupdate
> /usr/local/bin/nsupdate: ELF 32-bit LSB executable, Intel 80386, 
> version 1 (SYSV), for NetBSD 4.0, dynamically linked (uses shared 
> libs), not stripped
> % ldd /usr/local/bin/nsupdate
> /usr/local/bin/nsupdate:
>          -lcrypt.0 => /lib/libcrypt.so.0
>          -lcrypto.3 => /usr/lib/libcrypto.so.3
>          -lc.12 => /usr/lib/libc.so.12
> % pwd
> /tmp
> % ls -l
> % /usr/local/bin/nsupdate
> Segmentation fault (core dumped)
> % ls -l
> total 3648
> -rw-------  1 ray  wheel  1846100 Mar  5 17:21 nsupdate.core
> % file nsupdate.core
> nsupdate.core: ELF 32-bit LSB core file Intel 80386, version 1 
> (SYSV), NetBSD-style, from 'nsupdate' (signal 11)
> % gdb nsupdate.core

        You need to call gdb correctly.

        gdb /usr/local/bin/nsupdate nsupdate.core


> GNU gdb 6.5
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386--netbsdelf"..."/tmp/nsupdate.core": 
> not in executable format: File format not recognized
> 
> (gdb) quit
> %
> 
> It would be nice if it worked on the 4.x versions.  Could you suggest 
> what I could do to troubleshoot it please?  bind9 9.5.0-P2's nsupdate 
> worked fine on them.
> 
> 
> Ray
> _______________________________________________
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: mark_andr...@isc.org
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to