pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44238: devel/pango: certain fonts cause assertion failure in pthread_mutex_unlock()



>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 15 19:25:00 +0000 2010
>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.



Home | Main Index | Thread Index | Old Index