Author Topic: PI 0651 crashes on Ubuntu 64bit  (Read 2844 times)

Offline Tony Morris

  • Newcomer
  • Posts: 30
    • View Profile
    • http://www.msas.org.uk
PI 0651 crashes on Ubuntu 64bit
« on: 2011 January 18 15:06:56 »
Juan

I have just updated my 64bit Ubuntu 10.10 (Linux 2.6.35-23-generic) to 0651.
I simply extract all the new files to the existing PI folder (as I have done previously)
If i do a simple image histogram stretch and then simply close the image I do not get a save warning dialogue and PI crashes. I then cannot start PI by clicking on the PI icon I normally use, if I do multiple clicks PI opens up but it is instance (2)..
If I try to do the auto update it downloads after i have entered my user details and then crashes
I tried to install 0644 (I missed that version out initially) and that launches and immediately crashes.

If I revert back to 0625 PI is rock steady as usual! :D

Regards
Tony
PS I don't have any other issues with my system as far as I know
 

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 6934
    • View Profile
    • http://pixinsight.com/
Re: PI 0651 crashes on Ubuntu 64bit
« Reply #1 on: 2011 January 18 15:21:23 »
Hi Tony,

This is very strange, as PI 1.5.9 is verified to run on Ubuntu 10.1 out of the box, both 32-bit and 64-bit versions.

Please open a terminal and enter the following commands:

cd directory_where_you_have_pi/bin
export LD_LIBRARY_PATH=.:./lib
ldd ./PixInsight


and tell me what's the output of ldd.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Tony Morris

  • Newcomer
  • Posts: 30
    • View Profile
    • http://www.msas.org.uk
Re: PI 0651 crashes on Ubuntu 64bit
« Reply #2 on: 2011 January 19 11:45:30 »
Juan
The output
Tony

tony@Corei7_920:~/Pixinsight/bin$ export LD_LIBRARY_PATH=.:./lib
tony@Corei7_920:~/Pixinsight/bin$ ldd ./PixInsight
   linux-vdso.so.1 =>  (0x00007fffe25ff000)
   libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fc4c1548000)
   libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fc4c132d000)
   libXi.so.6 => /usr/lib/libXi.so.6 (0x00007fc4c111c000)
   libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fc4c0f12000)
   libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007fc4c0d09000)
   libfreetype.so.6 => ./lib/libfreetype.so.6 (0x00000039ac800000)
   libfontconfig.so.1 => ./lib/libfontconfig.so.1 (0x00000039ad000000)
   libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fc4c0af6000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fc4c07bf000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fc4c05ba000)
   libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fc4c036e000)
   librt.so.1 => /lib/librt.so.1 (0x00007fc4c0165000)
   libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00007fc4bfe83000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x00007fc4bfc66000)
   libdl.so.2 => /lib/libdl.so.2 (0x00007fc4bfa61000)
   libresolv.so.2 => /lib/libresolv.so.2 (0x00007fc4bf848000)
   libcom_err.so.2 => ./lib/libcom_err.so.2 (0x00000039b1000000)
   libidn.so.11 => ./lib/libidn.so.11 (0x00000039c0c00000)
   libz.so.1 => ./lib/libz.so.1 (0x00000039a9000000)
   libssh2.so.1 => ./lib/libssh2.so.1 (0x0000003c95e00000)
   libQtGui.so.4 => ./lib/libQtGui.so.4 (0x00007fc4bead1000)
   libQtSvg.so.4 => ./lib/libQtSvg.so.4 (0x00007fc4be874000)
   libQtXml.so.4 => ./lib/libQtXml.so.4 (0x00007fc4be626000)
   libQtWebKit.so.4 => ./lib/libQtWebKit.so.4 (0x00007fc4bcf1d000)
   libQtNetwork.so.4 => ./lib/libQtNetwork.so.4 (0x00007fc4bcbe0000)
   libQtCore.so.4 => ./lib/libQtCore.so.4 (0x00007fc4bc70b000)
   libjs-pxi.so => ./libjs-pxi.so (0x00007fc4bc41e000)
   liblcms-pxi.so => ./liblcms-pxi.so (0x00007fc4bc1cb000)
   libstdc++.so.6 => ./lib/libstdc++.so.6 (0x00000039acc00000)
   libm.so.6 => /lib/libm.so.6 (0x00007fc4bbf47000)
   libgcc_s.so.1 => ./lib/libgcc_s.so.1 (0x00000039ab800000)
   libc.so.6 => /lib/libc.so.6 (0x00007fc4bbbc4000)
   libuuid.so.1 => ./lib/libuuid.so.1 (0x00000039ac400000)
   libexpat.so.1 => ./lib/libexpat.so.1 (0x00000039ab400000)
   libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fc4bb9a5000)
   libpcre.so.3 => /lib/libpcre.so.3 (0x00007fc4bb774000)
   /lib64/ld-linux-x86-64.so.2 (0x00007fc4c1772000)
   libssl.so.10 => ./lib/libssl.so.10 (0x0000003fa7e00000)
   libcrypto.so.10 => ./lib/libcrypto.so.10 (0x0000003f86800000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fc4bb56f000)
   libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fc4bb369000)
   libgssapi_krb5.so.2 => ./lib/libgssapi_krb5.so.2 (0x00000039b2000000)
   libkrb5.so.3 => ./lib/libkrb5.so.3 (0x00000039b2400000)
   libk5crypto.so.3 => ./lib/libk5crypto.so.3 (0x00000039b1400000)
   libkrb5support.so.0 => ./lib/libkrb5support.so.0 (0x00000039b2800000)
   libkeyutils.so.1 => ./lib/libkeyutils.so.1 (0x00000039b1800000)
   libselinux.so.1 => /lib/libselinux.so.1 (0x00007fc4bb148000)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 6934
    • View Profile
    • http://pixinsight.com/
Re: PI 0651 crashes on Ubuntu 64bit
« Reply #3 on: 2011 January 19 12:00:52 »
Hi Tony,

You have a mix of new and old files from previous versions. For example, the new versions of PI no longer include 'libfreetype', 'libcom_err' and other system libraries that were being distributed with previous versions, and you have them on bin/lib. Have you uncompressed the tar.gz for version 1.6.9 over a previous installation?

Create a new directory (or empty the directory where you have PI installed now), copy the tar.gz for 1.6.9 on it, and extract with tar -xzf. It must work without problems on Ubuntu 10.1.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Tony Morris

  • Newcomer
  • Posts: 30
    • View Profile
    • http://www.msas.org.uk
Re: PI 0651 crashes on Ubuntu 64bit
« Reply #4 on: 2011 January 19 13:53:11 »
Juan
I deleted the entire PI folder and extracted into a new folder
No luck, it still crashes.

tony@Corei7_920:~/PixInsight/bin$ export LD_LIBRARY_PATH=.:./lib
tony@Corei7_920:~/PixInsight/bin$ ldd ./PixInsight
   linux-vdso.so.1 =>  (0x00007fffd3163000)
   libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fe6e571d000)
   libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fe6e5502000)
   libXi.so.6 => /usr/lib/libXi.so.6 (0x00007fe6e52f1000)
   libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fe6e50e7000)
   libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007fe6e4ede000)
   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fe6e4c56000)
   libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fe6e4a21000)
   libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fe6e480f000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fe6e44d8000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fe6e42d3000)
   libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fe6e4087000)
   librt.so.1 => /lib/librt.so.1 (0x00007fe6e3e7e000)
   libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00007fe6e3b9c000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe6e397f000)
   libdl.so.2 => /lib/libdl.so.2 (0x00007fe6e377a000)
   libresolv.so.2 => /lib/libresolv.so.2 (0x00007fe6e3561000)
   libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007fe6e335d000)
   libidn.so.11 => /usr/lib/libidn.so.11 (0x00007fe6e3129000)
   libz.so.1 => /lib/libz.so.1 (0x00007fe6e2f11000)
   libssh2.so.1 => ./lib/libssh2.so.1 (0x0000003c95e00000)
   libQtGui.so.4 => ./lib/libQtGui.so.4 (0x00007fe6e219b000)
   libQtSvg.so.4 => ./lib/libQtSvg.so.4 (0x00007fe6e1f3e000)
   libQtXml.so.4 => ./lib/libQtXml.so.4 (0x00007fe6e1cf0000)
   libQtWebKit.so.4 => ./lib/libQtWebKit.so.4 (0x00007fe6e05e7000)
   libQtNetwork.so.4 => ./lib/libQtNetwork.so.4 (0x00007fe6e02aa000)
   libQtCore.so.4 => ./lib/libQtCore.so.4 (0x00007fe6dfdd5000)
   libjs-pxi.so => ./libjs-pxi.so (0x00007fe6dfae8000)
   liblcms-pxi.so => ./liblcms-pxi.so (0x00007fe6df895000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fe6df58f000)
   libm.so.6 => /lib/libm.so.6 (0x00007fe6df30b000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fe6df0f5000)
   libc.so.6 => /lib/libc.so.6 (0x00007fe6ded72000)
   libuuid.so.1 => /lib/libuuid.so.1 (0x00007fe6deb6c000)
   libexpat.so.1 => /lib/libexpat.so.1 (0x00007fe6de943000)
   libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fe6de725000)
   libpcre.so.3 => /lib/libpcre.so.3 (0x00007fe6de4f4000)
   /lib64/ld-linux-x86-64.so.2 (0x00007fe6e5947000)
   libssl.so.10 => ./lib/libssl.so.10 (0x0000003fa7e00000)
   libcrypto.so.10 => ./lib/libcrypto.so.10 (0x0000003f86800000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fe6de2ef000)
   libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fe6de0e9000)
   libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007fe6ddeb4000)
   libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007fe6ddbf2000)
   libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007fe6dd9cc000)
   libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007fe6dd7c4000)
   libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00007fe6dd5c0000)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 6934
    • View Profile
    • http://pixinsight.com/
Re: PI 0651 crashes on Ubuntu 64bit
« Reply #5 on: 2011 January 21 03:49:10 »
Hi Tony,

Apparently everything is correct, so this is really weird. It should be working fine as it works in my Ubuntu test machines (32-bit and 64-bit versions of Ubunto 10.1 on VMware virtual machines).

I'm going to double-check it and see if some recent updates to Ubuntu could be causing problems. Sorry for the inconvenience!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Tony Morris

  • Newcomer
  • Posts: 30
    • View Profile
    • http://www.msas.org.uk
Re: PI 0651 crashes on Ubuntu 64bit
« Reply #6 on: 2011 January 22 12:42:43 »
Hi Juan

I've found the issue on my system, I have reset my desktop theme and PI runs like a dream again, it auto installed the updates first time as well.
If I switch back to the old theme I was running (and have run for some time) I can crash Pi every time.

Before I changed the desktop theme I ran strace to see if I could find out what was happening. When I clicked on the window close button there was a number of error messages which seemed to be around the button icons and missing directories. Please note I have no idea what I am doing here!!!!  :-[

But It made me look at the environment

Anyway Pi is back to normal

Cheers
Tony

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 6934
    • View Profile
    • http://pixinsight.com/
Re: PI 0651 crashes on Ubuntu 64bit
« Reply #7 on: 2011 January 23 01:53:37 »
Hi Tony,

Happy to know it's working again. That desktop theme must be buggy or is problematic for some reason. This happens sometimes and is one of the main causes of problems on Linux.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/