swarm-support
[Top][All Lists]
Advanced

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

VarProbe.m missing code?


From: W . Northcott
Subject: VarProbe.m missing code?
Date: Fri, 2 Feb 2001 19:44:55 +1000



While looking for the cause of the VarProbe crashes I found the following
near line 820 in VarProbe.m:
    case fcall_type_long_double:
      if (!floatFormat)
        sprintf (buf, "%.*g", (int) precision,
                 (double) p->_long_double);
      else
        sprintf (buf, floatFormat, (double) p->_long_double);
      break;
    case fcall_type_string:
      sprintf (buf, "%s", p->string ? p->string : "<NULL>");
      break;
    case fcall_type_void:
    case fcall_type_selector:
    case fcall_type_jobject:
    case fcall_type_jstring:
    case fcall_type_iid:
      abort ();
    }

As they say in the vernacular hereabouts, "Hey maaaate, isn't code missing
there?"
The function convert_string was called with a type 'fcall_type_iid' and it
falls through to abort.

To reach this state
compile the current ASM cvs code
invoke asm and wait for the gui to appear
right click on the ASMObserverSwarm button in the gui.
it will crash with the message 'VarProbe.m:829 convert_string Abort.(core
dumped)'

Bill Northcott

Those switches look like a nightmare.



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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