[revml] VCP crash "no DB_File entry..." (resent)

barries at slaysys.com barries at slaysys.com
Wed Aug 10 03:07:19 PDT 2005


I'd be willing to debug this, VSS is the most problematic SCM we deal with 
and it's probably got corner cases even its designers never thought of.

- Barrie

On Aug 10 2005, Nikos Papadopoulos wrote:

> 
> Hello,
> 
> I have been using the VCP (0.9) tool to get some VSS projects over
> to a CVS repository and I've come across a problem. 
> 
> During the import of a certain project, after completing about 26
> of the 95 revisions, VCP crashes with the following message in the
> log
> file:
> 
> 26.000000 vcp: no DB_File entry for vss;/INSTANT/Units/Units.dsp#0
>  
> followed by a stack dump.
>  
> I have checked the VSS database and it is error free. I am using
> CVS client 1.11.20.
>  
> I have attached the log file and the vcp options file. I could also
> post the SourceSafe archive if someone is willing to debug this...
> 
> I'd be thankfull for any insights
> 
> Log excerpts follow:
> 
>  
>  
> ############################################################################### 
> 0.000000 vcp: started Tue Aug 9 12:47:08 2005 (Tue Aug 9 09:47:08 2005 
> GMT) 1.000000 vcp: vcp instant_test.vcp 1.000000 vcp: reading config from 
> instant_test.vcp 1.000000 vcp: loaded 'VCP::Source::vss' from 
> 'CODE(0xda8200)' 1.000000 vcp: VCP::Source::vss work_root set to 
> 'E:\cvs\tmp\vcp4040\source-vss' 1.000000 vcp: VCP::Source::vss 
> command_chdir set to 'E:\cvs\tmp\vcp4040\source-vss' 1.000000 vcp: loaded 
> 'VCP::Dest::cvs' from 'CODE(0xda8200)' 1.000000 vcp: VCP::Dest::cvs 
> work_root set to 'E:\cvs\tmp\vcp4040\dest-cvs' 1.000000 vcp: 
> VCP::Dest::cvs command_chdir set to 'E:\cvs\tmp\vcp4040\dest-cvs' 
> 1.000000 vcp: VCP::Source::vss rev_root set to 'INSTANT/Units' 1.000000 
> vcp: $ mkdir --mode=0770 E:\cvs\tmp\vcp4040\source-vss 1.000000 vcp: 
> SSDIR=E:\work\Test\INSTANT\vssdb 1.000000 vcp: $ chdir 
> E:\cvs\tmp\vcp4040\source-vss 1.000000 vcp: $ ss help "/illegal arg" 
> -YAdmin -I- 1.000000 vcp: VCP::Dest::cvs rev_root set to 'INSTANT/Units' 
> 1.000000 vcp: plugin 0 is VCP::Source::vss 1.000000 vcp: plugin 1 is 
> VCP::Dest::cvs 1.000000 vcp: changesets rules: ## Field Condition ## 
> ==================== =========
>     time                 <=60     
>     user_id              equal    
>     comment              equal    
>     source_filebranch_id notequal 
> 1.000000 vcp: appending required ChangeSets filter
> 1.000000 vcp: Plugins: VCP::Source::vss, ChangeSets, VCP::Dest::cvs
> 1.000000 vcp: VCP::Dest::cvs command_chdir set to
> 'E:\cvs\tmp\vcp4040\dest-cvs\co'
> 1.000000 vcp: $ cvs ... checkout INSTANT/Units   # establish local
> CVS workspace
> 1.000000 vcp: $ mkdir --mode=0770 E:\cvs\tmp\vcp4040\dest-cvs\co
> 1.000000 vcp: $ chdir E:\cvs\tmp\vcp4040\dest-cvs\co
> 1.000000 vcp: $ cvs -Q -z9 -dE:\work\cvs_repository checkout
> INSTANT/Units
> cvs checkout: cannot find module `INSTANT/Units' - ignored
> 
> 1.000000 vcp: cvs checkout failed.  Missing module?
> 1.000000 vcp: $ cvs import ... INSTANT/Units   # create module in
> repository
> 1.000000 vcp: $ mkdir --mode=0770
> E:\cvs\tmp\vcp4040\dest-cvs\empty_dir
> 1.000000 vcp: $ cvs -Q -z9 -dE:\work\cvs_repository import -m "VCP
> destination module creation" INSTANT/Units vcp start
> 1.000000 vcp: $ cvs ... checkout INSTANT/Units   # establish local
> CVS workspace
> 1.000000 vcp: $ cvs -Q -z9 -dE:\work\cvs_repository checkout
> INSTANT/Units
> ...
> etc
> ...
> 25.000000 vcp: Checking in
> E:\cvs\tmp\vcp4040\dest-cvs\co\INSTANT\Units/d_units_inst.c;
> 
> E:\work\cvs_repository/INSTANT/Units/d_units_inst.c,v  <-- 
> d_units_inst.c
> 
> new revision: 1.3; previous revision: 1.2
> 
> done
> 
> 25.000000 vcp: d_units_inst.c#0.3 @22 </INSTANT/Units/> (text) edit  
> 2022-02-02 08:12:00Z Nikospap "" committed as 1.3
> 25.000000 vcp: $ cvs -Q -z9 -dE:\work\cvs_repository tag v4_2e_30
> E:\cvs\tmp\vcp4040\dest-cvs\co\INSTANT\Units\d_units_inst.c
> 25.000000 vcp: $ cvs -Q -z9 -dE:\work\cvs_repository tag
> Version_20_4_2e_40
> E:\cvs\tmp\vcp4040\dest-cvs\co\INSTANT\Units\d_units_inst.c
> 25.000000 vcp: $ cvs -Q -z9 -dE:\work\cvs_repository tag
> v4_2e_40_2e_0_20_EN
> E:\cvs\tmp\vcp4040\dest-cvs\co\INSTANT\Units\d_units_inst.c
> 25.000000 vcp: $ cvs -Q -z9 -dE:\work\cvs_repository tag
> Version_20_4_2e_50
> E:\cvs\tmp\vcp4040\dest-cvs\co\INSTANT\Units\d_units_inst.c
> 25.000000 vcp: $ cvs -Q -z9 -dE:\work\cvs_repository tag
> v4_2e_50_2e_1_20_En
> E:\cvs\tmp\vcp4040\dest-cvs\co\INSTANT\Units\d_units_inst.c
> 25.000000 vcp: SSDIR=E:\work\Test\INSTANT\vssdb
> 25.000000 vcp: $ chdir E:\cvs\tmp\vcp4040\source-vss
> 25.000000 vcp: $ ss Get "$/INSTANT/Units/d_units_inst.c" -V5 -GN
> -GLE:\cvs\tmp\vcp4040\source-vss\revs\d_units_inst.c -YAdmin -I-
> Getting d_units_inst.c
> 25.000000 vcp: split protochange to build @24:time > 60: '1685792940'
> vs. '1914675360
> 25.000000 vcp: change @24: 5 revs:
>     Units.dsp#0. @24 </INSTANT/Units/> (text) BASE REV
>     Units.vcproj#0. @24 </INSTANT/Units/> (text) BASE REV
>     Units.vcproj.vspscc#0. @24 </INSTANT/Units/> (text) BASE REV
>     Units_rc.mdb#0. @24 </INSTANT/Units/> (binary) BASE REV
>     Units_ro.rc#0. @24 </INSTANT/Units/> (text) BASE REV
> 25.000000 vcp: leftover revs 2 from change @24
> 25.000000 vcp: committing: end of change 23 reached
> 25.000000 vcp: $ chdir E:\cvs\tmp\vcp4040\dest-cvs\co
> 25.000000 vcp: $ cvs -Q -z9 -dE:\work\cvs_repository commit -f -m 
> E:\cvs\tmp\vcp4040\dest-cvs\co\INSTANT\Units\d_units_inst.c
> 26.000000 vcp: Checking in
> E:\cvs\tmp\vcp4040\dest-cvs\co\INSTANT\Units/d_units_inst.c;
> 
> E:\work\cvs_repository/INSTANT/Units/d_units_inst.c,v  <-- 
> d_units_inst.c
> 
> new revision: 1.4; previous revision: 1.3
> 
> done
> 
> 26.000000 vcp: d_units_inst.c#0.5 @23 </INSTANT/Units/> (text) edit  
> 2017-03-05 15:42:00Z Nikospap "" committed as 1.4
> 26.000000 vcp: VCP::Rev=HASH(0x12e18ec) checking out Units.dsp#0. @24
> </INSTANT/Units/> (text) BASE REV from cvs dest repo
> 26.000000 vcp: no DB_File entry for vss;/INSTANT/Units/Units.dsp#0.
> 
> VCP::RevMapDB::get('VCP::RevMapDB=HASH(0x1272b34)','ARRAY(0x12f298c)')
> called at /loader/0xda8200/VCP/Dest/cvs.pm line 258
> 
>  
>  
> VCP::Dest::cvs::checkout_file('VCP::Dest::cvs=HASH(0x12624b8)','VCP::Rev=HASH(0x12e18ec)') 
> called at /loader/0xda8200/VCP/Dest.pm line 112
> 
>  
>  
> VCP::Dest::compare_base_revs('VCP::Dest::cvs=HASH(0x12624b8)','VCP::Rev=HASH(0x12e18ec)','E:\cvs\tmp\vcp4040\dest-cvs\co\INSTANT\Units\Units.dsp') 
> called at /loader/0xda8200/VCP/Dest/cvs.pm line 316
> 
>  
>  
> VCP::Dest::cvs::handle_rev('VCP::Dest::cvs=HASH(0x12624b8)','VCP::Rev=HASH(0x12e18ec)') 
> called at VCP/Filter/changesets.pm line 823
> 
>  
>  
> VCP::Filter::changesets::split_and_send_changes('VCP::Filter::changesets=HASH(0x12c8eec)') 
> called at VCP/Filter/changesets.pm line 902
> 
>  
>  
> VCP::Filter::changesets::handle_footer('VCP::Filter::changesets=HASH(0x12c8eec)','HASH(0x12692c8)') 
> called at /loader/0xda8200/VCP/Source.pm line 584
> 
>  
>  
> VCP::Source::handle_footer('VCP::Source::vss=HASH(0x11b23f0)','HASH(0x12692c8)') 
> called at VCP.pm line 141
> 	eval {...} called at VCP.pm line 138
> 
> VCP::copy_all('VCP=HASH(0x116f274)','HASH(0x12919ec)','HASH(0x12692c8)')
> called at script/vcp_par line 586
> 	eval {...} called at script/vcp_par line 591
> 	require main called at ../blib/lib/PAR.pm line 235
> 	PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0xec1590)',1)
> called at script/main.pl line 4
> 	require main called at ../blib/lib/PAR.pm line 235
> 	PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0xec1df4)')
> called at ../blib/lib/PAR.pm line 213
> 	PAR::import('PAR') called at -e line 698
> 	eval {...} called at -e line 164
> 	__par_pl::BEGIN() called at script/vcp_par line 0
> 	eval {...} called at script/vcp_par line 0
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

-- 
http://slaysys.com/




More information about the revml mailing list