[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unaligned access



Hello Benoit

Thanks for your respons.
I know prctl and I use this tool for my own application debugging.
I post only to signal the problem on the ia64 architecture.

Guy

Welterlen Benoit a écrit :
> Hello
>
>
> If you want to debug and fixe the application, you can follow these
> steps :
> - compile the application in debug mode
>
> - activate cores :
>
>   $ ulimit -c unlimited
>
> - run the application with prctl :
>
>   $ prctl --unaligned=signal <cmd>
>   [...]
>   Bus error (core dumped)
>
> - analyse the core dump with gdb
>
> If  you only want to disable unaligned message, you can run the
> application with
> "prctl --unaligned=silent "
>
> Benoit
>
>



Reply to: