[cairo] firefox/cairo crashes on solaris 9

sam sirlin samuel.w.sirlin at jpl.nasa.gov
Fri Apr 27 10:18:51 PDT 2007


On Fri, 27 Apr 2007 15:57:03 +0200 (CEST)
Peter Weilbacher <mozilla at Weilbacher.org> wrote:

> On Wed, 25 Apr 2007, sam sirlin wrote:
> 
> > On Wed, 25 Apr 2007 08:34:35 +0200 (CEST)
> > "Peter Weilbacher" <mozilla at weilbacher.org> wrote:
> >
> >> On Tue, 24 Apr 2007 12:49:59 -0700, sam sirlin wrote:
> >>
> >>> I think it finds gtk2 and then pulls in cairo, pango...
> >>
> >> Actually, no. In that case the in-tree cairo is built and used
> >> -- but only for SVG and Canvas objects. cairo _is_ used through
> >> Gtk objects if your Gtk version is new enough.
> >>
> >>> --prefix=/dsw/gca-gnome2 --enable-application=browser --enable-optimize=-xO3 --enable-mathml --disable-debug --disable-tests --without-system-nspr --with-system-jpeg=/dsw/gca-local --with-system-png=/dsw/gca-local --with-system-zlib=/dsw/gca-local --without-system-mng --disable-auto-deps --disable-shared --enable-static
> >>
> >> This
> >>
> >>> #95 0xfec8f644 in gtk_file_chooser_dialog_new (title=Variable "title" is not available.) at gtkfilechooserdialog.c:616
> >>> #96 0x00790144 in __1cMnsFilePickerEShow6Mph_I_ ()
> >>> #97 0xff064bb0 in XPTC_InvokeByIndex () from /dsw/gca-other/firefox-2.0.0.3/libxpcom_core.so
> >>
> >> tells me that actually not the cairo used by Firefox is the problem
> >> (which would be cairo 1.0.2 for Firefox 2.0.0.x) but the cairo that
> >> is used by Gtk, because everything above this in the call stack is
> >> just related to the file-picker (not the download manager) that
> >> Firefox tries to show. Can you open the Gtk file-picker from other
> >> Gtk-based programs?
> >
> > I've not had any trouble with other gtk programs, but investigating
> > with ddd seems to show they don't call
> > gtk_file_chooser_dialog_new, even when choosing files
> >
> > I've tried gqview, gedit, gnumeric, gimp, gnome-terminal, sylpheed
> > Any suggestions as to programs that might call the gtk file-picker?
> 
> GIMP shows the same file picker here as Firefox, but I have no clue how 
> that is called in the code...
> 
> In Firefox you should be able to switch off the Gtk file picker and use 
> the internal one by setting ui.allow_platform_file_picker to false in 
> about:config. That should at least be a workaround.

Thanks, I'll try that. I made a build of ff using --enable-system-cairo and it seems to be much better, though I did get one crash...

-- 
sam sirlin <samuel.w.sirlin at jpl.nasa.gov>


More information about the cairo mailing list