From owner-freebsd-hackers Sun Oct 29 8:23: 9 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from atomic.dk (www.atomic.dk [194.192.102.7]) by hub.freebsd.org (Postfix) with SMTP id 02FC737B479 for ; Sun, 29 Oct 2000 08:23:07 -0800 (PST) Received: from petri2000 (194.192.131.98[194.192.131.98])by ATOMIC-ONE(MailMax 3.029) with ESMTP id 7922670 for Nicolai@atomic.dk; Sun, 29 Oct 2000 17:22:52 +0100 WST Message-ID: <003001c041c4$01e9d130$6732a8c0@atomic.dk> From: "Nicolai Petri" To: Subject: Signal 11 when compiling app with LinuxThreads Date: Sun, 29 Oct 2000 17:19:26 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I think I've configured and compiled the application (latest ntop) correct but it crashes hard on the following way. (see bottom) There's no problem when compiled without thread support. Another issue is if I should use linuxthreads or not.. What's the difference in lthread and pthread in short ? Anyone in for suggestions ?? What lib have I missed ?? Cheers, Nicolai Petri ------ This GDB was configured as "i386-unknown-freebsd"... Core was generated by `intop'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libntop-1.3.so.2...done. Reading symbols from /usr/lib/libpcap.so.2...done. Reading symbols from /usr/local/lib/libgdbm.so.2...done. Reading symbols from /usr/local/lib/liblthread.so.2...done. Reading symbols from /usr/lib/libcrypt.so.2...done. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/lib/libssl.so.1...done. Reading symbols from /usr/lib/libcrypto.so.1...done. Reading symbols from /usr/lib/libreadline.so.4...done. Reading symbols from /usr/lib/libncurses.so.5...done. Reading symbols from /usr/lib/libc.so.4...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x28639668 in fstat () from /usr/lib/libc.so.4 (gdb) bt #0 0x28639668 in fstat () from /usr/lib/libc.so.4 #1 0x28673d43 in __swhatbuf () from /usr/lib/libc.so.4 #2 0x28673c9b in __smakebuf () from /usr/lib/libc.so.4 #3 0x286643d7 in __srefill () from /usr/lib/libc.so.4 #4 0x2865cd88 in fgets () from /usr/lib/libc.so.4 #5 0x286549e6 in gethostent () from /usr/lib/libc.so.4 #6 0x28654c3d in _gethostbyhtaddr () from /usr/lib/libc.so.4 #7 0x286545d8 in gethostbyaddr () from /usr/lib/libc.so.4 #8 0x2807fa9e in resolveAddress (symAddr=0x8204044 "*192.168.50.10*", hostAddr=0x81fc100, keepAddressNumeric=0) at address.c:125 #9 0x2807ffae in dequeueAddress () at address.c:263 #10 0x284769a1 in __pthread_manager_event () from /usr/local/lib/liblthread.so.2 #11 0x28477621 in _clone () from /usr/local/lib/liblthread.so.2 #12 0x10692c8 in ?? () #13 0x0 in ?? () (gdb) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message