[slang-users] Seq Fault on Variable ...
John E. Davis
davis at space.mit.edu
Tue Jun 19 00:22:53 EDT 2007
Ben Duncan <linux4ms at aim.com> wrote:
>import ("testmmt", "Global") ;
>
>fprintf (stdout, "Creating the structure \n" ) ;
>variable MyStruct = CreateStruct ( ) ;
>fprintf (stdout, "Getting the STATUS data \n" ) ;
>StatusStruct ( MyStruct ) ;
>fprintf (stdout, "Printing the STATUS data \n" ) ;
>
>fprintf (stdout, "Var_Ts_Heading is |%-s| \n", Var_Ts_Heading ) ;
>fprintf (stdout, "Var_Tli_Displayname is |%-s| \n", Var_Tli_displayname ) ;
>fprintf (stdout, "Printing the COUNT data \n" ) ;
>fprintf (stdout, "Var_Ts_Count is %d \n", Var_Ts_Count ) ;
>fprintf (stdout, "ALL DONE \n" ) ;
>
>
>Any ideas on what is going on ?
I need more information. For example, how were CreateStruct and
StatusStruct implemented? My suspicion is that one of these functions
has corrupted the memory in some way. The complete source code for a
minimally-sized module that illustrates the problem would be ideal.
Thanks,
--John
More information about the slang-users-l
mailing list