Subject: Re: Threads Pt 2
To: David Reid <mail@david-reid.com>
From: Jaromír <jdolecek@NetBSD.org>
List: current-users
Date: 09/25/2001 20:11:52
Are you aware if mit-pthreads equire pthread_init() to be called
and if icecast calls it?

Jaromir

David Reid wrote:
[ Charset ISO-8859-1 unsupported, converting... ]
> OK, so here's a bit more...
> 
> Installed icecast from the pkgsrc (and the unproven-pthreads and readline it
> requires) and then did the same thing..
> 
> bash-2.05# gdb /usr/pkg/bin/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"...(no debugging symbols
> found)...
> (gdb) r
> Starting program: /usr/pkg/bin/icecast
> [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
> (no debugging symbols found)...(no debugging symbols found)...
> [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
> (no debugging symbols found)...(no debugging symbols found)...
> Program received signal SIGSEGV, Segmentation fault.
> 0x41894f98 in ?? () from /usr/pkg/pthreads/lib/libpthread.so.1
> 
> So, it looks like a general problem with thread libraries.  Anyone any
> ideas?
> 
> david
> 
> ----- Original Message -----
> From: "David Reid" <dreid@jetnet.co.uk>
> To: "netbsd current" <current-users@netbsd.org>
> Sent: Tuesday, September 25, 2001 2:34 PM
> Subject: Threads Pt 2
> 
> 
> > 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
> >
> 


-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
NetBSD - just plain best OS! -=*=- Got spare MCA cards or docs? Hand me them!