realloc segmentation fault?
807575Jul 29 2002 — edited Sep 25 2002Hi,
I am working on a C++ application built with Forte WorkShop 6U1, Solaris 5.8, 32-bits compiled linked with -lpthread and -lthread options.
The application runs for a some days but eventually crashes and core dumps. All the core files end in :
[1]realloc(0x849f50, 0xff1be8b0, 0xff1b8018, 0x510048, 0x4840c1, 0x3c5e98), at 0xff141ae0
[2] freeunlocked(0x0, 0xff1b8018, 0xff1be824, 0xff1be8a4, 0xff1be824, 0x0), at 0xff1423e4
[3] malloc(0x4, 0x0, 0xff1b8018, 0x8, 0x0, 0x0), at 0xff141518
[4] _lsearch(0x4, 0x0, 0xffffffff, 0xffffffff, 0xfffffff8, 0x510048), at 0xff14140c
[5] cv_conversion_ok(0x4, 0xe2804, 0x13950, 0xff0d36f8, 0xff0e9b2c, 0x3c5e98), at 0xff0d6200
My application crashes more oftenly in Netra-T4 than in Ultra-250.
I noticed that /usr/platform/SUNW,Netra-T4/lib/libc_psr.so.1 is different from
/usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1.
What do you think?
Thanks for your help.