Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > SIGBUS Error !

Thread Tools

SIGBUS Error !

Posts: n/a
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 (
526 (hash_walk_function_t)
527 &p_ctrl_audit_req->audit_id
528 );

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 "",
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 ?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
coredump due to SIGBUS prasadi C++ 0 04-22-2009 05:05 AM
SIGBUS, Bus error. C++ 10 08-04-2007 02:46 AM
Help! SIGBUS (object specifc hardware error) when call function getline C++ 4 03-02-2006 06:46 AM
signals (SIGBUS and SIGSEGV) junky_fellow C Programming 4 09-02-2004 11:35 PM
[crash BUG] the latest ruby 1.8 (2003-08-22) give SIGBUS Ville Mattila Ruby 2 08-22-2003 11:48 AM