From: William Djaja Tjokroaminata Date: 2002-08-06T02:19:16+09:00 Subject: Re: What Is the Rule to Declare Global Variables? Hi Guy, When I protect the global variables, the problem has been solved. One problem with the source is it is rather long (currently 2362 lines); I have tried to cut it, but then depending where I cut it, segmentation fault either appeared in different places or not at all. Although currently the problem has been solved, I don't know whether there are other "time bombs" still lurking in my code. That's why I am asking the rule of when it is necessary to protect the global variables. Is it that such a rule does not exist that you need to see the actual source? Regards, Bill ============================================================================ ts wrote: > You really don't want to post your source :-) > Just the part between 'Init_xxx()' and the line where it segfault, or send > me the source in private email > Guy Decoux