Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

binary produced in solaris 9 is not running in 10!!!! 1

Status
Not open for further replies.

biswajithit

Programmer
May 15, 2008
4
IN
Hi,

i produced a binary in solaris 9

cc--->5.8 CC---->5.8

the binary is working fine in 9.

in Solaris 10 that binary is not opening.... showing segmentation fault.

runnong in dbx it shows.....

Attempting to read 3 bytes at address 0xffbfe92d
which is 3205 bytes above the current stack pointer
t@1 (l@1) stopped in std::basic_ostream<char,std::char_traits<char> >::eek:perator<< at 0xd5d84bb4
0xd5d84bb4: operator<<+0x0108: ba,a 0xd5964b20 ! 0xd5964b20


any clue.
 
How did you transfer it over to the Solaris 10 server? FTP? If so, did you use the binary or ascii option?
 
spamly's probably on to something. Do a "[tt]cksum[/tt]" on the binary on both machines. See if it was changed when you copied it.

 
Also, are you sure the systems are the same architecture? Check uname -m on both.

Annihilannic.
 
1. both binary size is same(in 9 as well as 10)

2.architecture is same.(sun4u).

 
What libraries does it depend on? Maybe they have changed somehow between versions. Have you tried recompiling on Solaris 10?

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top