I'll apply the change but I want to understand how else to free font structures. "man XFreeFontInfo" says that the names arguments should be 0 if only the fontstructs should be deleted and not the names. Did you try replacing it by: free(fs); otherwise there will be a memory leak. As soon as I've XFree v4 running I can investigate more. -- Fons Valentine Kouznetsov wrote: > > Hi, in order to fix the problem you need to comment one line > in X11_GX11Gui.cxx file: > void TGX11::FreeFontStruct(FontStruct_t fs) > { > // Free font structure returned by GetFontStruct(). > > // XFreeFontInfo(0, (XFontStruct *) fs, 1); > } > > The XFreeFontInfo call SHOULD be commented. I've fixed described problem in > this way and reported already for ROOT mainteiners at CERN/FNAL. > Ths problem appears since the new version of XFree-v4 has different > meaning of XFreeFontInfo. I'll recomend all of you to recompile your > root package. For my station (RedHat 6.1 with XFree v4) the problem > disappeared. > > Valentine. > > On Thu, 15 Jun 2000, Nick van Eijndhoven wrote: > > > Dear friends, > > Maybe this is also related to the problems I encountered in > > certain canvas actions (as reported to the ROOT team) on > > windows98 when I updated from 2.22/10 to 2.23/12. > > These problems however were not encountered on WindowsNT. > > > > Cheers, > > Nick. > > > > Alexander Zvyagin wrote: > > > > > > Hi, > > > > > > On Wed, 14 Jun 2000 Carsten.Brandau@strz.uni-giessen.de wrote: > > > > > > >Recently I updated my X-Server (Suse Linux 6.3, Kernel 2.2.13, > > > >ROOT 2.23/12) from XFree 3.3.5 to XFree 4.0. Now, whenever I try > > > >to start things of the ROOT-GUI (e.g invoking TBrowser from CINT) I > > > >get a lot of segfaults scrolling through the window... > > > >The same is true if I use compiled code. > > > >I also tried to recompile root from the source, but still had the same > > > >segfaults. > > > >All the stuff used to work before the change, and up to now, ROOT > > > >is the the only programm I have troubles with wtih the new XFree. > > > >I know that XFree 4.0 is in a very early stage and it may be a X > > > >bug, but are there any ideas about this problem ? > > > > > > I have EXACTLY the same expierence with ROOT and XFree 4.0. The important > > > note is: > > > > ROOT is the the only programm I have troubles with wtih the new XFree > > > > > > P.S. I use Slackware-7.0 Linux. > > > > > > With best wishes, > > > Alexander Zvyagin. > > > > -- > > Dr. Nick van Eijndhoven mailto:nick@phys.uu.nl http://www.phys.uu.nl/~nick > > -------------------------------------------------------------------------- > > Org.: Utrecht University/Nikhef, Department of Subatomic Physics > > Address: P.O. Box 80.000, NL-3508 TA Utrecht, The Netherlands > > Phone: +31-30-2532331(direct) +31-30-2531492(secr.) Fax: +31-30-2518689 > > NIKHEF: +31-20-5922028(direct) +31-20-5922000(secr.) Fax: +31-20-5925155 > > CERN: +41-22-7679751(direct) +41-22-7675857(secr.) Fax: +41-22-7679480 > > Offices: Ornstein lab. 172 (Utrecht) H350 (Nikhef) B160 1-012 (CERN) > > -------------------------------------------------------------------------- > > > > ************************************************************* > * Valentine Kouznetsov phone : (630) 840 2192(8596) * > * Fermilab MS352 fax : (630) 840 8886 * > * P.O.Box 500 e-mail: vkuznet@fnal.gov * > * Batavia IL, 60510 http://www-d0.fnal.gov/~vkuznet * > ************************************************************* -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:27 MET