WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
73812
[GTK] GIF image test crashes on 32- and 64-bit Release
https://bugs.webkit.org/show_bug.cgi?id=73812
Summary
[GTK] GIF image test crashes on 32- and 64-bit Release
noel gordon
Reported
2011-12-05 02:59:52 PST
After
http://trac.webkit.org/changeset/101975
fast/backgrounds/animated-gif-as-background.html = CRASH fast/images/dont-crash-with-null-gif-frames.html = CRASH (on 64-bit only) fast/images/gif-loop-count.html = CRASH
Attachments
Patch
(1.92 KB, patch)
2011-12-05 15:20 PST
,
noel gordon
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
noel gordon
Comment 1
2011-12-05 14:46:46 PST
% pwd third_party/WebKit/Source/WebCore/platform/image-decoders/gif % ack m_data * GIFImageDecoder.cpp 87: reader.read((const unsigned char*)m_data->data(), m_data->size(), GIFFrameCountQuery, static_cast<unsigned>(-1)); 192: m_readOffset = m_data->size() - bytesLeft; 321: if (!m_reader->read((const unsigned char*)m_data->data() + m_readOffset, m_data->size() - m_readOffset, query, haltAtFrame) && isAllDataReceived())
noel gordon
Comment 2
2011-12-05 14:47:51 PST
Hence, m_data->size() is used in the GIF decoder.
noel gordon
Comment 3
2011-12-05 15:14:26 PST
Ignore me: m_data->size() is the decoder input data.
noel gordon
Comment 4
2011-12-05 15:20:58 PST
Created
attachment 117947
[details]
Patch
Adam Barth
Comment 5
2011-12-05 17:07:41 PST
Comment on
attachment 117947
[details]
Patch Ok. Do you think this will fix the tests?
noel gordon
Comment 6
2011-12-05 17:14:54 PST
My belief is it won't fix them. I don't have a GTK setup to test locally, so I'm prepared to try this patch, and hence rule out whether the issue depends on the resize() or not.
WebKit Review Bot
Comment 7
2011-12-05 22:20:22 PST
Comment on
attachment 117947
[details]
Patch Clearing flags on attachment: 117947 Committed
r102096
: <
http://trac.webkit.org/changeset/102096
>
WebKit Review Bot
Comment 8
2011-12-05 22:20:27 PST
All reviewed patches have been landed. Closing bug.
noel gordon
Comment 9
2011-12-05 23:53:48 PST
belief is one thing, results are another. GTK Linux 32-bit Release @
r102096
http://build.webkit.org/builders/GTK%20Linux%2032-bit%20Release/builds/19773
2011-12-05 22:39:23,028 7601 worker.py:186 DEBUG worker/0 fast/backgrounds/animated-gif-as-background.html passed 2011-12-05 22:41:49,861 7601 worker.py:186 DEBUG worker/0 fast/images/dont-crash-with-null-gif-frames.html passed 2011-12-05 22:41:50,508 7601 worker.py:186 DEBUG worker/0 fast/images/gif-loop-count.html passed GTK Linux 64-bit Release @
r102096
http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release/builds/14197
2011-12-05 22:26:17,985 7968 worker.py:186 DEBUG worker/17 fast/backgrounds/animated-gif-as-background.html passed 2011-12-05 22:26:26,587 7931 worker.py:186 DEBUG worker/5 fast/images/dont-crash-with-null-gif-frames.html passed 2011-12-05 22:26:27,177 7931 worker.py:186 DEBUG worker/5 fast/images/gif-loop-count.html passed GTK Linux 64-bit Debug @
r102096
http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug/builds/28212
2011-12-05 22:37:17,192 12694 worker.py:186 DEBUG worker/3 fast/backgrounds/animated-gif-as-background.html passed 2011-12-05 22:39:50,284 12685 worker.py:186 DEBUG worker/0 fast/images/dont-crash-with-null-gif-frames.html passed 2011-12-05 22:39:51,022 12685 worker.py:186 DEBUG worker/0 fast/images/gif-loop-count.html passed LGTM.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug