info-sather
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can Sather be awakened?


From: Tapio Kelloniemi
Subject: Re: Can Sather be awakened?
Date: Sun, 22 Dec 2002 18:13:49 +0200 (EET)

On Sat, 21 Dec 2002, jefu wrote:
 > On Sat, 21 Dec 2002 22:51:09 +0200 (EET)
 > Tapio Kelloniemi <address@hidden> wrote:
 >
 > > I would like to know if there are any interested in activating
 > > the Sather project again, in some way. I'm new to Sather and tried
 > > out the newest beta version. With some easy tricks I get it compiled
 > > with gcc 3.2.1, but that is all I get, all programs crash when
 > > converting any integer value to string. This may be a bug in the
 > > Sather library, though I can't say for sure. I would like to know
 > > if there are any interested in fixing this sort of fatal bugs.
 >
 > I'd quite like to see sather revived, but I'm not much of a compiler
 > weenie so don't know how I might help.

We could fix the website at least, if we had access permissions to that
server.

 > But I'll certainly do what little I can and I've dealt with problems
 > like you mention.
 >
 > Which version of sather were you working with and where did you get it?

GNU Sather 1.3-beta-7 from gnu.org. I have tried compiling the compiler t
self with gcc 3.2, 3.2.1 and 2.96, but results are all the same.

The following program:

class MAIN is
   main is
      #OUT + "Hello World " + 3.str + "\n";
   end;
end;

When I compile it, I get the following warning:

Headers, compiling C... Regenerated 34 of 34 files...
flistFSTR312276997.c:548:15: warning: pasting "infinity" and "(" does not
give a valid preprocessing token
(77 seconds)

When I run the resulting program, the output is as follows:

signal 11 caught ...
Hello World Aborted

The sigsegv is, as seen above, caught before the message is written. GDB
notices it and says:

Program received signal SIGSEGV, Segmentation fault.
0x080a4848 in LIBCHA203050829 (self=0x0, lib1=0x0,
prev_func_frame=0xbffff430)
    at /usr/sather/lib/Required/Cultural/libchars.sa:142
142               my_size := lib.work_out_size

Here is the full traceback:

#0  0x080a4848 in LIBCHA203050829 (self=0x0, lib1=0x0,
    prev_func_frame=0xbffff430)
    at /usr/sather/lib/Required/Cultural/libchars.sa:142
#1  0x080a6809 in LIBCHA295720348 (self=0x0, cult=0x8169f78, fpath=0x0,
    prev_func_frame=0xbffff500)
    at /usr/sather/lib/Required/Cultural/libchars.sa:337
#2  0x080697c6 in CULTUR653396513 (self=0x0, me=0x8169f78, file_path=0x0,
    prev_func_frame=0xbffff580)
    at /usr/sather/lib/Required/Cultural/culture.sa:394
#3  0x0806a083 in CULTUR1962872686 (self=0x0, file_path=0x0,
    prev_func_frame=0xbffff5d0)
    at /usr/sather/lib/Required/Cultural/culture.sa:480
#4  0x0806a0d7 in CULTUR1656695069 (self=0x0, prev_func_frame=0xbffff620)
    at /usr/sather/lib/Required/Cultural/culture.sa:496
#5  0x0806a119 in CULTUR757535883 (self=0x0, prev_func_frame=0xbffff660)
    at /usr/sather/lib/Required/Cultural/culture.sa:513
#6  0x0806a31b in CULTUR59007197 (self=0x0, prev_func_frame=0xbffff6b0)
    at /usr/sather/lib/Required/Cultural/culture.sa:532
#7  0x080a6ecd in LIBCHA227141672 (self=0x0, prev_func_frame=0xbffff6f0)
    at /usr/sather/lib/Required/Cultural/libchars.sa:412
#8  0x08053d2e in CARD_strrSTR (self=3, prev_func_frame=0xbffff730)
    at /usr/sather/lib/Required/Represent/Converters/wholestr.sa:331
#9  0x080cb0cd in sather_main (self=0x8157ff0, prev_func_frame=0x0)
    at sather.sa:3
#10 0x080c63b7 in main (argc=1, argv=0xbffffc84) at system.c:2604
#11 0x40050e64 in __libc_start_main (main=0x80bdf4c <main>, argc=1,
    ubp_av=0xbffffc84, init=0x8048b5c <_init>, fini=0x40013880
<_rtld_local>,
    rtld_fini=0x8154ca8, stack_end=0x8154ca8)
    at ../sysdeps/generic/libc-start.c:144

Many Thanks!

-- 
Tapio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]