Subject: Threads Pt 2
To: netbsd current <current-users@netbsd.org>
From: David Reid <dreid@jetnet.co.uk>
List: current-users
Date: 09/25/2001 14:34:50
So, I tried the mit-pthreads package and icecast segfaults really easily
with that package...

This is the gdb output in case anyone can point at the problem and I can fix
it myself...

bash-2.05# gdb icecast
GNU gdb 4.17
Copyright 1998 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 "powerpc--netbsd"...
(gdb) r
Starting program: /usr/work/icecast-1.3.11/src/icecast
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]

Program received signal SIGSEGV, Segmentation fault.
0x41905924 in ?? () from /usr/pkg/pthreads/lib/libpthread.so.1

david