1835927 Members
2751 Online
110088 Solutions
New Discussion

Hi ,why SIGBUS Error ?

 
Cai Wenliang
Advisor

Re: Hi ,why SIGBUS Error ?

It means it is libclntsh.sl.9.0 who call exit from libc.2. Right ?
ccba
A. Clay Stephenson
Acclaimed Contributor

Re: Hi ,why SIGBUS Error ?

Okay, your problem is actually in free() although you are not calling it directly. It appears that you have a problem with one of your destructor routines. A very common calue of an error in free() is sending an invalid address. For example, if free() were supplied with the address of a variable that was not dynamically allocated that would certainly do it.

Had you compiled and debugged as I originally suggested, we could probably see the exact cause.
If it ain't broke, I can fix that.
Cai Wenliang
Advisor

Re: Hi ,why SIGBUS Error ?

the error can't reappear .
I can't find it any more .
ccba
Cai Wenliang
Advisor

Re: Hi ,why SIGBUS Error ?

#9 0xc000000002185088 in exit+0x88 () from /lib/pa20_64/libc.2

who call the function of "exit"?
Oracle ?
ccba