Hey John,

My test was simply call many times fastbit_build_query/fastbit_destroy_query in 
parallel from many threads. The query doesn't have to be valid, the partition 
doesn't even have to exist. With the DLL compiled with MinGW, the test crashes 
very quickly whereas the DLL compiled with VC works flawlessly. Interestingly 
enough, the Linux build (using gcc, which is the MinGW base) doesn't exhibit 
the issue either.

Thanks,

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of K. John Wu
Sent: Friday, April 27, 2012 8:06 PM
To: FastBit Users
Subject: Re: [FastBit-users] Windows / MinGW random crash with concurrent 
queries

Hi, Dominique,

I have not used MinGW that much myself either.  If you can describe
the problem with a concrete example, I could try to see to if I can
reproduce the problem.

John


On 4/27/12 11:54 AM, Dominique Prunier wrote:
> Following up on this issue, the library compiled with VC 2011 beta
> doesn’t exhibit the issue so it has to be related to MinGW or
> something. I’m definitely not an expert in the area but if somebody
> have weird multi thread behavior on Windows and knows how to fix it
> with the MinGW build, we’d be glad to hear :)
> 
>  
> 
> *From:*[email protected]
> [mailto:[email protected]] *On Behalf Of *Dominique
> Prunier
> *Sent:* Thursday, April 26, 2012 2:51 PM
> *To:* FastBit Users
> *Subject:* [FastBit-users] Windows / MinGW random crash with
> concurrent queries
> 
>  
> 
> Hey John,
> 
>  
> 
> I’m currently stress testing our FastBit implem and we found a strange
> issue with Windows MinGW build and concurrency.
> 
> It seems that FastBit works perfectly fine in a single thread
> application but almost systematically crashes when i run concurrent
> queries.
> 
>  
> 
> This issue doesn’t exists in Linux so i’m starting to think that it
> could be related either to the pthread port or the windows specifics
> (compilation, ...).
> 
> Did you have some use case involving concurrency on Windows ? Would
> you mind sharing a 64bits fastbit.dll (1.3.0) built with VC to see if
> i can reproduce the issue ?
> 
>  
> 
> Thanks,
> 
>  
> 
> */Dominique Prunier/**//*
> 
>  APG Lead Developper
> 
> Logo-W4N-100dpi
> 
>  4388, rue Saint-Denis
> 
>  Bureau 309
> 
>  Montreal (Quebec)  H2J 2L1
> 
>  Tel. +1 514-842-6767  x310
> 
>  Fax +1 514-842-3989
> 
>  [email protected] <mailto:[email protected]>
> 
>  www.watch4net.com <http://www.watch4net.com/>
> 
> /  /
> 
> /This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete
> the original. Any other use of this electronic mail by you is prohibited.
> 
> //Ce message est pour le récipiendaire désigné seulement et peut
> contenir des informations privilégiées, propriétaires ou autrement
> privées. Si vous l'avez reçu par erreur, S.V.P. avisez l'expéditeur
> immédiatement et effacez l'original. Toute autre utilisation de ce
> courrier électronique par vous est prohibée.///
> 
>  
> 
> 
> 
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to