/usr/local/bin/ssphys: unrecognized file during LOADVSSNAMES

Marcel Juffermans mjuffermans at paradigmone.com.au
Wed Feb 28 23:16:08 EST 2007


OK, so I've compiled again with -g flag, and run it through gdb. The  
problem occurs in eType SSRecord::GetType () because m_pBuffer is  
null. I found the other private data defined in SSRecord.h and  
printed them:

(gdb) print m_Header
$8 = {
   size = 0,
   type = "\000",
   checksum = 0
}
(gdb) print m_pBuffer
$9 = (byte *) 0x0
(gdb) print m_FileImpPtr
$10 = {
   px = 0xd01390,
   pn = {
     pi_ = 0xd013b0
   }
}
(gdb) print m_Header
$11 = {
   size = 0,
   type = "\000",
   checksum = 0
}
(gdb) print m_pBuffer
$12 = (byte *) 0x0
(gdb) print m_Len
$13 = 0
(gdb) print m_Offset
$14 = 52
(gdb) print m_FileImpPtr
$15 = {
   px = 0xd01390,
   pn = {
     pi_ = 0xd013b0
   }
}

Good fun, I've never done this before! Can't see straight away why  
this happens, though. Any ideas?

Thanks,

- Marcel

On 01/03/2007, at 10:59 AM, Dirk wrote:

>
>>
>> $ od -N 50 -a -H dummy/data/names.dat
>> 0000000    P nul nul nul   H   N  a2   J nul nul nul nul nul nul  
>> nul nul
>>                  50000000        484ea24a        00000000         
>> 00000000
>> 0000020  nul nul nul nul nul nul nul nul  db  cd soh nul nul nul  
>> nul nul
>>                  00000000        00000000        dbcd0100         
>> 00000000
>> 0000040  nul nul nul nul nul nul nul nul nul nul nul nul nul nul  
>> nul nul
>>                  00000000        00000000        00000000         
>> 00000000
>> *
>> 0000060
>>
>> So the names.dat does have the "HN" magic in it (not sure if it's  
>> in the right spot or not). I'm stuck now, what else can I do?
>
> All in all this looks ok to me. It must have to do with the  
> compilation you used. Perhaps some structure misalignment. Can you  
> run the ssphys command within the debugger? Please try to step  
> through the function SSRecordFile* SSRecordFile::MakeFile (const  
> std::string& fileName) in SSFiles.cpp. the first try catch block  
> should return a valid record. Please check that record.
>
> Dirk
>
> _______________________________________________
> vss2svn-users mailing list
> Project homepage:
> http://www.pumacode.org/projects/vss2svn/
> Subscribe/Unsubscribe/Admin:
> http://lists.pumacode.org/mailman/listinfo/vss2svn-users- 
> lists.pumacode.org
> Mailing list web interface (with searchable archives):
> http://dir.gmane.org/gmane.comp.version- 
> control.subversion.vss2svn.user
>
>



More information about the vss2svn-users mailing list