Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

smartcrop: arg "width" changed during build error with InterestingAll + SizeBoth combination #4595

Copy link
Copy link
@isuh88

Description

@isuh88
Issue body actions

Description

Environment:
libvips 8.17.0
govips (Go binding)
Production server environment

Issue:

When using vips.LoadThumbnailFromBuffer() with vips.InterestingAll and vips.SizeBoth parameters, the following error occurs consistently in production:

smartcrop: arg "width" changed during build, VipsSmartcrop (smartcrop), extract an area from an image, smartcrop input=((VipsImage*) 0x1a6794c0) attention-x=0 out=((VipsImage*) 0x1a1d6e10) attention-y=0 width=600 height=400 interesting=((VipsInteresting) VIPS_INTERESTING_ALL)

Observations:

Only occurs with InterestingAll + SizeBoth combination
Other all combinations work fine
Cannot reproduce in local test environment
Occurs consistently in production server environment

Question:

What specific aspect of the smartcrop implementation should we investigate when this "arg width(or height) changed during build" error occurs? Is this related to memory management, thread safety, or parameter validation in the smartcrop operation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.