bug-libtool
[Top][All Lists]
Advanced

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

Re: [libtool 2.2.11a] testsuite: 48 69 92 failed [cygwin]


From: Charles Wilson
Subject: Re: [libtool 2.2.11a] testsuite: 48 69 92 failed [cygwin]
Date: Tue, 15 Jun 2010 23:49:41 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

On 6/12/2010 4:58 AM, Ralf Wildenhues wrote:
> * Charles Wilson wrote on Fri, Jun 11, 2010 at 02:28:41PM CEST:
>> In 92, there's a segfault:
>> stderr:
>> exceptions_in_prog
>> caught: exception in program
>> exceptions_in_lib
>> caught inside lib: exception in library
>> caught: exception from library
>> exceptions_in_module
>> caught inside module: exception in module
>> caught: exception from module
>> /usr/src/packages/libtool/git/build/tests/testsuite.dir/at-groups/92/test-source:
>> line 399:  9032 Segmentation fault      (core dumped) $LIBTOOL
>> --mode=execute -dlopen m/module.la "$lt_exe"
>> stdout:
>> ../../libtool/tests/exceptions.at:262: exit code was 139, expected 0
> 
> Hmm, this probably warrants a debugging session on Cygwin, i.e.,
> something like
>   ../../../libtool --mode=execute -dlopen m/module.la gdb ./main.exe
>   run
>   backtrace
> 
> in the test directory.

(gdb) run
Starting program:
/usr/src/packages/libtool/git/build/tests/testsuite.dir/093/.libs/main
[New Thread 11680.0x29dc]
[New Thread 11680.0x2a88]
exceptions_in_prog
caught: exception in program
exceptions_in_lib
caught inside lib: exception in library
caught: exception from library
exceptions_in_module
caught inside module: exception in module
caught: exception from module

Program received signal SIGSEGV, Segmentation fault.
0x62ac21c0 in ?? ()
(gdb) bt
#0  0x62ac21c0 in ?? ()
#1  0x6c486825 in cygstdc++-6!__cxa_demangle () from
/usr/bin/cygstdc++-6.dll
#2  0x67f0581d in cyggcc_s-1!_Unwind_DeleteException ()
   from /usr/bin/cyggcc_s-1.dll
#3  0x6c4e89d0 in cygstdc++-6!__cxa_end_catch () from
/usr/bin/cygstdc++-6.dll
#4  0x004016fe in _fu13___ZSt4cerr () at main.cpp:90
#5  0x004017be in main () at main.cpp:116

> In order to find out whether this is a problem with uninstalled
> libraries only, you can try commenting out the test in line 262 of
> exceptions.at and rerunning test 92.

(it's line 265, now)...
make check-local TESTSUITEFLAGS='-v -d -x 93'

...and no joy:

stderr:
exceptions_in_prog
caught: exception in program
exceptions_in_lib
caught inside lib: exception in library
caught: exception from library
exceptions_in_module
caught inside module: exception in module
caught: exception from module
/usr/src/packages/libtool/git/build/tests/testsuite.dir/at-groups/93/test-source:
line 388:  6636 Segmentation fault      (core dumped) "$lt_exe"
stdout:
../../libtool/tests/exceptions.at:277: exit code was 139, expected 0
93. exceptions.at:24:  FAILED (exceptions.at:277)


I wonder if this might actually be a compiler bug.  One really shouldn't
segfault inside the exception-handling stuff deep in the innards of the
C++ runtime, should one?

$ cygcheck -cd gcc4 gcc4-g++ binutils
Cygwin Package Information
Package              Version
binutils             2.20.51-2
gcc4                 4.3.4-3
gcc4-g++             4.3.4-3

--
Chuck



reply via email to

[Prev in Thread] Current Thread [Next in Thread]