[Thread Prev][Thread Next][Thread Index]
Re: [PilotMgr] SyncXmlDB problems
- To: pilotmgr@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [PilotMgr] SyncXmlDB problems
- From: Norman Walsh <ndw@xxxxxxxxxx>
- Date: Thu, 07 Feb 2002 16:44:37 -0500
- In-reply-to: <87d6zh6kga.fsf@nwalsh.com> (Norman Walsh's message of "Thu, 07 Feb 2002 16:39:01 -0500")
- References: <20020206063359.GA5861@ruah.dyndns.org> <87d6zh6kga.fsf@nwalsh.com>
- Sender: owner-pilotmgr@xxxxxxxxxxxxxxxxxxxx
- User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu)
/ 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 *
***********************************************************