Giter VIP home page Giter VIP logo

Comments (11)

davidbyttow avatar davidbyttow commented on May 18, 2024 1

@oleh-ozimok #47

from govips.

maksym-iv avatar maksym-iv commented on May 18, 2024

Got the same issue.

(govips:45221): GLib-GObject-CRITICAL **: 02:46:21.849: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Was able to reproduce with

	vips.Startup(&vips.Config{
		ConcurrencyLevel: 1,
		MaxCacheFiles:    100,
		MaxCacheMem:      104857600,
		MaxCacheSize:     1,
		ReportLeaks:      true,
		CacheTrace:       true,
		CollectStats:     true,
	})

libvips version: 8.6.4

from govips.

oleh-ozimok avatar oleh-ozimok commented on May 18, 2024

@davidbyttow ping

from govips.

oleh-ozimok avatar oleh-ozimok commented on May 18, 2024

hotfix, comment this line https://github.com/davidbyttow/govips/blob/master/pkg/vips/transform.go#L373

from govips.

davidbyttow avatar davidbyttow commented on May 18, 2024

Thanks, will fix!

from govips.

davidbyttow avatar davidbyttow commented on May 18, 2024

Also, I don't think this is that easy, I think it's only when it needs to convert the colorspace. I will address.

from govips.

davidbyttow avatar davidbyttow commented on May 18, 2024

Fixed: b66f7b4

from govips.

oleh-ozimok avatar oleh-ozimok commented on May 18, 2024

concurrent run this code will generate g_object_unref assertion (not only when it needs to convert the colorspace)

image, _ := vips.NewImageFromBuffer(blob)	

transform := vips.NewTransform().
		Image(image).
		Format(vips.ImageTypeJPEG).
		Quality(100).
		StripMetadata().Apply()

from govips.

davidbyttow avatar davidbyttow commented on May 18, 2024

Oh, that use case.. yeah, I see. OK

from govips.

ljs-cxm avatar ljs-cxm commented on May 18, 2024

Hello, I have got some more error. Did it have been fixed? @davidbyttow
my libvips version is:
[root@localhost ~]# vips --version vips-8.6.5-Wed Jul 25 09:46:22 UTC 2018 memory: high-water mark 0 bytes

error messages are:
`(govips:5276): GLib-GObject-WARNING **: instance of invalid non-instantiatable type '(null)'

(govips:5276): GLib-GObject-CRITICAL **: g_signal_handler_is_connected: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(govips:5276): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
vips_image_dispose: temp-413 vips_reducev_gen computed 107%

(govips:5276): GLib-GObject-WARNING **: instance of invalid non-instantiatable type ''

(govips:5276): GLib-GObject-CRITICAL **: g_signal_handler_is_connected: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(govips:5276): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
end image.go transform func`

from govips.

tonimelisma avatar tonimelisma commented on May 18, 2024

Thanks everyone for the bug reports @ljs-cxm @tczf1128 @oleh-ozimok @xmackex . We've progressed to v2.0.2 and these should now be fixed. I'll close this generic report for now, I know it's been quite some time but can you please try and replicate bugs, and open issues with code samples to showcase clearly how to reproduce any bugs you get?

from govips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.