Skip to content

Memory access problem with 1.2.1 with Python in Linux #170

@Johndeep

Description

@Johndeep

Hi everyone,

after roughly checking this issue for duplicates or similarities, I came to the conclusion to try to post this.

Just to be clear, I work with Python in Ubuntu 22.04 LTS in Wayland. But I also tested this issue in Xorg. Unfortunately same result.

After updating imgui-bundle from 1.1.0 to 1.2.1 via pip, I noticed that the line
imgui.create_context()
leads to a crash of my app. Now the curious part.

  • I've tried this with sdl2 first, since it is my main backend in use currently. It doesn't work. That's how I noticed it.
  • Then I tried the same with glfw3. It also crashes.
  • After that, I then tried the example backend files from the repository. Neither do they work.
  • Desperately I thought, "Maybe I did something wrong? Maybe the backends doesn't work anymore.", thus, I tried the "demo_hello_world.py" (with immapp) demo code, which can be found in the doc. Also no luck.

The app starts briefly in all cases. It shows no content. However, it either stops without any terminal output or outputs a memory access error line, which is not helpful.

I'm working on a system with Intel core i7-1365U, which comes with Iris Xe and thus in Ubuntu with Mesa Intel Graphics (RPL-P) driver. I think this is quite strange, since imgui-bundle 1.1.0 works fine.

Currently, I'm working with version 1.1.0 until this is resolved.

This is quite a bummer actually, since I really like to use the new functionality of ChildFlags to make the child area re-sizable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions