Firefox always crashes on startup

Bug #128762 reported by Benjamin Redelings
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Undecided
Unassigned
firefox (Ubuntu)
Incomplete
High
Mozilla Bugs

Bug Description

This bug occurs on AMD64 gutsy with firefox version 2.0.0.5+2-0ubuntu2.

To reproduce:

1. Run firefox (from the command line, or not)

I think that this is AMD64-specific, based on another report that I saw.

You will see it open a window, draw the favico icon for a local html page, and then crash. If you run it from the command line, you will see it say segmentation fault.

When I enable core dumps and did this, it gave me a gdb session, and the following backtrace. I noticed the function ubuntulooks_draw_progressbar_trough and removed the package "gtk2-engines-ubuntulooks". Firefox now runs without crashing.

(gdb) bt
#0 0x00002ae35d186fcb in raise () from /lib/libpthread.so.0
#1 0x000000000040fc96 in ?? ()
#2 <signal handler called>
#3 0x00002ae36045a5d3 in ?? () from /usr/lib/libcairo.so.2
#4 0x00002ae36045f654 in ?? () from /usr/lib/libcairo.so.2
#5 0x00002ae360451972 in ?? () from /usr/lib/libcairo.so.2
#6 0x00002ae36041c0a6 in ?? () from /usr/lib/libcairo.so.2
#7 0x00002ae36042606e in ?? () from /usr/lib/libcairo.so.2
#8 0x00002ae360427703 in ?? () from /usr/lib/libcairo.so.2
#9 0x00002ae360428717 in ?? () from /usr/lib/libcairo.so.2
#10 0x00002ae360428a2f in ?? () from /usr/lib/libcairo.so.2
#11 0x00002ae360426385 in ?? () from /usr/lib/libcairo.so.2
#12 0x00002ae36041997c in ?? () from /usr/lib/libcairo.so.2
#13 0x00002ae360413220 in cairo_fill_preserve () from /usr/lib/libcairo.so.2
#14 0x00002ae360413239 in cairo_fill () from /usr/lib/libcairo.so.2
#15 0x00002aaaaba1cf4c in ubuntulooks_draw_progressbar_trough ()
   from /usr/lib/gtk-2.0/2.10.0/engines/libubuntulooks.so
#16 0x00002aaaaba1416c in ?? ()
   from /usr/lib/gtk-2.0/2.10.0/engines/libubuntulooks.so
#17 0x00002ae35d53b18e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00002ae35d53912f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00002ae35fd019ea in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0x00002ae35fd12d68 in ?? () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#21 0x00002ae35fd13cbd in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#22 0x00002ae35fd13f73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#23 0x00002ae35d629a77 in gtk_widget_realize ()
   from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00002ae35d62a297 in gtk_widget_set_parent ()
   from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00002ae35d4adf28 in gtk_fixed_put () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x00002ae35fd019ea in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#27 0x00002ae35fd12d68 in ?? () from /usr/lib/libgobject-2.0.so.0
#28 0x00002ae35fd13cbd in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#29 0x00002ae35fd13f73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#30 0x00002aaaae6194c9 in ?? () from /usr/lib/firefox/components/libgfx_gtk.so
#31 0x00002aaaae61a109 in ?? () from /usr/lib/firefox/components/libgfx_gtk.so
#32 0x00002aaaae61aaad in ?? () from /usr/lib/firefox/components/libgfx_gtk.so
#33 0x00002aaaae637360 in ?? () from /usr/lib/firefox/components/libgfx_gtk.so
#34 0x00002aaaad9f1701 in ?? () from /usr/lib/firefox/components/libgklayout.so
#35 0x00002aaaad9f0e80 in ?? () from /usr/lib/firefox/components/libgklayout.so
#36 0x00002aaaad9f077c in ?? () from /usr/lib/firefox/components/libgklayout.so
#37 0x00002aaaad9f8ca8 in ?? () from /usr/lib/firefox/components/libgklayout.so
#38 0x00002aaaad9f3526 in ?? () from /usr/lib/firefox/components/libgklayout.so
#39 0x00002aaaad9f8dcb in ?? () from /usr/lib/firefox/components/libgklayout.so
---Type <return> to continue, or q <return> to quit---
#40 0x00002aaaad9f3526 in ?? () from /usr/lib/firefox/components/libgklayout.so
#41 0x00002aaaad9f8dcb in ?? () from /usr/lib/firefox/components/libgklayout.so
#42 0x00002aaaad9f3526 in ?? () from /usr/lib/firefox/components/libgklayout.so
#43 0x00002aaaad9f917a in ?? () from /usr/lib/firefox/components/libgklayout.so
#44 0x00002aaaad9f7a0a in ?? () from /usr/lib/firefox/components/libgklayout.so
#45 0x00002aaaad9f38c5 in ?? () from /usr/lib/firefox/components/libgklayout.so
#46 0x00002aaaad9f1a98 in ?? () from /usr/lib/firefox/components/libgklayout.so
#47 0x00002aaaad9fa012 in ?? () from /usr/lib/firefox/components/libgklayout.so
#48 0x00002aaaad9f38c5 in ?? () from /usr/lib/firefox/components/libgklayout.so
#49 0x00002aaaad9f1a98 in ?? () from /usr/lib/firefox/components/libgklayout.so
#50 0x00002aaaad9f42a2 in ?? () from /usr/lib/firefox/components/libgklayout.so
#51 0x00002aaaad8ea1c5 in ?? () from /usr/lib/firefox/components/libgklayout.so
#52 0x00002aaaad940938 in ?? () from /usr/lib/firefox/components/libgklayout.so
#53 0x00002aaaad8c663a in ?? () from /usr/lib/firefox/components/libgklayout.so
#54 0x00002aaaad8cec6d in ?? () from /usr/lib/firefox/components/libgklayout.so
#55 0x00002aaaad8cee5a in ?? () from /usr/lib/firefox/components/libgklayout.so
#56 0x00002aaaadb7e788 in ?? () from /usr/lib/firefox/components/libgklayout.so
#57 0x00002aaaadb7e87a in ?? () from /usr/lib/firefox/components/libgklayout.so
#58 0x00002aaaad8a33a9 in ?? () from /usr/lib/firefox/components/libgklayout.so
#59 0x00002ae35cac8079 in PL_HandleEvent ()
   from /usr/lib/firefox/libxpcom_core.so
#60 0x00002ae35cac831b in PL_ProcessPendingEvents ()
   from /usr/lib/firefox/libxpcom_core.so
---Type <return> to continue, or q <return> to quit---
#61 0x00002ae35cac9fbe in ?? () from /usr/lib/firefox/libxpcom_core.so
#62 0x00002aaaaaf4a882 in ?? ()
   from /usr/lib/firefox/components/libwidget_gtk2.so
#63 0x00002ae3601700a3 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#64 0x00002ae3601733ad in ?? () from /usr/lib/libglib-2.0.so.0
#65 0x00002ae3601736ba in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#66 0x00002ae35d4f8983 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#67 0x00002aaaaaf4ac1c in ?? ()
   from /usr/lib/firefox/components/libwidget_gtk2.so
#68 0x00002aaaabc3250e in ?? ()
   from /usr/lib/firefox/components/libtoolkitcomps.so
#69 0x00000000004078c1 in ?? ()
#70 0x00002ae35e287b24 in �H��$� () from /lib/libc.so.6
#71 0x0000000000403889 in ?? ()
#72 0x00007fff4e749a78 in ?? ()
#73 0x0000000000000000 in ?? ()

I don't know if this is a bug in ubuntulooks or in firefox, cairo, or libgtk2, though. Perhaps a bad interaction between ubuntulooks and cairo?

-BenRI

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Thank you for the report, but this is not a launchpad bug, re-assigning to Ubuntu.
We're interested in why you accidentally recorded this bug as occurring in launchpad instead of Ubuntu. If you can explain what happened, please let us know in bug 88818.

Changed in launchpad:
status: New → Invalid
Revision history for this message
Alexander Sack (asac) wrote :

try to change your gnome theme please.

Changed in firefox:
assignee: nobody → mozilla-bugs
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Benjamin Redelings (benjamin-redelings) wrote :

I reinstalled the ubuntu-desktop and the stuff that it depends on.

Now, if I use the 'human' theme, then I have the same problems as before. That is, firefox always crashes on startup.

However, if I use the clearlooks theme, then firefox starts fine. Interestingly, if firefox is already running, switching to the human theme does not result in a seg-fault. This only happens under the human theme on startup.

Revision history for this message
Hilario J. Montoliu (hjmf) (hmontoliu) wrote :

Your retrace shows that it is the same crash in #123646

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.