Comments (11)
from govips.
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.
@davidbyttow ping
from govips.
hotfix, comment this line https://github.com/davidbyttow/govips/blob/master/pkg/vips/transform.go#L373
from govips.
Thanks, will fix!
from govips.
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.
Fixed: b66f7b4
from govips.
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.
Oh, that use case.. yeah, I see. OK
from govips.
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.
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)
- Migrate image operations from ImageMgaick to govips HOT 1
- sharp resize vs govips resize HOT 2
- [BUG] SetPages method do nothing HOT 1
- undefined vips.ImageType ImageTypeJPEG ImageTypePNG ImageRef HOT 2
- ubuntu20: libvips-dev provided by ppa:tonimelisma/ppa is not available anymore HOT 3
- JPEG-XL support HOT 4
- Ubuntu: Unable to locate `libvips.42.so` on application startup HOT 1
- how to set webp's loop count if the original picture is a gif with GIF87a type? HOT 2
- When exporting to Webp, the ColorProfile is getting removed HOT 4
- GoVips img.Export(params) is adding EXIF metadata even though source image doesn't have EXIF data
- Compatibility issue with libvips 8.15.0 on macOS? HOT 2
- undefined: vips.Startup HOT 5
- support fully static link build HOT 2
- How to crop animated images HOT 1
- govips cannot be stopped and restarted HOT 1
- Cross-compiling to Windows almost works HOT 3
- image.ExportWebp - Webpsave mux error when attempting to convert large image (40MB) at high quality. HOT 7
- Question: Howto create images from values? Simple const operations? HOT 1
- image.GetPoint() is extremely slow HOT 6
- floating point exception on (*vips.ImageRef).Label
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from govips.