[Webkit-unassigned] [Bug 38490] New: [Qt] Crashes in QSvgHandler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 3 14:41:33 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38490

           Summary: [Qt] Crashes in QSvgHandler
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt, QtTriaged
          Severity: Normal
          Priority: P2
         Component: Images
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: benjamin.poulain at nokia.com


QtWebKit crashes sometimes in QSvgHandler.

We should have a look at QSvgHandler if we can find the cause of the crash. We
could also probably get rid of QtSvg altogether and use WebCore to render SVG.

Here is the trace of the crash.

0   QtSvg                             0x000000010f7f4a52
QSvgHandler::characters(QStringRef const&) + 146
1   QtSvg                             0x000000010f7f53c7 QSvgHandler::parse() +
679
2   QtSvg                             0x000000010f7f55a5 QSvgHandler::init() +
197
3   QtSvg                             0x000000010f7f58ab
QSvgHandler::QSvgHandler(QByteArray const&) + 187
4   QtSvg                             0x000000010f805432
QSvgTinyDocument::load(QByteArray const&) + 146
5   QtSvg                             0x000000010f806448
QSvgRenderer::load(QByteArray const&) + 56
6   libqsvg.dylib                     0x000000010dae5442
QSvgIOHandlerPrivate::load(QIODevice*) + 146
7   libqsvg.dylib                     0x000000010dae5670
QSvgIOHandler::option(QImageIOHandler::ImageOption) const + 192
8   QtGui                             0x0000000101b67ee9 QImageReader::size()
const + 121
9   QtWebKit                          0x00000001009456d8
WebCore::ImageDecoderQt::internalDecodeSize() + 24
10  QtWebKit                          0x00000001009457ce
WebCore::ImageDecoderQt::isSizeAvailable() + 46
11  QtWebKit                          0x00000001007e7ad4
WebCore::ImageSource::isSizeAvailable() + 20
12  QtWebKit                          0x00000001007d5eb0
WebCore::BitmapImage::isSizeAvailable() + 32
13  QtWebKit                          0x00000001007d6218
WebCore::BitmapImage::dataChanged(bool) + 72
14  QtWebKit                          0x00000001007e767d
WebCore::Image::setData(WTF::PassRefPtr<WebCore::SharedBuffer>, bool) + 109
15  QtWebKit                          0x00000001006f1dcc
WebCore::CachedImage::data(WTF::PassRefPtr<WebCore::SharedBuffer>, bool) + 124
16  QtWebKit                          0x0000000100732c4f
WebCore::Loader::Host::didFinishLoading(WebCore::SubresourceLoader*) + 367
17  QtWebKit                          0x000000010074b3e4
WebCore::SubresourceLoader::didFinishLoading() + 52
18  QtWebKit                          0x00000001009505a0
WebCore::QNetworkReplyHandler::finish() + 160
19  QtWebKit                          0x0000000100950f70
WebCore::QNetworkReplyHandler::qt_metacall(QMetaObject::Call, int, void**) +
192
20  QtCore                            0x00000001028a69cb
QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 603
21  QtNetwork                         0x0000000102712d79
QNetworkReplyImplPrivate::finished() + 473
22  QtNetwork                         0x00000001026ff1e0
QNetworkAccessHttpBackend::replyFinished() + 640
23  QtNetwork                         0x000000010271252f
QNetworkReplyImplPrivate::handleNotifications() + 399
24  QtNetwork                         0x0000000102712579
QNetworkReplyImpl::event(QEvent*) + 41
25  QtGui                             0x0000000101aca4fd
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
26  QtGui                             0x0000000101ad1ffe
QApplication::notify(QObject*, QEvent*) + 2094
27  com.yourcompany.light             0x000000010000a63c
WebApplication::notify(QObject*, QEvent*) + 188 (webapplication.cpp:72)
28  QtCore                            0x000000010289ffec
QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
29  QtCore                            0x000000010297b64d
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 701
30  com.apple.CoreFoundation          0x00007fff84958f21 __CFRunLoopDoSources0
+ 1361
31  com.apple.CoreFoundation          0x00007fff84957119 __CFRunLoopRun + 873
32  com.apple.CoreFoundation          0x00007fff849568df CFRunLoopRunSpecific +
575
33  com.apple.HIToolbox               0x00007fff83bfdada
RunCurrentEventLoopInMode + 333
34  com.apple.HIToolbox               0x00007fff83bfd8df ReceiveNextEventCommon
+ 310
35  com.apple.HIToolbox               0x00007fff83bfd798
BlockUntilNextEventMatchingListInMode + 59
36  com.apple.AppKit                  0x00007fff863b1a2a _DPSNextEvent + 708
37  com.apple.AppKit                  0x00007fff863b1379 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
38  com.apple.AppKit                  0x00007fff8637705b -[NSApplication run] +
395
39  QtGui                             0x0000000101a874c4
QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) +
1588
40  QtCore                            0x0000000102979ff4
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
41  QtCore                            0x000000010297a304
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 180
42  QtCore                            0x000000010297b94c
QCoreApplication::exec() + 188
43  com.yourcompany.light             0x0000000100005b40 main + 433
(main.cpp:36)
44  com.yourcompany.light             0x0000000100003120 start + 52

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list