Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2000 15:49:27 +0100 (CET)
From:      Mario_Hoerich@t-online.de (Mario Hoerich)
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16322: Python-1.5.2 locks up in _thread_kern_sched_state_unlock()
Message-ID:  <200001231449.PAA01825@Iribaar.7thsphere.org>

next in thread | raw e-mail | index | archive | help

>Number:         16322
>Category:       ports
>Synopsis:       Python-1.5.2 locks up in _thread_kern_sched_state_unlock()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 23 21:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mario Hoerich
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
None
>Environment:
FreeBSD 3.4-STABLE. 

Below is the result of an ident /usr/lib/libc_r.so.3, which is about the 
only additional information (I can think of) that might be useful. I 
shortened the lines a bit, removing the $FreeBSD: Prefixes and Exp $
Suffixes. Please contact me if any other information is required.

/usr/lib/libc_r.so.3:
src/lib/libc/i386/string/swab.S,v 1.4.2.1 1999/08/29 14:46:55 peter
src/lib/libc/i386/string/strlen.S,v 1.4.2.1 1999/08/29 14:46:53 peter
src/lib/libc/i386/string/memcmp.S,v 1.4.2.1 1999/08/29 14:46:49 peter
src/lib/libc/i386/string/ffs.S,v 1.4.2.1 1999/08/29 14:46:48 peter
src/lib/libc/i386/stdlib/ldiv.S,v 1.3.2.1 1999/08/29 14:46:45 peter
src/lib/libc/i386/stdlib/labs.S,v 1.5.2.1 1999/08/29 14:46:45 peter
src/lib/libc/i386/stdlib/div.S,v 1.3.2.1 1999/08/29 14:46:44 peter
src/lib/libc/i386/stdlib/abs.S,v 1.5.2.1 1999/08/29 14:46:44 peter
src/lib/libc/i386/sys/syscall.S,v 1.5.2.1 1999/08/29 14:47:08 peter
src/lib/libc/i386/sys/sigsuspend.S,v 1.7.2.1 1999/08/29 14:47:08 peter
src/lib/libc/i386/sys/sigpending.S,v 1.7.2.1 1999/08/29 14:47:07 peter
src/lib/libc/i386/sys/setlogin.S,v 1.5.2.1 1999/08/29 14:47:07 peter
src/lib/libc/i386/sys/rfork.S,v 1.5.2.1 1999/08/29 14:47:05 peter
src/lib/libc/i386/sys/reboot.S,v 1.4.2.1 1999/08/29 14:47:05 peter
src/lib/libc/i386/sys/ptrace.S,v 1.5.2.1 1999/08/29 14:47:04 peter
src/lib/libc/i386/sys/exect.S,v 1.5.2.1 1999/08/29 14:46:59 peter
src/lib/libc/i386/sys/Ovfork.S,v 1.10.2.1 1999/08/29 14:46:57 peter
src/lib/libc/i386/net/ntohs.S,v 1.4.2.1 1999/08/29 14:46:42 peter
src/lib/libc/i386/net/ntohl.S,v 1.4.2.1 1999/08/29 14:46:42 peter
src/lib/libc/i386/net/htons.S,v 1.4.2.1 1999/08/29 14:46:41 peter
src/lib/libc/i386/net/htonl.S,v 1.4.2.1 1999/08/29 14:46:41 peter
src/lib/libc/i386/gen/sigsetjmp.S,v 1.11.2.1 1999/08/29 14:46:38 peter
src/lib/libc/i386/gen/modf.S,v 1.5.2.1 1999/08/29 14:46:37 peter
src/lib/libc/i386/gen/fabs.S,v 1.4.2.1 1999/08/29 14:46:35 peter
src/lib/libc/i386/gen/alloca.S,v 1.4.2.1 1999/08/29 14:46:34 peter
src/lib/libc/i386/gen/_setjmp.S,v 1.7.2.1 1999/08/29 14:46:33 peter
src/lib/libc/i386/string/strrchr.S,v 1.4.2.1 1999/08/29 14:46:54 peter
src/lib/libc/i386/string/rindex.S,v 1.4.2.1 1999/08/29 14:46:51 peter
src/lib/libc/i386/sys/fork.S,v 1.7.2.1 1999/08/29 14:46:59 peter
src/lib/libc_r/arch/i386/_atomic_lock.S,v 1.2.2.1 1999/08/29 14:55:23 peter
src/lib/libc/i386/sys/sigreturn.S,v 1.7.2.1 1999/08/29 14:47:08 peter
src/lib/libc/i386/gen/setjmp.S,v 1.8.2.1 1999/08/29 14:46:38 peter
src/lib/libc/i386/sys/pipe.S,v 1.7.2.1 1999/08/29 14:47:04 peter
src/lib/libc/i386/string/index.S,v 1.4.2.1 1999/08/29 14:46:48 peter
src/lib/libc/i386/string/strcat.S,v 1.4.2.1 1999/08/29 14:46:51 peter
src/lib/libc/i386/string/bcmp.S,v 1.4.2.1 1999/08/29 14:46:47 peter
src/lib/libc/i386/string/strncmp.S,v 1.5.2.1 1999/08/29 14:46:54 peter
src/lib/libc/i386/string/strchr.S,v 1.4.2.1 1999/08/29 14:46:52 peter
src/lib/libc/i386/string/strcpy.S,v 1.4.2.1 1999/08/29 14:46:52 peter
src/lib/libc/i386/string/strcmp.S,v 1.4.2.1 1999/08/29 14:46:52 peter
$NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc
src/lib/libc/i386/string/bzero.S,v 1.4.2.1 1999/08/29 14:46:48 peter
src/lib/libc/i386/string/memchr.S,v 1.7.2.1 1999/08/29 14:46:49 peter
$NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc
src/lib/libc/i386/string/memset.S,v 1.4.2.1 1999/08/29 14:46:51 peter
$NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc
src/lib/libc/i386/sys/sigprocmask.S,v 1.6.2.1 1999/08/29 14:47:08 peter
src/lib/libc/i386/sys/brk.S,v 1.6.2.1 1999/08/29 14:46:58 peter
src/lib/libc/i386/sys/sbrk.S,v 1.6.2.1 1999/08/29 14:47:06 peter
src/lib/libc/i386/sys/cerror.S,v 1.9.2.1 1999/08/29 14:46:59 peter
src/lib/libc/stdlib/strhash.c,v 1.6.4.1 1999/08/29 14:48:39 peter
src/lib/libc/i386/sys/i386_vm86.c,v 1.1.2.1 1999/08/29 14:47:04 peter
src/lib/libc/i386/sys/i386_set_ldt.c,v 1.5.2.1 1999/08/29 14:47:02 peter
src/lib/libc/i386/sys/i386_set_ioperm.c,v 1.2.2.1 1999/08/29 14:47:02 peter
src/lib/libc/i386/sys/i386_get_ldt.c,v 1.5.2.1 1999/08/29 14:47:01 peter
src/lib/libc/i386/sys/i386_get_ioperm.c,v 1.2.2.1 1999/08/29 14:47:00 peter
src/lib/libc/stdtime/strptime.c,v 1.4.2.3 1999/08/29 14:48:43 peter
src/lib/libc/stdtime/strftime.c,v 1.20.2.1 1999/08/29 14:48:41 peter
src/lib/libc/i386/gen/frexp.c,v 1.4.2.1 1999/08/29 14:46:36 peter
src/lib/libc/gen/getvfsbyname.c,v 1.4.2.1 1999/08/29 14:46:15 peter
src/lib/libc/gen/disklabel.c,v 1.7.2.1 1999/08/29 14:46:04 peter
src/lib/libc/rpc/des_crypt.c,v 1.2.2.1 1999/08/29 14:47:54 peter
src/lib/libc/rpc/crypt_client.c,v 1.3.2.1 1999/08/29 14:47:54 peter
src/lib/libc/locale/setlocale.c,v 1.23.2.1 1999/08/29 14:47:14 peter
src/lib/libc/gen/err.c,v 1.5.2.1 1999/08/29 14:46:06 peter
src/include/rpcsvc/crypt.x,v 1.2.2.1 1999/08/29 14:39:10 peter
src/lib/libc/i386/gen/ldexp.c,v 1.5.2.1 1999/08/29 14:46:37 peter
src/include/rpcsvc/crypt.x,v 1.2.2.1 1999/08/29 14:39:10 peter
src/lib/libc/yp/yplib.c,v 1.30.2.1 1999/08/29 14:49:43 peter
src/lib/libc/yp/xdryp.c,v 1.8.2.1 1999/08/29 14:49:42 peter
src/include/rpcsvc/yp.x,v 1.11.2.1 1999/08/29 14:39:19 peter
src/lib/libc/i386/gen/isinf.c,v 1.5.2.1 1999/08/29 14:46:36 peter
src/lib/libc/stdio/vasprintf.c,v 1.10.2.1 1999/08/29 14:48:24 peter
src/lib/libc/stdio/asprintf.c,v 1.5.2.1 1999/08/29 14:48:03 peter
src/lib/libc/net/res_update.c,v 1.1.2.1 1999/08/29 14:47:34 peter
src/lib/libc/net/res_mkupdate.c,v 1.1.2.1 1999/08/29 14:47:33 peter
src/lib/libc/net/ns_print.c,v 1.1.2.1 1999/08/29 14:47:29 peter
src/lib/libc/net/ns_parse.c,v 1.1.2.1 1999/08/29 14:47:28 peter
src/lib/libc/net/base64.c,v 1.2.2.1 1999/08/29 14:47:16 peter
src/lib/libc/net/ns_ttl.c,v 1.1.2.1 1999/08/29 14:47:29 peter
src/lib/libc/net/ns_netint.c,v 1.1.2.1 1999/08/29 14:47:28 peter
src/lib/libc/net/ns_name.c,v 1.1.2.1 1999/08/29 14:47:28 peter

>Description:
Python 1.5.2 (#2, Sep 11 1999, 11:39:17)  [GCC 2.7.2.3] on freebsd3
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>How-To-Repeat:
	$ python
	^C

>Fix:
Sorry, none.

>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> ^C
 KeyboardInterrupt
 >>> 
 
 In this state, python will no longer accept any keyboard input, neither
 ^D nor ^Z yield any results. top indicates it eats a lot of CPU:
 
 last pid:  1617;  load averages:  0.94,  0.54,  0.33  up 0+00:56:46    14:59:31
 32 processes:  3 running, 28 sleeping, 1 zombie
 
 Mem: 23M Active, 46M Inact, 17M Wired, 5176K Cache, 8346K Buf, 1496K Free
 Swap: 128M Total, 128M Free
 
   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  1616 mario    105   0  2004K  1492K RUN      1:17 98.67% 96.78% python
 
 
 Killing it from another console with 
 	kill -SEGV `pidof python`
 and examining the core dump says:
 
 GNU gdb 4.18
 [...]
 (no debugging symbols found)...
 Core was generated by `python'.
 Program terminated with signal 11, Segmentation fault.
 [...]
 #0  0x2816d8a0 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.3
 (gdb) bt
 #0  0x2816d8a0 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.3
 #1  0x2816ce77 in _thread_kern_sched () from /usr/lib/libc_r.so.3
 #2  0x2816d457 in _thread_kern_sched_state () from /usr/lib/libc_r.so.3
 #3  0x2816ac9a in read () from /usr/lib/libc_r.so.3
 #4  0x280d6a88 in rl_getc () from /usr/lib/libreadline.so.3
 #5  0x280d6a52 in rl_read_key () from /usr/lib/libreadline.so.3
 #6  0x280e5e39 in readline_internal_char () from /usr/lib/libreadline.so.3
 #7  0x280e5f59 in readline_internal_char () from /usr/lib/libreadline.so.3
 #8  0x280e5f8a in readline_internal_char () from /usr/lib/libreadline.so.3
 #9  0x280e5bf0 in readline () from /usr/lib/libreadline.so.3
 #10 0x808719e in initposix ()
 #11 0x8051e0d in PyOS_Readline ()
 #12 0x8050ecc in PyTokenizer_Free ()
 #13 0x80515ce in PyTokenizer_Get ()
 #14 0x8050b6c in PyParser_ParseFile ()
 #15 0x8050ae0 in PyParser_ParseFile ()
 #16 0x8060fbd in PyRun_InteractiveOne ()
 #17 0x8060ef7 in PyRun_InteractiveLoop ()
 #18 0x8060e57 in PyRun_AnyFile ()
 #19 0x805092d in Py_Main ()
 #20 0x80503d6 in main ()
 #21 0x8050365 in _start ()
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001231449.PAA01825>