SIGBUS Error !

S

Sami

Hi !

What can be the reasons to the following SIGBUS error ?

I thought SIGBUS is caused due to either Memory mis-allignment or
non-existent physical address.
I can access all the arguments which are passed to the function
"hash_walk". All addresses are word-aligned (divisible by 4 )

The program dumps even before the successful function call .

the gdb backtrace is attached !

(gdb) s
525 retval = hash_walk (
g_bc_mgcp_var.p_associd_to_mg_blk_ht,
526 (hash_walk_function_t)
bc_ha_assoc_rep_callbk,
527 &p_ctrl_audit_req->audit_id
528 );
(gdb)

Program received signal SIGBUS, Bus error.
0xff3c27a0 in ?? ()
(gdb) bt
#0 0xff3c27a0 in ?? ()
#1 0xff3b28b8 in ?? ()
#2 0x15aee4 in _PROCEDURE_LINKAGE_TABLE_ ()
#3 0x79fd8 in bc_ha_proc_ctrl_audit_req (p_data=0xffbea978 "",
p_err=0xffbea966)
at /ha_sipsa/ha/softswitch/mgc/bccas/mgcp/src/bc_ha_fsm.c:525
........

g_bc_mgcp_var.p_associd_to_mg_blk_ht = (hash_table_t *) 0x16b7a4
bc_ha_assoc_rep_callbk = {gw_return_t (void *, U32bit, void *)}
0x790d8 <bc_ha_assoc_rep_callbk>
&p_ctrl_audit_req->audit_id = (U32bit *) 0xffbea978

The function called is part of a .so library . Can be it cause of the
problem ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top