Re: strange Seg fault

2002-06-25 Thread Sven Neumann
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

RE: strange Seg fault

2002-06-25 Thread Marco Lettere
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

RE: strange Seg fault

2002-06-25 Thread David L. Cooper II
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 > > >

strange Seg fault

2002-06-23 Thread ztoon
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