[meta-freescale] image-prelink (can) cause SIGSEGV on program startup (when run under GDB)

Bjørn Forsman bjorn.forsman at gmail.com
Sat Mar 19 05:12:14 PDT 2016


Hi Julio,

On 19 March 2016 at 12:40, Julio Cruz Barroso <julio.cruz at smartmatic.com> wrote:
> Hi Bjørn, Christian,
>
> I'm trying to perform a remote debug with a Qt Application (as you described below).
>
> The GDB (at QT Creator) show a Segmentation Fault at dl-debug.c [1]. Basically, the same situation.
>
> I performed the following steps:
>
> - Sync to the latest jethro revision
> - Delete tmp directory
> - Rebuild SD image
> - Rebuild SDK installer (bitbake my-image -c populate_sdk). 'my-image' inherit populate_sdk_qt5
>
> Some days ago, the remote debugging was working without problem.
>
> There is a current issue related with this? Any advices or suggestion?
>
> Thanks for your help,
>
> Julio
>
> [1] SIGSEGV during remote debug: [dl-debug.c] Line 55: if (r->r_map == NULL || ldbase != 0)

So it worked before you upgraded to latest jethro? Maybe you can roll
back and/or check the changelog (git log x..y) for the code you just
pulled in?

Also, isn't there a lot of state in build/ beyond build/tmp/ that can
trip up a build? To be really clean, I'd go for full "rm -rf build/".
I'm kind of paranoid about those things :-)

Btw, I'm currently on Yocto jethro branches from mid february, not the
very latest. So maybe there is a real bug in latest jethro...

Best regards,
Bjørn Forsman


More information about the meta-freescale mailing list