Skip to content

Crash when changing sprite image file #1104

@kaphula

Description

@kaphula

I get this crash when I try to change node's sprite texture. There are occasions it does not crash but it seems to crash consistently if I copy a node and try to change its texture. I am running display resolution of 1360x768 if that could have something to do with it...

Happens in version 1.80 b1, Linux Manjaro XFCE4

OnAfterAddNode(Node)
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Resource id in failed request:  0x2600002
  Serial number of failed request:  29069
  Current serial number in output stream:  29071

EDIT:
I tried hooking up second monitor with larger resolution 1920x1080 and it still crashes, so probably not related to the resolution?

EDIT2:

https://stackoverflow.com/questions/75216676/badwindow-invalid-window-parameter-when-trying-to-close-a-display-in-x11

Similar discussion related to this perhaps.

Nevermind, I just had passed the display into the window parameter of XSetStandardProperties in my initialization, but I only got the error when I tried to close the display.

EDIT 3:

Yeah, the crash seems to happen consistently when I copy and paste an existing node, then proceed to change the sprite image of the new duplicate node. If I create a new node from scratch and change its sprite image, no crash happens within the same project. Very unfortunate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions