WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Vmware View Horison and Segmentation fault  (Read 6214 times)

Offline ahmjrd

  • WikiUser
  • *
  • Posts: 12
Vmware View Horison and Segmentation fault
« on: February 16, 2014, 08:41:56 AM »
Hi Guys

i have a problem with Vmware View client (all versions :D i'll give you the details)


when i run Vmware-view i can see the vmware login windows open adn after that i got the ERROR : SEGMENTATION FAULT . and the program exits.
this problem happens on my Ebox D300  hear is the Hardware Details :
processor : 0
Vendor_id : Generic RDC
cpu Fammily :5
mode l :8
cpu : 1GHz
clflush size : 32 bit
address size 32 bit


this happens on even tinycore and core plus / Version 5+ / i didnt check the oldest versions


hear is what i did to run the program :


i convert lots of Vmware versions as listed below :

vmware-horizon-view-client_2.1.0-2_amd64.deb  --> convert to tcz with de2tcz
vmware-horizon-view-client_2.1.0-2_i386.deb
vmware-view-client_2.1.0-0ubuntu0.12.10_i386.deb
vmware-view-client_2.2.0-0ubuntu0.12.04_i386.deb
vmware-view-client_2.2.0-0ubuntu0.14.04_i386.deb
vmware-view-client_4.6.0-366101-1_i386.deb

but when i run them on a 64 bit thin client every thing is fine

i also can PXE boot the tinycore and also can redirect the USB devices via Thinclient / zero client - but in this spesefic ebox-d300 i cant even run the vmware view client


i did lots of things
i installed the tiny core on the machine / i run live usb tiny core - i run via PXE / same Error .

i also don't know where can i read the system logs to find out what is the real problem

any help will be grate








Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Vmware View Horison and Segmentation fault
« Reply #1 on: February 16, 2014, 10:13:46 AM »
I can't find a single English website for that product.
I suggest you try it on better hardware, and if that doesn't work, post a request in the "request an extension"  thread.

Offline ahmjrd

  • WikiUser
  • *
  • Posts: 12
Re: Vmware View Horison and Segmentation fault
« Reply #2 on: February 17, 2014, 02:08:33 AM »
thanks for the reply

you can check this web site for hardware specs

http://www.clientron.com/en/product_detail.php?cid=4&id=50

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Vmware View Horison and Segmentation fault
« Reply #3 on: February 17, 2014, 12:35:49 PM »
1. What is the source of the software in question?
2. Have you tried to run same software with same hardware on any different system?

Boot with code "syslog", then in a terminal run
Code: [Select]
tail -f /var/log/messagesthen try to run your executable.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline ahmjrd

  • WikiUser
  • *
  • Posts: 12
Re: Vmware View Horison and Segmentation fault
« Reply #4 on: February 17, 2014, 08:44:27 PM »
hi
1- yes it works on 64bit processor and also it works on Vmware virtual machine / Sony Vaio laptop and also Dell inspiron Laptop/
2- i did try several ways for the Source :
       a. I did download the RPM package and download all the Dependencies in centOS , then i used alien to convert them to .deb and then i convert them to .tcz
       b. i download .deb file from http://archive.canonical.com/ubuntu/pool/partner/v/vmware-view-client/ and convert them to .tcz
       c. i download .tar.gz file and convert it to .deb and then to .tcz
i will post you the syslog in the next post
thanks for helping me
       

Offline ahmjrd

  • WikiUser
  • *
  • Posts: 12
Re: Vmware View Horison and Segmentation fault
« Reply #5 on: February 17, 2014, 09:27:02 PM »
let me tell you the procedure for installing Vmware view horizon client
 
1-  download the http://archive.canonical.com/ubuntu/pool/partner/v/vmware-view-client/vmware-view-client_2.2.0-0ubuntu0.12.04_i386.deb
2-  Install findutils.tcz and squashfs-tools.tcz
3- convert the .deb file to .tcz
4- tce-load -i vmware-view-client_2.2.0-0ubuntu0.12.04_i386.tcz
5- after that when i run vmware-view i got this error and i have to install zenity :
       /usr/bin/vmware-view: line 17: zenity not found
6- so for installing zenity i have to install these items too :
     - Xorg-7.5-lib.tcz   
     - graphics-libs-1.tcz
     - libxft.tcz
     - dbus.tcz
     - dbusglib.tcz
     - libnotify.tcz
     - zenity.tcz
7- after installing zenity when i run vmwar-view i got this error :
        zenity : error while loading shared libraries: libpng12.so.0: can not open shared object file : no such file or directory
8- so i search for the libpng and this is the result :
    /usr/local/lib/libpng.so
    /usr/local/lib/libpng16.so
    /usr/local/lib/libpng16.so.16
    /usr/local/lib/libpng16.so.1.2.0
    * and also same files in the /tmp/tcloop/libpng/usr/local/lib
9 - i run this command : ln -s  /usr/local/lib/libpng16.so.16   /lib/libpng12.so.0
10- after that when i run vmware-view the EULA screen pop up opens and after clicking the CLOSE bottom i got this error
   vmware-view.bin : error while loading shared libraries: libssl.so.0.9.8 : can not open shared object file : no such file or directory
11- again seraching for the libssl and this is the result :
    /usr/local/lib/libssl.so.1.0.0
   /usr/local/lib/libssl.so
12- next command is :    ln -s  /usr/local/lib/libssl.so.1.0.0   /lib/libssl.so.0.9.8
13- after that when i run vmware view this is the next error :
       vmware-view.bin : error while loading shared libraries: libcrypto.so.0.9.8 : can not open shared object file : no such file or directory
14-  next command is :    ln -s  /usr/local/lib/libcrypto.so.1.0.0   /lib/libcrypto.so.0.9.8
15- so now when i run vmware-iew the VMWare Horizon View Client login page appeares .
16- after typing the ip address of my server or what ever in the text box and clicking on the connect  :
     Segmentation fault




hear is the vmware-view log :


Feb 18 10:28:50.024: vmware-view.bin 6459| Log for vmware-view.bin pid=6459 version=2.2.0-1415252
Feb 18 10:28:50.065: vmware-view.bin 6459| Using locale directory /tmp/tcloop/vmware-view-client_2.2.0-0ubuntu0.12.04_i386/usr/bin/../share/locale
Feb 18 10:28:50.070: vmware-view.bin 6459| Couldn't open '/home/tc/.vmware/view-recent-brokers' for reading, no list of recent brokers
Feb 18 10:28:50.070: vmware-view.bin 6459| Couldn't open '/home/tc/.vmware/view-trusted-brokers' for reading, no list of trusted hosts.
Feb 18 10:28:50.070: vmware-view.bin 6459| Couldn't open '/etc/vmware/view-keycombos-config' for reading, no list of key combos for host.
Feb 18 10:28:50.084: vmware-view.bin 6459| Initializing smartcard modules
Feb 18 10:28:50.085: vmware-view.bin 6459| Could not open module directory /usr/lib/vmware/view/pkcs11: Error opening directory '/usr/lib/vmware/view/pkcs11': No such file or directory
Feb 18 10:28:50.099: vmware-view.bin 6459| Using glib version 2.38.2
Feb 18 10:28:50.100: vmware-view.bin 6459| Using gtk+ version 2.24.20
Feb 18 10:28:50.100: vmware-view.bin 6459| Using window manager Unknown
Feb 18 10:28:50.296: vmware-view.bin 6459| Built using OpenSSL 0.9.8y 5 Feb 2013
Feb 18 10:28:50.296: vmware-view.bin 6459| Using OpenSSL 1.0.0k 5 Feb 2013
Feb 18 10:28:50.296: vmware-view.bin 6459| Using libcurl/7.32.0 OpenSSL/1.0.0k zlib/1.2.8 c-ares/1.9.1
Feb 18 10:28:50.593: vmware-view.bin 6459| We cannot use all monitors.
Feb 18 10:30:15.496: vmware-view.bin 6459| Disconnecting from broker (null)



and the result of the tail -f /var/log/messages  is : user.info kernel : vmware-view.bin[8197]: segfault at 20 ip b6e50c17 sp bfcadae0 error 4 in libcrypto.ao.1.0.0[b6d95000+140000]


the result of ls -la /usr/local/lib/libcrypto.so.1.0.0 is poiting at : --> /tmp/tcloop/openssl-1.0/usr/local/lib/libcrypto.so.1.0.0
and
the result of ls -la /usr/local/lib/libcrypto.so is poiting at : --> /tmp/tcloop/openssl-1.0/usr/local/lib/libcrypto.so

if i chenge the command in lione 14 of this post to
           14* -  next command is :    ln -s  /usr/local/lib/libcrypto.so   /lib/libcrypto.so.0.9.8

the same error and the same syslog  :
and the result of the tail -f /var/log/messages  is : user.info kernel : vmware-view.bin[8197]: segfault at 20 ip b6e50c17 sp bfcadae0 error 4 in libcrypto.ao.1.0.0[b6d95000+140000]




   

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10944
Re: Vmware View Horison and Segmentation fault
« Reply #6 on: February 17, 2014, 10:22:13 PM »
You appear to be using extensions from tc-4.x with tc-5.x - it would be best to either use tc-4.x with extensions from the 4.x repo or tc-5.x with extensions from the 5.x repo.

There have been signifcant changes to Xlibs, libpng and openssl between tc-4.x and tc-5.x, hence the need not to mix the extensions (see tc-5.0 release notes for more details).

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10014
Re: Vmware View Horison and Segmentation fault
« Reply #7 on: February 18, 2014, 01:02:39 AM »
Your libpng and openssl links are likely the reason. The versions are not ABI compatible, you are asking for crashes by doing those symlinks.
The only barriers that can stop you are the ones you create yourself.

Offline ahmjrd

  • WikiUser
  • *
  • Posts: 12
Re: Vmware View Horison and Segmentation fault
« Reply #8 on: February 18, 2014, 03:49:21 AM »
Dear    curaga
Thank you for your reply
1st : waht is ABI ?
2nd what can i do about that ?

Offline ahmjrd

  • WikiUser
  • *
  • Posts: 12
Re: Vmware View Horison and Segmentation fault
« Reply #9 on: February 18, 2014, 03:50:51 AM »
Dear  Juanito
Thanks for the rely

i didnt find ZENITY for TC5.
now i'll try to install this on TC 4 and let you know the result
thanks again

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6722
Re: Vmware View Horison and Segmentation fault
« Reply #10 on: February 18, 2014, 07:41:16 AM »
Hi ahmjrd
It stands for  application binary interface  and it basically defines the types of variables being passed to a software routine
in a library. If a routine expects to be given  variable1, variable2, variable3  but you are using an older program that only
passes it  variable1, variable2  it will still pop  variable3  off of the stack and try to access some random memory location
which can lead to a segmentation fault.

Offline ahmjrd

  • WikiUser
  • *
  • Posts: 12
Re: Vmware View Horison and Segmentation fault
« Reply #11 on: February 18, 2014, 08:37:53 PM »
Dear Rich
Thanks for the tip
that was a nice bunch of info

now i am working on TC 4.7.7 it seams that things are better hear
now i'm facing some new errors about the display protocol ,
i'm working on it and let you guys now about the results