Google Groups Home
Help | Sign in
Help : could one help decrypting 'strace' output
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
eb  
View profile
 More options Mar 17 2004, 3:08 pm
Newsgroups: comp.os.linux.development, comp.os.linux.development.apps
From: eb <e...@nowhere.com>
Date: Wed, 17 Mar 2004 14:05:09 +0100
Local: Wed, Mar 17 2004 8:05 am
Subject: Help : could one help decrypting 'strace' output
Hello,

I have a QT based program (qgo.sourceforge.net) that crashes randomly (under
windows or linux makes no diff)

- It does not produce any core file
- It does not segfault, and the debugger does not show anything (indicates
an external signal received).

The crash occurs at calling a sound playing routine (the routine is not the
same under Windows (use of Qsound) or Linux(C routine), but both are
threaded)

I have 'valgrinded' the code, without further clue.

I have 'straced' it, but I fail to decrypt the thing.

Would anyone point me to any helpful hint ?

(BTW : yes, I have googled and read the strace man page before posting)

Thanks in advance (Hope I did not break any usenet rule)

->

read(8, "15 Game 18 I: seastory (1 175 0)"..., 4096) = 80                                
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(10, "`\20\204@\0\0\0\0\0\0\0\0P\273\16\10\220.]\10\0\0\0\200"..., 148)
= 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
write(2, "qgo: ", 5qgo: )                    = 5
write(2, "\370PI\10\2", 5øP)              = 5
write(2, ": ", 2: )                       = 2
open("/usr/share/locale/fr_FR/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/fr/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
write(2, "Success\n", 8Success
)                = 8
getpid()                                = 1528
getpid()                                = 1528
getpid()                                = 1528
write(10, "`\20\204@\2\0\0\0_\207\27\10\372\333\203@\0P\265@\300L"..., 148)
= 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
waitpid(1529, NULL, __WCLONE)           = 1529
munmap(0x4123c000, 4096)                = 0
exit_group(135759711)                   = ?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Måns Rullgård  
View profile
 More options Mar 17 2004, 3:18 pm
Newsgroups: comp.os.linux.development, comp.os.linux.development.apps
Followup-To: comp.os.linux.development.apps
From: m...@kth.se (Måns Rullgård)
Date: Wed, 17 Mar 2004 21:18:22 +0100
Local: Wed, Mar 17 2004 3:18 pm
Subject: Re: Help : could one help decrypting 'strace' output

eb <e...@nowhere.com> writes:
> Hello,

> I have a QT based program (qgo.sourceforge.net) that crashes randomly (under
> windows or linux makes no diff)

> - It does not produce any core file
> - It does not segfault, and the debugger does not show anything (indicates
> an external signal received).

> The crash occurs at calling a sound playing routine (the routine is not the
> same under Windows (use of Qsound) or Linux(C routine), but both are
> threaded)

> I have 'valgrinded' the code, without further clue.

'valground' it is.

> I have 'straced' it, but I fail to decrypt the thing.

> Would anyone point me to any helpful hint ?

> (BTW : yes, I have googled and read the strace man page before posting)

What exactly is you need help with.  Is it with understanding the
strace output?  In that case, which part are you having trouble with?
Otherwise it's rather clear from the trace that your program calls
exit_group, causing it to exit.  Why it does that can't be determined
from the strace.

--
Måns Rullgård
m...@kth.se


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
eb  
View profile
 More options Mar 17 2004, 7:08 pm
Newsgroups: comp.os.linux.development, comp.os.linux.development.apps
Followup-To: comp.os.linux.development
From: eb <e...@nowhere.com>
Date: Thu, 18 Mar 2004 01:12:36 +0100
Local: Wed, Mar 17 2004 7:12 pm
Subject: Re: Help : could one help decrypting 'strace' output

Thanks for the answer

> What exactly is you need help with.  Is it with understanding the
> strace output?  

Yes

> In that case, which part are you having trouble with?

Everything. Call me thick.
(well, actually, not the first "read" : I know what this relates to)
There seem to be some signal fidgeting with. But I have no idea what this
means.

> Otherwise it's rather clear from the trace that your program calls
> exit_group, causing it to exit.  Why it does that can't be determined
> from the strace.

Aahh. Sorry, but i'm so new at this.
Now .......I understand "exit_group" is a system call (but i found no doc on
this : what is it used for ?). I have of course nothing such in the code.

What tool / method should i use to get any further ?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google