libbind_r.a crashes
Nicolas Belan
belan at matranet.com
Tue Dec 5 13:22:10 UTC 2000
references: solaris 2.6 / bind 8.2.2 pl7 / purify 5.1 (oh yeah ...)
I am using a small soft which enable multi thread to connect to a host.
It works fine, but when i try to stop my soft,
I have a core in libbind_r.a :
(purify output)
UMR: Uninitialized memory read
This is occurring while in thread 41:
hesiod_end [hesiod.c:152]
dns_close [libbind_r.a]
gen_close [libbind_r.a]
net_data_destroy [irs_data.c:67]
_destroy_tsd [libthread.so.1]
_thrp_exit [libthread.so.1]
Reading 4 bytes from 0x6c13a8 in the heap.
Address 0x6c13a8 is 8 bytes into a malloc'd block at 0x6c13a0 of 24
bytes.
This block was allocated from thread 41:
malloc [rtlib.o]
hesiod_init [hesiod.c:76]
__irs_dns_acc [dns.c:58]
add_rule [libbind_r.a]
default_map_rules [libbind_r.a]
init_map_rules [libbind_r.a]
UMR: Uninitialized memory read
This is occurring while in thread 41:
hesiod_end [hesiod.c:152]
dns_close [libbind_r.a]
gen_close [libbind_r.a]
net_data_destroy [irs_data.c:67]
_destroy_tsd [libthread.so.1]
_thrp_exit [libthread.so.1]
Reading 4 bytes from 0x6c13a8 in the heap.
Address 0x6c13a8 is 8 bytes into a malloc'd block at 0x6c13a0 of 24
bytes.
This block was allocated from thread 41:
malloc [rtlib.o]
hesiod_init [hesiod.c:76]
__irs_dns_acc [dns.c:58]
add_rule [libbind_r.a]
default_map_rules [libbind_r.a]
init_map_rules [libbind_r.a]
ZPR: Zero page read
This is occurring while in thread 41:
__res_nclose [res_send.c:849]
hesiod_end [hesiod.c:152]
dns_close [libbind_r.a]
gen_close [libbind_r.a]
net_data_destroy [irs_data.c:67]
_destroy_tsd [libthread.so.1]
Reading 4 bytes from 0x105a
COR: Fatal core dump
This is occurring while in thread 41:
__res_nclose [res_send.c:849]
---- SOURCE ----
* This routine is not expected to be user visible.
*/
void
=> res_nclose(res_state statp) {
if (statp->_sock >= 0) {
(void) close(statp->_sock);
statp->_sock = -1;
---- END-SOURCE ----
hesiod_end [hesiod.c:152]
---- SOURCE ----
* This function deallocates the hesiod_p
*/
void
=> hesiod_end(void *context) {
struct hesiod_p *ctx = (struct hesiod_p *) context;
int save_errno = errno;
---- END-SOURCE ----
dns_close [libbind_r.a]
gen_close [libbind_r.a]
net_data_destroy [irs_data.c:67]
---- SOURCE ----
}
void
=> net_data_destroy(void *p) {
struct net_data *net_data = p;
---- END-SOURCE ----
_destroy_tsd [libthread.so.1]
Received signal 10 (SIGBUS - Bus Error)
Faulting address = 0x105a
Signal mask: (SIGBUS)
Pending signals:
is there anyone who could help me please ?!!!
--
Nicolas Belan
More information about the bind-users
mailing list