Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Solaris 10 Shared Memory Corruption with X11

Solaris


Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 1 Week Ago   -   Original Discussion by salerno
salerno's Unix or Linux Image
salerno salerno is offline
Registered User
 
Join Date: Dec 2017
Last Activity: 5 December 2017, 5:42 PM EST
Location: Los Angeles
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Solaris 10 Shared Memory Corruption with X11

I am having a problem with shared memory corruption. I have two 86 servers running Solaris 10 (150400-06). One of the servers is accessed by a Sun Ray thin client Version 11.1.3.0.2.6. I login into server one from the thin client. I then ssh -X to server two. When a process that contains a Java GUI is started on server 2 sometimes it will override another process’s shared memory on server 1. I found a simple scenario which causes the issue. I reboot both servers, login into server one from the Sun Ray, then ssh -X from server 1 to server 2 and run JConsole. The first time JConsole is started the images on the top of the GUI is corrupted. The second time JConsole is started the images on the top of the GUI are partially corrupted. The third time JConsole is started the display is correct. When I start my process that accesses shared memory and I start JConsole and the images are corrupted my process's shared memory becomes corrupted. I have tried JRE 1.6.20 and 1.6.65, and both Xnewt and Xsun. I have set the shared memory environment variables to both true and false in the dtprofile on both servers (always the same on both servers). It seems that the GUI images are over writing memory on server 1. Has anyone seen this behavior?

Last edited by salerno; 1 Week Ago at 11:03 PM..
Sponsored Links
    #2  
Old Unix and Linux 1 Week Ago   -   Original Discussion by salerno
hicksd8's Unix or Linux Image
hicksd8 hicksd8 is offline Forum Staff  
Moderator
 
Join Date: Feb 2012
Last Activity: 14 December 2017, 3:30 PM EST
Location: Devon, UK
Posts: 1,664
Thanks: 241
Thanked 408 Times in 346 Posts
My money would be on a mismatch between the JRE versions on the two servers. Sunray defaults for a JRE installation in /usr/java which is then linked to the actual JRE directory.

What says:


Code:
# ls -l /usr/java

on each server to see what it's linked to?

The versions should be the same

Last edited by hicksd8; 1 Week Ago at 01:58 PM..
Sponsored Links
    #3  
Old Unix and Linux 1 Week Ago   -   Original Discussion by salerno
salerno's Unix or Linux Image
salerno salerno is offline
Registered User
 
Join Date: Dec 2017
Last Activity: 5 December 2017, 5:42 PM EST
Location: Los Angeles
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I checked and server 1 is using 1.6.20 and server 2 is using 1.6.22. We will run a test tomorrow with the same versions.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
C++ glibc detected double free or corruption(!prev) using shared library barfatchen Programming 6 12-05-2014 03:40 PM
./match_pattern.out: malloc(): memory corruption: 0x0000000013a11600 *** shoaibjameel123 Programming 3 09-11-2011 08:34 PM
readdir and dynamic array memory corruption torbium Programming 11 01-28-2011 10:01 PM
shared memory in solaris 10 with oracle kris123456@gmai Solaris 1 01-19-2011 07:25 AM
'memory corruption' error when using Awk kooyee UNIX for Dummies Questions & Answers 5 07-09-2009 01:36 PM



All times are GMT -4. The time now is 08:41 PM.