Comments (2)
This isn't actually the case. There's actually a length integer overflow,
causing the results to be negative.
There isn't one. The old pointer was a Cgo detail, probably. The call after that
shows the correct length integer:
github.com/diamondburned/gotk4/pkg/gtk/v4._Cfunc_gtk_text_buffer_insert(0x7f4980bc3d00, 0xc0045ba8c0, 0xc001aacaf8, 0x4)
_cgo_gotypes.go:39452 +0x45 fp=0xc0009d8d48 sp=0xc0009d8d20 pc=0xc2f085
github.com/diamondburned/gotk4/pkg/gtk/v4.(*TextBuffer).Insert.func1(0xc0009d8dc8, 0xd4b905, 0x7f4980bc3d00, 0x99999901)
/home/diamond/.go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/gtk/v4/gtktextbuffer.go:1355 +0x85 fp=0xc0009d8d98 sp=0xc0009d8d48 pc=0xd44465
github.com/diamondburned/gotk4/pkg/gtk/v4.(*TextBuffer).Insert(0xc004642318, 0xc0035332d8, {0xc001aacaf8, 0x4})
/home/diamond/.go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/gtk/v4/gtktextbuffer.go:1355 +0x6d fp=0xc0009d8dd8 sp=0xc0009d8d98 pc=0xd4438d
from gotk4.
It doesn't seem like this is a real issue.
from gotk4.
Related Issues (20)
- Why go4.org/unsafe/assume-no-moving-gc ? HOT 4
- gir-generate failed to decode gir XML HOT 4
- Gstreamer bindings HOT 17
- Generator Workflow HOT 2
- Unusable GtkBuilderCScope API
- Memory is not freed when destroying Window HOT 1
- `DropTarget` panics when calling the `"drop"` signal handler HOT 10
- Bring back Unref methods
- Switch intern to KarpelesLab/weak
- Missing bindings: Cannot read selected item of gtk.DropDown as string HOT 4
- Copy text into clipboard works on Linux but crashes on Windows HOT 2
- support building without gobject-introspection & atk HOT 3
- GtkApplication? crash HOT 3
- Refactor SetFinalizer and toggle notifier HOT 2
- ConstraintLayout.AddConstraintsFromDescription results in SIGSEGV HOT 1
- GTK Assertion Fails calling NewConstraint HOT 3
- gotk4 ApplicationWindow does not show after Hide()
- ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH HOT 2
- Video Streaming HOT 26
- Custom glib.LogSetWriter HOT 8
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 gotk4.