t and
explicitly call it by yourself.
- Michael.
From: Nuno Santos [mailto:nunosan...@imaginando.pt]
Sent: Wednesday, January 07, 2015 1:37 PM
To: Michael Sué
Cc: igor.mironc...@gmail.com; interest@qt-project.org
Subject: Re: [Interest] Advice on random program finish crash
Hi,
I’m not really
; > With this approach, the object will no longer be deleted at program exit,
> > right? So there can be no crash on deletion anymore.
> >
> > - Michael.
> >
> > From: interest-bounces+sue=sf.mpg...@qt-project.org
> > [mailto:interest-bounces+sue=sf.mpg...@qt-proj
> From: interest-bounces+sue=sf.mpg...@qt-project.org
> [mailto:interest-bounces+sue=sf.mpg...@qt-project.org] On Behalf Of Nuno
> Santos
> Sent: Wednesday, January 07, 2015 1:16 PM
> To: Igor Mironchik
> Cc: Interests Qt
> Subject: Re: [Interest] Advice on random program fin
, January 07, 2015 1:16 PM
To: Igor Mironchik
Cc: Interests Qt
Subject: Re: [Interest] Advice on random program finish crash
Hi,
I have made the following modification and it seems not crashing anymore:
static Manager* gManager = 0;
Manager* Manager::sharedManager()
{
QMutexLocker
Den 07-01-2015 kl. 11:30 skrev Nuno Santos:
> Hi Igor,
>
> Ops… You are right, it is not static.
>
> I have tried your suggestion but now it crashes everytime I close the
> app and I can’t even get a stack trace like before. If I run it on
> debug, it points me to assembler code. Not anything I can
Hi,
I have made the following modification and it seems not crashing anymore:
static Manager* gManager = 0;
Manager* Manager::sharedManager()
{
QMutexLocker lock(&managerMutex);
if (!gManager)
{
gManager = new Manager();
}
return gManager
Hi Igor,
Ops… You are right, it is not static.
I have tried your suggestion but now it crashes everytime I close the app and I
can’t even get a stack trace like before. If I run it on debug, it points me to
assembler code. Not anything I can really point to.
Regards,
Nuno
>
> On 07 Jan 2015
Yes,
int main(int argc, char **argv)
{
QGuiApplication app(argc, argv);
...
return app.exec();
}
> On 07 Jan 2015, at 09:54, Igor Mironchik wrote:
>
> Hi, I have one question: is QApplication static too?
>
> On Wed, 07 Jan 2015 12:32:21 +0300, Nuno Santos
> wrote:
>
>> Hi,
>
Hi, I have one question: is QApplication static too?
On Wed, 07 Jan 2015 12:32:21 +0300, Nuno Santos
wrote:
> Hi,
>
> I’m having a problem with a random crash that not always happens. I
> would like to have your advice on how to find the origin of it.
>
> This crash always happens on program
Am Wed, 7 Jan 2015 09:32:21 +
schrieb Nuno Santos :
> Hi,
>
> I’m having a problem with a random crash that not always happens. I would
> like to have your advice on how to find the origin of it.
>
> This crash always happens on program exit and the stack trace is the
> following:
>
> Thr
Hi,
I’m having a problem with a random crash that not always happens. I would like
to have your advice on how to find the origin of it.
This crash always happens on program exit and the stack trace is the following:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.qt-project.QtC
11 matches
Mail list logo