Bug 141162 - x11-toolkits/pango 1.26 introduces crashes with epiphany, firefox35, possibly others
Summary: x11-toolkits/pango 1.26 introduces crashes with epiphany, firefox35, possibly...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-04 06:20 UTC by Allison Reid
Modified: 2010-03-18 01:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allison Reid 2009-12-04 06:20:01 UTC
Firefox 3.5 and Epiphany both segmentation fault when loading certain pages. Nothing on the pages stand out as a conspicuous cause. 

Firefox crashes with all browser plugins removed and with a brand new "test" profile. The new-profile first-run "Welcome to Firefox" page crashes the browser.

A debugging Firefox binary produces the following segfault:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8085021c0 (LWP 100413)]
0x0000000803ed9d78 in pango_ot_tag_from_script () from /usr/local/lib/libpangoft2-1.0.so.0

And this backtrace: http://pastebin.com/f189d5178

Fix: 

Install ports-mgmt/portdowngrade and downgrade x11-toolkits/pango to:

3  2009/08/02 19:36:28  1.24.5
How-To-Repeat: Load an affected web page in either browser, such as the first-run "welcome to firefox" page.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-12-04 06:20:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2009-12-06 23:09:30 UTC
State Changed
From-To: open->analyzed

Everything works fine more me on RELENG_8 and -CURRENT.  I suggest you 
rebuild pango with debugging symbols, then reproduce the crash, and post 
a full backtrace.  Note: this most likely has to do with a font you're using. 
I'm using DejaVu and Bitstream Vera, and I'm not seeing any problems.
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2009-12-06 23:11:04 UTC
State Changed
From-To: analyzed->feedback

Correct state.
Comment 4 Mark Kane 2009-12-08 11:07:13 UTC
Hi.

I'm also experiencing crashes in some applications which might be
related to this. Both Claws Mail and XChat have crashed with what
appear to be Hebrew characters.

Claws Mail crashes when opening this email which came in on one of
the FreeBSD mailing lists:

http://lists.freebsd.org/pipermail/freebsd-multimedia/2009-December/010555.html

Here is a backtrace:

http://tntpowerhost.com/mixx941/freebsd/pango_claws_backtrace.txt

XChat crashed when someone sent a message with presumably similar
Hebrew characters, and also when loading the channel log for the
scrollback feature which contains that message. Backtrace is at:

http://tntpowerhost.com/mixx941/freebsd/pango_xchat_backtrace.txt

Thanks in advance,

-Mark
FreeBSD 8.0-STABLE #1: Sun Nov 29 17:57:25 CST 2009 amd64
pango-1.26.1
Comment 5 Joe Marcus Clarke freebsd_committer freebsd_triage 2009-12-19 20:14:47 UTC
State Changed
From-To: feedback->suspended

This has been filed upstream as 
https://bugzilla.gnome.org/show_bug.cgi?id=604128 .
Comment 6 dfilter service freebsd_committer freebsd_triage 2010-03-18 01:44:33 UTC
mezz        2010-03-18 01:44:19 UTC

  FreeBSD ports repository

  Modified files:
    x11-toolkits/pango   Makefile 
  Added files:
    x11-toolkits/pango/files patch-64bit_safe 
  Log:
  Make blob unlocking 64bit-safe to fix the applications crash when displaying
  Hebrew or other font characters. Bump the PORTREVISION.
  
  PR:             ports/141162
  Reported by:    okeeblow <root@cooltrainer.org>
  GNOME Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=604128
  Obtained from:  Its git.
  
  Revision  Changes    Path
  1.116     +1 -1      ports/x11-toolkits/pango/Makefile
  1.1       +48 -0     ports/x11-toolkits/pango/files/patch-64bit_safe (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Jeremy Messenger freebsd_committer freebsd_triage 2010-03-18 01:44:39 UTC
State Changed
From-To: suspended->closed

GNOME has committed a fix in its git, so I have taken a patch from there in 
our pango port and bumped the PORTREVISION. Committed it. Thanks for report!