All users were logged out of Bugzilla on October 13th, 2018

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

RESOLVED INCOMPLETE

Status

()

--
critical
RESOLVED INCOMPLETE
10 years ago
3 years ago

People

(Reporter: jdemooij, Unassigned)

Tracking

({crash, testcase})

Trunk
x86
Linux
crash, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [ccbr][needs gdk bug filed?], URL)

Attachments

(3 attachments)

(Reporter)

Description

10 years ago
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
(Reporter)

Updated

10 years ago
Version: unspecified → Trunk
(Reporter)

Comment 1

10 years ago
It doesn't crash with smaller input box btw, looks like it can't handle the large width.
(Reporter)

Updated

10 years ago
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

Comment 3

10 years ago
which gtk themse are affected, which are not?

can you attach a simple testcase to this bug?
(Reporter)

Comment 4

10 years ago
(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.
(Reporter)

Comment 5

10 years ago
Created attachment 346507 [details]
Testcase

Adding testcase here
(Reporter)

Comment 6

10 years ago
Note that New Wave is available in the community-themes package in Ubuntu 8.10

Comment 7

10 years ago
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

Comment 8

9 years ago
Created attachment 412508 [details]
stack trace from a debug build

Firefox trunk, debug build, Ubuntu 9.10, New Wave theme.

Comment 9

9 years ago
Created attachment 412509 [details]
bt full

Updated

9 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [ccbr][needs gdk bug filed?]

Comment 10

9 years ago
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
Last Resolved: 3 years ago
Flags: needinfo?(jdemooij)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.