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)
> 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.
>> 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)
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 ?