Summary: | net-libs/libntlm-0.4.0 - ~keywording request | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrej Kacian (RETIRED) <ticho> |
Component: | New packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | ppc, ticho |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andrej Kacian (RETIRED)
![]() For me on sparc (two different systems), with FEATURES=test, I end up with this: =========================================== make[3]: Entering directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/tests' PASS: test-des PASS: test-md4 ================== All 2 tests passed ================== make[3]: Leaving directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/tests' make[2]: Leaving directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/tests' make[1]: Leaving directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/tests' make[1]: Entering directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0' make test_ntlm make[2]: Entering directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0' sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -DNTLM_SRCDIR=\".\" -O2 -mcpu=ultrasparc3 -pipe -D__GLX_ALIGN64 -MT test_ntlm.o -MD -MP -MF .deps/test_ntlm.Tpo -c -o test_ntlm.o test_ntlm.c mv -f .deps/test_ntlm.Tpo .deps/test_ntlm.Po /bin/sh ./libtool --tag=CC --mode=link sparc-unknown-linux-gnu-gcc -O2 -mcpu=ultrasparc3 -pipe -D__GLX_ALIGN64 -no-install -o test_ntlm test_ntlm.o libntlm.la sparc-unknown-linux-gnu-gcc -O2 -mcpu=ultrasparc3 -pipe -D__GLX_ALIGN64 -o test_ntlm test_ntlm.o ./.libs/libntlm.so -Wl,--rpath -Wl,/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs make[2]: Leaving directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0' make check-TESTS make[2]: Entering directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0' ntlm.h 0.4.0 libntlm 0.4.0 /bin/sh: line 4: 32110 Segmentation fault ${dir}$tst FAIL: test_ntlm ====================================== 1 of 1 tests failed Please report to libntlm@josefsson.org ====================================== =================================================== Is this a problem? Or perhaps a problem with the test procedure itself? Please advise before sparc will keyword. Hm, that looks like your valgrind segfaults. On x86, I get: make[2]: Entering directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0' ==4712== Memcheck, a memory error detector. ==4712== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==4712== Using LibVEX rev 1732, a library for dynamic binary translation. ==4712== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==4712== Using valgrind-3.2.3, a dynamic binary instrumentation framework. ==4712== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==4712== For more details, rerun with: -v ==4712== ==4712== Conditional jump or move depends on uninitialised value(s) ==4712== at 0x400A747: _dl_relocate_object (in /lib/ld-2.6.1.so) ==4712== by 0x40044CE: dl_main (in /lib/ld-2.6.1.so) ==4712== by 0x4013673: _dl_sysdep_start (in /lib/ld-2.6.1.so) ==4712== by 0x4001239: _dl_start (in /lib/ld-2.6.1.so) ==4712== by 0x40008A6: (within /lib/ld-2.6.1.so) ==4712== ==4712== Conditional jump or move depends on uninitialised value(s) ==4712== at 0x400A74F: _dl_relocate_object (in /lib/ld-2.6.1.so) ==4712== by 0x40044CE: dl_main (in /lib/ld-2.6.1.so) ==4712== by 0x4013673: _dl_sysdep_start (in /lib/ld-2.6.1.so) ==4712== by 0x4001239: _dl_start (in /lib/ld-2.6.1.so) ==4712== by 0x40008A6: (within /lib/ld-2.6.1.so) ==4712== ==4712== Conditional jump or move depends on uninitialised value(s) ==4712== at 0x400ABEA: _dl_relocate_object (in /lib/ld-2.6.1.so) ==4712== by 0x40044CE: dl_main (in /lib/ld-2.6.1.so) ==4712== by 0x4013673: _dl_sysdep_start (in /lib/ld-2.6.1.so) ==4712== by 0x4001239: _dl_start (in /lib/ld-2.6.1.so) ==4712== by 0x40008A6: (within /lib/ld-2.6.1.so) ==4712== ==4712== Conditional jump or move depends on uninitialised value(s) ==4712== at 0x400A888: _dl_relocate_object (in /lib/ld-2.6.1.so) ==4712== by 0x40044CE: dl_main (in /lib/ld-2.6.1.so) ==4712== by 0x4013673: _dl_sysdep_start (in /lib/ld-2.6.1.so) ==4712== by 0x4001239: _dl_start (in /lib/ld-2.6.1.so) ==4712== by 0x40008A6: (within /lib/ld-2.6.1.so) ==4712== ==4712== Conditional jump or move depends on uninitialised value(s) ==4712== at 0x400A747: _dl_relocate_object (in /lib/ld-2.6.1.so) ==4712== by 0x40040E7: dl_main (in /lib/ld-2.6.1.so) ==4712== by 0x4013673: _dl_sysdep_start (in /lib/ld-2.6.1.so) ==4712== by 0x4001239: _dl_start (in /lib/ld-2.6.1.so) ==4712== by 0x40008A6: (within /lib/ld-2.6.1.so) ==4712== ==4712== Conditional jump or move depends on uninitialised value(s) ==4712== at 0x400A74F: _dl_relocate_object (in /lib/ld-2.6.1.so) ==4712== by 0x40040E7: dl_main (in /lib/ld-2.6.1.so) ==4712== by 0x4013673: _dl_sysdep_start (in /lib/ld-2.6.1.so) ==4712== by 0x4001239: _dl_start (in /lib/ld-2.6.1.so) ==4712== by 0x40008A6: (within /lib/ld-2.6.1.so) ==4712== ==4712== Conditional jump or move depends on uninitialised value(s) ==4712== at 0x400A888: _dl_relocate_object (in /lib/ld-2.6.1.so) ==4712== by 0x40040E7: dl_main (in /lib/ld-2.6.1.so) ==4712== by 0x4013673: _dl_sysdep_start (in /lib/ld-2.6.1.so) ==4712== by 0x4001239: _dl_start (in /lib/ld-2.6.1.so) ==4712== by 0x40008A6: (within /lib/ld-2.6.1.so) ntlm.h 0.4.0 libntlm 0.4.0 ==4712== ==4712== ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0) ==4712== malloc/free: in use at exit: 0 bytes in 0 blocks. ==4712== malloc/free: 150 allocs, 150 frees, 1,101,434 bytes allocated. ==4712== For counts of detected errors, rerun with: -v ==4712== All heap blocks were freed -- no leaks are possible. PASS: test_ntlm ================== All 1 tests passed ================== make[2]: Leaving directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0' make[1]: Leaving directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0' What's the value of VALGRIND in leftover toplevel Makefile ? VALGRIND = Valgrind is keyworded thus: KEYWORDS="-* amd64 ppc ppc64 x86" and indeed, an attempt to build it on sparc results in configure: error: Unsupported host architecture. Sorry If the problem is just that tests require valgrind to run, then sparc is OK. I don't think that's where the segfault comes from. Try running test_ntlm program found in leftover build dir. Makefile calls "${valgrind} ./test_ntlm" (paraphrased) without checking if ${valgrind} is empty or not - so in your case it calls ./test_ntlm directly. That's where the "ntlm.h 0.4.0 libntlm 0.4.0" line comes from. Chances are that it segfaults for you somewhere after it prints this line. The SEGFAULT comes from the test routine itself, here: 67 fprintf (fp, "%02x ", buf[i]); trying to print buf[7024], which is out of bounds. But for whatever reason, we have len=268435504 So, I suppose there is some problem here: #define SmbLength(ptr) (((ptr)->buffer - (uint8*)(ptr)) + (ptr)->bufIndex) Sparc people, if someone else could confirm the problem or show success fith FEATURES=test, I'd appreciate it. not going to give ppc-macos keyword here. ====amd64==== 1. Compiles. 2. Tests all pass. 3. No collisions. 4. multilib-strict passes. 5. Merges. Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r8 x86_64) ================================================================= System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3400+ Timestamp of tree: Sat, 29 Sep 2007 01:47:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/overlay /usr/portage/local/kde" SYNC="rsync://kv80/gentoo-portage" USE="X acl acpi aiglx aim alsa amd64 arts berkdb bitmap-fonts branding cairo cli cracklib crypt cups dbus dri dvd dvdread emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv imap ipv6 isdnlog jpeg kde kerberos mad midi mikmod mmx mp3 mpeg mpeg3 mqsli mudflap mysql ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support quicktime readline reflection sdl session sockets spell spl sqlite3 sse sse2 ssl svg tcpd test tiff truetype truetype-fonts type1-fonts unicode vim vorbis xcomposite xine xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I get the exact same error as Ferris on my sparc64. In case it can help, here's the output of strace: strace ./test_ntlm execve("./test_ntlm", ["./test_ntlm"], [/* 28 vars */]) = 0 brk(0) = 0x22000 uname({sys="Linux", node="sparc64", ...}) = 0 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/ultra3/v9/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/ultra3/v9", 0xff132a08) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/ultra3/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/ultra3", 0xff132a08) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/v9/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/v9", 0xff132a08) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls", 0xff132a08) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/ultra3/v9/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/ultra3/v9", 0xff132a08) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/ultra3/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/ultra3", 0xff132a08) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/v9/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/v9", 0xff132a08) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/libntlm.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\0\t"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=38761, ...}) = 0 mmap(NULL, 97824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7f60000 mprotect(0xf7f68000, 57344, PROT_NONE) = 0 mmap(0xf7f76000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0xf7f76000 close(3) = 0 open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=23742, ...}) = 0 mmap(NULL, 23742, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf7f58000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\22\0\0\0\1\0\1\350"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1435120, ...}) = 0 mmap(NULL, 1456088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7df4000 mprotect(0xf7f40000, 65536, PROT_NONE) = 0 mmap(0xf7f50000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14c000) = 0xf7f50000 mmap(0xf7f56000, 6104, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7f56000 close(3) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7f5e000 mprotect(0xf7f50000, 8192, PROT_READ) = 0 mprotect(0xf7fa8000, 8192, PROT_READ) = 0 munmap(0xf7f58000, 23742) = 0 brk(0) = 0x22000 brk(0x44000) = 0x44000 open("test.out", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7f5c000 write(1, "ntlm.h 0.4.0 libntlm 0.4.0\n", 27ntlm.h 0.4.0 libntlm 0.4.0 ) = 27 fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7f5a000 write(3, "NTLM Request:\n Ident = NTLM"..., 8192) = 8192 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 29862 detached I'll try to report this upstream. Ferris and Jorge Manuel, thanks so far. Other arches, feel free to chime in with your results. ~alpha/~ia64 done Looks like we're hitting the same test failure on ppc as sparc encountered, strace looks quite similiar to the sparc one: make[2]: Entering directory `/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0' ntlm.h 0.4.0 libntlm 0.4.0 /bin/sh: line 4: 10305 Segmentation fault ${dir}$tst FAIL: test_ntlm execve("./test_ntlm", ["./test_ntlm"], [/* 46 vars */]) = 0 brk(0) = 0x10013000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3001e000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/ppc7450/altivec/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/ppc7450/altivec", 0x7f8705f8) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/ppc7450/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/ppc7450", 0x7f8705f8) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/altivec/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/altivec", 0x7f8705f8) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/tls", 0x7f8705f8) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/ppc7450/altivec/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/ppc7450/altivec", 0x7f8705f8) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/ppc7450/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/ppc7450", 0x7f8705f8) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/altivec/libntlm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/altivec", 0x7f8705f8) = -1 ENOENT (No such file or directory) open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/libntlm.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\t\220\0\0\0004"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=35466, ...}) = 0 mmap(0xffd9000, 92844, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffd9000 mprotect(0xffe0000, 61440, PROT_NONE) = 0 mmap(0xffef000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0xffef000 close(3) = 0 open("/var/tmp/portage/net-libs/libntlm-0.4.0/work/libntlm-0.4.0/.libs/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=75416, ...}) = 0 mmap(NULL, 75416, PROT_READ, MAP_PRIVATE, 3, 0) = 0x3002f000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\354\350\0\0\0004"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1355756, ...}) = 0 mmap(0xfe6c000, 1425848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfe6c000 mprotect(0xffb1000, 61440, PROT_NONE) = 0 mmap(0xffc0000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x144000) = 0xffc0000 mmap(0xffc6000, 8632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffc6000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3001f000 mprotect(0xffc0000, 20480, PROT_READ) = 0 mprotect(0x3002d000, 4096, PROT_READ) = 0 munmap(0x3002f000, 75416) = 0 brk(0) = 0x10013000 brk(0x10034000) = 0x10034000 open("test.out", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30020000 write(1, "ntlm.h 0.4.0 libntlm 0.4.0\n", 27ntlm.h 0.4.0 libntlm 0.4.0 ) = 27 fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30021000 write(3, "NTLM Request:\n Ident = NTLM"..., 4096) = 4096 write(3, "00 ac 00 00 00 00 00 00 00 00 00"..., 4096) = 4096 write(3, " 00 \n00 00 00 00 30 02 e9 28 30 "..., 4096) = 4096 write(3, "3a 73 74 3d 33 37 3b 34 \n34 3a 6"..., 4096) = 4096 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Eh, plus this one isn't related to valgrind (whether it is installed or not). Reported at <http://savannah.nongnu.org/bugs/index.php?21288>. Sorry it took so long, I had a weekend away from all things digital. ~amd64 added added ~ppc64 Hi! I have addressed this bug in the upstream bug tracker, see comment #3 at: https://savannah.nongnu.org/bugs/index.php?21288 Thanks. (In reply to comment #17) > Hi! I have addressed this bug in the upstream bug tracker, see comment #3 at: I just tested (upstream-)libntlm-0.4.2, tests now success on sparc. How about adding 0.4.2 to the tree and trying to get that ~ppc and ~sparc? Thanks for the nudge. 0.4.2 in the tree, you can start torturing it. ~sparc done, tests work now All tests now pass on PPC too, closing since we're the last arch. |