Mantis - rcs
Viewing Issue Advanced Details
5159 regular use major always 2014-03-28 20:34 2014-04-02 17:37
tailcat  
dam  
normal  
closed  
fixed  
none    
none  
0005159: co and ci coredump on Solaris 11.1
co and ci coredump on Solaris 11.1, doesn't seem to do so on Solaris 10

just typing ci or co to get the usage doesn't coredump, but ci -u filename co -l filename coredump.

# uname -a
SunOS ahostname 5.11 11.1 i86pc i386 i86pc

truss output attached.
txt file icon truss.txt [^] (19,077 bytes) 2014-03-28 20:34
Issue History
2014-03-28 20:34 tailcat New Issue
2014-03-28 20:34 tailcat File Added: truss.txt
2014-03-29 22:31 dam Status new => assigned
2014-03-29 22:31 dam Assigned To => dam
2014-03-30 22:11 dam Note Added: 0010785
2014-03-30 22:11 dam Status assigned => feedback
2014-03-31 18:26 tailcat Note Added: 0010787
2014-04-01 22:27 dam Note Added: 0010788
2014-04-01 22:51 dam Note Added: 0010789
2014-04-02 17:37 dam Note Added: 0010790
2014-04-02 17:37 dam Status feedback => closed
2014-04-02 17:37 dam Resolution open => fixed

Notes
(0010785)
dam   
2014-03-30 22:11   
I can confirm the issue on Solaris 11 Sparc. For now I built a separate set of packages for Solaris 11 which seems to works fine, but essentially the Solaris 10 package should work fine. Probably I'll investigate this when I have more spare time. Please check the experimental packages if this works for you;
  http://buildfarm.opencsw.org/experimental.html#rcs [^]
(0010787)
tailcat   
2014-03-31 18:26   
That package seems to mess up the ,v file so it looks like the following after checkin.

head integritylockslognextstatestrictsymbolstext 1.938;
accessauthorbrancbranchescommencommitiddatedescexpandhead integritylockslognextstatestrictsymbolstext;
symbolstext;
lockslognextstatestrictsymbolstext
        root:1.938; strictsymbolstext;
commencommitiddatedescexpandhead integritylockslognextstatestrictsymbolstext @# @;


1.938
datedescexpandhead integritylockslognextstatestrictsymbolstext 2014.03.25.15.55.16; authorbrancbranchescommencommitiddatedescexpandhead integritylockslognextstatestrictsymbolstext root; statestrictsymbolstext Exp;
(0010788)
dam   
2014-04-01 22:27   
This is most likely the same issue that causes the coredump on Solaris 10. I'll contact upstream.
(0010789)
dam   
2014-04-01 22:51   
The issue seems to be Sun Studio specific, with gcc the issue does not appear. For some reason
the testsuite hasn't been run in a while and these are some failing tests. I'll investigate further.
(0010790)
dam   
2014-04-02 17:37   
An update package rcs-5.9.2,REV=2014.04.02 has been pushed to unstable. Building with GCC solved the issue. Additionally, the test suite has been adjusted to pass without errors.