Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA18118; Mon, 4 Dec 95 11:24:32 EST
Received: from kalypso.cybercom.net by MIT.EDU with SMTP
	id AA10925; Mon, 4 Dec 95 11:23:27 EST
Received: from anarchy.cybercom.net (anarchy.cybercom.net [205.198.82.63]) by kalypso.cybercom.net (8.6.12/8.6.12) with SMTP id LAA06863 for <proven@mit.edu>; Mon, 4 Dec 1995 11:24:25 -0500
Received: by anarchy.cybercom.net (5.x/SMI-SVR4)
	id AA17638; Mon, 4 Dec 1995 11:19:01 -0500
Date: Mon, 4 Dec 1995 11:19:01 -0500
From: rael@anarchy.cybercom.net (Bill Lear)
Message-Id: <9512041619.AA17638@anarchy.cybercom.net>
To: proven@MIT.EDU
Subject: Persistent core dump with python and pthreads-1_60_beta4_1


Hi, I'm trying to get pthreads-1_60_beta4_1 working on both Solaris 2.4
and BSDI 4.4 lite.  I seem to be getting the same probem on both, and
I was wondering if you could take a look at the trace and give me some
idea of how to track this down.  The following is from a gdb trace
of a core dump of a python test:

/build/Python-1.3>./python 
Segmentation Fault (core dumped)

/build/Python-1.3>gdb python core
GDB is free software and you are welcome to 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.
GDB 4.15 (sparc-sun-solaris2.4), 
Copyright 1995 Free Software Foundation, Inc...
Core was generated by `./python'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/ucblib/libucb.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libelf.so.1...done.
Reading symbols from /usr/lib/libw.so.1...done.
#0  0x85bb0 in machdep_sys_sigprocmask ()
(gdb) where
#0  0x85bb0 in machdep_sys_sigprocmask ()
    at /opt2/build/pthreads-1_60_beta4_1/pthreads/sig.c:147
#2  0x81b70 in sig_handler_real (sig=11)
    at /opt2/build/pthreads-1_60_beta4_1/pthreads/signal.c:440
#3  <signal handler called>
#4  0x5b338 in rl_getc ()
#5  0x58244 in rl_read_key ()
#6  0x57db0 in readline_internal ()
#7  0x57c6c in readline ()
#8  0x55e40 in PyOS_Readline ()
#9  0x56524 in tok_nextc ()
#10 0x56c1c in PyTokenizer_Get ()
#11 0x561b0 in parsetok ()
#12 0x56114 in PyParser_ParseFile ()
#13 0x442ec in PyRun_InteractiveOne ()
#14 0x441f0 in PyRun_InteractiveLoop ()
#15 0x44110 in PyRun_AnyFile ()
#16 0x1cadc in main ()
(gdb) 


If you could give me some hints as to where to look, I'd appreciate it.


Thanks.


Bill Lear (rael@cybercom.net)
