Re: Application gets SegV on AIX with ldap libraries

"Wayne" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Organization IBM
Message-ID <[email protected]>
Anton,
Thanks for responding.  However, do you have any further ideas on why a 
ldap_x_free would fail?  Or do you know of any way to try and track down the 
failure?
It looks like the ldap_x_free is trying to free the memory pointer, which 
may no longer exist?
Is there anything that you can think of which can help in diagnosing the 
failure?

shm_catch_segv(0xb, 0x0, 0x2ff1fed0), line 4831 in "SHM.c"
malloc_y.free_y(??, ??) at 0xd01fc008
malloc_y.free_y_heap(??) at 0xd01fc420
ldap_x_free(0x240aa0d8), line 796 in "open.c"
ldap_x_hostlist_statusfree(0x240a9ff8), line 752 in "open.c"
nsldapi_try_each_host(0x2436d8d8, 0x240a9f88, 0x185, 0x0, 0xf0b93a2c, 
0xf0b93a44, 0xf0b93a50, 0x0), line 691 in "os-ip.c"
nsldapi_connect_to_host(0x2436d8d8, 0x2436dd78, 0x240a9f88, 0x185, 0x0, 
0x240a9fdc), line 468 in "os-ip.c"
nsldapi_new_connection(0x2436d8d8, 0x2ff209c8, 0x1, 0x1, 0x0), line 414 in 
"request.c"

Thanks,
Wayne

"Anton Bobrov" <[email protected]> wrote in message 
news:[email protected]...
>
> you should definitely try the latest version although be aware that
> building on AIX is not very smooth and you will probably have to
> hack your way around but it builds with the right effort. we have,
> now somewhat outdated AIX build here :
> ftp://ftp.mozilla.org/pub/mozilla.org/directory/c-sdk/releases/v6.0.2-contrib-bin/
> but note that those AIX builds received very limited testing.
>
> Wayne wrote:
>> Hi,
>> I have an 32bit C application that is running on AIX 5.2-008, and 
>> intermittently, the program gets a segmentation violation in the ldap 
>> library layer.
>>
>> The ldap library that we are using is the 5.08 version.
> [...]
>> Have anyone seen this before?
>> Is this something that is better handled with a later version of the ldap 
>> libraries?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.