8000 VIPS:ERROR:generate.c:689:vips_image_generate: assertion failed · Issue #1890 · libvips/libvips · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
VIPS:ERROR:generate.c:689:vips_image_generate: assertion failed #1890
Closed
@Koen1999

Description

@Koen1999

Describe the bug
Using Honggfuzz I found the following crash. IT had exit code SIGABRT due to a failed assertion in the code of generate.c. I am not sure if this constitutes an actual bug you would like to fix, but I am reporting it anyway so you can judge this for yourself. In case this is not something you consider undesired behavior, feel free to close the issue.
If you require any additional information, please let me know.

To Reproduce
Steps to reproduce the behavior:

  1. Use Image
    SIGABRT PC 7ffff7cf8376 STACK 1498fec9e CODE 0 ADDR 0 INSTR cmp____$0xfffffffffffff000,%rax fuzz

  2. Use Configuration
    ./vips rot SIGABRT.PC.7ffff7cf8376.STACK.1498fec9e.CODE.0.ADDR.0.INSTR.cmp____\$0xfffffffffffff000\,%rax.fuzz.jpg out.jpg d180

  3. See error

8fec9e.CODE.0.ADDR.0.INSTR.cmp____\$0xfffffffffffff000\,%rax.fuzz out.jpg d180
sanity failure: VipsImage (0x5585dc6db010) bad dimensions

**
VIPS:ERROR:generate.c:689:vips_image_generate: assertion failed: (vips_object_sanity( VIPS_OBJECT( image ) ))
Bail out! VIPS:ERROR:generate.c:689:vips_image_generate: assertion failed: (vips_object_sanity( VIPS_OBJECT( image ) ))
Aborted (core dumped)

Expected behavior
I expected to receive the same image but rotated 180 degrees. Definitely not a core dump.

Actual behavior
The core was dumped, exit code SIGABRT.

Screenshots
N/A

Environment
(please complete the following information)

  • OS: Ubuntu 20.04 LTS
  • Vips: 8.10.1

Additional context
vips was compiled from source with ASAN (not really relevant for this bug) and --enable-debug. Compiler options set were -g -O2.
Here is the log resulting from running ./configure when it was compiled:
config.log

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0