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

Re: Bug#410537: build failure on alpha

Hi Steve,

On Sat, Feb 24, 2007 at 04:10:03PM -0600, Steve M. Robbins wrote:
> I need help diagnosing this build failure.  

> As I mentioned in my initial plea for help, last November,
> [http://lists.debian.org/debian-alpha/2006/11/msg00024.html], the
> previous version built on alpha and this current version is a tiny
> bug fix in a completely different region of code.  Moreover, the
> package is building on all architectures except alpha.  In my
> experience, this is the signature of a toolchain bug so I'd really
> appreciate someone with alpha knowledge to help.

What I can offer in this case is a full backtrace of the testsuite crash,
with debugging libs installed:

(gdb) bt
#0  0x0000020000343a78 in kill () at ../string/bits/string2.h:998
#1  0x00000200003437c8 in *__GI_raise (sig=6)
    at ../linuxthreads/sysdeps/unix/sysv/linux/raise.c:38
#2  0x0000020000344db0 in *__GI_abort () at ../sysdeps/generic/abort.c:88
#3  0x00000200001d747c in read_encoded_value_with_base (encoding=100 'd', 
    base=0, p=0x1200f6236 "\001\004�A", val=0x11f61e1a8)
    at /build/buildd/gcc-4.1-4.1.1ds2/src/libstdc++-v3/../gcc/unwind-pe.h:259
#4  0x00000200001d772c in parse_lsda_header (context=0x11f61e508, 
    p=<value optimized out>, info=0x11f61e1a0)
    at /build/buildd/gcc-4.1-4.1.1ds2/src/libstdc++-v3/../gcc/unwind-pe.h:286
#5  0x00000200001d7c6c in __gxx_personality_v0 (version=<value optimized out>, 
    actions=1, exception_class=<value optimized out>, ue_header=0x12011ac70, 
    at ../../../../src/libstdc++-v3/libsupc++/eh_personality.cc:433
#6  0x00000200002f0bc4 in _Unwind_RaiseException () from /lib/libgcc_s.so.1
#7  0x00000200001d82c0 in __cxa_throw (obj=<value optimized out>, 
    tinfo=0x200000982d8, dest=0x2000004d560 <~Exception>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:72
#8  0x000002000004608c in CppUnit::Asserter::fail (message=@0x11f61ec58, 
    sourceLine=@0x11f61f108) at Asserter.cpp:21
#9  0x0000020000046614 in CppUnit::Asserter::failNotEqual (
    expected=<value optimized out>, actual=<value optimized out>, 
    sourceLine=@0x11f61f108, additionalMessage=<value optimized out>, 
    shortDescription=<value optimized out>) at Asserter.cpp:84
#10 0x00000001200c7694 in checkXmlEqual (expectedXml=<value optimized out>, 
    actualXml=<value optimized out>, sourceLine=@0x11f61f108)
    at XmlUniformiser.cpp:38
#11 0x00000001200c8a20 in XmlUniformiserTest::testAssertXmlEqual (
    this=<value optimized out>) at XmlUniformiserTest.cpp:131
<snip here, everything below is probably not relevant>

Looking at the code, I gather that it's expected for this test to throw an
assertion, and the problem is that it blows up on the other end.  Other
tests that use CPPUNIT_ASSERT_ASSERTION_FAIL() seem to work ok, though, so
it doesn't seem to be a general problem with exception handling on alpha. 
I'll dig a bit further and see what I can see.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Reply to: