Closed Bug 462895 Opened 16 years ago Closed 9 years ago

Large HTML textbox causes crash with certain GTK themes (Linux)

Categories

(Core :: Graphics, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jdemooij, Unassigned)

References

()

Details

(Keywords: crash, testcase, Whiteboard: [ccbr][needs gdk bug filed?])

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b2pre) Gecko/20081028 Minefield/3.1b2pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b2pre) Gecko/20081028 Minefield/3.1b2pre

The following HTML causes a crash for me on Ubuntu 8.10 with the New Wave theme:

<input size="9999999">

Reproducible: Always

Steps to Reproduce:
1. Open the page with Firefox 3 on Linux with New Wave theme.
2. 
3.
Actual Results:  
Firefox crashes hard


It doesn't crash on Windows or with most other GTK themes.

In the console it displays a message "Floating point exception"

Submitted crash report: http://crash-stats.mozilla.com/report/index/c3dd0ad9-a9dc-11dd-ba8a-001cc4e2bf68
Version: unspecified → Trunk
It doesn't crash with smaller input box btw, looks like it can't handle the large width.
Summary: HTML causes crash with certain GTK themes (Linux) → Large HTML textbox causes crash with certain GTK themes (Linux)
libgdk crashes

0  	libgdk_pixbuf-2.0.so.0.1400.4  	libgdk_pixbuf-2.0.so.0.1400.4@0x119a1  	
1 	libgdk_pixbuf-2.0.so.0.1400.4 	libgdk_pixbuf-2.0.so.0.1400.4@0x12151 	
2 	libgdk_pixbuf-2.0.so.0.1400.4 	libgdk_pixbuf-2.0.so.0.1400.4@0xb9a8 	
3 	libpixmap.so 	libpixmap.so@0x4395 	
4 	libpixmap.so 	libpixmap.so@0x5327 	
5 	libpixmap.so 	libpixmap.so@0x1d15 	
6 	libpixmap.so 	libpixmap.so@0x2a38 	
7 	libgtk-x11-2.0.so.0.1400.4 	libgtk-x11-2.0.so.0.1400.4@0x1a316d 	
8 	libxul.so 	moz_gtk_entry_paint 	widget/src/gtk2/gtk2drawing.c:1578
9 	libxul.so 	moz_gtk_widget_paint 	widget/src/gtk2/gtk2drawing.c:3132
10 	libxul.so 	ThemeRenderer::NativeDraw 	widget/src/gtk2/nsNativeThemeGTK.cpp:651
11 	libxul.so 	NativeRendering 	gfx/thebes/src/gfxGdkNativeRenderer.cpp:67
12 	libxul.so 	cairo_draw_with_gdk 	gfx/thebes/src/cairo-xlib-utils.c:307
13 	libxul.so 	gfxGdkNativeRenderer::Draw 	gfx/thebes/src/gfxGdkNativeRenderer.cpp:110
Component: Shell Integration → GFX: Thebes
Product: Firefox → Core
QA Contact: shell.integration → thebes
which gtk themse are affected, which are not?

can you attach a simple testcase to this bug?
(In reply to comment #3)
> which gtk themse are affected, which are not?
> 
> can you attach a simple testcase to this bug?
See the URL for the testcase. 

I can only reproduce it with the New Wave theme. As you can see in the crash report it crashes when calling a gtk function to draw the shadow.
Attached file Testcase
Adding testcase here
Note that New Wave is available in the community-themes package in Ubuntu 8.10
eventually you're going to want to file a bug against gdk...

https://wiki.ubuntu.com/MozillaTeam/Bugs#Obtain a backtrace from an apport crash report (using gdb)
Keywords: crash, testcase
Firefox trunk, debug build, Ubuntu 9.10, New Wave theme.
Attached file bt full
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [ccbr][needs gdk bug filed?]
Jesse, you want to install debug symbols for:
/usr/lib/libgdk_pixbuf-2.0.so.0
/usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
/usr/lib/libgtk-x11-2.0.so.0
Jan, does this still reproduce?
Flags: needinfo?(jdemooij)
Closing this bug report due to lack of follow-up. If someone is able to reproduce this in a currently supported version of Firefox and a currently supported version of Linux then please reopen this bug report. Thanks.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(jdemooij)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: