Sponsored Content
Operating Systems Solaris Solaris 10 Shared Memory Corruption with X11 Post 303008675 by salerno on Monday 4th of December 2017 09:44:24 PM
Old 12-04-2017
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; 12-04-2017 at 11:03 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

'memory corruption' error when using Awk

Hello, everyone. I got the following error when I am using awk to analysis some text file: *** glibc detected *** awk: malloc(): memory corruption: 0x080c67f8 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6 /lib/tls/i686/cmov/libc.so.6... (5 Replies)
Discussion started by: kooyee
5 Replies

2. Solaris

shared memory in solaris 10 with oracle

Hi, I am a newbie to solaris and i have some questions on shared memory, Oracle in Solaris My Questions might seem different, however please do read and try to answer. Thanks in advance. 1) if a solaris server has say 40gb of Ram, what would be the maximum size of a shared memory segment in... (1 Reply)
Discussion started by: kris123456@gmai
1 Replies

3. Programming

readdir and dynamic array memory corruption

Hi everyone I am developing an utility. At some part of it I read directory entries to a dynamic array: struct list It stores pointers to items: list.entries, which are structures: struct entry If a number of files in a directory is greater then number of elements an array was initially... (11 Replies)
Discussion started by: torbium
11 Replies

4. Programming

./match_pattern.out: malloc(): memory corruption: 0x0000000013a11600 ***

Hi All, I have a simple code which does some computation by matching string patterns. In brief: 1. The code reads .dat and .txt files. 2. .dat files are huge text files and .txt files contain some important words. 3. I am just doing strstr to find the patterns. 4. The function returns the... (3 Replies)
Discussion started by: shoaibjameel123
3 Replies

5. Programming

*** glibc detected *** ./a.out: malloc(): memory corruption (fast):

*** glibc detected *** ./a.out: malloc(): memory corruption (fast): Posted A minute ago M trying to make multiway tree and dont know what happend when this part of code get executed: 01void ins(NODE *ptr) 02{ 03 //working 04 if(ptr!=NULL) 05 { 06 SNODE *var=NULL; 07 var=(SNODE... (3 Replies)
Discussion started by: exgenome
3 Replies

6. Programming

Shared library with acces to shared memory.

Hello. I am new to this forum and I would like to ask for advice about low level POSIX programming. I have to implement a POSIX compliant C shared library. A file will have some variables and the shared library will have some functions which need those variables. There is one special... (5 Replies)
Discussion started by: iamjag
5 Replies

7. Programming

*** glibc detected *** ./a.out malloc() memory corruption

I am facing a problem of memory corruption. The loop runs for the first time but does not go through the second time. What could be the problem? for(int z=0;z<2;z++) { fp=fopen("poly.dat","r"); /*do something which reads this file into a 2D array*/ fclose(fp); ... (10 Replies)
Discussion started by: dare
10 Replies

8. Programming

C++ glibc detected double free or corruption(!prev) using shared library

Currently I test a shared library vendor provided in linux , the following is the simple source : #include <iostream> using namespace std; extern int test1(); extern int test2(); int main() { cout << "hello world" << endl ; return 0 ; cout << "Test 1" << endl; ... (6 Replies)
Discussion started by: barfatchen
6 Replies

9. Programming

Memory corruption in dynamic array of strings

I put together a C function to add strings to a dynamic array of strings (mostly for educational purpose to explain pointers to my kid). It works, but sometimes one or two strings in the array becomes corrupted. Running example on 64 bit Ubuntu, gcc ver. 4.8.4 Hope my code is self-explanatory: ... (2 Replies)
Discussion started by: migurus
2 Replies

10. Solaris

Solaris 11.2 x86 Local Zones for Oracle RAC database, intermittent Memory corruption of db

Hi, I was wondering if any Solaris fellow out there has dealt with running Solaris 11 x86 on Local Zones for Oracle RAC (which may or may not be relevant to issue), running on HP gen h/w. Every so often could be weeks between issues or some times days, there will be a memory corruption and db... (2 Replies)
Discussion started by: crossmypath
2 Replies
lsmsad(8)						      System Manager's Manual							 lsmsad(8)

NAME
lsmsad - Starts the Storage Administrator (SA) daemon SYNOPSIS
/usr/sbin/lsmsad DESCRIPTION
The SA daemon, lsmsad, is a process required by lsmsa, the SA graphical user interface (GUI). The daemon issues commands and obtains system information on behalf of SA. The SA daemon runs on a Tru64 UNIX system on which LSM is initialized and running. The SA client runs on any machine that supports the Java Runtime Environment. The SA daemon is automatically started at boot time. Under normal conditions, the daemon does not need to be run manually. If SA does not start during the boot process, enter: /sbin/init.d/lsmsa stop To restart SA, enter: /sbin/init.d/lsmsa start Only one SA daemon can be running on a system at a given time. If a second SA daemon attempts to start, it will fail. RESTRICTIONS
You must be root user to run lsmsad. FILES
The script that starts lsmsad at boot time. The command log file that tracks SA tasks. The access log file that tracks login to SA. The server log file that tracks server startup information and server errors. The log maintenance shell script that saves and compresses log files. SEE ALSO
lsmsa(8), volintro(8) lsmsad(8)
All times are GMT -4. The time now is 02:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy