Re: Thread changes?
- From: "Yoann Besnard" <yobesnar@xxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Wed, 9 Apr 2008 20:39:48 +0900
Hi Brendan,
After working a few hours on the problem, I found the bug if it's a bug and
FTC isn't the source of the problem. However, the problem appeared for the
first time with b15pv17. The problem was the number of controls on the
window. There was too many controls on the window. I don't know the reason.
I can't find an explanation. Nevertheless there was a thread problem with
b15pv17 that was solved in b15pv18. I confirm it has been fixed.
On 09/04/2008, Yoann Besnard <yobesnar@xxxxxxxxx> wrote:
>
> Hi Brendan,
>
> ON LINUX with b15pv18
> The NilObjectException only occurs with Pictures in the document.
> It occurs in restartUpdateThread()
>
> ' Start update thread.
> updateThread.restart
>
> updateThread is Nil.
>
> ON WINDOWS with b15pv18
> The crash still occurs. I have seven FTEditField in a window with
> pagepanels. I stepped into the code with the debugger. The crash happens
> when the application releases the threads of the last FTEditField. I had a
> look at my other controls and none of them crashes when I close the window.
>
> I couldn't reproduce the problem with your example. So I will try to
> investigate more.
>
>
>
> On 09/04/2008, Brendan Murphy <bmurphy@xxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Yoann Besnard wrote:
> >
> > > Until I switched to 15pv17, I was using 15pv13 on Mac, Windows and
> > > Linux. All of them worked fine. Since I've updated to 15pv13, I encounter
> > > the following issues:
> > >
> > > On Windows, when my application quits, it crashes all the time. I
> > > tracked down the problem to the threads, SpellCheckThread and
> > > UpdateThread.
> > > They seem to crash when they're called from the method 'ReleaseThreads'.
> > >
> >
> > I could not reproduce your problem, but I beefed up the thread
> > handling code in preview 18. Please test it out and tell me the
> > result.
> >
> > On linux, when I have a note with a picture, I always have a NilObject
> > > exception. However the application doesn't crash when quitting. From the
> > > code I looked at, it seems normal as threads are not used in the Linux
> > > platform.
> > >
> >
> > Your description of the problem is a little ambiguous. Could you
> > tell me where it creates the NilObjectException.
> >
> > Note, on Linux RB has some serious problems with threads. The RB
> > framework does not properly handle the scheduling of the threads
> > even when the threads are suspended and doing nothing. The CPU
> > will peg out at nearly 100%. This is why I turned off threads for
> > Linux.
> >
> >
> > FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.html
> > Set List Options (digest and vacation modes):
> > www.freelists.org/list/ftcdev
> > List Archive: www.freelists.org/archives/ftcdev
> > Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with
> > "unsubscribe" in the subject field.
> >
> >
> >
>
- Follow-Ups:
- Re: Thread changes?
- From: Brendan Murphy
- References:
- Thread changes?
- From: Yoann Besnard
- Re: Thread changes?
- From: Brendan Murphy
- Re: Thread changes?
- From: Yoann Besnard
Other related posts:
- » Thread changes?
- » Re: Thread changes?
- » Re: Thread changes?
- » Re: Thread changes?
- » Re: Thread changes?
- Re: Thread changes?
- From: Brendan Murphy
- Thread changes?
- From: Yoann Besnard
- Re: Thread changes?
- From: Brendan Murphy
- Re: Thread changes?
- From: Yoann Besnard