Bug#663871: SIGSEGV in WebCore::GraphicsContext::platformInit

Steven Chamberlain steven at pyro.eu.org
Wed Mar 14 16:53:58 UTC 2012


Package: libwebkitgtk-1.0-0
Version: 1.6.3-1
Severity: important
File: /usr/lib/webkitgtk-1.0-0/libexec/GtkLauncher

Hi,

While trying to reproduce crashes in Midori I turned up the attached backtrace from GtkLauncher, while I was scrolling down a page using the cursor keys.  It appears different to the actual issue I was looking for, and different to #651636 also.

Thanks.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: mipsel (mips64)

Kernel: Linux 3.2.0-1-loongson-2f
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh-static

Versions of packages libwebkitgtk-1.0-0 depends on:
ii  libatk1.0-0                      2.2.0-2
ii  libc6                            2.13-27
ii  libcairo2                        1.10.2-6.2
ii  libdbus-1-3                      1.4.18-1
ii  libdbus-glib-1-2                 0.98-1
ii  libenchant1c2a                   1.6.0-7
ii  libfontconfig1                   2.8.0-3.1
ii  libfreetype6                     2.4.8-1
ii  libgail18                        2.24.10-1
ii  libgcc1                          1:4.6.3-1
ii  libgdk-pixbuf2.0-0               2.24.1-1
ii  libgeoclue0                      0.12.0-4
ii  libglib2.0-0                     2.30.2-6
ii  libgstreamer-plugins-base0.10-0  0.10.36-1
ii  libgstreamer0.10-0               0.10.36-1
ii  libgtk2.0-0                      2.24.10-1
ii  libicu48                         4.8.1.1-3
ii  libjavascriptcoregtk-1.0-0       1.6.3-1
ii  libjpeg8                         8d-1
ii  libpango1.0-0                    1.29.4-2
ii  libpng12-0                       1.2.47-1
ii  libsoup2.4-1                     2.34.3-1
ii  libsqlite3-0                     3.7.10-1
ii  libstdc++6                       4.6.3-1
ii  libwebkitgtk-1.0-common          1.6.3-1
ii  libx11-6                         2:1.4.4-4
ii  libxml2                          2.7.8.dfsg-7
ii  libxrender1                      1:0.9.6-2
ii  libxslt1.1                       1.1.26-8
ii  libxt6                           1:1.1.1-2
ii  zlib1g                           1:1.2.6.dfsg-2

libwebkitgtk-1.0-0 recommends no packages.

libwebkitgtk-1.0-0 suggests no packages.

-- no debconf information
-------------- next part --------------
GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mipsel-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/webkitgtk-1.0-0/libexec/GtkLauncher...Reading symbols from /usr/lib/debug/usr/lib/webkitgtk-1.0-0/libexec/GtkLauncher...done.
done.
(gdb) run http://planet.debian.org
Starting program: /usr/lib/webkitgtk-1.0-0/libexec/GtkLauncher http://planet.debian.org
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/mipsel-linux-gnu/libthread_db.so.1".
[New Thread 0x735b72f0 (LWP 28286)]
[New Thread 0x72c972f0 (LWP 28287)]
[New Thread 0x7245f2f0 (LWP 28288)]
[New Thread 0x71aff2f0 (LWP 28289)]
[New Thread 0x6d1c72f0 (LWP 28293)]
[Thread 0x6d1c72f0 (LWP 28293) exited]
[New Thread 0x6d1c72f0 (LWP 28297)]
[New Thread 0x6c3f72f0 (LWP 28298)]
[New Thread 0x6bbf72f0 (LWP 28299)]
[New Thread 0x6b3e72f0 (LWP 28300)]
[New Thread 0x6abe72f0 (LWP 28301)]
[New Thread 0x6a3e72f0 (LWP 28302)]
[New Thread 0x69be72f0 (LWP 28303)]
[New Thread 0x693e72f0 (LWP 28304)]
[New Thread 0x68be72f0 (LWP 28305)]
[New Thread 0x682e72f0 (LWP 28306)]
[New Thread 0x67ae72f0 (LWP 28307)]
[Thread 0x68be72f0 (LWP 28305) exited]
[Thread 0x6b3e72f0 (LWP 28300) exited]
[Thread 0x69be72f0 (LWP 28303) exited]
[Thread 0x6bbf72f0 (LWP 28299) exited]
[Thread 0x67ae72f0 (LWP 28307) exited]
[Thread 0x6a3e72f0 (LWP 28302) exited]
[Thread 0x693e72f0 (LWP 28304) exited]
[Thread 0x6abe72f0 (LWP 28301) exited]
[Thread 0x682e72f0 (LWP 28306) exited]
[New Thread 0x682e72f0 (LWP 28313)]
[New Thread 0x6abe72f0 (LWP 28314)]
[New Thread 0x693e72f0 (LWP 28315)]
[New Thread 0x6a3e72f0 (LWP 28316)]
[New Thread 0x67ae72f0 (LWP 28317)]
[New Thread 0x6ba9b2f0 (LWP 28318)]
[New Thread 0x69be72f0 (LWP 28319)]
[New Thread 0x68be72f0 (LWP 28320)]
[New Thread 0x6707b2f0 (LWP 28321)]
[New Thread 0x6687b2f0 (LWP 28322)]
[New Thread 0x6607b2f0 (LWP 28336)]
[Thread 0x6707b2f0 (LWP 28321) exited]
[Thread 0x6607b2f0 (LWP 28336) exited]
[Thread 0x6687b2f0 (LWP 28322) exited]
[Thread 0x69be72f0 (LWP 28319) exited]
[Thread 0x682e72f0 (LWP 28313) exited]
[Thread 0x6a3e72f0 (LWP 28316) exited]
[Thread 0x693e72f0 (LWP 28315) exited]
[Thread 0x68be72f0 (LWP 28320) exited]
[Thread 0x6ba9b2f0 (LWP 28318) exited]
[Thread 0x67ae72f0 (LWP 28317) exited]
[Thread 0x6abe72f0 (LWP 28314) exited]
[Thread 0x6c3f72f0 (LWP 28298) exited]
[New Thread 0x6abe72f0 (LWP 28397)]
[New Thread 0x6c3f72f0 (LWP 28398)]
[New Thread 0x6ba9b2f0 (LWP 28407)]
[New Thread 0x67ae72f0 (LWP 28408)]
[New Thread 0x68be72f0 (LWP 28409)]
[New Thread 0x6a3e72f0 (LWP 28410)]
[New Thread 0x69be72f0 (LWP 28411)]
[New Thread 0x693e72f0 (LWP 28412)]
[New Thread 0x682e72f0 (LWP 28413)]
[New Thread 0x6707b2f0 (LWP 28414)]
[New Thread 0x6687b2f0 (LWP 28415)]
[New Thread 0x6607b2f0 (LWP 28416)]
[New Thread 0x6587b2f0 (LWP 28417)]
[New Thread 0x6507b2f0 (LWP 28418)]
[New Thread 0x6487b2f0 (LWP 28442)]
[New Thread 0x6407b2f0 (LWP 28443)]
[New Thread 0x6387b2f0 (LWP 28444)]
[New Thread 0x6307b2f0 (LWP 28445)]
[New Thread 0x6287b2f0 (LWP 28446)]
[New Thread 0x61f7b2f0 (LWP 28447)]
[New Thread 0x6177b2f0 (LWP 28448)]
[New Thread 0x60f7b2f0 (LWP 28449)]
[New Thread 0x6077b2f0 (LWP 28450)]
[New Thread 0x5ff7b2f0 (LWP 28451)]
[New Thread 0x5f77b2f0 (LWP 28452)]
[New Thread 0x5ef7b2f0 (LWP 28453)]
[New Thread 0x5e77b2f0 (LWP 28454)]
[New Thread 0x5df7b2f0 (LWP 28455)]
[New Thread 0x5d76b2f0 (LWP 28456)]
[New Thread 0x5cf6b2f0 (LWP 28457)]
[Thread 0x6487b2f0 (LWP 28442) exited]
[Thread 0x5e77b2f0 (LWP 28454) exited]
[Thread 0x6077b2f0 (LWP 28450) exited]
[Thread 0x68be72f0 (LWP 28409) exited]
[Thread 0x682e72f0 (LWP 28413) exited]
[Thread 0x6407b2f0 (LWP 28443) exited]
[Thread 0x693e72f0 (LWP 28412) exited]
[Thread 0x6687b2f0 (LWP 28415) exited]
[Thread 0x61f7b2f0 (LWP 28447) exited]
[Thread 0x6707b2f0 (LWP 28414) exited]
[Thread 0x60f7b2f0 (LWP 28449) exited]
[Thread 0x6587b2f0 (LWP 28417) exited]
[Thread 0x6a3e72f0 (LWP 28410) exited]
[Thread 0x67ae72f0 (LWP 28408) exited]
[Thread 0x6c3f72f0 (LWP 28398) exited]
[Thread 0x6387b2f0 (LWP 28444) exited]
[Thread 0x6177b2f0 (LWP 28448) exited]
[Thread 0x5df7b2f0 (LWP 28455) exited]
[Thread 0x6507b2f0 (LWP 28418) exited]
[Thread 0x5d76b2f0 (LWP 28456) exited]
[Thread 0x6307b2f0 (LWP 28445) exited]
[Thread 0x69be72f0 (LWP 28411) exited]
[Thread 0x6ba9b2f0 (LWP 28407) exited]
[Thread 0x5ef7b2f0 (LWP 28453) exited]
[Thread 0x6abe72f0 (LWP 28397) exited]
[Thread 0x6287b2f0 (LWP 28446) exited]
[Thread 0x5cf6b2f0 (LWP 28457) exited]
[Thread 0x6607b2f0 (LWP 28416) exited]
[Thread 0x5ff7b2f0 (LWP 28451) exited]
[Thread 0x5f77b2f0 (LWP 28452) exited]

Program received signal SIGSEGV, Segmentation fault.
0x77dcb068 in WebCore::GraphicsContext::platformInit (this=0x6202a8c0, 
    platformContext=0x95bb8)
    at ../Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp:184
184	../Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp: No such file or directory.
(gdb) bt
#0  0x77dcb068 in WebCore::GraphicsContext::platformInit (this=0x6202a8c0, 
    platformContext=0x95bb8)
    at ../Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp:184
#1  0x7738b638 in WebCore::ImageBuffer::ImageBuffer (this=0x683c4360, 
    size=0x75a2e6d0, success=0x7fff0b68)
    at ../Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp:57
#2  0x773c3350 in WebCore::ShadowBlur::beginShadowLayer (this=0x67227764, 
    context=0x683c4510, layerArea=0x1010103)
    at ../Source/WebCore/platform/graphics/ShadowBlur.cpp:869
#3  0x77dcce78 in WebCore::GraphicsContext::drawLineForText (this=0x7fff2414, 
    origin=0x7fff0cb0, width=211, printing=16843011)
    at ../Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp:659
#4  0x77482d48 in WebCore::InlineTextBox::paintDecoration (this=0x67299120, 
    context=0x7fff2414, boxOrigin=0x683c4510, deco=0, shadow=0x0)
    at ../Source/WebCore/rendering/InlineTextBox.cpp:879
#5  0x77485bf0 in WebCore::InlineTextBox::paint(WebCore::PaintInfo&, WebCore::IntPoint const&, int, int) [clone .part.85] (this=0x67299120, 
    paintInfo=0x7fff10c4, paintOffset=0x683c4510)
    at ../Source/WebCore/rendering/InlineTextBox.cpp:469
#6  0x7747f96c in WebCore::InlineFlowBox::paint (this=0x67299120, 
    paintInfo=0x7fff11b0, paintOffset=0x7fff1210, lineTop=74, lineBottom=93)
    at ../Source/WebCore/rendering/InlineFlowBox.cpp:997
#7  0x775965c8 in WebCore::RootInlineBox::paint (this=0x6729b060, 
---Type <return> to continue, or q <return> to quit---
    paintInfo=0x7fff1190, paintOffset=0x7fff1210, lineTop=74, lineBottom=93)
    at ../Source/WebCore/rendering/RootInlineBox.cpp:195
#8  0x77529264 in WebCore::RenderLineBoxList::paint (this=0x68341d64, 
    renderer=0x68341d00, paintInfo=0x6729b060, paintOffset=0x7fff1210)
    at ../Source/WebCore/rendering/RenderLineBoxList.cpp:204
#9  0x774a913c in WebCore::RenderBlock::paintObject (this=0x68341d00, 
    paintInfo=0x7fff12d8, paintOffset=0x7fff1278)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2530
#10 0x7748b288 in WebCore::RenderBlock::paint (this=0x68341d00, 
    paintInfo=0x7fff12d8, paintOffset=0x7fff1210)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2313
#11 0x774909c4 in WebCore::RenderBlock::paintChildren (this=0x68320218, 
    paintInfo=0x7fff1420, paintOffset=0x7fff1358)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2451
#12 0x774a913c in WebCore::RenderBlock::paintObject (this=0x68320218, 
    paintInfo=0x7fff1420, paintOffset=0x7fff13c0)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2530
#13 0x7748b288 in WebCore::RenderBlock::paint (this=0x68320218, 
    paintInfo=0x7fff1420, paintOffset=0x3d)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2313
#14 0x774909c4 in WebCore::RenderBlock::paintChildren (this=0x68320080, 
    paintInfo=0x7fff1568, paintOffset=0x7fff14a0)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2451
---Type <return> to continue, or q <return> to quit---
#15 0x774a913c in WebCore::RenderBlock::paintObject (this=0x68320080, 
    paintInfo=0x7fff1568, paintOffset=0x7fff1508)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2530
#16 0x7748b288 in WebCore::RenderBlock::paint (this=0x68320080, 
    paintInfo=0x7fff1568, paintOffset=0x3d)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2313
#17 0x774909c4 in WebCore::RenderBlock::paintChildren (this=0x68320010, 
    paintInfo=0x7fff16b0, paintOffset=0x7fff15e8)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2451
#18 0x774a913c in WebCore::RenderBlock::paintObject (this=0x68320010, 
    paintInfo=0x7fff16b0, paintOffset=0x7fff1650)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2530
#19 0x7748b288 in WebCore::RenderBlock::paint (this=0x68320010, 
    paintInfo=0x7fff16b0, paintOffset=0x35)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2313
#20 0x774909c4 in WebCore::RenderBlock::paintChildren (this=0x68321cc0, 
    paintInfo=0x7fff17f8, paintOffset=0x7fff1730)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2451
#21 0x774a913c in WebCore::RenderBlock::paintObject (this=0x68321cc0, 
    paintInfo=0x7fff17f8, paintOffset=0x7fff1798)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2530
#22 0x7748b288 in WebCore::RenderBlock::paint (this=0x68321cc0, 
    paintInfo=0x7fff17f8, paintOffset=0x35)
---Type <return> to continue, or q <return> to quit---
    at ../Source/WebCore/rendering/RenderBlock.cpp:2313
#23 0x774909c4 in WebCore::RenderBlock::paintChildren (this=0x72d005b0, 
    paintInfo=0x7fff1940, paintOffset=0x7fff1878)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2451
#24 0x774a913c in WebCore::RenderBlock::paintObject (this=0x72d005b0, 
    paintInfo=0x7fff1940, paintOffset=0x7fff18e0)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2530
#25 0x7748b288 in WebCore::RenderBlock::paint (this=0x72d005b0, 
    paintInfo=0x7fff1940, paintOffset=0x34)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2313
#26 0x774909c4 in WebCore::RenderBlock::paintChildren (this=0x72d01758, 
    paintInfo=0x7fff1a88, paintOffset=0x7fff19c0)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2451
#27 0x774a913c in WebCore::RenderBlock::paintObject (this=0x72d01758, 
    paintInfo=0x7fff1a88, paintOffset=0x7fff1a28)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2530
#28 0x7748b288 in WebCore::RenderBlock::paint (this=0x72d01758, 
    paintInfo=0x7fff1a88, paintOffset=0x34)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2313
#29 0x774909c4 in WebCore::RenderBlock::paintChildren (this=0x72d015c8, 
    paintInfo=0x7fff1c6c, paintOffset=0x7fff1b08)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2451
#30 0x774a913c in WebCore::RenderBlock::paintObject (this=0x72d015c8, 
---Type <return> to continue, or q <return> to quit---
    paintInfo=0x7fff1c6c, paintOffset=0x7fff1b70)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2530
#31 0x7748b288 in WebCore::RenderBlock::paint (this=0x72d015c8, 
    paintInfo=0x7fff1c6c, paintOffset=0x0)
    at ../Source/WebCore/rendering/RenderBlock.cpp:2313
#32 0x775254c8 in WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&, unsigned int, WebCore::RenderObject*, WTF::HashMap<WebCore::OverlapTestRequestClient*, WebCore::IntRect, WTF::PtrHash<WebCore::OverlapTestRequestClient*>, WTF::HashTraits<WebCore::OverlapTestRequestClient*>, WTF::HashTraits<WebCore::IntRect> >*, unsigned int) [clone .part.159] (this=0x72d01638, rootLayer=0x72d014e8, p=0x7fff2414, 
    paintDirtyRect=0x7fff2358, paintBehavior=<unknown type>, paintingRoot=0x0, 
    overlapTestRequests=0x7fff21f8, paintFlags=<unknown type>)
    at ../Source/WebCore/rendering/RenderLayer.cpp:2626
#33 0x77526054 in WebCore::RenderLayer::paintList (this=0x75a34b30, 
    list=0x72cc1540, rootLayer=0x72d014e8, p=0x7fff2414, 
    paintDirtyRect=0x7fff2358, paintBehavior=<unknown type>, paintingRoot=0x0, 
    overlapTestRequests=0x7fff21f8, paintFlags=<unknown type>)
    at ../Source/WebCore/rendering/RenderLayer.cpp:2833
#34 0x77524eec in WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&, unsigned int, WebCore::RenderObject*, WTF::HashMap<WebCore::OverlapTestRequestClient*, WebCore::IntRect, WTF::PtrHash<WebCore::OverlapTestRequestClient*>, WTF::HashTraits<WebCore::OverlapTestReq---Type <return> to continue, or q <return> to quit---
uestClient*>, WTF::HashTraits<WebCore::IntRect> >*, unsigned int) [clone .part.159] (this=0x72d014e8, rootLayer=0x72d014e8, p=0x7fff2414, 
    paintDirtyRect=0x7fff2358, paintBehavior=<unknown type>, paintingRoot=0x0, 
    overlapTestRequests=0x7fff21f8, paintFlags=<unknown type>)
    at ../Source/WebCore/rendering/RenderLayer.cpp:2626
#35 0x775261fc in WebCore::RenderLayer::paint (this=0x72d014e8, p=0x400b, 
    damageRect=0x4, paintBehavior=<unknown type>, paintingRoot=0x0)
    at ../Source/WebCore/rendering/RenderLayer.cpp:2540
#36 0x77348048 in WebCore::FrameView::paintContents (this=0x72cc3b40, 
    p=0x7fff2414, rect=0x7fff2358) at ../Source/WebCore/page/FrameView.cpp:2629
#37 0x77434044 in WebCore::ScrollView::paint (this=0x72cc3b40, 
    context=0x7fff2414, rect=0x7fff23f4)
    at ../Source/WebCore/platform/ScrollView.cpp:997
#38 0x76cad6e8 in webkit_web_view_expose_event (widget=0x72d014e8, 
    event=0x7fff2800) at ../Source/WebKit/gtk/webkit/webkitwebview.cpp:673
#39 0x7679d008 in ?? () from /usr/lib/mipsel-linux-gnu/libgtk-x11-2.0.so.0
warning: GDB can't find the start of the function at 0x7679d006.

    GDB is unable to find the start of the function at 0x7679d006
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
    This problem is most likely caused by an invalid program counter or
stack pointer.
---Type <return> to continue, or q <return> to quit---
    However, if you think GDB should simply search farther back
from 0x7679d006 for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.



More information about the Pkg-webkit-maintainers mailing list