[taskjuggler-devel] Re: Frequent crashing of TaskJugglerUI

From: Chris Schlaeger (cs_at_kde.org)
Date: Wed Nov 30 2005 - 18:19:58 CET


From: Chris Schlaeger <cs@kde.org>
Message-ID: <1863.438ddf3e@www.taskjuggler.org>
Date: Wed, 30 Nov 2005 18:19:58 +0100 (CET)
Subject: [taskjuggler-devel] Re: Frequent crashing of TaskJugglerUI


That's a strange crash. I've tried a few things, but I cannot reproduce it at all. Can you explain exactly what you did to trigger it?

It could be a raise condition, but then it should have crashed already in updateTaskList(). Can you try to use a larger delay value in TaskJugglerUI/taskjugglerview.cpp?

    /* This function can be triggered before the app->exec() has been called.
     * So the GUI won't show up before all files are loaded and scheduled.
     * With a timer we delay the load so we are sure app->exec has been
     * called. */
    loadDelayTimer->start(200, TRUE);

Maybe 500 or even 1000.

If this doesn't help, can you put a qDebug("Foo"); call in updateResourceList to see if it's the first time after program launch that this function is called? Then call TaskJugglerUI from a shell and see how many "Foo"s you see before the crash.

Chris

--
TaskJuggler Developer
-- 
To unsubscribe, email: taskjuggler-devel-unsubscribe@suse.com
For additional commands, email: taskjuggler-devel-help@suse.com


This archive was generated by hypermail 2.1.7 : Wed Nov 30 2005 - 18:20:06 CET