From owner-freebsd-threads@FreeBSD.ORG Mon Jul 27 11:07:04 2009 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 376961065673 for ; Mon, 27 Jul 2009 11:07:04 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C3D88FC15 for ; Mon, 27 Jul 2009 11:07:04 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6RB73DP019127 for ; Mon, 27 Jul 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6RB73KO019123 for freebsd-threads@FreeBSD.org; Mon, 27 Jul 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Jul 2009 11:07:03 GMT Message-Id: <200907271107.n6RB73KO019123@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-threads@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-threads@FreeBSD.org X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 11:07:04 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o threa/136345 threads Recursive read rwlocks in thread A cause deadlock with o threa/135673 threads databases/mysql50-server - MySQL query lock-ups on 7.2 o threa/135462 threads [PATCH] _thread_cleanupspecific() doesn't handle delet o threa/133734 threads 32 bit libthr failing pthread_create() o threa/128922 threads threads hang with xorg running o threa/127225 threads bug in lib/libthr/thread/thr_init.c o threa/122923 threads 'nice' does not prevent background process from steali o threa/121336 threads lang/neko threading ok on UP, broken on SMP (FreeBSD 7 o threa/118715 threads kse problem o threa/116668 threads can no longer use jdk15 with libthr on -stable SMP o threa/116181 threads /dev/io-related io access permissions are not propagat o threa/115211 threads pthread_atfork misbehaves in initial thread o threa/110636 threads [request] gdb(1): using gdb with multi thread applicat o threa/110306 threads apache 2.0 segmentation violation when calling gethost o threa/103975 threads Implicit loading/unloading of libpthread.so may crash o threa/101323 threads [patch] fork(2) in threaded programs broken. s threa/100815 threads FBSD 5.5 broke nanosleep in libc_r s threa/94467 threads send(), sendto() and sendmsg() are not correct in libc s threa/84483 threads problems with devel/nspr and -lc_r on 4.x o threa/83914 threads [libc] popen() doesn't work in static threaded program o threa/80992 threads abort() sometimes not caught by gdb depending on threa o threa/80435 threads panic on high loads o threa/79887 threads [patch] freopen() isn't thread-safe o threa/79683 threads svctcp_create() fails if multiple threads call at the s threa/76694 threads fork cause hang in dup()/close() function in child (-l s threa/76690 threads fork hang in child for -lc_r o threa/75374 threads pthread_kill() ignores SA_SIGINFO flag o threa/75273 threads FBSD 5.3 libpthread (KSE) bug o threa/72953 threads fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYST o threa/70975 threads [sysvipc] unexpected and unreliable behaviour when usi s threa/69020 threads pthreads library leaks _gc_mutex s threa/49087 threads Signals lost in programs linked with libc_r s threa/48856 threads Setting SIGCHLD to SIG_IGN still leaves zombies under s threa/40671 threads pthread_cancel doesn't remove thread from condition qu s threa/39922 threads [threads] [patch] Threaded applications executed with s threa/37676 threads libc_r: msgsnd(), msgrcv(), pread(), pwrite() need wra s threa/34536 threads accept() blocks other threads s threa/32295 threads [libc_r] [patch] pthread(3) dont dequeue signals s threa/30464 threads pthread mutex attributes -- pshared s threa/24632 threads libc_r delicate deviation from libc in handling SIGCHL s threa/24472 threads libc_r does not honor SO_SNDTIMEO/SO_RCVTIMEO socket o 41 problems total. From owner-freebsd-threads@FreeBSD.ORG Sat Aug 1 06:40:07 2009 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03BF2106566B for ; Sat, 1 Aug 2009 06:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 82D8A8FC14 for ; Sat, 1 Aug 2009 06:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n716e59f026104 for ; Sat, 1 Aug 2009 06:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n716e5Fg026103; Sat, 1 Aug 2009 06:40:05 GMT (envelope-from gnats) Resent-Date: Sat, 1 Aug 2009 06:40:05 GMT Resent-Message-Id: <200908010640.n716e5Fg026103@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-threads@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vedant Kumar Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A5EC1065672 for ; Sat, 1 Aug 2009 06:34:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 093E58FC1E for ; Sat, 1 Aug 2009 06:34:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n716Xxk0073398 for ; Sat, 1 Aug 2009 06:33:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n716XxSB073397; Sat, 1 Aug 2009 06:33:59 GMT (envelope-from nobody) Message-Id: <200908010633.n716XxSB073397@www.freebsd.org> Date: Sat, 1 Aug 2009 06:33:59 GMT From: Vedant Kumar To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: threads/137323: core dumped on "bad system call: 12" from ksem_init() in libc.so.7 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Aug 2009 06:40:07 -0000 >Number: 137323 >Category: threads >Synopsis: core dumped on "bad system call: 12" from ksem_init() in libc.so.7 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-threads >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 01 06:40:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Vedant Kumar >Release: 7.2-RELEASE >Organization: none >Environment: FreeBSD kserv 7.2-RELEASE #0 ... root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: When running programs linked with "-lrt", they crash after calling ksem_init(). Reproducing: 1. compile code with gcc and use the "-lrt" flag 2. run the executable 3. program crashes: Bad system call: 12 (core dumped) More information: $ gdb test .. (gdb) r .. Program received signam SIGSYS, Bad system call. 0x280c716b in ksem_init() from /lib/libc.so.7 (gdb) bt #0 in ksem_init () from /lib/libc.so.7 #1 in sem_init () from /lib/libc.so.7 #2 in mk_hmap(hash_fn=, eq_fn=, del_fn=) at hashmap.c:58 #3 in main () at hello_world_demo.c:10 >How-To-Repeat: Reproducing: 1. compile code with gcc and use the "-lrt" flag 2. run the executable 3. program crashes: Bad system call: 12 (core dumped) >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-threads@FreeBSD.ORG Sat Aug 1 12:41:03 2009 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7D341065672; Sat, 1 Aug 2009 12:41:03 +0000 (UTC) (envelope-from deischen@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA988FC0A; Sat, 1 Aug 2009 12:41:03 +0000 (UTC) (envelope-from deischen@FreeBSD.org) Received: from freefall.freebsd.org (deischen@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n71Cf34O089082; Sat, 1 Aug 2009 12:41:03 GMT (envelope-from deischen@freefall.freebsd.org) Received: (from deischen@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n71Cf3hI089078; Sat, 1 Aug 2009 12:41:03 GMT (envelope-from deischen) Date: Sat, 1 Aug 2009 12:41:03 GMT Message-Id: <200908011241.n71Cf3hI089078@freefall.freebsd.org> To: vminch@gmail.com, deischen@FreeBSD.org, freebsd-threads@FreeBSD.org From: deischen@FreeBSD.org Cc: Subject: Re: threads/137323: core dumped on "bad system call: 12" from ksem_init() in libc.so.7 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Aug 2009 12:41:03 -0000 Synopsis: core dumped on "bad system call: 12" from ksem_init() in libc.so.7 State-Changed-From-To: open->closed State-Changed-By: deischen State-Changed-When: Sat Aug 1 12:39:37 UTC 2009 State-Changed-Why: You must add: options P1003_1B_SEMAPHORES to your kernel config if you want kernel semaphores. http://www.freebsd.org/cgi/query-pr.cgi?pr=137323