Friends,
I am trying to find my way through the LyX startup procedure. The
overall goal would be to get an NT port that does not need any special
startup scripts. So my first step is to try and find out why LyX crashes
when it is started from the command line. I've gotten to the point where
a DebugStream is instantiated. Then the program dies at

0x5d5ce0 in __builtin_new () at DebugStream.C:194
194     }
(gdb) s
Cannot access memory at address 0x2000000.

after that I am not able to get a stack trace from gdb anymore but right
before I get:

(gdb) wher
#0  DebugStream::DebugStream (this=0x6158a0, __in_chrg=1, t=NONE)
    at
/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.

2/../../../../../include/g++-3/streambuf.h:479
#1  0x4ade62 in __static_initialization_and_destruction_0
(__initialize_p=1,
    __priority=65535) at ../src/lyx_main.C:40
#2  0x4ae015 in global constructors keyed to lyxserver ()
    at ../src/lastfiles.h:62
#3  0x610033ed in _size_of_stack_reserve__ ()
#4  0x61004437 in _size_of_stack_reserve__ ()
#5  0x4e19c1 in main (argc=1, argv=0xa031d70) at ../src/main.C:28
#6  0x61004402 in _size_of_stack_reserve__ ()
#7  0x61004420 in _size_of_stack_reserve__ ()
#8  0x5d900e in cygwin_crt0 (f=0x4e19ac <main>)
    at /home/noer/src/b20/comp-tools/devo/winsup/libccrt0.cc:81

Well all this does not make sense to me therefore I'd like to ask for a
pointer where to look.
It is clear to me that the environment variables set in Steven's scripts
must play an important role, but where are these variables assessed and
imho the program shouldnt crash if they arent there in the first place.

Thanks for any pointers
Roland (who is positively astonished by the LyX-Code)

Reply via email to