Done. It should be in my ~. (sparx) 22.10.05, Ilya A. Volynets-Evenbakh<ilya@total-knowledge.com> написал(а): > Weired. Can you just scp it to the gateway? > > Alexey Parshin wrote: > > >I did. And I can see it in my copy of that msg. > > > >2005/10/22, Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>: > > > > > >>Did you attach the binary? I can't see it... > >> > >>Alexey Parshin wrote: > >> > >> > >> > >>>alexeyp@screamer /cvs/sptk3.build/examples $ ./odbc_test3 > >>>Thread 0 query 1 completed > >>>Thread 2 query 1 completed > >>>Waiting for thread 0 > >>>Thread 2 query 2 completed > >>>Thread 1 query 1 completed > >>>Thread 1 query 2 completed > >>>Thread 0 query 2 completed > >>>Thread 3 query 1 completed > >>>Thread 3 query 2 completed > >>>Segmentation fault > >>> > >>> > >>>22.10.05, Ilya A. Volynets-Evenbakh<ilya@total-knowledge.com> написал(а): > >>> > >>> > >>> > >>> > >>>>I would suspect that other way around _might_ be true for some reason - > >>>>i.e. thread > >>>>object is destroyed before wait is completed, and so something is > >>>>referencing *this when > >>>>it isn't there already. > >>>>Can you give me binary that crashes, so that I can look at it? Or access > >>>>to the system that does it? > >>>> > >>>>Alexey Parshin wrote: > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>Well - it crushes here. So - it doesn't. It looks like at some moment > >>>>>the thread is completed, thread handle is destroyed, but thread still > >>>>>wants to join? > >>>>> > >>>>>2005/10/22, Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>So I uncommented deletes and commented out your code. > >>>>>>And it just worked > >>>>>> > >>>>>>Alexey Parshin wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>>Go ahead and try latest CVS. It builds fine outside the source dir. > >>>>>>> > >>>>>>>2005/10/22, Ilya Volynets <ilya@total-knowledge.com>: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>No cyrillic on bb u please write it in english :( > >>>>>>>>-----Original Message----- > >>>>>>>>From: Alexey Parshin <alexeyp@gmail.com> > >>>>>>>>Date: Sat, 22 Oct 2005 12:11:53 > >>>>>>>>To:"Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com> > >>>>>>>>Subject: Re: Threads .. > >>>>>>>> > >>>>>>>>Пробуй. У меня все строится. > >>>>>>>> > >>>>>>>>2005/10/22, Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>: > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>>Alexey Parshin wrote: > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>>>You mean - Makefile? That's true. I'd take 'em out. Would you check > >>>>>>>>>>threads exiting in that new test, though? > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>Once I can build ;-) > >>>>>>>>>Make sure that doing clean check out of CVS is buildable in _separate_ > >>>>>>>>>directory. > >>>>>>>>>Once that's done, I'll try. Oh, and to help you keep it clean > >>>>>>>>>afterwards, use .cvsignore files. > >>>>>>>>> > >>>>>>>>>-- > >>>>>>>>>Ilya A. Volynets-Evenbakh > >>>>>>>>>Total Knowledge. CTO > >>>>>>>>>http://www.total-knowledge.com > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>-- > >>>>>>>>Alexey Parshin, > >>>>>>>>http://www.sptk.net > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>-- > >>>>>>>Alexey Parshin, > >>>>>>>http://www.sptk.net > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>-- > >>>>>>Ilya A. Volynets-Evenbakh > >>>>>>Total Knowledge. CTO > >>>>>>http://www.total-knowledge.com > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>-- > >>>>>Alexey Parshin, > >>>>>http://www.sptk.net > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>-- > >>>>Ilya A. Volynets-Evenbakh > >>>>Total Knowledge. CTO > >>>>http://www.total-knowledge.com > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>-- > >>>Alexey Parshin, > >>>http://www.sptk.net > >>> > >>> > >>> > >>> > >>-- > >>Ilya A. Volynets-Evenbakh > >>Total Knowledge. CTO > >>http://www.total-knowledge.com > >> > >> > >> > >> > > > > > >-- > >Alexey Parshin, > >http://www.sptk.net > > > > > > -- > Ilya A. Volynets-Evenbakh > Total Knowledge. CTO > http://www.total-knowledge.com > > -- Alexey Parshin, http://www.sptk.net
List hosted by Total Knowledge