Hi! I'm a new user of LyX although I have a good knowledge of LaTeX and
reasonable programming skills. I can't read the LyX tutorial and some other
though not all lyx files. I've read the mailing list archives and found nothing
similar so here goes:

LyX version 1.01 running on DEC Alpha with Digital Unix v3.2.
Code compiled with egcs 1.1.1 without any problems.

I can read the Introduction to Lyx and the Known bugs, but attempting to open
the Tutorial causes the program to crash. If this has been reported before, my
apologies; could you point me at the solution. If not, then here is the output
from gdb.

Any help gratefully received.
Angus

Attached: config.log

"backtrace":

#0  0x12013e90c in MathParInset::Metrics (this=0x140154770)
    at math_draw.C:172
#1  0x12012dc40 in InsetFormula::Read (this=0x14015d430, lex=@0x11fffe230)
    at formula.C:384
#2  0x120156ffc in Buffer::readLyXformat2 (this=0x1400fc360,
    lex=@0x11fffe230, par=0x140166380) at buffer.C:905
#3  0x12015c614 in Buffer::readFile (this=0x1400fc360, lex=@0x11fffe230,
    par=0x0) at buffer.C:1151
#4  0x1201da1cc in BufferList::readFile (this=0x140000450, s=@0x11fffeae0,
    ronly=4831830576) at bufferlist.C:530
#5  0x1201dc1dc in BufferList::loadLyXFile (this=0x140000450, filename=@0x1,
    tolastfiles=false) at bufferlist.C:649
#6  0x1200ff1d4 in Menus::MenuDocu (this=0x140093280, docname=@0x11fffeed0)
    at menus.C:1580
#7  0x1200fdfb4 in Menus::ShowHelpMenu (ob=0x140090e00) at menus.C:1555
#8  0x3ffbff8caac in fl_object_qread ()
#9  0x3ffbff8afc4 in fl_check_forms ()
#10 0x12004c878 in LyXGUI::runTime (this=0x11ffff1d0) at lyx_gui.C:629
#11 0x12003d048 in LyX::LyX (this=0x11ffff668, argc=0x11ffff660,
    argv=0x11ffff6c8) at ../src/lyx_main.C:128
#12 0x12003bda8 in main (argc=1, argv=0x11ffff6c8) at ../src/main.C:51

The relevant line of code in math_draw.C is (line 172):
              p->SetStyle(size);   

"info locals" gives:

p = (class MathedInset *) 0x80
cx = 8 '\b'
cxp = 0 '\000'
ls = 1073793912
asc = 20
des = 0
tb = 0
tab = 0
limits = false
data = {<MathedIter> = {flags = 0, fcode = -1, pos = 0, row = 0, col = 0,
    ncols = 1, array = 0x140164d60, stck = {fcode = -16688, x = 1, y = 0,
      pos = 0, row = 536854080, col = 1},
    _vptr$ = 0x140042508 <MathedXIter virtual table>}, size = 1, x = 0,
  y = 0, p = 0x140157b20, sx = 0, sw = 0, limits = false, s_type = 0,
  crow = 0x0} 

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:626: checking for lyx
configure:688: checking whether make sets ${MAKE}
configure:726: checking for a BSD compatible install
configure:788: checking for a working C++ compiler
configure:819: g++ -o conftest    conftest.C  1>&5
configure:859: checking whether the C++ compiler (g++  ) is a cross-compiler
configure:863: checking whether we are using GNU C++
configure:915: checking whether g++ accepts -g
configure:948: checking how to run the C++ preprocessor
configure:993: checking for sin in -lm
configure:1043: checking for fopen in -lc
configure:1096: checking for AIX
configure:1121: checking for HP-UX
configure:1137: checking for SunOS 4.x
configure:1152: checking for SCO 3.2v4
configure:1180: checking for gcc
configure:1293: checking whether the C compiler (gcc  ) works
configure:1309: gcc -o conftest    conftest.c -lc -lm  1>&5
configure:1335: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1340: checking whether we are using GNU C
configure:1368: checking whether gcc accepts -g
configure:1400: checking for POSIXized ISC
configure:1424: checking size of void *
configure:1466: checking size of int
configure:1513: checking for gcc strength-reduce bug
configure:1559: checking whether the C++ compiler understands explicit
configure:1629: checking for extra library directory
configure:1672: checking for extra include directory
configure:1706: checking for extra lib+include directory
configure:1751: checking for main in -liberty
configure:1791: checking for ptsname in -lpt
configure:1839: checking for X
configure:2153: checking for dnet_ntoa in -ldnet
configure:2197: checking for dnet_ntoa in -ldnet_stub
configure:2248: checking for gethostbyname
configure:2352: checking for connect
configure:2450: checking for remove
configure:2548: checking for shmat
configure:2655: checking for IceConnectionNumber in -lICE
configure:2708: checking for XOpenIM
configure:2771: checking for XpmCreateBufferFromImage in -lXpm
configure:2825: checking for X11/xpm.h
configure:2908: checking xpm header version
configure:2952: checking for fl_initialize in -lforms
configure:3049: checking for X11/forms.h
configure:3083: checking for forms.h
configure:3130: checking xforms header version
configure:3194: checking for dirent.h that defines DIR
configure:3232: checking for opendir in -ldir
configure:3321: checking whether sys/types.h defines makedev
configure:3427: checking whether stat file-mode macros are broken
configure:3486: checking for errno.h
configure:3486: checking for sys/time.h
configure:3486: checking for sys/select.h
configure:3523: checking whether time.h and sys/time.h may both be included
configure:3590: checking how to run the C preprocessor
configure:3672: checking for ranlib
configure:3700: checking for ANSI C header files
configure:3804: checking for working const
configure:3879: checking for inline
configure:3919: checking for off_t
configure:3952: checking for size_t
configure:3987: checking for working alloca.h
configure:4020: checking for alloca
configure:4222: checking for unistd.h
configure:4261: checking for getpagesize
configure:4314: checking for working mmap
configure:4490: checking for argz.h
configure:4490: checking for limits.h
configure:4490: checking for locale.h
configure:4490: checking for nl_types.h
configure:4490: checking for malloc.h
configure:4490: checking for string.h
configure:4490: checking for unistd.h
configure:4490: checking for values.h
configure:4490: checking for sys/param.h
configure:4530: checking for getcwd
configure:4530: checking for munmap
configure:4530: checking for putenv
configure:4530: checking for setenv
configure:4530: checking for setlocale
configure:4530: checking for strchr
configure:4530: checking for strcasecmp
configure:4530: checking for __argz_count
configure:4530: checking for __argz_stringify
configure:4530: checking for __argz_next
configure:4649: checking for LC_MESSAGES
configure:4682: checking whether NLS is requested
configure:4702: checking whether included gettext is requested
configure:4721: checking for libintl.h
configure:4748: checking for gettext in libc
configure:4776: checking for bindtextdomain in -lintl
configure:4812: checking for gettext in libintl
configure:4852: checking for msgfmt
configure:4886: checking for dcgettext
configure:4941: checking for gmsgfmt
configure:4977: checking for xgettext
configure:5017: gcc -o conftest -g -O2    conftest.c -lintl  -liberty -lc -lm   -lX11  -ldnet_stub 1>&5
configure:5472: checking for catalogs to be installed
configure:5604: checking for memmove
configure:5604: checking for memset
configure:5604: checking for strchr
configure:5660: checking types of arguments for select()
configure:5736: checking for strerror
configure:5736: checking for atexit
configure:5795: checking for bool type
configure:5851: checking for perl >= 5.002

Reply via email to