Re: segmentation fault...



At 12:55 03-08-2001 +0100, nimeesh patel wrote:
i have created two buttons & in there "clicked" property i called respective function..
now i want reference of each button to be accessible in both routines..
for that purpose i define reference as a global...
but now if i execute my programme it gives segmentation fault...(i'm not able to find the reason)

This can be caused by a million reasons - you need to show your code,
that's the only way to see why it (might) segfault(s)....
Or you need to debug the resulting core file through gdb to see where it segfaults.

Just telling us that "there is a button and it segfaults" is not really helpful, I'm affraid :-)

Ronald





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