Issue 558 in webp: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2

51 views
Skip to first unread message

s.ram… via monorail

unread,
Feb 21, 2022, 4:22:24 PMFeb 21
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 558 by s.ram...@gmail.com: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558

What steps will reproduce the problem?
1. cwebp kollada_noalpha.png -lossless -o kollada_noalpha.webp
2. dwebp kollada_noalpha.webp

What is the expected output? What do you see instead?

Expected output:

Saving file 'kollada_noalpha.webp'
File: /home/sramacher/kollada_noalpha.png
Dimension: 436 x 160
Output: 36050 bytes (4.13 bpp)
Lossless-ARGB compressed size: 36050 bytes
* Header size: 671 bytes, image data size: 35354
* Precision Bits: histogram=3 transform=3 cache=1
File kollada_noalpha.webp can be decoded (dimensions: 436 x 160 . Format: lossless).
Nothing written; use -o flag to save the result as e.g. PNG.

Actual output:

Saving file 'kollada_noalpha.webp'
File: /home/sramacher/kollada_noalpha.png
Dimension: 436 x 160
Output: 35454 bytes (4.07 bpp)
Lossless-ARGB compressed size: 35454 bytes
* Header size: 676 bytes, image data size: 34753
* Precision Bits: histogram=3 transform=3 cache=1
Decoding of kollada_noalpha.webp failed.
Status: 3(BITSTREAM_ERROR)


What version of the product are you using? On what operating system?

libwebp 1.2.1 on current Debian unstable. I have also reproduced the issue with the current HEAD of the git repository.

Please provide any additional information below.

I'm forwarding a bug from Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006009. During the transition to libwebp 1.2.1 we noticed a regression on mipsel. A git bisect run suggests that this regression was introduced in dea3e89983f299b3325898fa5b9474be258553b2. The input and output file from the bug reports are attached.

Attachments:
kollada_noalpha.webp 36.1 KB
kollada_noalpha.webp 36.1 KB

--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

vrab… via monorail

unread,
Feb 22, 2022, 11:30:38 AMFeb 22
to webp-d...@webmproject.org
Updates:
Owner: vra...@google.com

Comment #1 on issue 558 by vra...@google.com: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c1

(No comment was entered for this change.)

jz… via monorail

unread,
Feb 22, 2022, 10:43:47 PMFeb 22
to webp-d...@webmproject.org
Updates:
Status: Accepted

Comment #2 on issue 558 by jz...@google.com: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c2

Thanks for the report. The original png is missing, but I'm able to reproduce this under qemu with the attached file using:
$ mipsel-linux-gnu-gcc --version
mipsel-linux-gnu-gcc (Debian 10.2.1-6+build2) 10.2.1 20210110

My bisect ends up at the same place.

s.ram… via monorail

unread,
Feb 23, 2022, 3:09:26 AMFeb 23
to webp-d...@webmproject.org

Comment #3 on issue 558 by s.ram...@gmail.com: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c3

Indeed, I attached the webp file twice. Sorry. Just FTR, here's the original png file.

Attachments:
kollada_noalpha.png 37.8 KB

Git Watcher via monorail

unread,
Mar 1, 2022, 8:24:05 PMMar 1
to webp-d...@webmproject.org

Comment #4 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c4

The following revision refers to this bug:
https://chromium.googlesource.com/webm/libwebp/+/e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8

commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8
Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f

[modify] https://crrev.com/e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8/src/dsp/lossless_enc_mips32.c

Git Watcher via monorail

unread,
Mar 3, 2022, 1:03:08 PMMar 3
to webp-d...@webmproject.org
Updates:
Labels: merge-merged-1.0.1

Comment #6 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c6


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

[modify] https://crrev.com/85193ec6aa7b98877934725aac79b05a5756bfac/src/dsp/lossless_enc_mips32.c

Git Watcher via monorail

unread,
Mar 3, 2022, 1:03:10 PMMar 3
to webp-d...@webmproject.org
Updates:
Labels: merge-merged-1.0.2

Comment #7 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c7


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:03:11 PMMar 3
to webp-d...@webmproject.org
Updates:
Labels: merge-merged-1.0.3

Comment #8 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c8


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:03:12 PMMar 3
to webp-d...@webmproject.org
Updates:
Labels: merge-merged-1.1.0

Comment #9 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c9


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:03:13 PMMar 3
to webp-d...@webmproject.org
Updates:
Labels: merge-merged-1.2.0

Comment #10 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c10


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:03:14 PMMar 3
to webp-d...@webmproject.org
Updates:
Labels: merge-merged-1.2.1

Comment #11 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c11


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:03:15 PMMar 3
to webp-d...@webmproject.org
Updates:
Labels: merge-merged-1.2.2

Comment #12 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c12


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:04:16 PMMar 3
to webp-d...@webmproject.org

Comment #13 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c13


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:04:17 PMMar 3
to webp-d...@webmproject.org

Comment #14 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c14


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:04:18 PMMar 3
to webp-d...@webmproject.org

Comment #15 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c15


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:04:19 PMMar 3
to webp-d...@webmproject.org

Comment #16 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c16


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:04:20 PMMar 3
to webp-d...@webmproject.org

Comment #17 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c17


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:04:21 PMMar 3
to webp-d...@webmproject.org

Comment #18 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c18


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:05:44 PMMar 3
to webp-d...@webmproject.org

Comment #19 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c19


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:05:45 PMMar 3
to webp-d...@webmproject.org

Comment #20 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c20


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:05:46 PMMar 3
to webp-d...@webmproject.org

Comment #21 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c21


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:05:49 PMMar 3
to webp-d...@webmproject.org

Comment #23 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c23


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:05:49 PMMar 3
to webp-d...@webmproject.org

Comment #22 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c22


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:06:05 PMMar 3
to webp-d...@webmproject.org

Comment #24 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c24


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:06:06 PMMar 3
to webp-d...@webmproject.org

Comment #25 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c25


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:06:07 PMMar 3
to webp-d...@webmproject.org

Comment #26 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c26


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:06:08 PMMar 3
to webp-d...@webmproject.org

Comment #27 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c27


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:07:06 PMMar 3
to webp-d...@webmproject.org

Comment #28 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c28


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:07:07 PMMar 3
to webp-d...@webmproject.org

Comment #29 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c29


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

Git Watcher via monorail

unread,
Mar 3, 2022, 1:07:10 PMMar 3
to webp-d...@webmproject.org

Comment #30 on issue 558 by Git Watcher: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c30


The following revision refers to this bug:

Author: Vincent Rabaud <vra...@google.com>
Date: Tue Mar 01 12:38:29 2022

Fix lossless encoding for MIPS.

Bug: webp:558
Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
(cherry picked from commit e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8)

jz… via monorail

unread,
Mar 3, 2022, 4:51:59 PMMar 3
to webp-d...@webmproject.org
Updates:
Status: Fixed

Comment #31 on issue 558 by jz...@google.com: Regression on mipsel introduced in dea3e89983f299b3325898fa5b9474be258553b2
https://bugs.chromium.org/p/webp/issues/detail?id=558#c31

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages