[Thread Prev][Thread Next][Thread Index]

Re: [PilotMgr] SyncXmlDB problems



/ Norman Walsh <ndw@xxxxxxxxxx> was heard to say:
| / Christopher Allen <cpcallen@xxxxxxxxxxxxxxx> was heard to say:
| | I recently started getting the followin error part way through syncing
| | with SyncXmlDB:
| |
| | ----------------------------------------------------------------------
| | Caught a SIGSEGV at /usr/share/perl5/PilotMgr/PilotSync.pm line 341

Try this patch to PilotSync.pm:

mercury:/usr/share/perl5/PilotMgr$ diff PilotSync.pm~ PilotSync.pm
342c342,345
<     foreach $mrec (values %$master_db)
---
>     my @master_db_values = values %$master_db;
>     my $master_db_count = 0;
> 
>     foreach $mrec (@master_db_values)
343a347,349
> #     print "Syncing $master_db_count of $#master_db_values\n";
>       $master_db_count++;
> 
359a366,367
> 
> #    print "Got here!\n";

I believe that fixed the problem for me. Granted, it has no business
fixing the problem, but...

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@xxxxxxxxxx> | It is as bad as you think. And they are
http://nwalsh.com/            | out to get you.
------------------------------------------------------------------------
***********************************************************
*             This is a public mailing list!              *
* Please do not publish Sun proprietary information here! *
*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
* MoreInfo/Unsubscribe @  http://www.moshpit.org/pilotmgr *
***********************************************************


SourceForge.net Logo