Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490302 - <sys-devel/binutils-2.23.2 dev-qt/qtcore-4.8.5 lrelease bus error in __frame_dummy_init_array_entry () when processing qt_de.ts on sparc-solaris
Summary: <sys-devel/binutils-2.23.2 dev-qt/qtcore-4.8.5 lrelease bus error in __frame_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-03 20:01 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2014-01-13 19:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,734.72 KB, text/plain)
2013-11-03 20:01 UTC, Chí-Thanh Christopher Nguyễn
Details
testcase.ts (testcase.ts,416 bytes, text/plain)
2013-11-03 20:02 UTC, Chí-Thanh Christopher Nguyễn
Details
qtcore-4.8.5-sparc-solaris-avoid-lrelease-bus-error.patch (qtcore-4.8.5-sparc-solaris-avoid-lrelease-bus-error.patch,1.53 KB, patch)
2013-11-03 20:04 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2013-11-03 20:01:51 UTC
Created attachment 362504 [details]
build.log

Building dev-qt/qtcore fails to build in sparc-solaris prefix, due to lrelease choking von translations/qt_de.ts. The problem is triggered when lrelease encounters a duplicate translation.

The other translation files are processed without errors. lrelease on other platforms seems to be unaffected. Earlier lrelease from qtcore-4.6.3 processes this file fine as well.

Stack trace:

$ gdb bin/lrelease
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/chithanh/portage/dev-qt/qtcore-4.8.5/work/qt-everywhere-opensource-src-4.8.5/bin/lrelease...(no debugging symbols found)...done.
(gdb) run translations/qt_de.ts
Starting program: /tmp/chithanh/portage/dev-qt/qtcore-4.8.5/work/qt-everywhere-opensource-src-4.8.5/bin/lrelease translations/qt_de.ts
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
Warning: dropping duplicate messages in '
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0xff2c4f7c in __frame_dummy_init_array_entry ()
   from /home/pub/lib/gentoo-prefix/usr/sparc-sun-solaris2.10/lib/gcc/libstdc++.so.6
(gdb) where
#0  0xff2c4f7c in __frame_dummy_init_array_entry ()
   from /home/pub/lib/gentoo-prefix/usr/sparc-sun-solaris2.10/lib/gcc/libstdc++.so.6
#1  0xff1f45cc in (anonymous namespace)::get_global ()
    at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libstdc++-v3/libsupc++/eh_globals.cc:53
#2  0xff1f4604 in __cxxabiv1::__cxa_get_globals ()
    at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libstdc++-v3/libsupc++/eh_globals.cc:63
#3  0xff1f440c in std::uncaught_exception ()
    at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libstdc++-v3/libsupc++/eh_catch.cc:136
#4  0xff24dd88 in std::ostream::sentry::~sentry (this=0xffbff444, 
    __in_chrg=<optimized out>)
    at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/build/sparc-sun-solaris2.10/libstdc++-v3/include/ostream:429
#5  0xff24e548 in std::__ostream_insert<char, std::char_traits<char> > (__out=..., 
    __s=0x1966a0 "Warning: dropping duplicate messages in '", __n=41)
    at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/build/sparc-sun-solaris2.10/libstdc++-v3/include/bits/ostream_insert.h:112
#6  0xff24e098 in std::operator<< <std::char_traits<char> > (__out=..., 
    __s=0x1966a0 "Warning: dropping duplicate messages in '")
    at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/build/sparc-sun-solaris2.10/libstdc++-v3/include/ostream:533
#7  0x00020da4 in Translator::reportDuplicates(Translator::Duplicates const&, QString const&, bool) ()
#8  0x00014cc4 in releaseTranslator(Translator&, QString const&, ConversionData&, bool)
    ()
#9  0x000155c0 in releaseTsFile(QString const&, ConversionData&, bool) ()
#10 0x00016880 in main ()
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-11-03 20:02:58 UTC
Created attachment 362506 [details]
testcase.ts

Minimal translation source file which triggers the issue.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-11-03 20:04:04 UTC
Created attachment 362508 [details, diff]
qtcore-4.8.5-sparc-solaris-avoid-lrelease-bus-error.patch

Workaround to make qt_de.ts not trigger the issue.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-11-04 04:21:11 UTC
The problem is already fixed in g-x86 by binutils-2.23.2 but that is not in prefix yet.
Comment 4 Fabian Groffen gentoo-dev 2014-01-13 19:52:19 UTC
binutils-2.23.2 and 2.24-r1 in the prefix tree now