NetBSD Problem Report #44238

From www@NetBSD.org  Wed Dec 15 19:24:54 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 165C663B9FC
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 15 Dec 2010 19:24:54 +0000 (UTC)
Message-Id: <20101215192453.E994C63B886@www.NetBSD.org>
Date: Wed, 15 Dec 2010 19:24:53 +0000 (UTC)
From: shattered@NetBSD.org
Reply-To: shattered@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: devel/pango: certain fonts cause assertion failure in pthread_mutex_unlock()
X-Send-Pr-Version: www-1.0

>Number:         44238
>Category:       pkg
>Synopsis:       devel/pango: certain fonts cause assertion failure in pthread_mutex_unlock()
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 15 19:25:00 +0000 2010
>Closed-Date:    Tue Aug 20 12:08:09 +0000 2013
>Last-Modified:  Tue Aug 20 12:08:09 +0000 2013
>Originator:     Sergey Svishchev
>Release:        4.0_STABLE
>Organization:
>Environment:
>Description:
pango 1.28.3 doesn't like certain fonts (Cyberbit, Minion Pro, Myriad Pro...).  1.24.4 works fine.  

This affects firefox and other apps.

Backtrace isn't too useful:

(gdb) bt
#0  0xbaf3722f in kill () from /usr/lib/libc.so.12
#1  0xbb003dcb in pthread__errorfunc () from /usr/lib/libpthread.so.0
#2  0xbb0023d3 in pthread_mutex_unlock () from /usr/lib/libpthread.so.0
#3  0xbb690c95 in pango_ot_tag_from_script () from /usr/pkg/lib/libpangoft2-1.0.so.0
#4  0xbb693bc3 in pango_ot_tag_from_script () from /usr/pkg/lib/libpangoft2-1.0.so.0
#5  0xbb696e42 in pango_ot_tag_from_script () from /usr/pkg/lib/libpangoft2-1.0.so.0
#6  0xbb692682 in pango_ot_tag_from_script () from /usr/pkg/lib/libpangoft2-1.0.so.0
#7  0xbb68fc56 in pango_ot_info_get () from /usr/pkg/lib/libpangoft2-1.0.so.0
#8  0xbac07074 in script_engine_init () from /usr/pkg/lib/pango/1.6.0/modules/pango-basic-fc.so
<...>
>How-To-Repeat:
Install fonts/cyberbit-ttf and run:

% pango-view --font='Bitstream Cyberbit' -t foo
pango-view: Error detected by libpthread: Invalid mutex.
Detected by file "/home/builds/ab/netbsd-4-0-RELEASE/src/lib/libpthread/pthread_mutex.c", line 334, function "pthread_mutex_unlock".
See pthread(3) for information.

>Fix:
Can be worked around with "PTHREAD_DIAGASSERT=AEl" trick.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: shattered@NetBSD.org
State-Changed-When: Tue, 20 Aug 2013 12:08:09 +0000
State-Changed-Why:
Not a problem in 6.x


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.