slang-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] Seq Fault on Variable ...


Ben Duncan <linux4ms@xxxxxxx> 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



[2007 date index] [2007 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]