From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] ICU 51.2 bus error
Date: Mon, 9 Jun 2014 18:47:55 +0200 [thread overview]
Message-ID: <20140609184755.54864d4b@free-electrons.com> (raw)
In-Reply-To: <1402328606.59886.YahooMailNeo@web172305.mail.ir2.yahoo.com>
Dear Massimo Callegari,
On Mon, 9 Jun 2014 16:43:26 +0100 (BST), Massimo Callegari wrote:
> I'm having a serious issue with ICU 51.2 on a MIPS platform.
> Everything builds fine but anyone using ICU at runtime gets a misterious "bus error" fault.
> At first I thought it was my Qt 5.3.0 build, but then I realized even the simple "icuinfo" tool fails with the same error.
> The root filesystem is mounted on NFS but I hope that's not the cause.
>
>
> I enclose a strace run of the icuinfo command at the end of this email.
> From the trace it seems the lookup of file "/usr/lib/icu/icuplugins51.txt" is the cause of all the evil, but I tried to manually create it and nothing changes.
> I double checked on my PC and it doesn't even exist, even though the icuinfo command works properly.
>
> I'm afraid this is a cross-compilation thing, but I can't figure out myself what it might be.
> Does anyone have any idea or is able to find the issue from the trace below ?
First of all, thanks for your report!
Could you run "ulimit -c unlimited" on your target, and then your
command? It will generate a "core" file that you can transfer on your
development machine, and then do:
./host/usr/mips-<blabla>-gdb -c core target/usr/bin/icuinfo
and then run the "backtrace" command in gdb, to see where the crash
occurred.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-06-09 16:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-09 15:43 [Buildroot] ICU 51.2 bus error Massimo Callegari
2014-06-09 16:47 ` Thomas Petazzoni [this message]
2014-06-10 9:08 ` Massimo Callegari
2014-06-10 10:44 ` Massimo Callegari
2014-06-11 10:21 ` Massimo Callegari
2015-02-07 10:09 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140609184755.54864d4b@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox