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]

Problem with cppunit: Segmentation Fault


Hello,

I have a problem with cppunit and cygwin: Whenever I try to run a cppunit test, all I get is a core dump.

Any help with this problem is greatly appreciated.

For example, the cppunit home page
  http://cppunit.sourceforge.net/cppunit-wiki/FrontPage
points to a very small cppunit example at
  http://pantras.free.fr/articles/helloworld.html .

I can compile and run it on Linux (e.g. SuSE 10):
$> g++ Hello.cpp  -lcppunit -ldl
$> ./a.out
Test::testHelloWorldHello, world!
 : OK
$>

When I try the same under cygwin, it compiles apparently well, but calling ./a.exe produces "Segmentation fault (core dumped)". The dump (a.exe.stackdump) is attached.

The output of cygcheck -svn is also attached (with a few lines removed to keep my privacy).

If you need any further info, please let me know.

Thanks,

Heiko

PS: The same problem was already reported to this list 2 years ago, but AFAIK it was never solved.

-- 
----
I condem'n the abuse of apostrophe's.


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Attachment: a.exe.stackdump
Description: Text document

Attachment: cygcheck.out
Description: Binary data

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

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