LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 08-16-2008, 09:17 AM   #16
kebabbert
Member
 
Registered: Jul 2005
Posts: 527

Rep: Reputation: 46

Quote:
Originally Posted by javier.e.menendez View Post
Hi Jlliagre:

I have no idea where you got the information that applications written for solaris 8 are "guaranteed" to run on 10.
http://www.sun.com/software/solaris/guarantee.jsp
 
Old 08-16-2008, 11:55 AM   #17
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Hi Javier.

I share your concerns so let me clarify my posting. I wrote application correctly written are guaranteed to run. By correctly written, I mean applications that are not using deprecated, undocumented or exotic APIs.

You are right about support, it is up to the software vendor to provide or not to provide support for a new OS release. Sun is guaranteeing to its supported customers that adhere the compatibility program an eligible application binary will work. Sun doesn't guarantee support for non Sun products.

I wasn't suggesting to upgrade the OP production platform to a newer version of Solaris. I was suggesting to build a test platform to investigate the issue. Depending on the application, that might simple or not, especially if a different license is required to install and use the application.

Finally, a core file coming from a non instrumented binary is unlikely to help finding a memory leak.

Quote:
...
We've made sure your engineers know that moving from Solaris 8 or 9 to Solaris 10 takes no work, given that we offer true binary compatibility. If you're on SPARC, and you'd like to take advantage of a world of x86 systems, it's a simple recompile. There's no recoding at all. Same applies to scaling up from Intel or Opteron to SPARC. No recoding.
...
Jonathan Schwartz,
President, Chief Operating Officer
Sun Microsystems, Inc.
 
Old 08-17-2008, 06:52 AM   #18
javier.e.menendez
Member
 
Registered: Jan 2006
Posts: 168

Rep: Reputation: 30
Hi guys:

Going back to the original quote from Jlliagre "Applications correctly written for Solaris 8 are guaranteed to run on newer releases", which triggered my original response, here are my questions:

1. How do any of us know if the application is written "correctly"?

2. Even if you look at the "guarantee" from Sun, you can see that:

a> "If an application meets the program guidelines and does not recompile", meaning that it may not run and it
could fail right of the bat.

b> "If an application experiences compatibility problems when running on the Solaris 10 Operating System, Sun
will analyze the problem and provide the appropriate remedy as set forth in the Solaris Application Guarantee
Program", which once again it shows that altough Sun will try to help, upgrading to Solaris 10 may not be the
automatic solution to such problem.

Lastly, the original poster indicated that they don't have solaris 10 running on any boxes and there are a lot of
employers that will fire the employee if they install unapproved version in the work area. Trust me on this, if you deal with the government (mainly) here, there is so much red tape and procedures to follow that it takes forever to
get an approval.

Now, going back to the original problem, if the guy runs a savecore -L and generates a live crash dump, he could
try to send the resulting files (unix.x and vmcore.x) to the kernel team, which could tell him in detail why (meaning what library/function/thread/whatever) is not releasing memory) and then he could show those results to
the person or company that wrote the application to begin with.

I do agree with Jlliagre that if it was possible, running the app on 10 would make it easier to debug via newer tools like dtrace. But again, upgrading may not be a possibility here.

Have a good sunday,

Javier
 
Old 08-17-2008, 06:54 AM   #19
javier.e.menendez
Member
 
Registered: Jan 2006
Posts: 168

Rep: Reputation: 30
And by the way, what application are we talking about? It would be nice to know.

LOL

Javier
 
Old 08-18-2008, 09:02 AM   #20
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by javier.e.menendez View Post
1. How do any of us know if the application is written "correctly"?
Nobody knows. That shouldn't prevent to try running it.
Quote:
2. Even if you look at the "guarantee" from Sun, you can see that:

a> "If an application meets the program guidelines and does not recompile", meaning that it may not run and it could fail right of the bat.

b> "If an application experiences compatibility problems when running on the Solaris 10 Operating System, Sun will analyze the problem and provide the appropriate remedy as set forth in the Solaris Application Guarantee Program", which once again it shows that altough Sun will try to help, upgrading to Solaris 10 may not be the automatic solution to such problem.
This debate is pointless. The OP poster is unlikely to be engaged in this compatibility program anyway. My point is Sun engineering is committing to provide compatibility from older to newer Solaris releases. This is an important differentiator that is worth knowing compared with Linux, AIX, HP-UX. This is something real, I have no statistics but most application I tried worked as is or with very little change. This is something that might be useful in certain situations including the one this thread is about.
Quote:
Lastly, the original poster indicated that they don't have solaris 10 running on any boxes and there are a lot of employers that will fire the employee if they install unapproved version in the work area. Trust me on this, if you deal with the government (mainly) here, there is so much red tape and procedures to follow that it takes forever toget an approval.
That might be the case or not, but nothing you and I can help to fix. Most companies, government owned or not, I use to work with are certainly willing to build whatever platform in order to help investigating an issue. Again, I do not suggest to migrate the production platform to Solaris 10 (although it would be a smart move), I suggest to build a test platform. This platform might be disconnected from the "work area" if that is a concern to the OP.
Quote:
Now, going back to the original problem, if the guy runs a savecore -L and generates a live crash dump, he could try to send the resulting files (unix.x and vmcore.x) to the kernel team, which could tell him in detail why (meaning what library/function/thread/whatever) is not releasing memory) and then he could show those results to the person or company that wrote the application to begin with.
I'm afraid you are over-optimistic about what a kernel dump file contains and can be used to. A kernel memory leak will be detected, but as far as I understand, we are talking about an application leak. AFAIK, only application stacks, not their virtual memory, are stored in these dumps. The kernel team members are undoubtedly smart guys but I wouldn't expect them to exercise ESP.

Last edited by jlliagre; 08-18-2008 at 09:03 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Core Dump on Solaris (Question about core file) dayalan_cse Solaris / OpenSolaris 5 12-29-2014 07:56 AM
Difference between kernel - debugging and application debugging topworld Linux - Software 2 03-30-2006 12:50 AM
Debugging with gdb, core.xxxx files, howto? GlennsPref Linux - Software 3 01-12-2006 07:55 PM
Visual Debugging and Linux Kernel Debugging Igor007 Programming 0 09-30-2005 10:33 AM
Help debugging with gdb and core files moon.es Programming 1 05-28-2005 04:58 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration