ctwm-3.4 and Irix

From: Stefan Monnier (stefan.monnier@lia.di.epfl.ch)
Date: Fri May 10 1996 - 09:58:11 CEST


Has anybody successfully compiled ctwm-3.4 on Irix 5.x or 6.x ?
I compiled it without any problems, but it keeps crashing on me.
It crashes as soon as it starts reading a window-list from ctwmrc.
It can read

        NoBorder { }

but it crashes on

        NoBorder { "toto" }

The backtrace is something like:

        (gdb) bt
        #0 0xfad2fdc in _kill () at kill.s:15
        #1 0xfad4338 in raise () at raise.c:22
        #2 0xfb07d68 in abort () at abort.c:37
        #3 0x422e9c in Crash () at ctwm.c:1194
        #4 <signal handler called>
        #5 0xfaafdfc in _smalloc () at malloc.c:303
        #6 0xfaaf5c8 in __malloc () at malloc.c:303
        #7 0xfaafbd0 in _malloc () at malloc.c:303
        #8 0x40e17c in yyparse () at /logiciels/public/gnu/share/bison.simple:932
        #9 0x4238ec in doparse (ifunc=0x4241c0 <m4twmFileInput>,
            srctypename=0x10005cf0 "file", srcname=0x7ffdfc58 "/users/monnier/.ctwmrc")
            at parse.c:176
        #10 0x423fa8 in ParseTwmrc (filename=0x0) at parse.c:344
        #11 0x41f428 in main (argc=2, argv=0x7ffdfecc, environ=0x7ffdfed8)
            at ctwm.c:664
        Current language: auto; currently asm

So it crashes inside the code generated by bison (the backtrace is similar if
I use yacc instead). It should be noted that the line number at #8 is wrong
(bison.simple doesn't have 932 lines) and the same kind of line-number error
happens if I use yacc.

Anybody has any idea where to start looking for a solution ?

        Stefan

PS: I have to precise that it works fine on Solaris-2.4 and that the above
    behavior shows up with Irix-5.3 and Irix-6.2 and I've already tried to
    change things like XPM, USEM4, X11R6, ... Also ctwm-3.3 works just fine
    (I've probably compiled it a hundred times already on Irix)



This archive was generated by hypermail 2.1.2 : Sat Jun 22 2002 - 06:45:02 CEST