- From: Daniel Veillard <Daniel.Veillard@w3.org>
- Date: Thu, 13 Apr 2000 12:45:48 +0200
- To: G Browne <amayalist@mail.com>
- Cc: www-amaya@w3.org, Daniel.Veillard@w3.org
On Wed, Apr 12, 2000 at 02:43:42PM -0400, G Browne wrote: > The RPM version of the Amaya 3.0 binary appears to be missing from rpmfind. > I'd appreciate if this could be made available? Done. the i386 and source RPMs are available at: ftp://rpmfind.net/pub/amaya/ It worked fine on a standard RedHat-6.2 installation but crashed on my desktop machine using XFree-4.0: Starting program: /usr/src/redhat/BUILD/Amaya/linux/bin/amaya Program received signal SIGSEGV, Segmentation fault. 0x80fd24b in LoadFont ( name=0xbfffd7dc "-*-times-medium-r-*-*-12-*-75-75-p-*-iso8859-1", toPatch=0) at ../../thotlib/dialogue/font.c:680 680 result->per_char[UNBREAKABLE_SPACE - mincar].width = spacewd; (gdb) where #0 0x80fd24b in LoadFont ( name=0xbfffd7dc "-*-times-medium-r-*-*-12-*-75-75-p-*-iso8859-1", toPatch=0) at ../../thotlib/dialogue/font.c:680 #1 0x80fdfd3 in LoadNearestFont (alphabet=76 'L', family=116 't', highlight=0, size=12, unit=UnPoint, frame=0, increase=1 '\001') at ../../thotlib/dialogue/font.c:1043 #2 0x80fe2c2 in ThotLoadFont (alphabet=76 'L', family=116 't', highlight=0, size=12, unit=UnPoint, frame=0) at ../../thotlib/dialogue/font.c:1152 #3 0x80fe6ee in InitDialogueFonts (name=0xbfffeac4 "amaya") at ../../thotlib/dialogue/font.c:1302 #4 0x816caea in ThotInitDisplay (name=0xbfffeac4 "amaya", dx=0, dy=0) at ../../thotlib/dialogue/context.c:646 #5 0x815ceca in TteInitMenus (name=0xbfffeac4 "amaya", number=193) at ../../thotlib/dialogue/appdialogue.c:287 #6 0x80506e6 in main (argc=1, argv=0xbffffb14) at EDITORAPP.c:472 (gdb) l 675 676 result->per_char[244 - mincar].ascent -= 2; 677 } 678 if (result->max_char_or_byte2 > UNBREAKABLE_SPACE) 679 /* largeur(Ctrl Space) = largeur(Space) */ 680 result->per_char[UNBREAKABLE_SPACE - mincar].width = spacewd; 681 if (result->max_char_or_byte2 > BREAK_LINE) 682 /* largeur(Ctrl Return) = largeur(Space) */ 683 result->per_char[BREAK_LINE - mincar].width = 1; 684 if (result->max_char_or_byte2 > THIN_SPACE) (gdb) p result $1 = (XFontStruct *) 0x8ba0b98 (gdb) p *result $2 = {ext_data = 0x8ba0a10, fid = 35651608, direction = 0, min_char_or_byte2 = 32, max_char_or_byte2 = 255, min_byte1 = 0, max_byte1 = 0, all_chars_exist = 0, default_char = 32, n_properties = 29, properties = 0x8ba0bf0, min_bounds = {lbearing = 0, rbearing = 1, width = 3, ascent = -2, descent = -7, attributes = 0}, max_bounds = {lbearing = 1, rbearing = 12, width = 12, ascent = 12, descent = 3, attributes = 0}, per_char = 0x40019000, ascent = 11, descent = 3} (gdb) p mincar $3 = 32 (gdb) p result->per_char[160 - 32] $4 = {lbearing = 0, rbearing = 1, width = 3, ascent = 1, descent = 0, attributes = 0} (gdb) print spacewd $5 = 3 Commenting out the code in taht function where the XFontStruct returned by the X library is modified by Amaya code allowed it to start under XFree-4.0 Daniel -- Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | Today's Bookmarks : Tel : +33 476 615 257 | 655, avenue de l'Europe | Linux XML libxml WWW Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind http://www.w3.org/People/all#veillard%40w3.org | RPM badminton Kaffe
Received on Thursday, 13 April 2000 06:47:38 UTC