bug-sather
[Top][All Lists]
Advanced

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

Browser bug


From: Jean-Pierre Dussault
Subject: Browser bug
Date: Fri, 15 Aug 2008 08:57:58 -0400
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

Hi,

in order to compile the browser, I had to manually add $SATHER_HOME/System/Platforms/linux/header.h to sather.h in the generated code in sabrowser.code.

Once compiled, the browser crashes most of the times. For instance, it crashes on sabrowser.module, it crashes on all-classes.sa and the error message is always the same, except for the class name that made it crash. The browser works fine on test.sa(in the Browser directory), and on sacomp.module. Unfortunately, it does not work for the project I am developing.

I   work under (K)Ubuntu 8.04.

The error message is always

   May crash later:CLASS_NAME
   ./Sather/browser.sa:837:Attr access of void as.source1


For instance, for all-classes.sa , :

   address@hidden:~/import/sather-1.2.3/Browser$ ./sabrowser
   all-classes.sa
Browser ignored option:-I/home/dussault/import/sather-1.2.3/System/Common
   all-classes.sa:125:15: There is no class named DEMO_TEXT.
   all-classes.sa:126:18: There is no class named DEMO_LISTBOX.
   all-classes.sa:127:15: There is no class named DEMO_MENU.
   all-classes.sa:128:11: There is no class named DEMO1.
   all-classes.sa:129:16: There is no class named PIZZA_MAIN.
   all-classes.sa:130:19: There is no class named TK_LISTBOX.
   all-classes.sa:131:16: There is no class named TK_MENU.
   all-classes.sa:132:22: There is no class named TK_MENUBUTTON.
   all-classes.sa:133:17: There is no class named TK_LABEL.
   all-classes.sa:134:17: There is no class named TK_ENTRY.
   all-classes.sa:135:16: There is no class named TK_TEXT.
   all-classes.sa:136:20: There is no class named TK_TOPLEVEL.
   all-classes.sa:137:18: There is no class named TK_CANVAS.
   all-classes.sa:138:17: There is no class named TK_EVENT.
   all-classes.sa:139:21: There is no class named DEMO_RASTER.
   all-classes.sa:140:19: There is no class named TK_RASTER.
   all-classes.sa:141:20: There is no class named GUI_APP_END.
   all-classes.sa:142:17: There is no class named GUI_UTIL.
   all-classes.sa:144:14: There is no class named STORE.
   all-classes.sa:145:16: There is no class named RESTORE.
   Browser error: Void class. Trying to continue.
   May crash later:TK_MENUBUTTON
   ./Sather/browser.sa:837:Attr access of void as.source1
   ------------------------------------
   current function frame:
   UNIFIED_INFO::get_class_source(STR):SFILE_ID  <browser.sa:833>
      arg self:UNIFIED_INFO :   [ID 18130852]  <browser.sa:833>
      arg class_name:STR : [13] "TK_MENUBUTTON"  <browser.sa:833>
      local as:AS_CLASS_DEF :   (void)  <browser.sa:836>
   next frame: p PF(0xbf8aa820)
   ------------------------------------
   backtrace:
   UNIFIED_INFO::get_class_source(STR):SFILE_ID  <browser.sa:833>
   UNIFIED_INFO::init_module_graph  <browser.sa:783>
   UNIFIED_INFO::init  <browser.sa:677>
   UNIFIED_INFO::create(PROG,STR):SAME  <browser.sa:669>
   BROWSER::main(ARRAY{STR})  <browser.sa:59>
   BOTTOM
   ------------------------------------
   Abandon






reply via email to

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