[Qt-interest] Problems running QProcess under linux

Scott Aron Bloom Scott.Bloom at onshorecs.com
Mon Sep 26 20:00:14 CEST 2011


Thanks Ill try that

-----Original Message-----
From: qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com
[mailto:qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com] On
Behalf Of Bill Crocker
Sent: Monday, September 26, 2011 10:37 AM
To: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] Problems running QProcess under linux

Scott Aron Bloom wrote:
> Thanks.. the problem here is the crash takes 3-4 hours of running to 
> crash..  and has yet to be reproduced when run with the same command 
> line arguments from the CLI only...  hence my thoughts that it might 
> be a QProcess settings issue...
>

Create a small program which dumps all resource limits using getrlimit.
Run this from a QProcess and see if the limits differ from a command
line run.

You can also dump its list of env vars and see if there are any
differences there.

Bill

> Back to the salt mine..
> 
> Scott
> 
> -----Original Message-----
> From: qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com
> [mailto:qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com] On

> Behalf Of Thiago Macieira
> Sent: Monday, September 26, 2011 1:34 AM
> To: qt-interest at qt.nokia.com
> Subject: Re: [Qt-interest] Problems running QProcess under linux
> 
> On Monday, 26 de September de 2011 01:01:23 Scott Aron Bloom wrote:
>> Before I post up a code base, just wondering if anyone had any
> ideas...
>> Does QProcess set the maximum stacksize or something along those
> lines?
> 
> No. The problem is entirely contained in the child application. Forget

> any testcases containing GUI or QProcess, you need to look into the 
> child only.
> 
> A crash is always the fault of the program that crashed. It may be 
> triggered by an external event, but that's not a reason for crashing.
> 
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>    Software Architect - Intel Open Source Technology Center
>       PGP/GPG: 0x6EF45358; fingerprint:
>       E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
> 


_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list