Overview
Features
Download
Documentation
Community
Add-Ons & Services

LineEndingConverterTest::testInputDosToUnix() hanging on Solaris

Please post support and help requests here.

LineEndingConverterTest::testInputDosToUnix() hanging on Solaris

Postby dsd@ugs.com » 08 Apr 2008, 00:13



I've traced the hang down to this line in copyStream in StreamCopier.cpp:
istr.read(buffer.begin(), bufferSize);

This test works fine on my Linux and HP Itanium.

Any help appreciated. Thanks.

Some extra info if you need it.

omfsun3 [17]CC -V
CC: Sun C++ 5.7 Patch 117830-04 2005/09/14
omfsun3 [18]uname -a
SunOS omfsun3 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Fire-V240
dsd@ugs.com
 
Posts: 5
Joined: 14 Feb 2008, 22:14

Re: LineEndingConverterTest::testInputDosToUnix() hanging on Solaris

Postby guenter » 08 Apr 2008, 07:24

Hmm, are you using STLport or the RW STL?
guenter
 
Posts: 1135
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: LineEndingConverterTest::testInputDosToUnix() hanging on Solaris

Postby dsd@ugs.com » 08 Apr 2008, 17:51


I was linking with the follow, so I assume that would pickup Cstd.
-lpthread -lCrun -lsocket -lm -ldl -lnsl -lelf -lresolv -lxnet

I forced the compile and link to use -library=stlport4 and the test worked, but I am afraid I may not get approval for that type of change in building our application.


dsd@ugs.com
 
Posts: 5
Joined: 14 Feb 2008, 22:14

Re: Re: LineEndingConverterTest::testInputDosToUnix() hanging on Solaris

Postby alex » 08 Apr 2008, 19:04

> I was linking with the follow, so I assume that would pickup Cstd.
> -lpthread -lCrun -lsocket -lm -ldl -lnsl -lelf -lresolv -lxnet
>
> I forced the compile and link to use -library=stlport4 and the test worked, but I am afraid I may not get approval for that type of change in building our application.

It sounds like it's not Poco-related. I suggest to try to reproduce it without Poco.

Alex
alex
 
Posts: 1130
Joined: 11 Jul 2006, 16:27
Location: United_States


Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests