PR# 19611 19.12 GPL version does not launch on Manjaro linux

Problem Report Summary
Submitter: gour
Category: EiffelStudio
Priority: Medium
Date: 2020/01/08
Class: Installation
Severity: Critical
Number: 19611
Release: 19.12
Confidential: No
Status: Closed
Responsible: jfiat_es
Environment: linux
Synopsis: 19.12 GPL version does not launch on Manjaro linux

Description
Hello!

I've installed 19.12 GPL version, but after invoking 'estudio', for a brief moment of time I see the splash/logo, but then the application does exit.

$ pkg-config --modversion gtk+-2.0                                                    
2.24.32

I've libxtst-1.2.3 installed. 

$ ldd /home/gour/opt/Eiffel_19.12/studio/spec/linux-x86-64/bin/estudio                 
	linux-vdso.so.1 (0x00007fff295b7000)
	libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007f779abe5000)
	libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007f779a931000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f779a90b000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f779a8bd000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f779a861000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f779a85c000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f779a735000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f779a5ef000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f779a5cd000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f779a406000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f779a3f6000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f779a2b6000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f779a2ab000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007f779a282000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f779a15e000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f7799fae000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f7799f97000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f7799f50000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f7799f41000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f7799f3c000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f7799f29000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f7799f1c000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f7799f10000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007f7799f0b000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007f7799f04000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f7799eef000)
	libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007f7799ed1000)
	libthai.so.0 => /usr/lib/libthai.so.0 (0x00007f7799ec6000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f7799dc2000)
	libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f7799db7000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f7799db0000)
	libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f7799d3d000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f779b259000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f7799d13000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f7799c69000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f7799b9b000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f7799b61000)
	libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f7799b5c000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f7799b4c000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f7799b32000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007f7799b27000)
	libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f7799ac7000)
	libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f7799aac000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f7799a7c000)
	libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f7799a73000)
	libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007f779986c000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f7799847000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f7799840000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f7799838000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f7799825000)
	libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007f77997cf000)

$ gdb /home/gour/opt/Eiffel_19.12/studio/spec/linux-x86-64/bin/estudio                 
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/gour/opt/Eiffel_19.12/studio/spec/linux-x86-64/bin/estudio...
(No debugging symbols found in /home/gour/opt/Eiffel_19.12/studio/spec/linux-x86-64/bin/estudio)
(gdb) run
Starting program: /home/gour/opt/Eiffel_19.12/studio/spec/linux-x86-64/bin/estudio 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Detaching after fork from child process 16719]
[New Thread 0x7ffff3f11700 (LWP 16720)]
[Thread 0x7ffff3f11700 (LWP 16720) exited]
[Inferior 1 (process 16710) exited normally]

Anything else I can try?


Sincerely,
Gour
To Reproduce

										
Problem Report Interactions
From:jfiat_es    Date:2020/01/16    Status: Closed    Download   
The issue was the missing  ` -x ` .. which is the correct "translation" of "export ISE_EIFFEL=.."  in fish shell.

i.e

set -x ISE_EIFFEL /home/eiffel/opt/Eiffel_19.05
set -x ISE_PLATFORM linux-x86-64
set -g -x PATH $PATH $ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin

In additon, I would suggest to add the following paths to the PATH
   $ISE_EIFFEL/tools/spec/$ISE_PLATFORM/bin
   $ISE_EIFFEL/library/gobo/spec/$ISE_PLATFORM/bin

Regards




From:gour    Date:2020/01/15    Status: Analyzed    Download   
Hello,

I've tried your steps...and it works.

However, I noticed what is the problem, but can't explain why...

The difference is that I use fish-shell, so can you try 

1.  to install fish shell:
sudo pacman -S fish

2. change default shell to fish

$ chsh (set to /usr/bin/fish)

3. define following variables in ~/.config/fish/config.fish
set ISE_EIFFEL /home/eiffel/opt/Eiffel_19.05
set ISE_PLATFORM linux-x86-64
set -g -x PATH $PATH $ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin

4. try to execute
$ estudio

Here it fails, while when running under bash it does work, so I'm really curious what kind of bash-ism is there in EiffelStudio?


From:jvelilla    Date:2020/01/15    Status: Analyzed    Download   
I was able to install EiffelStudio 19.05 GPL on Manjaro 18.1.5 GNOME edition without any issues.

After the Linux Manjaro install, I did the following steps.

1. Update the system
sudo pacman -Syu

2.Install gcc and make
sudo pacman -S gcc make

3. Download Eiffel_19.05_gpl_103187-linux-x86-64.tar.bz2

4. Uncompress EiffelStudio  
tar -xvf Downloads/Eiffel_19.05_gpl_103187-linux-x86-64.tar.bz2 

5 Update .bashrc with the following environment variables (using the path where I've extracted `/home/eiffel/Eiffel_19.05`)

gedit ~/.bashrc

export ISE_EIFFEL=/home/eiffel/Eiffel_19.05
export ISE_PLATFORM=linux-x86-64
export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin

6. Refresh the environment
. ~/.bashrc

7. Launch EiffelStudio
estudio

Please let me know if this helps.






From:gour    Date:2020/01/14    Status: Analyzed    Download   
> Which version of Manjaro are you using XFCE, KDE Plasma or GNOME?

GNOME and stable-branch of Manjaro.

From:jvelilla    Date:2020/01/14    Status: Analyzed    Download   
Which version of Manjaro are you using XFCE, KDE Plasma or GNOME?

From:jfiat_es    Date:2020/01/13    Status: Analyzed    Download   
We are trying to reproduce this issue by installing Manjaro Linux.

From:gour    Date:2020/01/12    Status: Analyzed    Download   
I've download newer beta and after running 'ec -gui' I get the following (see the screenshot).

Sincerely,
Saša

Attachment: es.png     Size:681247
From:gour    Date:2020/01/09    Status: Analyzed    Download   
Probably of not much value, but I'm including gdb.log...

Attachment: gdb.log     Size:124524
From:gour    Date:2020/01/09    Status: Analyzed    Download   
$ ec -gui does produce a crash and I'm including es.log in the attachment.

Same/similar thing with 19.05 - see es-05.log.


Sincerely,
Saša

Attachment: es.log     Size:5037
Attachment: es-05.log     Size:4083
From:jfiat_es    Date:2020/01/09    Status: Analyzed    Download   
Do you have the same issue with previous version(s) of EiffelStudio , 19.05 for instance?
Can you also try to launch EiffelStudio using " ec -gui " ? ("estudio" on Linux does more or less the same)

By any luck, did you try on a fresh installation of Manjaro linux ?