Closed
Bug 394859
Opened 17 years ago
Closed 17 years ago
Gecko lost its connection with X server
Categories
(Core Graveyard :: GFX: Gtk, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: stephan.klein, Assigned: MatsPalmgren_bugz)
References
()
Details
(Keywords: crash, verified1.8.1.10)
Attachments
(4 files)
7.37 KB,
text/plain
|
Details | |
297 bytes,
text/html
|
Details | |
4.00 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
dveditz
:
approval1.8.1.10+
|
Details | Diff | Splinter Review |
2.69 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070827 Ubuntu/7.10 (gutsy) Firefox/2.0.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070827 Ubuntu/7.10 (gutsy) Firefox/2.0.0.6
When loading the specified website, the browser crashes, leaving these messages in the command line:
The application 'gecko' lost its connection to the display :0.0; most likely the X server was shut down or you killed/destroyed the application.
With the Html Validator 0.8.4.0 extension enabled, the message looks different:
WARNING: Can not create DiagLog file: /home/stephantom/.mozilla/firefox/21gjiiwn.default/tidy/tidy_last_validated.html
spvalid:2991556152.4011:E: cannot open output file "/home/stephantom/.mozilla/firefox/21gjiiwn.default/tidy/spvalid.err" (Permission denied)
gecko: Fatal IO error 104 (Connection reset by peer) on X server :0.0.
Reproducible: Always
Steps to Reproduce:
1. Open Firefox/2.0.0.6 under Ubuntu Gutsy (Gnome).
2. Load http://www.photoshopstar.com/graphics/professional-glossy-buttons/
3. Crash.
Actual Results:
The browser crashes.
Expected Results:
The website should be displayed.
Assignee | ||
Updated•17 years ago
|
Assignee | ||
Updated•17 years ago
|
Version: unspecified → 1.8 Branch
Assignee | ||
Comment 1•17 years ago
|
||
Assignee | ||
Comment 2•17 years ago
|
||
Assignee | ||
Comment 3•17 years ago
|
||
Stephan, what size (in pixels) is your screen?
Reporter | ||
Comment 4•17 years ago
|
||
My screen is 1280x800, the viewport is 1280x552.
Your testcase crashes me successfully.
Assignee | ||
Comment 5•17 years ago
|
||
I have 2560x1600. I was speculating that this bug only occurred for screen
heights >= 1600, but apparently not...
We have code that limits the font size to twice the screen height:
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp&rev=MOZILLA_1_8_BRANCH&root=/cvsroot&mark=250,368#352
FWIW, on my system, the bug occurs for 3200 (which is the value of mPixelSize
after being clamped by the code above). If I set an absolute limit to 3199
then the bug does not occur...
Assignee | ||
Comment 6•17 years ago
|
||
This fixes it for me.
Assignee | ||
Comment 7•17 years ago
|
||
Comment on attachment 279593 [details] [diff] [review]
wallpaper
No guaranties it fixes it for everyone, but I think it's low risk
and perhaps worth it for branch. Feel free to reject it.
Attachment #279593 -
Flags: superreview?(dbaron)
Attachment #279593 -
Flags: review?(dbaron)
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → mats.palmgren
Comment on attachment 279593 [details] [diff] [review]
wallpaper
r+sr=dbaron. Sorry for the delay.
Attachment #279593 -
Flags: superreview?(dbaron)
Attachment #279593 -
Flags: superreview+
Attachment #279593 -
Flags: review?(dbaron)
Attachment #279593 -
Flags: review+
Assignee | ||
Updated•17 years ago
|
Attachment #279593 -
Flags: approval1.8.1.8?
Comment 9•17 years ago
|
||
I guess the fact that Mats was able to fix it can be taken as confirmation
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•17 years ago
|
Attachment #279593 -
Flags: approval1.8.1.8? → approval1.8.1.9?
Comment 10•17 years ago
|
||
Comment on attachment 279593 [details] [diff] [review]
wallpaper
approved for 1.8.1.10, a=dveditz for release-drivers
Attachment #279593 -
Flags: approval1.8.1.10? → approval1.8.1.10+
Assignee | ||
Comment 11•17 years ago
|
||
MOZILLA_1_8_BRANCH:
mozilla/gfx/src/gtk/nsFontMetricsGTK.cpp 1.280.6.4
mozilla/gfx/src/gtk/nsFontMetricsPango.cpp 1.16.2.8
mozilla/gfx/src/gtk/nsFontMetricsXft.cpp 1.69.4.3
-> FIXED
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite?
Keywords: fixed1.8.1.10
Resolution: --- → FIXED
Whiteboard: DUPEME
Assignee | ||
Comment 12•17 years ago
|
||
Comment 13•17 years ago
|
||
verified fixed 1.8.1.10 using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/2007111504 Firefox/2.0.0.10 and the testcase - no crash on testcase
- adding verified keyword
Keywords: fixed1.8.1.10 → verified1.8.1.10
Assignee | ||
Comment 14•17 years ago
|
||
It appears this limit wasn't quite enough in some cases, see bug 394859.
Assignee | ||
Comment 15•17 years ago
|
||
... bug 407842 that is.
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•