LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2016, 03:57 PM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,166
Blog Entries: 4

Rep: Reputation: 131Reputation: 131
How to make sense of strace output?


How do I understand strace output?

I'm trying to troubleshoot a 3rd part app (see this thread):

http://www.linuxquestions.org/questi...ot-4175573467/

I'm using strace with various flags and sending output a file, however I'm not
familiar with what I'm really looking at. I've found a few URLs, however still not sure.

Looking for a little mentoring here..

thanks

Last edited by JockVSJock; 05-20-2016 at 04:06 PM.
 
Old 05-20-2016, 10:18 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
from that other post

this is only a GUESS so ...

the shel script you are using to launch it
i am betting it sets environment variables

you have read through it and worked out what each part dose ?

and are there any settings that need setting

i have a few programs like that ( ISIS3 and Stereo pipeline and parts of the Neo-Geography toolkit )
they normally NEED the install location defined

or are something like "Freenet" and the "run.sh" used to run it needs the start,stop,restart command

Last edited by John VV; 05-20-2016 at 10:19 PM.
 
Old 05-23-2016, 08:20 AM   #3
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,166
Blog Entries: 4

Original Poster
Rep: Reputation: 131Reputation: 131
Yes it is a .sh file that kicks off the program I can view with VIM. I will step thru the code and see what I can figure out with it.

The first few lines does set this PATH for system binaries, which to mean seems normal.

Code:
PATH=${PATH}:/usr/sbin:/sbin
AFAIK, there are nothing that can get passed to it via CML, other then start | stop | disable | enable | stat, nothing that I see or saw during the install to point to an install location.
 
  


Reply

Tags
core dump, strace


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:56 AM
LXer: HP Decision to Dump webOS Still Makes No Sense LXer Syndicated Linux News 0 08-31-2011 02:50 AM
Creating a core dump from raw ram dump? cyent Programming 2 08-15-2010 06:57 PM
gdb/Core Dump: "warning: Can't read pathname for load map: Input/output error." pr_deltoid Programming 2 07-03-2010 01:04 PM
Core dump issues. Program crashes but does not generate core dump file sabeel_ansari Programming 1 10-07-2009 05:23 PM


All times are GMT -5. The time now is 08:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration