Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Crash when resizing window? #1247

@duggavo

Description

@duggavo

Describe the bug

No matter what code I have, even the official examples crash when I resize the window.

Using Ubuntu 24 with X11:

user@host: echo $XDG_SESSION_TYPE
x11

Crash log:

thread '<unnamed>' panicked at src/lib.rs:3974:36:
invalid texture
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
SIGABRT: abort
PC=0x78b64d49eb1c m=11 sigcode=18446744073709551610
signal arrived during cgo execution

(and then there is a VERY long Go stacktrace... is it relevant? I've pasted it here: https://paste.debian.net/plainh/3768a9a4 )

EDIT: i clearly remember everything was working fine a few months ago, maybe before 3.0? I'm currently running v0.3.4

EDIT2: the Go version is go1.23.2 linux/amd64

How to reproduce

Install Ubuntu 24 (it's using integrated intel cpu i think)

Run any cogent core example

Resize the window

Example code

No response

Relevant output

No response

Platform

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctlyconfirmedThis bug has been confirmed

    Type

    No type

    Projects

    Status

    In progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions