Hi,
Marco Lettere <[EMAIL PROTECTED]> writes:
> you are trying to write something to non allocated memory.
> *t[3] is an array of pointers which are not initialized and could point
> anywhere. when you make a sprintf on t[0] you are writing somewhere you
> don't expect. Actually you're overwrit
On Tue, 25 Jun 2002, David L. Cooper II wrote:
> > First, you must know that this following code works perfectly,
> > this is a clist row selection callback. I use it for testing. But
> > there is a problem (yes...) the *y[] var isn't used, but if I
> > delete it from the code, then I get a segm
d to.
I'm sure you'll find the problem.
Regards,
David
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of ztoon
> Sent: Sunday, June 23, 2002 1:43 PM
> To: [EMAIL PROTECTED]
> Subject: strange Seg fault
>
>
>
First, you must know that this following code works perfectly, this is a clist row
selection callback. I use it for testing. But there is a problem (yes...) the *y[] var
isn't used, but if I delete it from the code, then I get a segmentation fault when
executing this code. (very very strange, i