hoffstadt / DearPyGui

Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
https://dearpygui.readthedocs.io/en
MIT License
13.04k stars 677 forks source link

Segmentation fault on linux mint 19. #1258

Open mnesarco opened 3 years ago

mnesarco commented 3 years ago

Version of Dear PyGui

Version: dearpygui-0.8.64 Operating System: Linux Mint 19.3

My Issue/Question

I get segmentation fault with bare minimal example

To Reproduce

import dearpygui.dearpygui as dpg
from dearpygui.demo import show_demo
show_demo()
dpg.start_dearpygui()

Expected behavior

Exepcted demo window

Standalone, minimal, complete and verifiable example

➜  ~ pip3 install dearpygui
Defaulting to user installation because normal site-packages is not writeable
Collecting dearpygui
  Downloading dearpygui-0.8.64-cp36-cp36m-manylinux1_x86_64.whl (57.7 MB)
     |████████████████████████████████| 57.7 MB 176 kB/s 
Installing collected packages: dearpygui
Successfully installed dearpygui-0.8.64

➜  ~ python3 test.py

[1]    4884 segmentation fault (core dumped)  python3 test.py
solidarik commented 3 years ago

Same bug on Windows 10

lingyanmeng commented 2 years ago

Same bug in Windows 10

same hear on windows 10

hoffstadt commented 2 years ago

@solidarik @lingyanmeng What version of python? Seems to be working on our machines: image

mnesarco commented 2 years ago

In Linux mint 19.3:

Python 3.6.9 => Segmentation Fault

Python 3.7.7 => Works

solidarik commented 2 years ago

On Windows 10:

Python 3.6.4=> Segmentaion Fault

Python 3.8.6 => Works

All 64 bit

hoffstadt commented 2 years ago

So we might have an issue with python 3.6 is sounds like. Will need to investigate a bit more. Can you check and see if 08.64 works on these machines?

solidarik commented 2 years ago

So we might have an issue with python 3.6 is sounds like. Will need to investigate a bit more. Can you check and see if 08.64 works on these machines?

What does mean 08.64?

hoffstadt commented 2 years ago

pip install dearpygui==0.8.64

For 0.8.x:

import dearpygui.dearpygui as dpg
from dearpygui.demo import show_demo
show_demo()
dpg.start_dearpygui()

For 1.x:

import dearpygui.dearpygui as dpg
from dearpygui.demo import show_demo

dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()

show_demo()

dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
solidarik commented 2 years ago

Python 3.6.4: Same segmentation fault on 0.8.64 and 1.0.2 Python 3.8.6: Works on both versions

hoffstadt commented 2 years ago

Ok. We will get this sorted out! Thanks for the info.

merchantzain commented 2 years ago

Same issue on Python 3.9.2 on Windows 10 with DearPyGui 1.6.1 installed using pip from PyPI.

MOrgacki commented 2 years ago

Same Issue on Python 3.9.13 64bit Ubuntu 20.04 for dearpygui 1.6.2. Downgraded dpg packace to 0.8.64 and it starts without Segmentation fault now.

hoffstadt commented 1 year ago

Can you check with 1.7.x?