From nobody@FreeBSD.org  Sun Sep 18 13:19:36 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3EE151065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2011 13:19:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 2CF188FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2011 13:19:36 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8IDJaB9058754
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2011 13:19:36 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8IDJZ5V058753;
	Sun, 18 Sep 2011 13:19:35 GMT
	(envelope-from nobody)
Message-Id: <201109181319.p8IDJZ5V058753@red.freebsd.org>
Date: Sun, 18 Sep 2011 13:19:35 GMT
From: "Hartmann, O." <ohartman@zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wpa_cli: (malloc) /usr/src/lib/libc/stdlib/malloc.c:2636: Failed assertion: "(run->regs_mask[elm] & (1U << bit)) ==0"
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         160803
>Category:       bin
>Synopsis:       wpa_cli(8): (malloc) /usr/src/lib/libc/stdlib/malloc.c:2636: Failed assertion: "(run->regs_mask[elm] & (1U << bit)) ==0"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 18 13:20:05 UTC 2011
>Closed-Date:    
>Last-Modified:  Sun Sep 18 14:32:10 UTC 2011
>Originator:     Hartmann, O.
>Release:        FreeBSD 9.0-BETA2 #66 r225646 amd64 (CLANG built)
>Organization:
FU Berlin
>Environment:
>Description:
Using wpa_cli on a FreeBSD 9.0-BETA2/amd64 box (Laptop Dell Latitude
E6510, CPU Core-i5 M520, at 2,40 Ghz, 4 GB RAM), CLANG built OS, wpa_cli
crashes shortly after usage with the error message:

wpa_cli: (malloc) /usr/src/lib/libc/stdlib/malloc.c:2636: Failed assertion: "(run->regs_mask[elm] & (1U << bit)) ==0"

This can be forced/triggered faster using the up/down/left/right keys
or tab key.

Happens in sh, csh or bash.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
