Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 17:19:26 +0100
From:      "Nicolai Petri" <Nicolai@atomic.dk>
To:        <freebsd-hackers@freebsd.org>
Subject:   Signal 11 when compiling app with LinuxThreads
Message-ID:  <003001c041c4$01e9d130$6732a8c0@atomic.dk>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003001c041c4$01e9d130$6732a8c0>