[Eric] Seg Fault On Opening Dialog Box
Detlev Offenbach
detlev at die-offenbachs.de
Tue May 23 18:26:37 BST 2017
Hello again,
can you be a bit more specific about which kind of dialogs cause a segfault?
The file dialog should not be in the list because on Linux platforms I am
calling it with the "QFileDialog.DontUseNativeDialog" flag set.
This was done in the past because there were such kind of issues with the
native KDE dialog (but that was looong ago, but I never reverted it).
Detlev
PS: This can be seen in E5Gui.E5FileDialog.
Am Freitag, 19. Mai 2017, 23:27:08 CEST schrieb Helen Ready:
> Let me start by saying Thank You for the amazing IDE, Eric, and its
> community. Recently, I decided to take the plunge into Linux with CentOS 7
> as my first. After installing Python 3.6.1 from source and setting up a
> virtual enviroment, I naturally went to install the Eric IDE as my next
> step.
>
> No issues on installation, but when I attempt to open any dialog box under
> the Config window as a standard user, Eric exits to the terminal with a
> segmentation fault. This doesn't happen if I run eric6 thru sudo or su -
>
> May I get some help or insight into what's going on and how I can fix this?
>
> ### OS Related Info ###
> CentOS Linux release 7.3.1611 (Core)
> Python 3.6.1
> Eric IDE 17.05
> Qt 5.8.0
>
> All packages below installed thru pip (some presumably from pywheels)
> PyQt5 5.8.2
> QScintilla 2.10
> setuptools 35.0.2
> sip 4.19.2
>
> ### GDB Debug Info ###
> (pyvenv3.6.1) [***@localhost bin]$ gdb -ex r --args python
> /usr/local/python/3.6.1/venv/pyvenv3.6.1/lib/python3.6/site-packages/eric6/e
> ric6.py GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
> ...
> This GDB was configured as "x86_64-redhat-linux-gnu".
> ...
> Reading symbols from /usr/local/python/3.6.1/bin/python3.6...done.
> Starting program: /usr/local/python/3.6.1/venv/pyvenv3.6.1/bin/python
> /usr/local/python/3.6.1/venv/pyvenv3.6.1/lib/python3.6/site-packages/eric6/e
> ric6.py [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> [New Thread 0x7fffd73be700 (LWP 13950)]
> [New Thread 0x7fffcdb26700 (LWP 13951)]
> [New Thread 0x7fffcd325700 (LWP 13952)]
> [New Thread 0x7fffc7154700 (LWP 13953)]
> [New Thread 0x7fffc5645700 (LWP 13955)]
> Warning: translation file 'qt_en_US'could not be loaded.
> Using default.
> Warning: translation file 'qscintilla_en_US'could not be loaded.
> Using default.
> BackgroundService listening on: 45645
> Detaching after fork from child process 13956.
> Detaching after fork from child process 13957.
> [New Thread 0x7fffb88e7700 (LWP 13958)]
> Detaching after fork from child process 13959.
> Detaching after fork from child process 13960.
> [New Thread 0x7fffb145c700 (LWP 13962)]
> [New Thread 0x7fffb0c5b700 (LWP 13963)]
> [New Thread 0x7fffabfff700 (LWP 13964)]
> [New Thread 0x7fffab7fe700 (LWP 13966)]
>
> (python:13946): Gtk-WARNING **: Invalid input string
>
> (python:13946): Gtk-WARNING **: Invalid input string
> [New Thread 0x7fffaaffd700 (LWP 13973)]
> [New Thread 0x7fffaa7fc700 (LWP 13974)]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007fffd6038c96 in update_current_folder_get_info_cb () from
> /lib64/libgtk-3.so.0
>
> #########
> root:root has ownership of /usr/local/python/3.6.1. I set myself up as the
> owner of the venv directory and below, (pyvenv3.6.1), etc.
>
> Thanks, Ben
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list