bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Gthreads under Win


From: Jonathan Kinsey
Subject: Re: [Bug-gnubg] Gthreads under Win
Date: Tue, 23 Jun 2009 20:59:18 +0000

I've checked in a fix, it was caused by the realigned stack pointer in the
threads (which gcc doesn't align), looks like it needs to be un-aligned at the
end of the function (at least this works for me).

It's quite likely that the threads get aligned coincidently on some windows systems.

Jon

Jonathan Kinsey wrote:
> It's alright, I'm getting similar crashes here so should be able to track it down.
>
> On another machine it works fine, so it's probably a time dependent problem.
>
> Jon
>
> Massimiliano Maini wrote:
>>
>> Jonathan Kinsey wrote on 22/06/2009 23:50:15:
>>
>>> I've had a try with gthreads and windows and it seems to crash when
>>> I change the
>>> number of threads (also when shutting down in the same code). I'll
>>> try and fix it.
>> Hi Jon,
>>
>> a few extra details:
>>
>> - run gnubg with gthreads and click on red cross (upper right corner of
>> window):
>> program freezes, have to manually kill it via Task Manager.
>>
>> - run gnubg with gthreads, click anywhere in the window (really
>> anywhere, even
>> "non active" regions, but not in the window title bar) and then click on
>> red
>> cross: program exits normally.
>>
>> Is there anything I can do to track this down ? I have a non-stripped exe,
>> ig yuo give me detailed instruction on how to run it with gdb I can send
>> you
>> the output (if any, since I have to manually kill when it freezes).
>>
>>> Slightly better news, the performance seems fine so when this is
>>> fixed we should be able to remove the windows threading code.
>> Excellent.
>>
>> MaX.
>>
>
>





View your Twitter and Flickr updates from one place – Learn more!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]