DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

Segmentation fault on linux mint 19.

Open mnesarco opened this issue 4 years ago • 13 comments

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


mnesarco avatar Sep 25 '21 00:09 mnesarco

Same bug on Windows 10

solidarik avatar Sep 26 '21 16:09 solidarik

Same bug in Windows 10

same hear on windows 10

lingyanmeng avatar Oct 11 '21 06:10 lingyanmeng

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

hoffstadt avatar Oct 11 '21 12:10 hoffstadt

In Linux mint 19.3:

Python 3.6.9 => Segmentation Fault

Python 3.7.7 => Works

mnesarco avatar Oct 11 '21 17:10 mnesarco

On Windows 10:

Python 3.6.4=> Segmentaion Fault

Python 3.8.6 => Works

All 64 bit

solidarik avatar Oct 12 '21 07:10 solidarik

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?

hoffstadt avatar Oct 15 '21 19:10 hoffstadt

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?

solidarik avatar Oct 18 '21 18:10 solidarik

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()

hoffstadt avatar Oct 18 '21 19:10 hoffstadt

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

solidarik avatar Oct 19 '21 02:10 solidarik

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

hoffstadt avatar Oct 19 '21 04:10 hoffstadt

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

merchantzain avatar Apr 29 '22 15:04 merchantzain

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.

MOrgacki avatar Jul 06 '22 10:07 MOrgacki

Can you check with 1.7.x?

hoffstadt avatar Oct 22 '22 02:10 hoffstadt