This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc4-g++: ilmbase segfaults


I've been having some issues with the OpenEXR libraries (as mentioned on the Ports list), and it looks like the problem is in ilmbase. I have attached the .cygport and a build patch; it has no dependencies besides a C++ compiler. Neither Debian nor Gentoo ship any patches for ilmbase, so I'm suspecting a bug in either Cygwin or GCC.

After building a debug build and running 'make check' in IexTest:

$ ../libtool --mode=execute gdb ./IexTest.exe
[...]
(gdb) run0
Starting program: /usr/src/ports/graphics/ilmbase/ilmbase-1.0.1-11/build/IexTest/.libs/IexTest
[New thread 1976.0x1338]
Error: dll starting at 0x77600000 not found.
Error: dll starting at 0x759b0000 not found.
Error: dll starting at 0x77600000 not found.
Error: dll starting at 0x77500000 not found.
[New thread 1976.0xef4]
See if throw and catch work:
1


Program received signal SIGSEGV, Segmentation fault.
0x6c4e8010 in ?? ()
(gdb) bt
#0 0x6c4e8010 in ?? ()
#1 0x3d2381f4 in cygstdc++-6!_ZNSs4_Rep9_S_createEjjRKSaIcE ()
from /usr/bin/cygstdc++-6.dll
#2 0x3d237caa in cygstdc++-6!_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag () from /usr/bin/cygstdc++-6.dll
#3 0x3d2398b6 in cygstdc++-6!_ZNSsC2EPKcRKSaIcE ()
from /usr/bin/cygstdc++-6.dll
#4 0x6d703628 in BaseExc (this=0xe49f80, s=0x40311d "ArgExc")
at Iex/IexBaseExc.cpp:71
#5 0x00402278 in ArgExc (this=0xe49f80, text=0x40311d "ArgExc")
at Iex/IexBaseExc.h:142
#6 0x004015c1 in throwArgExc ()
at IexTest/testBaseExc.cpp:48
#7 0x004016d6 in _fu3___ZSt4cout ()
at IexTest/testBaseExc.cpp:91
#8 0x00401947 in _fu5___ZSt4cout ()
at IexTest/testBaseExc.cpp:203
#9 0x00401175 in main (argc=1, argv=0xe39d00)
at IexTest/main.cpp:46



Yaakov


Attachment: ilmbase-1.0.1-11.cygport
Description: Text document

Attachment: 1.0.1-exeext.patch
Description: Text document

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]