Bug 19684 - GTK port crashes when pointed to an Arabic site
Summary: GTK port crashes when pointed to an Arabic site
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Critical
Assignee: Nobody
URL: http://www.arab-ipu.org/members/index...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 18:10 PDT by Joshua Chia
Modified: 2008-06-19 18:13 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Chia 2008-06-19 18:10:15 PDT
I'm running the GTK port on Ubuntu Hardy.  The GTK port crashes when I ask it to go to an Arabic page such as:
http://www.arab-ipu.org/members/index.asp?cc=4

The source code I have is several weeks old, but since I haven't found a bug describing the same problem, this problem is probably still in the nightly build.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f84da0dc7c0 (LWP 1144)]
getDefaultPangoLayout (run=<value optimized out>)
    at WebCore/platform/graphics/gtk/FontGtk.cpp:216
216         *((int*)NULL) = 0;
Current language:  auto; currently c++
(gdb) bt
#0  getDefaultPangoLayout (run=<value optimized out>)
    at WebCore/platform/graphics/gtk/FontGtk.cpp:216
#1  0x00007f84d88e9e19 in WebCore::Font::floatWidthForComplexText (
    this=0xa79a40, run=@0x7fffe21121f0)
    at WebCore/platform/graphics/gtk/FontGtk.cpp:233
#2  0x00007f84d88d6279 in WebCore::Font::width (this=0x7fffe2111e90, run=@0x0)
    at WebCore/platform/graphics/Font.cpp:512
#3  0x00007f84d8f6001e in WebCore::RenderText::calcPrefWidths (this=0xa79c98,
    leadWidth=0) at WebCore/rendering/RenderText.cpp:396
#4  0x00007f84d8f5ed4e in WebCore::RenderText::trimmedPrefWidths (
    this=0xa79c98, leadWidth=0, beginMinW=@0x7fffe21124e4,
    beginWS=@0x7fffe21124fc, endMinW=@0x7fffe21124e0, endWS=@0x7fffe21124fa,
    hasBreakableChar=@0x7fffe21124fe, hasBreak=@0x7fffe21124fd,
    beginMaxW=@0x7fffe21124dc, endMaxW=@0x7fffe21124d8, minW=@0x7fffe21124ec,
    maxW=@0x7fffe21124e8, stripFrontSpaces=@0x7fffe21124ff)
    at WebCore/rendering/RenderText.cpp:411
#5  0x00007f84d8ec5889 in WebCore::RenderBlock::calcInlinePrefWidths (
    this=0xa79228) at WebCore/rendering/RenderBlock.cpp:3850
#6  0x00007f84d8ec5f28 in WebCore::RenderBlock::calcPrefWidths (this=0xa79228)
    at WebCore/rendering/RenderBlock.cpp:3533
#7  0x00007f84d8ed5353 in WebCore::RenderBox::minPrefWidth (this=0xa79228)
    at WebCore/rendering/RenderBox.cpp:195
#8  0x00007f84d8ec0f0e in WebCore::RenderBlock::calcBlockPrefWidths (
    this=0xa79398) at WebCore/rendering/RenderBlock.cpp:3973
#9  0x00007f84d8ec5d0b in WebCore::RenderBlock::calcPrefWidths (this=0xa79398)
    at WebCore/rendering/RenderBlock.cpp:3535
#10 0x00007f84d8ed5353 in WebCore::RenderBox::minPrefWidth (this=0xa79398)
    at WebCore/rendering/RenderBox.cpp:195
#11 0x00007f84d8ec0f0e in WebCore::RenderBlock::calcBlockPrefWidths (
    this=0xa77658) at WebCore/rendering/RenderBlock.cpp:3973
#12 0x00007f84d8ec5d0b in WebCore::RenderBlock::calcPrefWidths (this=0xa77658)
    at WebCore/rendering/RenderBlock.cpp:3535
#13 0x00007f84d8f41c37 in WebCore::RenderTableCell::calcPrefWidths (
    this=0xa77658) at WebCore/rendering/RenderTableCell.cpp:107
#14 0x00007f84d8e96d83 in WebCore::AutoTableLayout::recalcColumn (
    this=0xa74d90, effCol=1) at WebCore/rendering/AutoTableLayout.cpp:82
#15 0x00007f84d8e9718f in WebCore::AutoTableLayout::fullRecalc (this=0xa74d90)
    at WebCore/rendering/AutoTableLayout.cpp:206
...