Tom
I keep getting a sigsegv when running an application. I am converting an
app from windows to linux and have a lot of code already written and pretty
much all of my objects are created using malloc. I am assuming that I am
messing up the heap. But how would I pinpoint the error. I have a lot of
structs that at times have 70 members in them of mixed types , float, int,
bool. And then I do a malloc to create objects like these. Should this be
giving me trouble? or is it something else? Should I shrink my structs.
typedef struct Obj1 {
float a;
int b;
...
bool c;
Obj *x = (Obj *)malloc(sizeof(Obj));
Hmm...
Berlin Brown
2. What is the fucntion of /etc/networks (In Debian 1.3.0) ?
3. AIX malloc heap fragmentation
4. Diff between grep, egrep, fgrep
7. BUG: malloc heap corruption in rpc.nisd_resolv
8. how do I request/verify 4M shared memory pages
9. S10_b63 malloc heap corruption in pkg utilities (pkginstall)
10. Corrupted heap storage after function call
13. should malloc.h include ansidecl.h? u_long, etc.