What does “BUS_ADRALN - Invalid address alignment” error means?

前端 未结 4 2280
忘掉有多难
忘掉有多难 2021-02-15 11:02

We are on HPUX and my code is in C++. We are getting

BUS_ADRALN - Invalid address alignment

in our executable on a function call.

4条回答
  •  迷失自我
    2021-02-15 11:51

    Actually HP-UX has its own great forum on ITRC and some HP staff members are very helpful. I just took a look at the same topic you are asking and here are some results. For example the similar problem was caused actually by a bad input parameter. I strongly advise you first to read answers to similar question and if necessary to post your question there.

    By the way it is likely that you will be asked to post results of these gdb commands:

    (gdb) bt
    (gdb) info reg
    (gdb) disas $pc-16*8 $pc+16*4
    

提交回复
热议问题