[Eric] Seg Fault On Opening Dialog Box

Helen Ready plunozero at gmail.com
Tue May 30 16:48:56 BST 2017


Hi Detlev,

Sorry about the long delay.

"can you be a bit more specific about which kind of dialogs cause a
segfault?" <<  I would be happy to help out... not sure if I can supply
what you're looking for but I will try to be more specific:  I load the
Preferences window under Settings >> Preferences in Eric IDE 17.05.  Then,
for example, I go to the "Qt" section titled "Configure Qt".  Under the "Qt
Tools" subsection, at the far right, I click on icon that looks like a blue
printer with a white sheet coming out of the top, aka the Open File dialog
box.  It has a tooltip with info "Enter the path of the Qt tools directory,
if they are not found".  A separate window begins to open with a titled
border but with a blank, black interior screen and then it crash the Eric
IDE entirely with a seg fault returning me to the command line in my
original terminal.

I am under the default Gnome windowing package bundled with CentOS 7.
CentOS 7 is designed and built for stability and so I am supplied with
Gnome 3.14.4.

"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)."  <<  That's
interesting...  from what I gather on the GBD reporting of "Gtk-WARNING **:
Invalid input string", I would think this means it's still trying to open a
"native" Gtk dialog box instead of using Qt's self-supplied dialog box?

What other sort of commands or screenshots would help you further discern
this?  Could you provide me with some examples of what you mean by "kind of
dialogs"?  The main Eric IDE window does not crash nor any tool tips.  So
far, I've only encountered it while trying to set up Eric IDE with correct
paths by using the Path Open icon on the far right of various sections in
the Preferences module.

Thanks,
Ben

On Tue, May 23, 2017 at 12:26 PM, Detlev Offenbach <detlev at die-offenbachs.de
> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20170530/16954104/attachment.html>


More information about the Eric mailing list