Comments (8)
I mean, someone needs to follow the code, follow why the assertion is being triggered and understand if this package is doing something wrong (passing garbage to libcairo?) or maybe it's an error inside libcario.
from gtk.jl.
I don't see any segmentation fault, only an abort due to a failed assertion, which is quite a lot different.
from gtk.jl.
Frustratingly, I have been getting segfaults before, but I can't seem to reproduce one right now. In any case, any ideas why Julia would abort from such MWE?
from gtk.jl.
It isn't julia, it's an internal assertion in Cairo. Quoting from the error you shared:
Assertion failed: (!surface->finished), function _cairo_surface_release_source_image, file cairo-surface.c, line 2092.
from gtk.jl.
Oh... OK. So something closer to this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=114298 and not https://github.com/JuliaGraphics/Cairo.jl?
from gtk.jl.
I tried this on Julia version 1.9.0-alpha1
and got a segmentation fault:
julia>
[3002] signal (11.2): Segmentation fault: 11
in expression starting at none:0
_cairo_surface_release_source_image at /Users/yakir/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib/libcairo.2.dylib (unknown line)
DataProviderReleaseCallback at /Users/yakir/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib/libcairo.2.dylib (unknown line)
data_release_info at /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (unknown line)
Allocations: 6402510 (Pool: 6396917; Big: 5593); GC: 30
zsh: segmentation fault /Applications/Julia-1.9.app/Contents/Resources/julia/bin/julia
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
as well as in version 1.10.0-DEV.39
:
julia>
[10156] signal (11.2): Segmentation fault: 11
in expression starting at none:0
_cairo_surface_release_source_image at /Users/yakir/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib/libcairo.2.dylib (unknown line)
DataProviderReleaseCallback at /Users/yakir/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib/libcairo.2.dylib (unknown line)
data_release_info at /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (unknown line)
Allocations: 4952694 (Pool: 4948697; Big: 3997); GC: 8
zsh: segmentation fault ./julia
However, It worked just fine on the current LTS: 1.6.7
!
from gtk.jl.
I get segfault as well:
Assertion failed: (!surface->finished), function _cairo_surface_release_source_image, file cairo-surface.c, line 2092.
[413] signal (6): Abort trap: 6
in expression starting at none:0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 5701615 (Pool: 5697132; Big: 4483); GC: 9
fish: Job 1, 'julia' terminated by signal SIGABRT (Abort)
on
julia> versioninfo()
Julia Version 1.9.2
Commit e4ee485e909 (2023-07-05 09:39 UTC)
Platform Info:
OS: macOS (arm64-apple-darwin22.4.0)
CPU: 10 Γ Apple M1 Pro
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
Threads: 1 on 8 virtual cores
from gtk.jl.
I get segfault as well:
I still don't see any segmentation fault.
from gtk.jl.
Related Issues (20)
- Connecting event to calendar HOT 4
- CssProviderLeaf performance HOT 2
- Where is gdk library HOT 1
- When CSS on screen has effect?
- In Ubuntu open_dialog() does not close after completing its action
- Crash on load with version 1.2.3 or 1.3.0 on Windows HOT 3
- Error in running finalizer
- issues with headless machine precompile HOT 1
- ComboBoxText no longer working under Julia 1.8.5 HOT 3
- Segfault with showall on trivial glade file on M1 Mac
- Is there a Julia binding to the GtkLayout container?
- circular dependency with libtiff_jll 4.5 HOT 1
- Apple silicon M2 Gtkscale error
- GtkSpinButton MethodError
- race conditions in finalizers HOT 1
- sigatomic_end called in non-sigatomic region HOT 1
- Gtk not working on MacOS Sonoma 14.4 or 14.4.1 HOT 1
- Canβt get to Glade
- Archive this repo HOT 2
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 gtk.jl.