Bug 146619 - firefox 3.5.9 crashes when closing a tab
Summary: firefox 3.5.9 crashes when closing a tab
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: Beat Gaetzi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-15 18:30 UTC by Martin Birgmeier
Modified: 2010-05-18 15:20 UTC (History)
0 users

See Also:


Attachments
patch-bugzilla-bug-522635 (53.72 KB, text/plain)
2010-05-17 10:30 UTC, Beat Gaetzi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2010-05-15 18:30:07 UTC
Since my last update of ports yesterday, when closing one of multiple open tabs in firefox 3.5.9, the browser crashes with the following console message:

The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 123298 error_code 157 request_code 147 minor_code 7)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Interestingly, this seems to happen only if the tab has been open for more than a few seconds, but then the crash is quite repeatable.

Fix: 

Downgrading cairo-1.8.10_1,1 to cairo-1.8.8_1,1 seems to have solved the problem.
How-To-Repeat: Open multiple tabs in firefox 3.5.9 (firefox-3.5.9,1), wait a while, then open one tab.
Comment 1 Martin Birgmeier 2010-05-15 19:01:06 UTC
It's probably got something to do with 
https://bugzilla.mozilla.org/show_bug.cgi?id=522635
Comment 2 Beat Gaetzi freebsd_committer freebsd_triage 2010-05-17 09:46:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beat

I'll take it.
Comment 3 Beat Gaetzi freebsd_committer freebsd_triage 2010-05-17 10:30:39 UTC
Hi Martin,

I think it is related to the given Mozilla bug. Could you please move
the attached file to the www/firefox35/files directory and rebuild Firefox.

Thanks,
Beat
Comment 4 Stefan Walter freebsd_committer freebsd_triage 2010-05-18 13:28:06 UTC
Hi Beat,

at least with me, the patch seems to have fixed the problem. I haven't
seen any crashes today after rebuilding www/firefox35 with it.

Regards,
Stefan
Comment 5 Beat Gaetzi freebsd_committer freebsd_triage 2010-05-18 14:30:33 UTC
Hi Stefan,

On 05/18/10 14:28, Stefan Walter wrote:
> at least with me, the patch seems to have fixed the problem. I haven't
> seen any crashes today after rebuilding www/firefox35 with it.

Thanks for testing. As I have a report that this patch fixes the
problems with seamonkey2 (both based on Gecko 1.9.1) too I will commit
the patch soon.

Regards,
Beat
Comment 6 dfilter service freebsd_committer freebsd_triage 2010-05-18 15:17:40 UTC
beat        2010-05-18 14:17:31 UTC

  FreeBSD ports repository

  Modified files:
    www/firefox35        Makefile 
  Added files:
    www/firefox35/files  patch-bugzilla-522635 
  Log:
  - Fix crash when closing tab after recent cairo update
  - Bump PORTREVISION
  
  PR:             ports/146619
  Submitted by:   Martin Birgmeier <martin.birgmeier AT aon.at>
  Tested by:      stefan@
  Obtained from:  https://bugzilla.mozilla.org/show_bug.cgi?id=522635
  
  Revision  Changes    Path
  1.191     +1 -0      ports/www/firefox35/Makefile
  1.1       +1445 -0   ports/www/firefox35/files/patch-bugzilla-522635 (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 Beat Gaetzi freebsd_committer freebsd_triage 2010-05-18 15:19:10 UTC
State Changed
From-To: open->closed

Committed. Thanks for the report and testing!